/* ============================================================
   VERTAS LAB
   Swiss × Scandinavian editorial
   Crown-only mark · Generous black space · Restrained
   ============================================================ */

:root {
  --bg: #161616;
  --line: #2e2e2e;
  --line-strong: #3d3d3d;

  --text: #f2efe8;
  --text-secondary: #c4bfb8;
  --text-tertiary: #8a8580;

  --accent: #430066;
  --accent-symbol: #430066;
  --accent-mid: #5a1080;
  --accent-soft: rgba(67, 0, 102, 0.16);

  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(2.25rem, 7vw, 6rem);
  --max: 1040px;
  --nav-h: 5.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 450;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent-symbol); color: #fff; }

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.75rem;
}

h1 {
  font-size: clamp(2.85rem, 7vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.042em;
  line-height: 0.98;
  color: var(--text);
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 550;
  letter-spacing: -0.012em;
  line-height: 1.35;
  color: var(--text);
}

.lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 450;
  max-width: 32rem;
}

.body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 450;
}

.meta {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ------------------------------------------------------------
   Layout
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: clamp(9rem, 18vw, 15rem);
  padding-bottom: clamp(9rem, 18vw, 15rem);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(22,22,22,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}
.logo-link span {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: none;
  gap: 3.25rem;
}
@media (min-width: 900px) {
  .nav-links { display: flex; align-items: center; }
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -5px;
  height: 1px;
  background: var(--accent);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 22px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-size: 1.7rem;
  font-weight: 450;
  letter-spacing: -0.02em;
  color: var(--text);
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 1.1rem 1.85rem;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  background: transparent;
}
.btn:hover {
  border-color: var(--accent-symbol);
  background: var(--accent-soft);
}
.btn-primary {
  background: #430066;
  border-color: #430066;
  color: #fff;
}
.btn-primary:hover {
  background: #5a1080;
  border-color: #5a1080;
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 6rem);
  padding-bottom: 9rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 8.5rem;
  }
}

.hero-text .eyebrow { margin-bottom: 2.25rem; }
.hero-text h1 { margin-bottom: 2.75rem; }
.hero-text .lede { margin-bottom: 3.75rem; }

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo {
  width: min(200px, 45vw);
  height: auto;
}
@media (min-width: 960px) {
  .hero-logo { width: min(240px, 100%); }
}

/* ------------------------------------------------------------
   Services
   ------------------------------------------------------------ */
.services-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 6.5rem;
  max-width: 48rem;
}
@media (min-width: 820px) {
  .services-head {
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
    align-items: end;
  }
}

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 3.75rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .service-row {
    grid-template-columns: 3rem 14rem 1fr;
    gap: 2.25rem;
    align-items: baseline;
    padding: 3.5rem 0;
  }
}
.service-row:first-child { border-top: 1px solid var(--line); }

.service-num {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.service-row p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 34rem;
  margin: 0;
}

/* ------------------------------------------------------------
   About
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.35fr;
    gap: 8.5rem;
  }
}
.about-grid .body + .body { margin-top: 1.35rem; }

/* ------------------------------------------------------------
   Work
   ------------------------------------------------------------ */
.work-head { margin-bottom: 6rem; max-width: 32rem; }

.work-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 3.75rem 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) {
  .work-row {
    grid-template-columns: 9rem 1fr 1.5fr;
    gap: 2.5rem;
    align-items: baseline;
  }
}
.work-row:last-child { border-bottom: 1px solid var(--line); }

.work-cat {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.work-row p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 30rem;
}

/* ------------------------------------------------------------
   Approach
   ------------------------------------------------------------ */
.approach-head { margin-bottom: 8rem; max-width: 28rem; }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  border-top: 1px solid var(--line);
  padding-top: 5.5rem;
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 3.5rem;
    padding-top: 6.25rem;
  }
}

.step {
  padding: 0;
  border: none;
}
@media (min-width: 820px) {
  .step {
    padding: 0;
    border: none;
  }
}

