:root {
  --paper: #f5efe4;
  --paper-soft: #fbf7ef;
  --ink: #17140f;
  --muted: rgba(23,20,15,.62);
  --line: rgba(23,20,15,.14);
  --accent: #9b6b3c;
  --white: #fffaf2;
  --ease: cubic-bezier(.22,1,.36,1);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body.intro-running { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  padding: .7rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { transform: none; }

/* Minimal blueprint-to-reality intro */
.intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper-soft);
  transition: opacity .75s var(--ease), visibility .75s var(--ease);
}
.intro.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__drawing,
.intro__image { position: absolute; inset: 0; }
.intro__drawing {
  display: grid;
  place-items: center;
  opacity: .82;
  background:
    linear-gradient(rgba(23,20,15,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,20,15,.035) 1px, transparent 1px),
    var(--paper-soft);
  background-size: 108px 108px;
}
.intro__drawing svg { width: min(940px, 84vw); opacity: .66; }
.draw {
  stroke: rgba(23,20,15,.58);
  stroke-width: 1.2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw-line 2.1s var(--ease) forwards;
}
.draw--site { stroke: rgba(155,107,60,.7); stroke-width: 1.8; }
.draw--soft { stroke: rgba(23,20,15,.28); stroke-width: 1; }
.draw--delay-1 { animation-delay: .32s; }
.draw--delay-2 { animation-delay: .62s; }
.intro__image {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: reveal-render 1.75s var(--ease) 2.05s forwards;
}
.intro__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245,239,228,.92), rgba(245,239,228,.24), rgba(245,239,228,0));
}
.intro__image img { width: 100%; height: 100%; object-fit: cover; }
.intro__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: .9rem;
  text-align: center;
  animation: intro-copy 4.1s var(--ease) forwards;
}
.intro__content img { width: min(230px, 54vw); filter: drop-shadow(0 14px 32px rgba(23,20,15,.08)); }
.intro__content p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.5vw, 2.35rem);
  letter-spacing: -.04em;
}
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes reveal-render {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); }
  100% { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes intro-copy {
  0%, 60% { transform: translateY(0); opacity: 1; }
  84%, 100% { transform: translateY(-14px); opacity: 0; }
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 66px;
  padding: .55rem clamp(1rem, 4vw, 3rem);
  color: var(--ink);
  transition: background .3s ease, border .3s ease, color .3s ease, min-height .3s ease;
}
.site-header.is-scrolled { min-height: 58px; backdrop-filter: blur(16px); }
.site-header.on-light.is-scrolled { background: rgba(245,239,228,.88); border-bottom: 1px solid var(--line); }
.site-header.on-dark { color: var(--white); }
.site-header.on-dark.is-scrolled { background: rgba(23,20,15,.66); border-bottom: 1px solid rgba(255,250,242,.14); }
.brand {
  position: relative;
  display: block;
  width: min(172px, 36vw);
  height: 36px;
  flex: 0 0 auto;
}
.brand__logo {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  max-height: 34px;
  object-fit: contain;
  object-position: left center;
  transform: translateY(-50%);
  transition: opacity .25s ease;
}
.brand__logo--light,
.site-header.on-dark .brand__logo--dark { opacity: 0; }
.site-header.on-dark .brand__logo--light { opacity: 1; }
.desktop-nav { display: flex; gap: clamp(.65rem, 1.35vw, 1.2rem); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.desktop-nav a { opacity: .78; transition: opacity .25s ease; }
.desktop-nav a:hover { opacity: 1; }
.menu-toggle { display: none; }
.mobile-menu { display: none; }

.section { padding: clamp(3.8rem, 6vw, 6.2rem) clamp(1.1rem, 5vw, 4rem); }
.section--compact { padding-top: clamp(3rem, 4.8vw, 4.8rem); padding-bottom: clamp(3rem, 4.8vw, 4.8rem); }
.section--paper { background: var(--paper); }
.section--soft { background: var(--paper-soft); }
.section--ink { background: var(--ink); color: var(--white); }
.eyebrow {
  margin: 0 0 .7rem;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .17em;
  color: var(--accent);
  font-weight: 700;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.055em;
}
h1 { font-size: clamp(2.8rem, 7vw, 6.8rem); max-width: 820px; margin-bottom: 1rem; }
h2 { font-size: clamp(1.9rem, 4.5vw, 4.1rem); max-width: 820px; margin-bottom: .85rem; }
h3 { font-size: clamp(1.05rem, 1.55vw, 1.34rem); letter-spacing: -.03em; margin-bottom: .55rem; }
p { color: var(--muted); line-height: 1.65; }
.section--ink p { color: rgba(255,250,242,.72); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .78rem 1.08rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  transition: transform .25s var(--ease), opacity .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--ink); }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  border-bottom: 1px solid currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.hero__image,
.hero__overlay { position: absolute; inset: 0; }
.hero__image { width: 100%; height: 100%; object-fit: cover; transform: scale(1.025); }
body.is-loaded .hero__image { animation: hero-settle 2.1s var(--ease) forwards; }
.hero__overlay {
  background: linear-gradient(180deg, rgba(245,239,228,.05) 0%, rgba(245,239,228,.10) 42%, rgba(15,12,8,.68) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  color: var(--white);
}
.hero__content .eyebrow { color: rgba(255,250,242,.78); }
.hero__content p { max-width: 560px; color: rgba(255,250,242,.82); font-size: 1rem; }
.hero__actions { display: flex; gap: .9rem; align-items: center; flex-wrap: wrap; margin-top: .8rem; }
@keyframes hero-settle { to { transform: scale(1); } }

.section-head {
  max-width: var(--max);
  margin: 0 auto clamp(1.5rem, 3.2vw, 2.4rem);
}
.section-head--tight { margin-bottom: 0; }
.section-head > p:not(.eyebrow) { max-width: 620px; }
.section-head--center { text-align: center; }
.section-head--center h2,
.section-head--center p { margin-left: auto; margin-right: auto; }

.trust-strip {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.trust-item {
  background: rgba(255,250,242,.62);
  padding: clamp(1rem, 2.4vw, 1.85rem);
}
.trust-item strong,
.social-stats strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3.85rem);
  line-height: .95;
  font-weight: 400;
  letter-spacing: -.05em;
}
.trust-item span,
.social-stats span,
.news-meta span {
  display: block;
  margin-top: .5rem;
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.project-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: .9rem;
}
.project-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 22px 70px rgba(23,20,15,.075);
}
.project-card--large { grid-row: span 2; min-height: 585px; }
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform .7s var(--ease);
}
.project-card:hover img { transform: scale(1.025); }
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,12,8,.02), rgba(15,12,8,.6));
}
.project-card div {
  position: absolute;
  z-index: 1;
  left: clamp(1.1rem, 2.6vw, 1.8rem);
  right: clamp(1.1rem, 2.6vw, 1.8rem);
  bottom: clamp(1.1rem, 2.6vw, 1.8rem);
  color: var(--white);
}
.project-card span {
  display: block;
  margin-bottom: .48rem;
  color: rgba(255,250,242,.72);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.project-card h3 { max-width: 400px; }

.services__wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(250px, .74fr) 1.26fr;
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.service-list article {
  padding: 1.25rem clamp(.8rem, 2vw, 1.35rem) .95rem 0;
  border-bottom: 1px solid var(--line);
}
.service-list article span {
  display: block;
  margin-bottom: .8rem;
  color: var(--accent);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
}
.service-list p { max-width: 285px; margin-bottom: 0; }

.section--split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: clamp(1.4rem, 4vw, 3.6rem);
  align-items: center;
}
.split-image,
.contact__card {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255,250,242,.5);
  box-shadow: 0 22px 70px rgba(23,20,15,.075);
}
.split-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-copy p:not(.eyebrow) { max-width: 520px; font-size: 1rem; }
.quiet-list {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.quiet-list span {
  padding: .5rem .68rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .76rem;
}

.social-card {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(1rem, 3.5vw, 2rem);
  align-items: center;
  padding: clamp(1.25rem, 3.6vw, 2rem);
  border: 1px solid rgba(255,250,242,.18);
  border-radius: 24px;
  background: rgba(255,250,242,.07);
}
.social-label {
  display: block;
  margin-bottom: .35rem;
  color: rgba(255,250,242,.56);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.social-card h3 { margin: 0; color: var(--white); }
.social-stats { display: flex; gap: 1.25rem; }
.social-stats strong { color: var(--white); font-size: clamp(1.8rem, 3.3vw, 3.3rem); }
.social-stats span { color: rgba(255,250,242,.62); }

.news-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.news-grid article {
  background: var(--paper-soft);
  padding: clamp(1.15rem, 2.6vw, 1.75rem);
}
.news-grid span {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 700;
}
.news-meta {
  max-width: var(--max);
  margin: 1rem auto 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.news-meta span { margin-top: 0; }
.news-meta strong { font-weight: 700; color: var(--ink); }

.contact {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  place-items: center;
  min-height: 74svh;
}
.contact__card {
  width: min(690px, 100%);
  text-align: center;
  padding: clamp(1.8rem, 5vw, 4rem);
  background: var(--paper-soft);
  color: var(--ink);
}
.contact__card img { width: 104px; margin: 0 auto 1.25rem; }
.contact__card h2 { margin-left: auto; margin-right: auto; }
.contact__card p:not(.eyebrow) { max-width: 430px; margin-left: auto; margin-right: auto; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
body.is-loaded .hero .reveal { transition-delay: .15s; }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    border: 0;
    background: rgba(255,250,242,.8);
    border-radius: 999px;
    padding: .66rem .95rem;
    color: var(--ink);
  }
  .site-header.on-dark .menu-toggle { background: rgba(23,20,15,.38); color: var(--white); }
  .menu-toggle i { display: block; width: 22px; height: 1px; background: currentColor; }
  .menu-toggle span { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; }
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 19;
    display: grid;
    place-items: center;
    background: rgba(245,239,228,.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; }
  .mobile-menu nav { display: grid; gap: .85rem; text-align: center; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 9vw, 4rem); }
}

@media (max-width: 860px) {
  .section { padding-top: 3.8rem; padding-bottom: 3.8rem; }
  .hero { min-height: 94svh; }
  h1 { font-size: clamp(2.8rem, 13vw, 5.3rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 3.5rem); }
  .trust-strip,
  .project-grid,
  .services__wrap,
  .service-list,
  .section--split,
  .news-grid { grid-template-columns: 1fr; }
  .project-card,
  .project-card--large { min-height: 390px; grid-row: auto; }
  .section-head--tight { margin-bottom: 1rem; }
  .social-card { grid-template-columns: 1fr; text-align: left; }
  .social-stats { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .brand { width: 148px; height: 32px; }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .trust-item strong,
  .social-stats strong { font-size: 2.35rem; }
  .social-stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Conversion copy refinements */
.project-card p {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: .35rem 0 0;
  color: rgba(255,250,242,.72);
  font-size: .88rem;
  line-height: 1.5;
}
.services .section-head p {
  max-width: 360px;
}
.contact-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: 1.15rem auto 1.35rem;
}
.contact-points span {
  padding: .48rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .11em;
}
@media (max-width: 860px) {
  .services .section-head p { max-width: none; }
}


/* Performance + Work section upgrade */
.hero__image,
.intro__image img {
  background: #d8cbb8;
}

main > section:not(.hero):not(.work) {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.work__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, .82fr) 1.18fr;
  gap: clamp(1.4rem, 4vw, 3.2rem);
  align-items: start;
}

.work__grid .section-head {
  margin: 0;
  position: sticky;
  top: 92px;
}

.work-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}

