:root {
  --ink: #0b0b0b;
  --muted: #5f5f5f;
  --line: #dedede;
  --paper: #fff;
  --soft: #f5f3f0;
  --accent: #ff6200;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --header-h: 102px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.site-header {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(28px, 3vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  position: relative;
  z-index: 30;
}
.brand { width: clamp(210px, 19vw, 308px); }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: stretch; height: 100%; gap: clamp(24px, 3.5vw, 58px); }
.main-nav a {
  display: grid;
  place-items: center;
  position: relative;
  font-size: 14px;
  font-weight: 500;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width .28s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { width: 42px; }
.main-nav a[aria-current="page"] { font-weight: 600; }
.menu-toggle { display: none; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: .98; }
h1 { margin-bottom: 25px; font-size: clamp(68px, 6.2vw, 104px); letter-spacing: -.045em; }
.hero-copy p { max-width: 470px; margin-bottom: 20px; }
.title-rule, .orange-rule { display: block; width: 42px; height: 2px; background: var(--accent); }
.title-rule { margin: 0 0 30px; }
.orange-rule { width: 28px; margin: 4px 0 18px; }
.eyebrow {
  margin-bottom: clamp(42px, 7vh, 82px) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.outline-button {
  min-width: 208px;
  min-height: 54px;
  margin-top: 20px;
  padding: 15px 24px;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .3s ease, transform .3s ease;
}
.outline-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--ink);
  transform: translateY(102%);
  transition: transform .3s cubic-bezier(.7,0,.2,1);
}
.outline-button:hover { color: #fff; transform: translateY(-2px); }
.outline-button:hover::before { transform: translateY(0); }
.outline-button span { font-size: 21px; font-weight: 400; letter-spacing: 0; }

.home-hero {
  min-height: calc(100vh - var(--header-h) - 292px);
  display: grid;
  grid-template-columns: minmax(460px, 46.5%) 1fr;
}
.home-copy { min-width: 0; padding: clamp(80px, 10vh, 130px) clamp(48px, 5.1vw, 86px) 55px; }
.home-copy h1 { max-width: 650px; font-size: clamp(47px, 3.55vw, 61px); line-height: 1.02; }
.hero-image { min-width: 0; margin: 0; overflow: hidden; background: #e9e8e5; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s cubic-bezier(.2,.7,.1,1); }
.hero-image:hover img { transform: scale(1.025); }

.split-hero, .contact-hero, .experience-hero, .projects-intro {
  min-height: 520px;
  display: grid;
  grid-template-columns: 37.5% 62.5%;
}
.split-hero .hero-copy, .contact-hero .hero-copy, .experience-hero .hero-copy, .projects-intro .hero-copy {
  padding: clamp(58px, 8vh, 92px) clamp(44px, 6vw, 110px);
}
.compact-hero { min-height: 405px; }
.compact-hero .hero-copy { padding-top: 55px; padding-bottom: 40px; }
.compact-hero h1 { font-size: clamp(65px, 5.2vw, 86px); }
.method-hero { padding: 38px 42px 32px 0; grid-template-columns: 39.5% 60.5%; }
.method-hero .hero-copy { padding-top: 70px; }
.contact-hero { padding: 28px 42px 28px 0; grid-template-columns: 38.5% 61.5%; }
.contact-hero .hero-copy { padding-top: 22px; padding-bottom: 12px; }
.contact-hero h1 { font-size: clamp(66px, 5.7vw, 95px); }
.contact-list { list-style: none; padding: 0; margin: 22px 0 8px; }
.contact-list li { min-height: 35px; display: flex; align-items: center; gap: 14px; font-size: 13px; }
.contact-list svg { width: 21px; height: 21px; padding: 3px; border: 1px solid var(--line); border-radius: 50%; overflow: visible; }
.whatsapp-button { margin-top: 8px; min-width: 292px; }
.whatsapp-button svg { width: 22px; height: 22px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
}
.feature-card {
  min-width: 0;
  min-height: 245px;
  padding: 31px clamp(24px, 3vw, 54px) 26px;
  border-right: 1px solid var(--line);
  transition: background .3s ease, transform .3s ease;
}
.feature-card:last-child { border-right: 0; }
.feature-card:hover { background: #faf9f7; }
.feature-card h3 { margin-bottom: 13px; font-size: clamp(23px, 1.65vw, 29px); line-height: 1.08; }
.feature-card p { margin-bottom: 0; font-size: 12px; line-height: 1.65; }
.feature-card p a { text-decoration: underline; text-underline-offset: 3px; }
.card-top { min-height: 55px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.card-number { font-family: var(--serif); font-size: 31px; line-height: 1; }
.icon-ring {
  width: 57px;
  height: 57px;
  margin-top: -10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  transition: border-color .3s ease, color .3s ease, transform .3s ease;
}
.feature-card:hover .icon-ring { border-color: var(--accent); color: var(--accent); transform: rotate(5deg); }
.line-icon { width: 30px; height: 30px; }
.home-grid .feature-card { min-height: 214px; padding-top: 29px; text-align: center; }
.home-grid .card-top { justify-content: center; min-height: 61px; }
.home-grid .card-number { display: none; }
.home-grid .icon-ring { border: 0; margin: 0; }
.home-grid .orange-rule { margin: 0 auto 14px; }
.home-grid h3 { font-size: 27px; }
.home-grid p { max-width: 250px; margin-left: auto; margin-right: auto; color: var(--muted); opacity: 0; transform: translateY(8px); transition: .3s ease; }
.home-grid .feature-card:hover p { opacity: 1; transform: translateY(0); }
.six-cols { grid-template-columns: repeat(6, 1fr); }
.six-cols .feature-card { padding: 27px 30px 25px; text-align: center; }
.six-cols .card-top { justify-content: center; }
.six-cols .card-number { display: none; }
.six-cols .orange-rule { margin-left: auto; margin-right: auto; }
.six-cols .feature-card h3 { font-size: 24px; }
.four-cols { grid-template-columns: repeat(4, 1fr); }
.five-cols { grid-template-columns: repeat(5, 1fr); }

.cta-band {
  min-height: 102px;
  padding: 18px clamp(42px, 7vw, 115px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--soft);
}
.cta-band p { margin: 0; font-family: var(--serif); font-size: clamp(27px, 2.5vw, 40px); line-height: 1; }
.cta-band .outline-button { margin: 0; }

.projects-intro { min-height: 600px; grid-template-columns: 39% 61%; }
.projects-intro .hero-copy { padding-top: 110px; }
.project-cloud { min-width: 0; padding: 28px clamp(24px, 3vw, 52px) 28px 0; display: grid; place-items: center; overflow: hidden; }
.project-cloud__text {
  width: min(100%, 570px);
  max-width: 570px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  text-align: center;
}
.project-cloud__row {
  width: var(--cloud-row-width, 100%);
  max-width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: var(--cloud-size, 10px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -.018em;
  white-space: nowrap;
}
.project-cloud__row:has(span + span) { justify-content: space-between; }
.project-cloud__row:nth-child(1)  { --cloud-row-width: 31%; --cloud-size: 13.2px; }
.project-cloud__row:nth-child(2)  { --cloud-row-width: 43%; --cloud-size: 12.5px; }
.project-cloud__row:nth-child(3)  { --cloud-row-width: 57%; --cloud-size: 11.8px; }
.project-cloud__row:nth-child(4)  { --cloud-row-width: 71%; --cloud-size: 11.3px; }
.project-cloud__row:nth-child(5)  { --cloud-row-width: 82%; --cloud-size: 10.8px; }
.project-cloud__row:nth-child(6)  { --cloud-row-width: 90%; --cloud-size: 10.3px; }
.project-cloud__row:nth-child(7)  { --cloud-row-width: 95%; --cloud-size: 9.9px; }
.project-cloud__row:nth-child(8)  { --cloud-row-width: 98%; --cloud-size: 9.6px; }
.project-cloud__row:nth-child(9)  { --cloud-row-width: 100%; --cloud-size: 9.4px; }
.project-cloud__row:nth-child(10),
.project-cloud__row:nth-child(11),
.project-cloud__row:nth-child(12),
.project-cloud__row:nth-child(13),
.project-cloud__row:nth-child(14),
.project-cloud__row:nth-child(15),
.project-cloud__row:nth-child(16) { --cloud-row-width: 100%; --cloud-size: 9.2px; }
.project-cloud__row:nth-child(17) { --cloud-row-width: 99%; --cloud-size: 9px; }
.project-cloud__row:nth-child(18) { --cloud-row-width: 97%; --cloud-size: 8.7px; }
.project-cloud__row:nth-child(19) { --cloud-row-width: 94%; --cloud-size: 8.4px; }
.project-cloud__row:nth-child(20) { --cloud-row-width: 90%; --cloud-size: 8px; }
.project-cloud__row:nth-child(21) { --cloud-row-width: 84%; --cloud-size: 7.5px; }
.project-cloud__row:nth-child(22) { --cloud-row-width: 77%; --cloud-size: 7px; opacity: .92; }
.project-cloud__row:nth-child(23) { --cloud-row-width: 69%; --cloud-size: 6.5px; opacity: .84; }
.project-cloud__row:nth-child(24) { --cloud-row-width: 61%; --cloud-size: 6px; opacity: .74; }
.project-cloud__row:nth-child(25) { --cloud-row-width: 53%; --cloud-size: 5.5px; opacity: .62; }
.project-cloud__row:nth-child(26) { --cloud-row-width: 45%; --cloud-size: 5px; opacity: .49; }
.project-cloud__row:nth-child(27) { --cloud-row-width: 36%; --cloud-size: 4.6px; opacity: .35; }
.project-cloud__row:nth-child(28) { --cloud-row-width: 25%; --cloud-size: 4.3px; opacity: .22; }
.project-cloud__row span + span::before {
  content: "•";
  margin: 0 clamp(5px, .62vw, 10px);
  color: var(--accent);
}
.project-cloud__row--title { font-weight: 600; }

.project-cloud__la-svg {
  width: min(100%, 700px);
  height: auto;
  display: block;
  overflow: visible;
}
.project-cloud__la-letter {
  font-family: var(--sans);
  font-size: 470px;
  font-weight: 800;
  letter-spacing: -38px;
  text-anchor: middle;
}
.project-cloud__la-outline {
  fill: none;
  stroke: rgba(255, 98, 0, .22);
  stroke-width: 1.2px;
  stroke-linejoin: round;
}
.project-cloud__la-copy {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
}
.project-cloud__la-dot { fill: var(--accent); }
.project-cloud--la.has-la-cloud .project-cloud__text {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.experience-hero { min-height: 530px; grid-template-columns: 42% 58%; }
.experience-hero .hero-copy { padding-top: 112px; }
.timeline-visual { width: 100%; min-width: 0; overflow: hidden; display: grid; place-items: center; }
.timeline-visual svg { width: 100%; max-width: 760px; min-width: 0; height: auto; display: block; overflow: visible; }
.spiral { fill: none; stroke: #bdbdbd; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .spiral { stroke-dashoffset: 1; animation: draw-line 2.2s .25s ease forwards; }
.dots circle { fill: var(--accent); opacity: 1; }
.js .dots circle { opacity: 0; animation: dot-in .35s var(--dot-delay, 1.2s) ease forwards; }
.dots circle.is-current { filter: drop-shadow(0 0 4px rgba(255, 98, 0, .28)); }
.years text { fill: var(--ink); stroke: var(--paper); stroke-width: 4px; paint-order: stroke fill; font-family: var(--serif); font-size: 18px; }
.years text:nth-last-child(-n+4) { font-size: 24px; }
.years text.is-current { font-size: 29px; font-weight: 500; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes dot-in { to { opacity: 1; } }

.method-grid .feature-card, .contact-grid .feature-card { min-height: 255px; }
.contact-grid .feature-card { min-height: 220px; }

.site-footer {
  min-height: 78px;
  padding: 20px 24px;
  background: #050505;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 12px;
  letter-spacing: .32em;
  text-align: center;
  text-transform: uppercase;
}
.site-footer i { color: var(--accent); font-style: normal; }

.page-wipe {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: #fff;
  pointer-events: none;
  transform: translateY(-100%);
  transition: transform .48s cubic-bezier(.76,0,.24,1);
}
.page-wipe img {
  width: clamp(66px, 5.8vw, 82px);
  height: auto;
  opacity: 0;
  transform: scale(.86);
  filter: saturate(.55) brightness(.88) blur(.15px);
  transition: opacity .2s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}
body.is-leaving .page-wipe { transform: translateY(0); }
body.is-leaving .page-wipe img { opacity: .38; transform: scale(1); transition-delay: .22s; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .is-visible.reveal { opacity: 1; transform: translateY(0); transition: opacity .7s var(--delay, 0ms) ease, transform .7s var(--delay, 0ms) ease; }
.js .image-reveal { position: relative; }
.js .image-reveal::after { content: ""; position: absolute; z-index: 2; inset: 0; background: #f0efec; transform-origin: right; transition: transform 1s .15s cubic-bezier(.75,0,.25,1); }
.js .image-reveal.is-visible::after { transform: scaleX(0); }

@media (max-width: 1120px) {
  :root { --header-h: 88px; }
  .site-header { padding-inline: 28px; }
  .main-nav { gap: 25px; }
  .main-nav a { font-size: 13px; }
  .split-hero, .contact-hero { grid-template-columns: 43% 57%; }
  .six-cols { grid-template-columns: repeat(3, 1fr); }
  .six-cols .feature-card:nth-child(3) { border-right: 0; }
  .six-cols .feature-card:nth-child(n+4) { border-top: 1px solid var(--line); }
  .feature-card { padding-inline: 30px; }
  .projects-intro { grid-template-columns: 42% 58%; }
  .site-footer { min-height: 68px; }
}

@media (max-width: 820px) {
  :root { --header-h: 78px; }
  .site-header { position: sticky; top: 0; padding-inline: 20px; }
  .brand { width: 205px; }
  .menu-toggle {
    width: 52px;
    height: 52px;
    padding: 14px 11px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }
  .menu-toggle span { width: 27px; height: 1px; background: var(--ink); transition: .3s ease; }
  .menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    z-index: -1;
    inset: var(--header-h) 0 0;
    height: auto;
    padding: 8vh 28px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: .3s ease;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav a { width: 100%; min-height: 62px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 34px; }
  .main-nav a::after { bottom: 0; left: 0; transform: none; }
  .main-nav a[aria-current="page"]::after { width: 48px; }
  h1 { font-size: clamp(58px, 16vw, 86px); }
  .home-hero, .split-hero, .contact-hero, .experience-hero, .projects-intro {
    min-height: auto;
    min-width: 0;
    max-width: 100%;
    padding: 0;
    grid-template-columns: 1fr;
  }
  .projects-intro { overflow: hidden; }
  .projects-intro > * { min-width: 0; }
  .home-copy, .split-hero .hero-copy, .contact-hero .hero-copy, .experience-hero .hero-copy, .projects-intro .hero-copy {
    padding: 60px 25px 50px;
  }
  .home-copy h1 { font-size: clamp(47px, 12vw, 65px); }
  .eyebrow { margin-bottom: 42px !important; }
  .hero-image { min-height: 48vw; }
  .hero-image img { min-width: 0; }
  .home-hero .hero-image { min-height: 64vw; }
  .method-hero .hero-image, .contact-hero .hero-image { margin: 0 20px 25px; min-height: 52vw; }
  .feature-grid, .four-cols, .five-cols { grid-template-columns: repeat(2, 1fr); }
  .feature-card { border-top: 1px solid var(--line); }
  .feature-card:nth-child(2n) { border-right: 0; }
  .home-grid .feature-card { min-height: 232px; }
  .home-grid .feature-card:last-child { grid-column: 1 / -1; }
  .home-grid .feature-card p { opacity: 1; transform: none; }
  .six-cols { grid-template-columns: repeat(2, 1fr); }
  .six-cols .feature-card:nth-child(3) { border-right: 1px solid var(--line); }
  .six-cols .feature-card:nth-child(2n) { border-right: 0; }
  .six-cols .feature-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta-band { padding: 30px 25px; align-items: flex-start; flex-direction: column; }
  .projects-intro .hero-copy { padding-bottom: 20px; }
  .project-cloud { min-height: 440px; padding: 35px 25px 60px; background: #faf9f7; }
  .project-cloud__row { font-size: calc(var(--cloud-size, 10px) * .82); }
  .experience-hero .hero-copy { padding-bottom: 20px; }
  .timeline-visual { padding: 0 15px 35px; }
  .site-footer { flex-wrap: wrap; gap: 7px 18px; padding-block: 25px; font-size: 9px; }
}

@media (max-width: 540px) {
  body { font-size: 14px; }
  .brand { width: 180px; }
  .feature-grid, .four-cols, .five-cols, .six-cols { grid-template-columns: 1fr; }
  .feature-card, .six-cols .feature-card, .feature-card:nth-child(2n), .six-cols .feature-card:nth-child(3) { min-height: 205px; border-right: 0; }
  .home-grid .feature-card { min-height: 205px; }
  .home-grid .feature-card:last-child { grid-column: auto; }
  .home-copy, .split-hero .hero-copy, .contact-hero .hero-copy, .experience-hero .hero-copy, .projects-intro .hero-copy { padding-inline: 20px; }
  .method-hero .hero-image, .contact-hero .hero-image { margin-inline: 0; }
  .outline-button { width: 100%; }
  .whatsapp-button { min-width: 0; }
  .project-cloud { min-height: 500px; padding-inline: 18px; }
  .project-cloud__text { gap: 0; }
  .project-cloud__row { font-size: calc(var(--cloud-size, 10px) * .62); }
  .project-cloud__row span + span::before { margin-inline: 5px; }
  .years text { font-size: 16px; }
  .site-footer { flex-direction: column; }
  .site-footer i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .image-reveal::after { display: none; }
  .js .spiral { stroke-dashoffset: 0; }
  .js .dots circle { opacity: 1; }
}
