:root {
  --paper: #f3efe8;
  --paper-deep: #e8e1d7;
  --ink: #282520;
  --brown: #4b3621;
  --taupe: #6f685d;
  --lime: #c8ff58;
  --coral: #ff8f72;
  --lilac: #c881e4;
  --white: #fffdf8;
  --line: rgba(40, 37, 32, 0.22);
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
body.menu-open,
body.dialog-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.contact :where(a, button, input, select, textarea):focus-visible,
.home-testimonials :where(a, button):focus-visible {
  outline-color: var(--lime);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 84px;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.admin-bar .skip-link { top: 44px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 800;
  line-height: 0.94;
  text-transform: uppercase;
}
.brand img { width: 42px; height: 42px; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); }
.main-nav a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}
.main-nav a:hover { opacity: 0.58; }
.main-nav .nav-contact {
  padding-bottom: 4px;
  border-bottom: 2px solid currentColor;
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: min(900px, 92svh);
  padding: 130px var(--gutter) 38px;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 84px 0 auto;
  border-top: 1px solid rgba(255,255,255,0.45);
}
.hero-copy { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; }
.eyebrow,
.section-index {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 4px; height: 4px; background: var(--ink); border-radius: 50%; }
.hero h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 900px;
  font-size: clamp(76px, 11.2vw, 178px);
  font-weight: 900;
  line-height: 0.76;
  text-transform: uppercase;
}
.hero h1 span { display: block; }
.hero h1 .outline {
  margin-left: clamp(28px, 7vw, 110px);
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.hero-intro {
  position: relative;
  z-index: 4;
  max-width: 420px;
  margin: 44px 0 20px;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 600;
  line-height: 1.25;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 8px 0 4px;
  border-bottom: 2px solid currentColor;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.hero-portrait {
  position: absolute;
  z-index: 3;
  right: clamp(-150px, -4vw, -35px);
  bottom: 0;
  width: min(50vw, 760px);
  pointer-events: none;
}
.hero-portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
}
.hero-portrait p {
  position: absolute;
  right: clamp(28px, 5vw, 80px);
  top: -6%;
  margin: 0;
  font-size: clamp(16px, 2vw, 29px);
  font-weight: 800;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
  transform: rotate(7deg);
}
.hero-portrait em { font-family: Georgia, serif; font-weight: 400; text-transform: none; }
.hero-accent {
  position: absolute;
  z-index: -1;
  top: 14%;
  left: 25%;
  color: var(--lime);
  font-size: clamp(150px, 20vw, 310px);
  line-height: 1;
}
.hero-meta {
  position: absolute;
  z-index: 5;
  right: var(--gutter);
  bottom: 28px;
  left: var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.ticker {
  padding: 18px 0;
  background: var(--brown);
  color: var(--white);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker 26s linear infinite;
}
.ticker span { font-size: 13px; font-weight: 800; text-transform: uppercase; }
.ticker b { color: var(--lime); font-size: 24px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: clamp(86px, 10vw, 154px) var(--gutter); }
.section-heading,
.approach-intro,
.approach-list {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  align-items: end;
  gap: 8vw;
  margin-bottom: 64px;
}
.section-heading h2,
.approach h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(46px, 6vw, 96px);
  font-weight: 900;
  line-height: 0.94;
  text-transform: uppercase;
}
.section-heading h2 em,
.approach h2 em,
.contact h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  text-transform: none;
}
.section-side > p { max-width: 390px; margin: 0; font-size: 18px; }
.section-side .text-link { margin-top: 24px; }
.project-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 84px) clamp(18px, 3vw, 48px);
}
.project {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.project-wide { margin-top: 84px; }
.project-image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-deep);
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1), filter 300ms ease;
}
.project:hover .project-image img { transform: scale(1.035); filter: saturate(1.08); }
.project-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 0;
  border-top: 1px solid transparent;
}
.project-caption strong { display: block; font-size: clamp(20px, 2vw, 28px); line-height: 1; }
.project-caption small { display: block; margin-top: 8px; color: #69645c; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.project-caption i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-style: normal;
  transition: background 180ms ease, transform 180ms ease;
}
.project:hover .project-caption i { background: var(--lime); transform: rotate(7deg); }

.approach { background: var(--coral); }
.approach-intro { padding-bottom: 74px; }
.approach-list { border-top: 1px solid rgba(40,37,32,0.5); }
.approach-item {
  display: grid;
  grid-template-columns: 80px minmax(220px, .75fr) minmax(260px, .8fr);
  gap: 4vw;
  align-items: baseline;
  padding: 34px 0;
  border-bottom: 1px solid rgba(40,37,32,0.5);
}
.approach-item > span { font-size: 11px; font-weight: 800; }
.approach-item h3 { margin: 0; font-size: clamp(24px, 3vw, 42px); line-height: 1; }
.approach-item p { max-width: 480px; margin: 0; font-size: 17px; }