.proof-card {
  min-height: 215px;
  padding: clamp(1.15rem, 2.6vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,250,242,.72), rgba(255,250,242,.42));
  box-shadow: 0 18px 55px rgba(23,20,15,.055);
}

.proof-card--large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .65fr 1fr;
  column-gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.proof-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 9vw, 8.5rem);
  line-height: .82;
  font-weight: 400;
  letter-spacing: -.075em;
  color: var(--ink);
}

.proof-card h3 {
  margin: .7rem 0 .45rem;
  max-width: 480px;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
}

.proof-card p {
  margin: 0;
  max-width: 520px;
  font-size: .94rem;
}

.proof-card:not(.proof-card--large) strong {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

@media (max-width: 860px) {
  main > section:not(.hero):not(.work) {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }

  .work__grid {
    grid-template-columns: 1fr;
  }

  .work__grid .section-head {
    position: static;
  }

  .work-proof {
    grid-template-columns: 1fr;
  }

  .proof-card--large {
    grid-template-columns: 1fr;
  }
}

/* Keep old trust-strip safe if used elsewhere */
.trust-strip {
  display: none;
}


/* Final polish: loader position, blueprint detail, and safer typography */
.intro__drawing {
  transform: translateY(5vh) scale(.96);
  transform-origin: center;
}
.intro__drawing::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(155,107,60,.16);
  border-radius: 28px;
  opacity: .65;
}
.intro__drawing svg {
  width: min(980px, 86vw);
  opacity: .72;
  filter: drop-shadow(0 20px 45px rgba(23,20,15,.045));
}
.draw--axis {
  stroke: rgba(23,20,15,.18);
  stroke-width: .9;
}
.draw--detail {
  stroke: rgba(155,107,60,.58);
  stroke-width: 1.05;
}
.draw--delay-3 {
  animation-delay: .86s;
}
.node {
  fill: var(--accent);
  opacity: 0;
  transform-origin: center;
  animation: node-in .75s var(--ease) forwards;
}
.node--delay-1 { animation-delay: 1.05s; }
.node--delay-2 { animation-delay: 1.22s; }
.node--delay-3 { animation-delay: 1.38s; }

