@font-face {
  font-family: Manrope;
  src: url(assets/fonts/manrope-400.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url(assets/fonts/manrope-600.ttf) format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f3e9;
  --ink: #151515;
  --muted: #55544e;
  --line: #d7d5cb;
  --accent: #185951;
  --dark: #18191c;
  --gutter: clamp(22px, 5.1vw, 78px);
  --section: clamp(64px, 8.3vw, 122px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 Manrope, system-ui, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
summary, button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell, .wrap { width: min(1260px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
section[id] { scroll-margin-top: 30px; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 8px 16px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .legal-header { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 14px 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.1rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; text-decoration: none; }
.brand img { width: auto; height: 38px; }
.brand small { display: block; margin-top: 6px; font-size: .6875rem; letter-spacing: .02em; }
.main-nav { display: flex; gap: clamp(17px, 3vw, 39px); align-items: center; }
.main-nav a, .menu-button { font-size: .875rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover { color: var(--accent); }
.main-nav .header-action, .menu-button { padding: 8px 13px; border: 1px solid var(--line); border-radius: 3px; background: transparent; }
.header-action span { margin-left: 5px; }

.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .15em; line-height: 1.45; text-transform: uppercase; }
.button, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 50px;
  padding: 10px 16px;
  border: 0;
  border-radius: 3px;
  background: var(--accent);
  color: white;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}
.button:hover, .cta:hover { background: #1528b8; transform: translateY(-2px); }
.button:active, .cta:active { transform: translateY(1px); }
.contact-copy > .button { margin-top: 24px; }
h2 { font-size: clamp(2.7rem, 5.55vw, 5.25rem); line-height: 1.02; letter-spacing: -.077em; text-wrap: balance; }
.approach, .about, .contact { padding-block: var(--section); }
.approach > .eyebrow, .about .eyebrow, .contact .eyebrow { color: var(--accent); margin-bottom: 17px; }
.section-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px clamp(25px, 7vw, 94px); align-items: end; }
.section-intro h2, .contact h2 { text-wrap: initial; }
.section-intro p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { max-width: 43ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.125rem); }
.faq h3 { margin-bottom: 7px; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.035em; }

details { border-top: 1px solid var(--line); }
details:last-child, .project-details { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; gap: 10px; align-items: center; justify-content: space-between; min-height: 52px; padding-block: 11px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary small { display: block; color: var(--muted); font-size: .8125rem; font-weight: 400; }
summary svg { flex: 0 0 17px; width: 17px; fill: none; stroke: var(--accent); stroke-width: 1.5; transition: transform 180ms var(--ease); }
details[open] > summary svg { transform: rotate(180deg); }
.faq details[open] > summary svg { transform: rotate(45deg); }
.faq details p { margin-top: 0; margin-bottom: 15px; color: var(--muted); }

.about { background: #ebe9e2; }
.about-copy .founder { margin-top: 20px; color: var(--ink); font-weight: 600; }
.founder span { display: block; color: var(--muted); font-size: .875rem; font-weight: 400; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px clamp(36px, 8vw, 108px); }
.contact-copy > p:not(.eyebrow) { margin-top: 16px; }
.project-details { margin-top: 23px; }
.faq { align-self: start; padding-top: 9px; }
.faq h3 { margin-bottom: 16px; }
.faq details p { padding-right: 18px; }

.form { padding: 10px 0 16px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px; border: 1px solid #a5a399; background: #fff; color: var(--ink); border-radius: 3px; }
.field textarea { resize: vertical; }
.field.has-error input { border-color: #a82412; }
.form-foot { margin-top: 17px; }
.form-hint, .form__status { margin-top: 9px; color: var(--muted); font-size: .875rem; }

.footer { background: #ebe9e2; border-top: 1px solid var(--line); padding-block: 30px; }
.footer-main, .footer-end { display: flex; align-items: start; justify-content: space-between; gap: 18px 30px; }
.footer-main { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.footer-main p, .footer-end { font-size: .875rem; color: var(--muted); }
.footer-end { padding-top: 18px; }
.footer-end > a { font-size: .75rem; }

.legal-header, .legal-footer { border-bottom: 1px solid var(--line); flex-wrap: wrap; padding-block: 15px; }
.legal-content { max-width: 760px; padding-block: clamp(35px, 7vw, 78px); }
.legal-content h1 { font-size: clamp(2.4rem, 6vw, 3.7rem); line-height: 1.1; letter-spacing: -.06em; }
.legal-intro { margin-top: 12px; overflow-wrap: anywhere; }
.legal-date { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.legal-languages { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 16px; }
.legal-content section { padding-top: 20px; margin-top: 32px; border-top: 1px solid var(--line); }
.legal-content h2 { font-size: 1.85rem; letter-spacing: -.04em; }
.legal-content h3 { margin-top: 20px; font-size: 1.15rem; }
.legal-content p { margin-bottom: 8px; }
.legal-content section p { margin-top: 7px; color: var(--muted); overflow-wrap: anywhere; }
.legal-footer { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; border: 0; border-top: 1px solid var(--line); font-size: .875rem; }


@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; gap: 0; min-height: 67px; padding-block: 11px; }
  .main-nav { width: 100%; display: grid; gap: 0; margin-top: 11px; border-top: 1px solid var(--line); }
  .main-nav a, .main-nav .header-action { min-height: 42px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); }
  .section-intro, .contact-grid { grid-template-columns: 1fr; }
  .footer-main, .footer-end { flex-direction: column; }
}

@media (max-width: 520px) {
  .fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* The supplied logo sets the background of the masthead. */
.site-header, .footer, .legal-header {
  background: #020c21;
  color: #fff;
}
.site-header { border: 0; }
.header-inner { min-height: 80px; }
.brand img { width: 172px; height: auto; }
.main-nav a:hover { color: #f8dca0; }
.main-nav .header-action, .menu-button {
  color: white;
  border-color: #596071;
  border-radius: 30px;
}
.atrium { display: grid; position: relative; isolation: isolate; color: white; background: #112323; }
.atrium-image, .atrium::after { position: absolute; inset: 0; z-index: -1; }
.atrium-image img { width: 100%; height: 100%; object-fit: cover; }
.atrium::after { content: ""; background: linear-gradient(90deg, rgb(3 15 19 / .91), rgb(3 15 19 / .66) 35%, transparent 76%); }
.atrium-copy { padding-block: clamp(80px, 8.5vw, 132px); }
.atrium-copy .eyebrow { color: #f5deb1; }
.atrium h1, h2 { font: 400 clamp(2.9rem, 5.5vw, 5rem)/.99 Georgia, serif; letter-spacing: -.055em; }
.atrium h1 { margin-block: 24px 20px; font-size: clamp(3.55rem, 7vw, 7rem); }
h1 em, h2 em { font-weight: 400; }
.atrium-copy > p:not(.eyebrow) { max-width: 35ch; font-size: clamp(1rem, 1.45vw, 1.22rem); }
.button, .cta { border-radius: 28px; padding-inline: 22px; }
.atrium .button { margin-top: 26px; background: #ffe6aa; color: #162525; }
.atrium .button:hover { background: #ffefc8; }
.capabilities { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px 7%; padding-block: var(--section); }
.capabilities-intro .eyebrow { margin-bottom: 18px; color: var(--accent); }
.service-list summary { padding-block: 18px; font-size: clamp(1.2rem, 2.25vw, 1.85rem); letter-spacing: -.04em; }
.service-list summary span::before { content: "+"; font-size: 1.4rem; color: var(--accent); }
.service-list details[open] summary span::before { content: "−"; }
.service-list details p { max-width: 43ch; color: var(--muted); }
.service-list details a { display: inline-block; margin-block: 10px 20px; color: var(--accent); font-weight: 600; }
.about { background: #164841; color: #f5f3e9; }
.about .section-intro { align-items: center; }
.about .eyebrow, .about .founder span { color: #e9ca91; }
.about .about-copy p { color: #f5f3e9; }
.contact { width: 100%; max-width: none; background: #e6ebdf; }
.contact-grid { width: min(1260px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.footer-main p, .footer-end { color: #c3c9cf; }
.footer-end { border: 0; }
.legal-header { width: 100%; padding-inline: max(var(--gutter), calc((100% - 1260px) / 2)); }
@media (max-width: 760px) {
  .header-inner { min-height: 64px; }
  .brand img { width: 141px; }
  .main-nav .header-action { border-radius: 0; }
  .atrium-copy { padding-block: 64px 52px; }
  .atrium::after { background: linear-gradient(90deg, rgb(3 15 19 / .89), rgb(3 15 19 / .4)); }
  .capabilities { grid-template-columns: 1fr; }
}

/* Give the complete lockup a dedicated, responsive masthead. */
.header-inner .brand img, .legal-header .brand img {
  width: clamp(235px, 25vw, 355px);
}
.header-inner, .legal-header { padding-block: 7px; }
.footer .brand img { width: clamp(220px, 22vw, 310px); }
.guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; margin-top: 35px; }
.guides { padding-block: var(--section); background: #e7e8db; }
.guides h2 { margin-top: 16px; }
.guide-card { display: block; padding-block: 20px; border-top: 1px solid #a0aaa0; text-decoration: none; }
.guide-card span, .byline { color: var(--accent); font-size: .875rem; font-weight: 600; }
.guide-card h3 { margin-block: 10px; font: 400 clamp(1.5rem,2.6vw,2.1rem)/1.15 Georgia, serif; }
.guide-card:hover h3 { text-decoration: underline; }
.guide-card p { color: var(--muted); }
.reading { max-width: 720px; padding-block: var(--section); }
.reading h1 { margin-block: 15px; font: 400 clamp(2.5rem,5vw,4.4rem)/1.04 Georgia,serif; letter-spacing: -.045em; }
.reading .byline { margin-top: 14px; }
.reading section { margin-block: 32px; }
.reading h2 { margin-bottom: 10px; font-size: clamp(1.65rem,3vw,2.3rem); }
.guides-back { padding: 8px 0; }
@media(max-width:760px){
  .guide-grid { grid-template-columns: 1fr; gap: 0; }
  .header-inner .brand img, .legal-header .brand img { width: clamp(175px, 58vw, 260px); }
}

.starting-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
  margin-block: clamp(24px, 4vw, 46px) 24px;
}
.starting-points article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 3.3vw, 44px);
  border-top: 3px solid #967340;
  background: #eee8d9;
}
.starting-points article + article { border-color: var(--accent); background: #e4ebe2; }
.starting-points h3 {
  margin-block: 16px 12px;
  max-width: 24ch;
  font: 400 clamp(1.65rem, 2.7vw, 2.55rem)/1.12 Georgia, serif;
  letter-spacing: -.035em;
}
.starting-points p:not(.eyebrow) { max-width: 46ch; margin-bottom: 20px; }
.starting-points a { margin-top: auto; padding-block: 7px; font-weight: 600; color: var(--accent); }
.project-estimate { max-width: 83ch; color: var(--muted); }
.project-estimate strong { color: var(--ink); margin-right: .6em; }
@media (max-width: 700px) {
  .starting-points { grid-template-columns: 1fr; }
  .project-estimate strong { display: block; }
}

.about .section-intro .director-role { margin-top: 14px; color: #e9ca91; }
.about-copy p + p { margin-top: 14px; }
.director-guide { display: inline-block; margin-top: 18px; color: #ffe6aa; text-underline-offset: 4px; }

.atrium .work-jump { display: inline-flex; margin: 12px 0 0 15px; color: white; text-underline-offset: 5px; }
.past-work { padding-block: var(--section); background: #edece2; }
.past-work h2 { margin-block: 14px; }
.work-intro { max-width: 66ch; color: var(--muted); }
.work-examples { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px; margin-block: 34px; }
.work-examples article { padding-top: 18px; border-top: 2px solid var(--accent); }
.work-examples h3 { font: 400 clamp(1.65rem,3vw,2.4rem)/1.15 Georgia, serif; }
.work-examples p { max-width: 48ch; margin-block: 12px; }
.work-examples a { color: var(--accent); font-weight: 600; }
@media (max-width: 700px) {
  .work-examples { grid-template-columns: 1fr; }
  .atrium .work-jump { display: table; margin-left: 0; }
}

.client-wall { margin-top: clamp(40px, 6vw, 84px); }
.logo-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.logo-heading h3 { font: 400 clamp(1.8rem, 4vw, 3.1rem)/1.1 Georgia, serif; letter-spacing: -.045em; }
.logo-row { margin-bottom: 10px; }
.logo-group { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); gap: 10px; margin: 0; padding: 0; }
.logo-group li { display: grid; place-items: center; height: clamp(72px, 8vw, 101px); padding: 10px; background: white; border: 1px solid #d9dfd6; border-radius: 10px; }
.logo-group img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.logo-group span { text-align: center; font-weight: 600; }
.logo-group[aria-hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .is-moving .logo-row { overflow: hidden; mask-image: linear-gradient(90deg,transparent,black 3%,black 97%,transparent); }
  .is-moving .logo-track { display: flex; width: max-content; animation: client-scroll 55s linear infinite; }
  .is-moving .logo-row + .logo-row .logo-track { animation-direction: reverse; }
  .is-moving .logo-group { display: flex; padding-right: 10px; }
  .is-moving .logo-group li { width: clamp(126px, 13vw, 184px); }
  @keyframes client-scroll { to { transform: translateX(-50%); } }
}
