:root {
  --paper: #f3f0e7;
  --paper-deep: #e7e1d3;
  --ink: #181914;
  --muted: #68685f;
  --line: rgba(24, 25, 20, 0.16);
  --leaf: #9b4f38;
  --leaf-soft: #ead0c3;
  --white: #fffdf7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
body::selection { background: var(--leaf-soft); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 20; padding: .75rem 1rem; transform: translateY(-180%); background: var(--ink); color: var(--white); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
main { max-width: 1440px; margin: 0 auto; padding: 28px 28px 0; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: center; max-width: 1180px; margin: 0 auto; }
.hero-copy { display: flex; min-width: 0; flex-direction: column; padding: 164px 0 24px; }
.hero-visual { display: flex; align-self: end; flex-direction: column; gap: 24px; margin-bottom: 54px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-visual .site-header { position: absolute; top: 0; right: 0; width: 100%; justify-content: flex-end; padding: 28px 0 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-visual .brand { flex-direction: row-reverse; }
.hero-visual .brand-name { text-align: right; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { display: block; width: 72px; height: 72px; flex: 0 0 auto; border-radius: 50%; object-fit: contain; }
.brand-name, .eyebrow, .visual-panel figcaption, .service-number, .case-label { font-size: .78rem; }
.brand-name, .eyebrow, .visual-panel figcaption, .service-number, .case-label { color: var(--muted); }
.brand, .link-list a { transition: color 180ms ease, border-color 180ms ease; }
.brand:hover, .link-list a:hover { color: var(--leaf); }

.subpage-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1180px; margin: 0 auto; padding: 28px 0 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subpage-header .brand { flex-direction: row-reverse; }
.subpage-header .brand-name { text-align: right; }
.subpage-nav { display: flex; gap: 24px; color: var(--muted); font-size: .82rem; }
.subpage-nav a { transition: color 180ms ease; }
.subpage-nav a:hover, .subpage-nav a:focus-visible, .subpage-nav a[aria-current="page"] { color: var(--leaf); }
.subpage-title { max-width: 10em; margin-bottom: 0; font-size: clamp(2.8rem, 4.5vw, 4.4rem); line-height: 1; }
.subpage .intro-section, .subpage .subpage-work { margin-top: 0; border-top: 0; }
.page-next { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1180px; margin: 0 auto; padding: 32px 0 104px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.page-next a { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; transition: color 180ms ease; }
.page-next a:hover, .page-next a:focus-visible { color: var(--leaf); }

.hero-center { width: min(100%, 720px); margin: 52px 0 30px; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: 0; }
h1 { max-width: 9.5em; margin-bottom: 22px; font-size: clamp(3.6rem, 5.2vw, 5.1rem); line-height: .94; }
h2 { max-width: 10em; margin-bottom: 0; font-size: clamp(2.25rem, 3.2vw, 3.05rem); line-height: 1.04; }
h3 { font-size: 1.38rem; line-height: 1.2; }
.lede { margin-bottom: 10px; color: var(--leaf); font-family: Georgia, "Times New Roman", serif; font-size: 1.62rem; line-height: 1.25; }
.summary { max-width: 36rem; margin-bottom: 0; color: var(--muted); font-size: 1.07rem; }
.link-list { width: min(100%, 590px); margin-top: 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.link-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.link-arrow { color: var(--leaf); transition: transform 180ms ease; }
.link-list a:hover .link-arrow { transform: translateX(4px); }
.visual-panel { position: relative; width: 100%; max-width: 360px; margin: 0; overflow: hidden; background: var(--paper-deep); }
.visual-panel img { width: 100%; height: auto; aspect-ratio: 1151 / 1504; object-fit: contain; }

.section { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 72px; max-width: 1180px; margin: 0 auto; padding: 104px 0; border-top: 1px solid var(--line); }
.intro-section { margin-top: 28px; }
.section-copy { max-width: 650px; color: var(--muted); font-size: 1.05rem; }
.section-copy p:last-child { margin-bottom: 0; }
.statement { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; line-height: 1.38; }
.opening-copy > .statement { margin-bottom: 0; }
.capabilities-intro { margin: 32px 0 16px; font-size: .95rem; }
.services { display: grid; gap: 14px; }
.service { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.service-number { color: var(--leaf); }
.service h3 { margin-bottom: 0; font-size: 1.28rem; }
.approach-section { margin-top: 68px; }
.who-section { padding-top: 112px; padding-bottom: 112px; }
.location-line { padding-top: 20px; border-top: 1px solid var(--line); color: var(--leaf); font-size: .88rem; letter-spacing: .03em; }

.work-section { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; max-width: 1180px; margin: 0 auto; padding: 104px 0; border-top: 1px solid var(--line); }
.work-list { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-study { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 30px 0; }
.case-study + .case-study { border-top: 1px solid var(--line); }
.case-study h3 { margin: 10px 0 0; font-size: 2rem; }
.case-link-placeholder, .case-link { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.case-link { text-decoration: underline; text-decoration-color: rgba(24, 25, 20, .28); text-underline-offset: .25em; transition: color 180ms ease, text-decoration-color 180ms ease; }
.case-link:hover, .case-link:focus-visible { color: var(--leaf); text-decoration-color: currentColor; }

.home-spacer { height: 180px; }
.testimonials-page { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 72px; align-items: start; max-width: 1180px; margin: 0 auto; padding: 104px 0; }
.testimonials-intro .eyebrow { color: var(--leaf); }
.testimonial-carousel { display: flex; min-height: 580px; flex-direction: column; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testimonial-viewport { display: grid; flex: 1; min-height: 492px; }
.testimonial-entry { grid-area: 1 / 1; display: grid; grid-template-rows: 1fr auto; margin: 0; padding: 38px 0 34px; opacity: 0; visibility: hidden; transition: opacity 220ms ease; }
.testimonial-entry.is-active { opacity: 1; visibility: visible; }
.testimonial-entry > p, .testimonial-quote { max-width: 19em; margin: 0 0 30px; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.1vw, 3.15rem); line-height: 1.14; letter-spacing: -.015em; }
.testimonial-entry--long > p, .testimonial-entry--long > .testimonial-quote { max-width: none; font-size: clamp(1.15rem, 1.65vw, 1.5rem); line-height: 1.4; }
.testimonial-quote p { margin: 0; }
.testimonial-quote p + p { margin-top: 1em; }
.testimonial-entry footer { display: flex; justify-content: flex-start; gap: 12px; padding: 0; background: transparent; color: var(--muted); font-size: .78rem; }
.testimonial-entry cite { color: var(--leaf); font-style: normal; }
.testimonial-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.testimonial-controls > div { display: flex; gap: 8px; }
.testimonial-controls button { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font: inherit; cursor: pointer; transition: border-color 180ms ease, color 180ms ease; }
.testimonial-controls button:hover, .testimonial-controls button:focus-visible { border-color: var(--leaf); color: var(--leaf); }

.contact-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; width: 100vw; margin: 0 calc(50% - 50vw); padding: 84px max(28px, calc((100vw - 836px) / 2)); background: var(--leaf); color: var(--white); }
.contact-section .eyebrow { color: rgba(255,255,255,.66); }
.contact-section h2 { max-width: 12em; margin-bottom: 22px; font-size: clamp(2.8rem, 5vw, 5rem); }
.contact-intro > p { max-width: 520px; color: rgba(255,255,255,.76); font-size: 1.08rem; }
.contact-email { display: inline-block; margin-top: 12px; color: var(--white); font-size: .88rem; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: .25em; }
.contact-form { display: grid; grid-template-columns: 1fr; gap: 20px; align-content: start; padding-top: 2px; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.form-row { display: grid; gap: 8px; }
.form-row-wide { grid-column: auto; }
.form-row label { color: rgba(255,255,255,.86); font-size: .78rem; letter-spacing: .02em; }
.form-row label span { margin-left: 6px; color: rgba(255,255,255,.5); }
.form-row input, .form-row textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.48); border-radius: 0; outline: 0; background: transparent; color: var(--white); font: inherit; font-size: 1rem; }
.form-row input { min-height: 42px; }
.form-row textarea { min-height: 104px; padding: 10px 0; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { border-bottom-color: var(--white); }
.form-submit { display: flex; align-items: flex-start; flex-direction: column; gap: 16px; }
.form-submit button { display: inline-flex; align-items: center; gap: 28px; padding: 13px 18px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: transparent; color: var(--white); font: inherit; font-size: .85rem; cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease; }
.form-submit button:hover, .form-submit button:focus-visible { border-color: var(--white); background: rgba(255,255,255,.12); }
.form-submit button:disabled { cursor: wait; opacity: .62; }
.form-submit .contact-email { margin-top: 0; }
.form-status { min-height: 1.5em; margin: -8px 0 0; color: rgba(255,255,255,.78); font-size: .82rem; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--white); }
.form-status a { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
  .visual-panel { justify-self: center; }
  .section, .work-section, .testimonials-page { gap: 46px; }
  .contact-section { gap: 46px; }
}

@media (max-width: 720px) {
  main { padding: 18px 18px 0; }
  .hero { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding-top: 132px; }
  .hero-copy { padding: 20px 0 22px; }
  .hero-visual { align-self: auto; margin-bottom: 0; }
  .hero-center { margin: 42px 0 38px; }
  .visual-panel { align-self: center; width: 82%; max-width: 300px; margin: 0; }
  h1 { font-size: 3.1rem; max-width: 7.4em; }
  .lede { font-size: 1.35rem; }
  .link-list a { grid-template-columns: minmax(0, 1fr) auto; gap: 20px; }
  .section, .work-section, .testimonials-page, .contact-section { grid-template-columns: 1fr; gap: 32px; }
  .section, .work-section, .testimonials-page { padding: 72px 0; }
  .statement { font-size: 1.32rem; }
  .services { margin-top: 0; }
  .service { grid-template-columns: 32px 1fr; gap: 12px; }
  .approach-section, .who-section, .work-section { margin-top: 0; padding-top: 76px; padding-bottom: 76px; }
  .case-study { grid-template-columns: 1fr; gap: 12px; }
  .home-spacer { height: 110px; }
  .testimonial-carousel { min-height: 650px; }
  .testimonial-viewport { min-height: 562px; }
  .testimonial-entry { padding: 32px 0 30px; }
  .testimonial-entry > p { font-size: clamp(1.8rem, 8vw, 2.45rem); }
  .testimonial-entry--long > p, .testimonial-entry--long > .testimonial-quote { font-size: 1.15rem; line-height: 1.4; }
  .contact-section { gap: 28px; padding: 58px 22px; }
  .subpage-header { align-items: flex-start; flex-direction: column; gap: 22px; padding: 20px 0 24px; }
  .subpage-header .brand { align-self: flex-end; }
  .subpage-nav { flex-wrap: wrap; gap: 12px 20px; }
  .subpage-title { font-size: 2.66rem; }
  .page-next { padding-bottom: 76px; }
}

@media (max-width: 430px) {
  .brand-name { display: none; }
  h1 { font-size: 2.66rem; }
}