.intro__content {
  align-self: start;
  margin-top: clamp(4.4rem, 10vh, 7.2rem);
  gap: .65rem;
}
.intro__content img {
  width: min(190px, 46vw);
}
.intro__content p {
  font-size: clamp(1rem, 1.7vw, 1.65rem);
  max-width: 70vw;
}
@keyframes node-in {
  0% { opacity: 0; transform: scale(.3); }
  100% { opacity: .72; transform: scale(1); }
}

/* Typography sanity checks */
h1 {
  font-size: clamp(2.65rem, 6.4vw, 6.2rem);
}
h2 {
  font-size: clamp(1.85rem, 3.8vw, 3.65rem);
}
.section-head > p:not(.eyebrow),
.hero__content p,
.split-copy p:not(.eyebrow) {
  font-size: clamp(.94rem, 1vw, 1rem);
}

/* Work section overlap fix */
.work__grid {
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: clamp(1.4rem, 3.4vw, 2.6rem);
}
.work__grid .section-head {
  max-width: 520px;
}
.work__grid .section-head h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}
.work-proof {
  min-width: 0;
}
.proof-card {
  min-width: 0;
  min-height: 0;
  padding: clamp(1.05rem, 2.2vw, 1.65rem);
}
.proof-card--large {
  grid-template-columns: minmax(0, .52fr) minmax(0, 1fr);
  column-gap: clamp(1rem, 2.2vw, 1.7rem);
}
.proof-card strong {
  white-space: nowrap;
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  letter-spacing: -.07em;
}
.proof-card:not(.proof-card--large) strong {
  font-size: clamp(2.65rem, 4.6vw, 4.6rem);
}
.proof-card h3 {
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  line-height: 1.15;
}
.proof-card p {
  font-size: clamp(.88rem, .95vw, .94rem);
  line-height: 1.55;
}