.about {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(420px, 1.2fr);
  min-height: 820px;
  background: var(--ink);
  color: var(--white);
}
.about-image {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--lime);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: contrast(1.04) saturate(1.03);
}
.about-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,.35)); }
.about-image span {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  padding: 10px 13px;
  background: var(--lime);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  transform: rotate(-4deg);
}
.about-copy { align-self: center; max-width: 780px; padding: 90px clamp(36px, 8vw, 140px); }
.about h2 { margin-bottom: 42px; }
.about-lead { margin: 0 0 26px; font-size: clamp(24px, 2.5vw, 38px); font-weight: 700; line-height: 1.2; }
.about-copy > p:not(.section-index):not(.about-lead) { max-width: 620px; color: #d8d3cc; font-size: 17px; }
.text-link.light { margin-top: 22px; color: var(--lime); }

.contact { padding: clamp(86px, 10vw, 150px) var(--gutter) 56px; background: var(--lime); }
.contact > * { max-width: var(--max); margin-right: auto; margin-left: auto; }
.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  align-items: end;
  gap: clamp(40px, 8vw, 120px);
}
.contact-main > p { max-width: 430px; margin: 0 0 8px; font-size: 19px; }
.contact-form { margin-top: clamp(70px, 8vw, 120px); border-top: 1px solid rgba(40,37,32,.55); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 42px; }
.form-field {
  display: grid;
  gap: 8px;
  padding: 27px 0 17px;
  border-bottom: 1px solid rgba(40,37,32,.55);
}
.form-field-wide { grid-column: 1 / -1; }
.form-field > span,
.form-consent span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 26px);
}
.form-field select { cursor: pointer; }
.form-field textarea { resize: vertical; }
.form-field:focus-within { border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 28px;
}
.form-consent { display: flex; max-width: 520px; align-items: flex-start; gap: 12px; cursor: pointer; }
.form-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.form-submit {
  display: flex;
  min-width: 245px;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}
.form-submit i { font-size: 22px; font-style: normal; }
.form-submit:hover { background: transparent; color: var(--ink); }
.form-status { min-height: 24px; margin: 18px 0 0; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contact-details {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 100px;
  padding-top: 24px;
  border-top: 1px solid rgba(40,37,32,.55);
}
.contact-details a { font-size: clamp(18px, 2vw, 28px); font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.contact-details p { margin: 0; font-size: 13px; font-weight: 700; text-transform: uppercase; }

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 24px;
  padding: 34px var(--gutter);
  background: var(--paper);
}
.footer p { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.footer p:nth-child(2) { text-align: center; }
.footer p:last-child { text-align: right; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { min-height: 72px; padding-top: 14px; padding-bottom: 14px; }
  .brand img { width: 38px; height: 38px; }
  .menu-toggle {
    position: relative;
    z-index: 22;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
  }
  .menu-icon { display: grid; gap: 5px; width: 24px; }
  .menu-icon i { width: 100%; height: 2px; background: currentColor; transition: transform 180ms ease; }
  .menu-open .menu-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    z-index: 21;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 100px var(--gutter) 50px;
    background: var(--lime);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav a { font-size: clamp(42px, 10vw, 70px); line-height: 1.05; }
  .main-nav .nav-contact { margin-top: 28px; font-size: 14px; }
  .hero { min-height: 870px; padding-top: 120px; }
  .hero h1 { font-size: clamp(65px, 18vw, 130px); }
  .hero h1 .outline { margin-left: 0; }
  .hero-intro { max-width: 390px; margin-top: 34px; }
  .hero-portrait { right: -120px; width: 650px; }
  .hero-portrait p { display: none; }
  .hero-meta { display: none; }
  .section-heading { grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .section-side > p { max-width: 550px; }
  .approach-item { grid-template-columns: 45px 1fr; gap: 20px; }
  .approach-item p { grid-column: 2; }
  .about { grid-template-columns: .85fr 1.15fr; min-height: 680px; }
  .about-image { min-height: 540px; }
  .about-copy { padding: 70px 40px; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .skip-link { top: 58px; }
}

@media (max-width: 650px) {
  .hero { min-height: 800px; padding-top: 110px; }
  .eyebrow { max-width: 240px; flex-wrap: wrap; }
  .hero h1 {
    max-width: calc(100vw - (2 * var(--gutter)));
    font-size: clamp(52px, 15.8vw, 76px);
    line-height: .82;
    white-space: nowrap;
  }
  .hero h1 .outline { -webkit-text-stroke-width: 1.5px; }
  .hero-intro { max-width: 290px; font-size: 19px; }
  .hero-portrait { right: -130px; width: 520px; }
  .hero-accent { left: 30%; top: 6%; font-size: 150px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-wide { margin-top: 0; }
  .section-heading { margin-bottom: 42px; }
  .approach-intro { padding-bottom: 50px; }
  .approach-item { padding: 26px 0; }
  .approach-item p { font-size: 15px; }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 570px; }
  .about-copy { padding: 72px var(--gutter); }
  .contact-main { grid-template-columns: 1fr; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-submit { width: 100%; }
  .contact-details { flex-direction: column; margin-top: 70px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer p:nth-child(2) { display: none; }
}

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