.step-num {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 2rem;
}
.step h3 {
  margin-bottom: 1.25rem;
}
.step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 18rem;
  margin-top: 0;
}

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6.5rem;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 520px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.form-group input,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  padding: 0.85rem 0;
  font: inherit;
  font-size: 0.96875rem;
  border-radius: 0;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-symbol);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ------------------------------------------------------------
   Inner pages
   ------------------------------------------------------------ */
.page-hero {
  padding-top: calc(var(--nav-h) + 9rem);
  padding-bottom: 7rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 13ch; margin-bottom: 2.25rem; }
.page-hero .lede { max-width: 34rem; }

.content-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 5.75rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) {
  .content-block {
    grid-template-columns: 10rem 1fr;
    gap: 4rem;
  }
}
.content-block .label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.2rem;
}
.content-block .body { max-width: 36rem; }

.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .service-detail {
    grid-template-columns: 3rem 14rem 1fr;
    gap: 2.25rem;
    align-items: baseline;
  }
}
.service-detail .num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.service-detail h2 {
  font-size: clamp(1.2rem, 1.9vw, 1.4rem);
}
.service-detail .desc {
  color: var(--text-secondary);
  font-size: 0.96875rem;
  line-height: 1.65;
  max-width: 34rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .resources-grid { grid-template-columns: 1fr 1fr; }
}
.resource-card {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
  padding-right: 1.75rem;
}
@media (min-width: 720px) {
  .resource-card:nth-child(odd) { padding-right: 2.5rem; }
  .resource-card:nth-child(even) { padding-left: 2.5rem; border-left: 1px solid var(--line); }
}
.resource-type {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.resource-card h3 { margin-bottom: 0.6rem; }
.resource-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 5rem 0 6rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.footer-brand {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.footer-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}
.footer-links a:hover { color: var(--text-secondary); }
.footer-copy {
  line-height: 1.7;
  font-size: 0.65rem;
  color: var(--text-tertiary);
  width: 100%;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 480px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 3rem);
    padding-bottom: 4.5rem;
  }
  .btn { width: 100%; justify-content: center; }
  .hero-logo { width: min(160px, 50vw); }
}


.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo {
  width: min(160px, 38vw);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
@media (min-width: 960px) {
  .hero-logo { width: min(180px, 100%); }
}


/* ------------------------------------------------------------
   Services page — detailed blocks
   ------------------------------------------------------------ */
.services-detail {
  padding-bottom: clamp(4rem, 10vw, 7rem);
}

.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .service-block {
    grid-template-columns: 3.5rem 1fr;
    gap: 3rem;
    padding: 5.5rem 0;
  }
}
.service-block:first-child {
  border-top: 1px solid var(--line);
}
.service-block h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin-bottom: 1.25rem;
  max-width: 28ch;
}
.service-block .desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 38rem;
  margin-bottom: 2rem;
}
.possible-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.possible-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  max-width: 36rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 560px) {
  .possible-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 2rem;
  }
}
.possible-list li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 0.9rem;
  position: relative;
}
.possible-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--text-tertiary);
}
.note {
  margin-top: 2rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-tertiary);
  max-width: 36rem;
}

/* Deliverables */
.deliverables-head {
  margin-bottom: 3.5rem;
  max-width: 36rem;
}
.deliverables-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 3rem;
  max-width: 48rem;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .deliverables-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 960px) {
  .deliverables-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.deliverables-list li {
  font-size: 0.96875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

/* CTA row */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.contact-cta h2 {
  max-width: 16ch;
}
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-meta .meta {
  margin-bottom: 0.35rem;
}


a.footer-brand {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease);
}
a.footer-brand:hover {
  color: var(--text);
}
.logo-link {
  cursor: pointer;
}


/* Purple text legibility — bold + slightly larger */
.eyebrow,
.service-num,
.step-num,
.work-cat,
.resource-type,
.possible-label,
.content-block .label,
.service-detail .num {
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
}


.samples-note {
  margin-top: 3.5rem;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.footer-copy {
  line-height: 1.75;
}