/* Better intermediate breakpoint so KPI cards do not collide on laptops/tablets */
@media (max-width: 1080px) {
  .work__grid {
    grid-template-columns: 1fr;
  }
  .work__grid .section-head {
    position: static;
    max-width: 760px;
  }
  .proof-card--large {
    grid-template-columns: minmax(0, .45fr) minmax(0, 1fr);
  }
  .proof-card strong {
    font-size: clamp(3rem, 9vw, 6rem);
  }
}
@media (max-width: 680px) {
  .intro__content {
    margin-top: clamp(3.9rem, 8vh, 5rem);
  }
  .intro__drawing {
    transform: translateY(8vh) scale(1.1);
  }
  .proof-card--large {
    grid-template-columns: 1fr;
  }
  .proof-card strong,
  .proof-card:not(.proof-card--large) strong {
    font-size: clamp(2.95rem, 15vw, 4.7rem);
  }
  .proof-card {
    border-radius: 20px;
  }
}


/* Targeted final fixes: loader logo aspect ratio + 250+ KPI size */
.intro__content img {
  width: min(188px, 44vw);
  height: auto;
  max-height: 68px;
  object-fit: contain;
}

/* Only reduce the largest Work KPI number, not all KPI numbers */
.proof-card [data-metric="projectsCompleted"] {
  display: inline-block;
  font-size: clamp(2.45rem, 4.65vw, 5.15rem);
  line-height: .9;
  letter-spacing: -.045em;
}

/* Give the large proof card a little more text room after shrinking the number */
.proof-card--large {
  grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
}

@media (max-width: 1080px) {
  .proof-card [data-metric="projectsCompleted"] {
    font-size: clamp(2.55rem, 8vw, 4.9rem);
  }
}

@media (max-width: 680px) {
  .intro__content img {
    width: min(168px, 48vw);
    max-height: 58px;
  }

  .proof-card [data-metric="projectsCompleted"] {
    font-size: clamp(2.55rem, 13vw, 4.15rem);
  }
}


/* Final update: remove intro text, mobile-first UX, and livelier hero */
.intro__content {
  gap: 0;
}
.intro__content p { display: none; }
.intro__content {
  margin-top: clamp(3.6rem, 8vh, 6rem);
}

/* Give the opening image a subtle warm-life effect */
.intro__image,
.hero {
  isolation: isolate;
}
.intro__image::before,
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 27% 37%, rgba(255, 208, 128, .16) 0 5%, rgba(255, 208, 128, 0) 11%),
    radial-gradient(circle at 49% 34%, rgba(255, 214, 146, .17) 0 5.5%, rgba(255, 214, 146, 0) 12%),
    radial-gradient(circle at 72% 35%, rgba(255, 207, 120, .16) 0 5%, rgba(255, 207, 120, 0) 11%),
    radial-gradient(circle at 28% 63%, rgba(255, 188, 96, .11) 0 7%, rgba(255, 188, 96, 0) 14%),
    radial-gradient(circle at 50% 62%, rgba(255, 198, 110, .12) 0 7%, rgba(255, 198, 110, 0) 14%),
    radial-gradient(circle at 75% 62%, rgba(255, 186, 92, .12) 0 7%, rgba(255, 186, 92, 0) 14%),
    radial-gradient(circle at 50% 83%, rgba(120, 210, 255, .10) 0 8%, rgba(120, 210, 255, 0) 18%);
  mix-blend-mode: screen;
  opacity: .72;
  animation: ambient-lights 4.8s ease-in-out infinite alternate;
}
.intro__image::before { z-index: 1; }
.hero::before { z-index: 0; }
.hero__content,
.hero__overlay,
.hero__image { position: relative; }
.hero__overlay { z-index: 1; }
.hero__image { z-index: 0; }
.hero__content { z-index: 2; }
@keyframes ambient-lights {
  0% { opacity: .58; transform: scale(1); }
  100% { opacity: .82; transform: scale(1.01); }
}

/* Mobile-first UX overrides */
.section {
  padding: 3.2rem 1rem;
}
.section--compact {
  padding-top: 2.6rem;
  padding-bottom: 2.6rem;
}
.site-header {
  min-height: 58px;
  padding: .55rem 1rem;
}
.brand { width: 146px; height: 30px; }
.desktop-nav { display: none; }
.menu-toggle {
  display: inline-grid;
  gap: 5px;
  border: 0;
  background: rgba(255,250,242,.86);
  border-radius: 999px;
  padding: .62rem .9rem;
  color: var(--ink);
}
.site-header.on-dark .menu-toggle { background: rgba(23,20,15,.4); color: var(--white); }
.menu-toggle i { display: block; width: 22px; height: 1px; background: currentColor; }
.menu-toggle span { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: grid;
  place-items: center;
  background: rgba(245,239,228,.975);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu nav {
  display: grid;
  gap: .9rem;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 9vw, 4rem);
}

.hero {
  min-height: 100svh;
  align-items: flex-end;
  padding: 5.5rem 1rem 2.25rem;
}
.hero__content p { font-size: .96rem; }
.hero__actions {
  flex-direction: column;
  align-items: stretch;
  gap: .72rem;
}
.hero__actions .btn,
.hero__actions .text-link {
  width: 100%;
  justify-content: center;
}
.text-link { padding-bottom: .75rem; }

.work__grid,
.work-proof,
.project-grid,
.services__wrap,
.service-list,
.section--split,
.news-grid,
.social-card {
  grid-template-columns: 1fr;
}
.work__grid .section-head { position: static; }
.project-card,
.project-card--large { min-height: 340px; grid-row: auto; }
.service-list article { padding-right: 0; }
.proof-card--large { grid-template-columns: 1fr; }
.social-card { text-align: left; }
.social-stats { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.contact { min-height: auto; }
.contact__card { padding: 1.45rem; }
.contact-points { justify-content: center; }

/* Progressive enhancement for larger screens */
@media (min-width: 681px) {
  .brand { width: 158px; height: 32px; }
  .hero__actions .btn,
  .hero__actions .text-link { width: auto; }
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }
  .social-stats { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 861px) {
  .section { padding: clamp(3.8rem, 6vw, 6.2rem) clamp(1.1rem, 5vw, 4rem); }
  .section--compact { padding-top: clamp(3rem, 4.8vw, 4.8rem); padding-bottom: clamp(3rem, 4.8vw, 4.8rem); }
  .hero { padding: 0 clamp(1.1rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem); }
  .work__grid { grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); }
  .work-proof { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1.08fr .92fr; }
  .services__wrap { grid-template-columns: minmax(250px, .74fr) 1.26fr; }
  .service-list { grid-template-columns: repeat(3, 1fr); }
  .section--split { grid-template-columns: .9fr 1fr; }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
  .social-card {
    grid-template-columns: 1fr auto auto;
    text-align: initial;
  }
  .social-stats { display: flex; gap: 1.25rem; }
}

@media (min-width: 1041px) {
  .desktop-nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .site-header {
    min-height: 66px;
    padding: .55rem clamp(1rem, 4vw, 3rem);
  }
  .brand { width: min(172px, 36vw); height: 36px; }
}


/* Critical fix: restore hero text visibility and make lights visible */
.hero {
  position: relative;
  isolation: isolate;
  background: #16110c;
}

.hero__image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Base readability overlay */
.hero__overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(180deg, rgba(10, 8, 5, .06) 0%, rgba(10, 8, 5, .20) 43%, rgba(10, 8, 5, .78) 100%) !important;
}

/* Visible animated warm window / landscape / pool light layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 26% 37%, rgba(255, 196, 92, .38) 0 3.8%, rgba(255, 196, 92, .12) 6.5%, rgba(255, 196, 92, 0) 11%),
    radial-gradient(circle at 49% 37%, rgba(255, 208, 120, .40) 0 4.4%, rgba(255, 208, 120, .12) 7.4%, rgba(255, 208, 120, 0) 12%),
    radial-gradient(circle at 72% 37%, rgba(255, 194, 94, .36) 0 4%, rgba(255, 194, 94, .12) 7%, rgba(255, 194, 94, 0) 12%),
    radial-gradient(circle at 27% 63%, rgba(255, 158, 70, .26) 0 5.5%, rgba(255, 158, 70, .08) 9%, rgba(255, 158, 70, 0) 15%),
    radial-gradient(circle at 50% 63%, rgba(255, 178, 86, .28) 0 5.8%, rgba(255, 178, 86, .09) 9.5%, rgba(255, 178, 86, 0) 15%),
    radial-gradient(circle at 75% 63%, rgba(255, 164, 74, .27) 0 5.8%, rgba(255, 164, 74, .08) 9.5%, rgba(255, 164, 74, 0) 15%),
    linear-gradient(90deg, rgba(255, 190, 90, 0) 0 36%, rgba(255, 190, 90, .10) 48%, rgba(255, 190, 90, 0) 60%),
    radial-gradient(ellipse at 50% 87%, rgba(73, 199, 255, .32) 0 9%, rgba(73, 199, 255, .12) 18%, rgba(73, 199, 255, 0) 35%);
  mix-blend-mode: screen;
  opacity: .9;
  animation: visible-ambient-lights 3.8s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(8, 6, 4, .30));
}

.hero__content {
  position: relative !important;
  z-index: 4 !important;
  color: var(--white);
}

.hero__content .eyebrow,
.hero__content h1,
.hero__content p,
.hero__actions {
  position: relative;
  z-index: 5;
}

/* The intro image also gets a clearer but softer warm-light pulse */
.intro__image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 26% 37%, rgba(255, 196, 92, .30) 0 4%, rgba(255, 196, 92, 0) 12%),
    radial-gradient(circle at 50% 38%, rgba(255, 208, 120, .32) 0 4.5%, rgba(255, 208, 120, 0) 12%),
    radial-gradient(circle at 73% 38%, rgba(255, 194, 94, .28) 0 4%, rgba(255, 194, 94, 0) 12%),
    radial-gradient(ellipse at 50% 87%, rgba(73, 199, 255, .24) 0 10%, rgba(73, 199, 255, 0) 34%);
  mix-blend-mode: screen;
  opacity: .78;
  animation: visible-ambient-lights 3.8s ease-in-out infinite alternate;
}

.intro__image::after {
  z-index: 1;
}

@keyframes visible-ambient-lights {
  0% {
    opacity: .64;
    filter: saturate(1.02) brightness(1);
    transform: scale(1);
  }
  100% {
    opacity: 1;
    filter: saturate(1.18) brightness(1.05);
    transform: scale(1.006);
  }
}

/* Mobile hero text spacing/readability */
@media (max-width: 680px) {
  .hero {
    padding-bottom: 1.5rem;
  }

  .hero__content {
    padding-top: 7rem;
  }

  .hero__content p {
    max-width: 34rem;
  }

  .hero::before {
    opacity: .78;
  }
}


/* Final image-property update: no artificial lighting overlays */
.hero::before,
.hero::after,
.intro__image::before {
  content: none !important;
  display: none !important;
  animation: none !important;
  background: none !important;
}

/* Keep the real image visible and make it feel alive through image properties only */
.hero__image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 50%;
  filter: brightness(.96) contrast(1.04) saturate(1.04);
  transform: scale(1.035);
  will-change: transform, filter, object-position;
}

/* The normal overlay handles readability; no fake lights */
.hero__overlay {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(180deg, rgba(10, 8, 5, .04) 0%, rgba(10, 8, 5, .18) 45%, rgba(10, 8, 5, .76) 100%) !important;
}

.hero__content {
  position: relative !important;
  z-index: 2 !important;
}

/* Gentle living-image motion: zoom, crop shift, and image filter only */
body.is-loaded .hero__image {
  animation: hero-image-breathe 9.5s ease-in-out infinite alternate !important;
}

@keyframes hero-image-breathe {
  0% {
    transform: scale(1.035) translate3d(-.45%, 0, 0);
    object-position: 49% 50%;
    filter: brightness(.94) contrast(1.04) saturate(1.03);
  }
  50% {
    transform: scale(1.052) translate3d(0, -.35%, 0);
    object-position: 50% 49%;
    filter: brightness(.98) contrast(1.06) saturate(1.07);
  }
  100% {
    transform: scale(1.043) translate3d(.45%, 0, 0);
    object-position: 51% 50%;
    filter: brightness(.96) contrast(1.05) saturate(1.05);
  }
}

/* Intro image also uses only image properties, not lighting overlays */
.intro__image img {
  filter: brightness(.98) contrast(1.03) saturate(1.04);
  transform: scale(1.02);
  animation: intro-image-breathe 3s ease-out forwards;
}

@keyframes intro-image-breathe {
  from {
    transform: scale(1.035);
    filter: brightness(.96) contrast(1.02) saturate(1.02);
  }
  to {
    transform: scale(1);
    filter: brightness(1) contrast(1.04) saturate(1.05);
  }
}

/* Keep mobile first hero readable and focused */
@media (max-width: 680px) {
  .hero__image {
    object-position: 52% 50%;
  }

  body.is-loaded .hero__image {
    animation-duration: 8s !important;
  }

  @keyframes hero-image-breathe {
    0% {
      transform: scale(1.08) translate3d(-1%, 0, 0);
      object-position: 51% 50%;
      filter: brightness(.92) contrast(1.05) saturate(1.03);
    }
    100% {
      transform: scale(1.12) translate3d(1%, -.35%, 0);
      object-position: 54% 49%;
      filter: brightness(.97) contrast(1.07) saturate(1.07);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-loaded .hero__image,
  .intro__image img {
    animation: none !important;
    transform: scale(1.03);
  }
}

/* Mobile intro animation scale adjustment */
@media (max-width: 680px) {
  .intro__drawing {
    transform: translateY(6vh) scale(1.32);
  }

  .intro__drawing svg {
    width: 94vw;
    max-width: none;
  }
}

@media (max-width: 390px) {
  .intro__drawing {
    transform: translateY(6vh) scale(1.38);
  }
}
