/* For a Reason: base styles, components, responsive layouts and motion preferences. */

@font-face {
  font-family: Inter;
  font-style: normal;
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Mono;
  font-style: normal;
  src: url('../fonts/jbmono.woff2') format('woff2');
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --bg: #0b0b0b;
  --fg: #f5f2ec;
  --dim: #aaa69e;
  --line: #363530;
  --acc: #ff6a00;
  --gutter: clamp(22px, 4.5vw, 72px);
  --mono: Mono, ui-monospace, SFMono-Regular, Consolas, monospace;
  --display: Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 var(--display);
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
}

button, summary {
  cursor: pointer;
}

a, button {
  touch-action: manipulation;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

/* MARQUEE */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  background: rgba(11,11,11,.6);
}

.marquee div {
  display: flex;
  width: max-content;
  animation: slide 28s linear infinite;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px,5vw,64px);
  letter-spacing: -.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee span {
  padding-right: .6em;
}

.marquee span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px var(--fg);
}

/* "Pause motion" pauses every decorative animation, not only the particles (WCAG 2.2.2). */
.motion-paused .marquee div {
  animation-play-state: paused;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 5px;
}

::selection {
  background: var(--acc);
  color: var(--bg);
}

.wrap {
  max-width: 1500px;
  margin: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 8vw, 112px);
}

.label {
  font: 500 12px/1.6 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--acc);
}

.sr-only, .honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  padding: 12px 20px;
  background: var(--acc);
  color: var(--bg);
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 11, .97);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1.2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.logo span {
  color: var(--acc);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-list a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font: 12px var(--mono);
}

.nav-list a:hover, .text-link:hover {
  color: var(--acc);
}

.nav-cta {
  border: 1px solid var(--acc);
  border-radius: 30px;
  padding: 0 18px;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #68655e;
  border-radius: 30px;
  background: none;
  font: 12px var(--mono);
}

.mobile-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 50px;
  padding: 13px 23px;
  border: 1px solid var(--acc);
  border-radius: 30px;
  background: var(--acc);
  color: var(--bg);
  font: 500 13px/1.5 var(--mono);
  transition: background .2s, color .2s;
}

.btn:hover {
  background: var(--fg);
  border-color: var(--fg);
}

.btn.secondary {
  color: var(--fg);
  background: transparent;
  border-color: #68655e;
}

.btn.secondary:hover {
  color: var(--bg);
  background: var(--fg);
}

.btn:disabled {
  opacity: .6;
  cursor: wait;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font: 12px var(--mono);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero {
  position: relative;
  padding-top: 24px;
  padding-bottom: 34px;
}

.hero-visual {
  height: clamp(190px, 30vh, 350px);
  min-height: 190px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  contain: paint;
  width: calc(100% + var(--gutter) + var(--gutter));
  margin-inline: calc(0px - var(--gutter));
}

#field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translate3d(0, var(--hero-shift, 0px), 0);
}

.hero-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(50px, 13vw, 190px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.06em;
}

.hero-word span {
  color: var(--acc);
}

.has-particles .hero-word {
  visibility: hidden;
}

.motion-toggle {
  position: absolute;
  top: 12px;
  right: var(--gutter);
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #68655e;
  border-radius: 28px;
  background: var(--bg);
  font: 11px var(--mono);
  z-index: 3;
}

.hero-sub {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  margin-top: 24px;
}

.hero .label {
  margin-bottom: 14px;
  font-size: 11px;
}

.hero h1 {
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 800;
  max-width: 850px;
}

.hero h1 em {
  font-style: normal;
  color: var(--acc);
}

.hero-intro {
  color: var(--dim);
  max-width: 480px;
  font-size: 17px;
}

h2 {
  font-size: clamp(34px, 4.4vw, 66px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.045em;
}

h3 {
  line-height: 1.15;
  letter-spacing: -.035em;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 30px;
  margin-bottom: 36px;
}

.section-head .label {
  padding-top: 8px;
}

.section-intro {
  margin-top: 18px;
  color: var(--dim);
  max-width: 650px;
  font-size: 17px;
}

.work {
  border-top: 1px solid var(--line);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.featured-card {
  min-width: 0;
}

.featured-image {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 14px;
  background: #191914;
  border: 1px solid var(--line);
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transition: transform .3s;
}

.featured-image:hover img, .featured-image:focus-visible img {
  transform: scale(1.03);
}

.image-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--bg);
  border: 1px solid #68655e;
  border-radius: 20px;
  padding: 5px 10px;
  font: 10px var(--mono);
}

.project-meta {
  padding-top: 18px;
}

.project-category {
  font: 11px var(--mono);
  color: var(--dim);
  margin-bottom: 8px;
}

.project-meta h3 {
  font-size: 25px;
  overflow-wrap: anywhere;
}

.project-scope {
  color: var(--dim);
  font-size: 14px;
  margin-top: 10px;
}

.project-notes {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-notes summary {
  padding: 12px 0;
  font: 12px var(--mono);
}

.project-notes dl {
  font-size: 14px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
  padding-bottom: 16px;
}

.project-notes dt {
  color: var(--dim);
}

.project-notes dd {
  margin: 0;
}

.project-notes p {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 15px;
}

.project-notes .text-link {
  color: var(--acc);
}

.archive {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.archive>summary {
  padding: 22px 0;
  font-size: 18px;
  font-weight: 600;
}

.archive-body {
  padding-block: 10px 28px;
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.work-filters button {
  min-height: 44px;
  border: 1px solid #68655e;
  background: none;
  border-radius: 24px;
  padding: 10px 16px;
  font: 12px var(--mono);
}

.work-filters [aria-pressed=true] {
  background: var(--acc);
  color: var(--bg);
  border-color: var(--acc);
}

.work-status {
  color: var(--dim);
  font: 12px var(--mono);
  margin-bottom: 22px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}

.project-card {
  min-width: 0;
}

.project-image {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #191914;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.project-image img {
  width: 100%;
  height: calc(100% + 28px);
  object-fit: cover;
  object-position: top;
  transform: translate3d(0, var(--image-shift, -14px), 0);
}

.project-monogram {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  font-weight: 800;
  background: linear-gradient(135deg, #2b2319, #4b3020);
}

.project-monogram span {
  color: var(--acc);
}

.project-card h3 {
  font-size: 20px;
}

.project-visit {
  display: inline-block;
  color: var(--acc);
  font: 12px var(--mono);
  padding-block: 12px;
}

.show-work {
  margin-top: 28px;
}

.proof-note {
  font-size: 13px;
  color: var(--dim);
  margin-top: 24px;
  max-width: 750px;
}

.services {
  background: var(--fg);
  color: var(--bg);
}

.services .label {
  color: #764019;
}

.services .section-intro {
  color: #625d56;
}

.service-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-group {
  padding: 28px;
  border: 1px solid #bdb7ae;
  border-radius: 14px;
}

.service-number {
  font: 12px var(--mono);
  color: #625d56;
}

.service-group h3 {
  font-size: 32px;
  margin-top: 26px;
}

.service-group>p {
  color: #625d56;
  font-size: 15px;
  margin-top: 16px;
}

.service-group ul {
  list-style: none;
  margin-top: 24px;
}

.service-group li {
  border-top: 1px solid #d2ccc2;
}

.service-group a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 13px;
  min-height: 48px;
  font-size: 14px;
  font-weight: 600;
}

.service-group a span {
  color: #8b3b00;
}

.service-group a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-group :focus-visible {
  outline-color: var(--bg);
}

.service-outro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--acc);
  border-radius: 14px;
}

.service-outro p {
  font-size: 18px;
  font-weight: 600;
}

.service-outro .text-link {
  color: var(--bg);
}

.about-grid h2 {
  margin-top: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 60px;
}

.about-copy p {
  color: var(--dim);
  margin-top: 24px;
  max-width: 650px;
  font-size: 18px;
}

.connection {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 32px;
}

.connection div {
  padding: 20px 15px 20px 0;
}

.connection span {
  display: block;
  font: 11px var(--mono);
  color: var(--acc);
  margin-bottom: 8px;
}

.connection b {
  font-size: 15px;
  font-weight: 500;
}

.principles {
  list-style: none;
  margin-top: 24px;
  color: var(--dim);
  font-size: 14px;
}

.principles li {
  margin-top: 10px;
}

.principles li:before {
  content: '↗';
  color: var(--acc);
  margin-right: 12px;
}

.process {
  background: #131310;
  border-block: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.step {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step-number {
  display: block;
  font: 12px var(--mono);
  color: var(--acc);
  margin-bottom: 32px;
}

.step h3 {
  font-size: 24px;
}

.step p {
  font-size: 15px;
  color: var(--dim);
  margin-top: 14px;
}

.step .output {
  font-size: 12px;
  color: var(--fg);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 22px;
}

.scope-note {
  font: 12px/1.8 var(--mono);
  color: var(--dim);
  margin-top: 22px;
  max-width: 850px;
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 36px;
}

.faq h2 {
  margin-top: 20px;
  font-size: clamp(32px, 3.2vw, 48px);
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 22px 2px;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:after {
  content: '+';
  color: var(--acc);
  font: 24px var(--mono);
}

.faq details[open] summary:after {
  content: '−';
}

.faq details p {
  color: var(--dim);
  padding: 0 26px 24px 2px;
}

.contact {
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 90px);
}

.contact h2 {
  font-size: clamp(54px, 6vw, 90px);
  margin-top: 24px;
}

.contact h2 em {
  color: var(--acc);
  font-style: normal;
}

.contact-intro {
  margin-top: 24px;
  color: var(--dim);
  font-size: 18px;
  max-width: 420px;
}

.contact-options {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 24px;
}

.contact-options a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: var(--acc);
  overflow-wrap: anywhere;
}

.location, .contact-method {
  color: var(--dim);
  font: 12px/1.9 var(--mono);
  margin-top: 24px;
  max-width: 430px;
}

.next-step {
  border-left: 2px solid var(--acc);
  padding-left: 20px;
  margin-top: 28px;
  font-size: 15px;
  max-width: 430px;
}

.next-step p {
  color: var(--dim);
  margin-top: 8px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

fieldset {
  min-width: 0;
  border: 0;
}

legend, .field-label {
  font: 500 12px/1.6 var(--mono);
  color: var(--dim);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chips label {
  position: relative;
  cursor: pointer;
}

.chips input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  inset: 50% auto auto 50%;
}

.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #68655e;
  border-radius: 24px;
  font: 12px var(--mono);
}

.chips input:checked+span {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--bg);
}

.chips input:focus-visible+span {
  outline: 2px solid var(--acc);
  outline-offset: 4px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.f {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.f input, .f textarea, .f select, .draft-text {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  color: var(--fg);
  background: #141411;
  border: 1px solid #68655e;
  border-radius: 6px;
  padding: 12px;
  font-size: 16px;
  line-height: 1.6;
}

textarea {
  resize: vertical;
}

input::placeholder, textarea::placeholder {
  color: var(--dim);
  opacity: 1;
}

.field-help, .form-help {
  font-size: 13px;
  color: var(--dim);
}

.form-help a, .legal a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.f [aria-invalid=true] {
  border-color: #ffb18e;
}

.field-error {
  font-size: 13px;
  color: #ffb18e;
}

.field-error:empty {
  display: none;
}

/* Empty status regions stay in the accessibility tree so screen readers announce later updates. */
.status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.status {
  font-size: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.form>.btn {
  align-self: flex-start;
}

.form-help {
  max-width: 650px;
}

.draft {
  padding: 24px;
  border: 1px solid var(--acc);
  border-radius: 12px;
  scroll-margin-top: 110px;
}

.draft h3 {
  font-size: 24px;
}

.draft p {
  color: var(--dim);
  font-size: 14px;
  margin-top: 12px;
}

.draft label {
  display: block;
  margin-top: 16px;
}

.draft-text {
  margin-top: 10px;
  font: 12px/1.7 var(--mono);
}

footer {
  padding-top: 56px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}

.footer-brand p {
  max-width: 380px;
  color: var(--dim);
  margin-top: 14px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid nav a, .footer-contact a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--dim);
  overflow-wrap: anywhere;
}

.footer-grid a:hover {
  color: var(--acc);
}

.footer-copyright {
  font-size: 13px;
  color: var(--dim);
  margin-top: 36px;
}

.footer-wordmark {
  line-height: 0;
  margin-top: 28px;
}

.footer-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.legal {
  max-width: 900px;
  min-height: 70vh;
}

.legal h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -.045em;
  margin-top: 24px;
}

.legal h2 {
  font-size: 26px;
  margin-top: 36px;
}

.legal p, .legal ul {
  margin-top: 16px;
  color: var(--dim);
}

.legal ul {
  padding-left: 22px;
}

.legal .label {
  color: var(--acc);
}

@media(max-width:1050px) {
  .nav-list {
    gap: 16px;
  }
  .nav-list a {
    font-size: 11px;
  }
  .hero-sub {
    gap: 24px;
  }
  .service-group {
    padding: 22px;
  }
  .service-group h3 {
    font-size: 27px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step:nth-child(2) {
    border-right: 0;
  }
  .step:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media(max-width:760px) {
  html {
    scroll-padding-top: 90px;
  }
  .nav {
    min-height: 74px;
    flex-wrap: wrap;
    padding-block: 12px;
    gap: 10px;
  }
  .logo {
    font-size: 20px;
  }
  .mobile-cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 12px;
    border: 1px solid var(--acc);
    border-radius: 24px;
    font: 12px var(--mono);
    margin-left: auto;
  }
  .menu-toggle {
    display: block;
    font-size: 12px;
    padding-inline: 12px;
  }
  .nav-list {
    width: 100%;
    flex-wrap: wrap;
    gap: 4px 22px;
    padding-bottom: 8px;
  }
  .nav-list a {
    font-size: 13px;
  }
  .js .nav-list {
    display: none;
  }
  .js .nav-list.is-open {
    display: flex;
  }
  .nav-cta {
    border: 0;
    padding: 0;
  }
  .hero {
    padding-top: 38px;
  }
  .hero-visual {
    min-height: 175px;
    height: 26vh;
    height: 26svh;
    max-height: 240px;
  }
  .hero-word {
    font-size: 19vw;
    padding-inline: 10%;
    text-align: center;
  }
  .hero-sub {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 20px;
  }
  .hero h1 {
    font-size: clamp(33px, 7.8vw, 52px);
  }
  .hero .label {
    font-size: 9px;
    letter-spacing: .07em;
  }
  .hero-intro {
    font-size: 15px;
  }
  .hero .actions {
    margin-top: 20px;
  }
  .motion-toggle {
    top: 4px;
  }
  .section-head, .about-grid, .faq, .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section-head {
    margin-bottom: 30px;
  }
  .section-intro {
    font-size: 16px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .featured-image {
    aspect-ratio: 3/2;
  }
  .featured-card {
    display: grid;
    grid-template-columns: 1fr;
  }
  .project-meta h3 {
    font-size: 26px;
  }
  .project-notes {
    margin-top: 14px;
  }
  .service-groups {
    grid-template-columns: 1fr;
  }
  .service-group {
    padding: 24px;
  }
  .service-group h3 {
    margin-top: 16px;
    font-size: 30px;
  }
  .service-group ul {
    margin-top: 16px;
  }
  .service-outro {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .portfolio-grid h3 {
    font-size: 19px;
  }
  .about-copy p {
    font-size: 16px;
  }
  .connection {
    margin-top: 24px;
  }
  .connection b {
    font-size: 13px;
  }
  .connection div {
    padding-right: 10px;
  }
  .contact h2 {
    font-size: 64px;
  }
  .contact-intro {
    font-size: 16px;
  }
  .contact-method {
    margin-top: 14px;
  }
  .next-step {
    margin-top: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .row {
    grid-template-columns: 1fr;
  }
  .draft .actions {
    align-items: stretch;
    flex-direction: column;
  }
  .draft .btn {
    width: 100%;
  }
}

@media(max-width:380px) {
  .logo {
    font-size: 18px;
  }
  .mobile-cta {
    font-size: 11px;
    padding-inline: 9px;
  }
  .menu-toggle {
    padding-inline: 10px;
  }
  .nav {
    gap: 8px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero .actions {
    gap: 14px;
  }
  .hero .btn {
    padding-inline: 18px;
    font-size: 12px;
  }
  .hero .text-link {
    font-size: 11px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .step:last-child {
    border-bottom: 0;
  }
  .connection {
    grid-template-columns: 1fr;
  }
  .connection div {
    display: flex;
    gap: 14px;
    padding-block: 12px;
  }
  .connection span {
    margin: 0;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *:before, *:after {
    animation: none !important;
    transition: none !important;
  }
  .motion-toggle {
    display: none;
  }
  #field, .hero-word {
    transform: none !important;
  }
  .project-image img {
    height: 100%;
    transform: none !important;
  }
}

.service-group a small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: #625d56;
  margin-top: 5px;
}

.service-group a>span {
  flex-shrink: 0;
}

/* Keep grid children inside their tracks, including long email addresses and project titles. */
.hero-sub>*,.section-head>*,.service-group,.about-grid>*,.contact-grid>*,.footer-grid>* {
  min-width: 0;
}

.service-group a>div,.project-notes dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Keep contact fields visually distinct and respect the visitor's platform theme. */
.f select {
  color-scheme: dark;
}

.form .reply-details > .row {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form .reply-details > .field-help {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.reply-details > .field-error:not(:empty) {
  margin-top: 8px;
}

@media (max-width: 600px) {
  .form .reply-details > .row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.service-outro .text-link:focus-visible {
  outline-color: var(--bg);
}



/* ==== Editorial art direction (overrides the base styles above) ==== */
:root {
  --bg: #10110f;
  --fg: #eeeae2;
  --dim: #aaa99f;
  --line: #34362f;
  --acc: #f57236;
  --gutter: clamp(24px, 5.5vw, 104px);
}

body { -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1600px; }
.section { padding-block: clamp(80px, 10vw, 160px); }
header { background: rgba(16, 17, 15, .96); }
.nav { min-height: 94px; }
.logo { font-size: 25px; letter-spacing: -1.4px; }
.nav-list { gap: 32px; }
.nav-list a { font-family: var(--display); font-size: 13px; }
.nav-cta { border: 0; border-bottom: 1px solid var(--acc); border-radius: 0; padding: 0; }
.label { font-family: var(--display); font-size: 11px; letter-spacing: .16em; }
.btn { border-radius: 3px; font-family: var(--display); font-weight: 600; padding: 17px 25px; min-height: 56px; }
.btn.secondary { border-color: #5c6054; }
.text-link { font-family: var(--display); font-size: 13px; }

/* The wordmark is a signature; the proposition has its own clear hierarchy. */
.hero { padding-top: 12px; padding-bottom: clamp(60px, 7vw, 110px); }
.hero-visual { height: clamp(170px, 23vh, 280px); min-height: 170px; margin-bottom: 42px; }
.hero-sub { grid-template-columns: minmax(0, 1.65fr) minmax(0, .85fr); gap: 7vw; margin-top: 0; }
.hero .label { max-width: 480px; font-size: 11px; letter-spacing: .12em; margin-bottom: 30px; }
.hero h1 { font-size: clamp(62px, 7.4vw, 116px); line-height: .98; letter-spacing: -.065em; font-weight: 500; }
.hero h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.055em; color: var(--fg); }
.hero-intro { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.85; max-width: 370px; }
.hero .actions { gap: 24px; margin-top: 30px; }
.motion-toggle { font-family: var(--display); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 2px; font-size: 12px; background: transparent; }
h2 { font-size: clamp(38px, 4.9vw, 76px); font-weight: 500; line-height: 1.08; letter-spacing: -.055em; }
.section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); margin-bottom: 60px; }
.section-head .label { padding-top: 12px; }
.section-intro { font-size: 16px; max-width: 540px; line-height: 1.85; margin-top: 24px; }

/* References are framed consistently, with an offset two-column rhythm. */
.featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px 48px; align-items: start; }
.featured-card:nth-child(2) { margin-top: 140px; }
.featured-card:nth-child(3) { grid-column: 1 / -1; width: 64%; margin-top: 0; }
.featured-image { aspect-ratio: 5 / 4; border: 0; border-radius: 2px; background: #c9bca9; display: flex; justify-content: center; align-items: flex-start; padding: 44px 0 0; }
.featured-card:nth-child(2) .featured-image { background: #c2c9c0; }
.featured-card:nth-child(3) .featured-image { background: #beb6ae; aspect-ratio: 16 / 9; }
.featured-image img { flex: 0 0 auto; width: 58%; height: auto; max-width: 360px; object-fit: contain; object-position: top; box-shadow: 0 18px 50px #00000024; }
.featured-card:nth-child(3) .featured-image img { width: 42%; }
.image-caption { border: 0; border-radius: 0; background: var(--fg); color: var(--bg); left: 0; bottom: 0; padding: 10px 16px; font-family: var(--display); font-size: 11px; }
.project-meta { padding-top: 25px; }
.project-category { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.project-meta h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.045em; }
.project-scope { font-size: 14px; margin-top: 8px; }
.project-notes { margin-top: 22px; border-bottom: 0; }
.project-notes summary { font-family: var(--display); padding-block: 15px; font-size: 12px; }
.archive { margin-top: 72px; }
.archive > summary { font-size: 16px; font-weight: 400; padding-block: 26px; }
.work-filters button { border-radius: 2px; font-family: var(--display); }
.project-image { border-radius: 2px; }
.portfolio-grid .project-meta h3 { font-size: 20px; }
.proof-note { font-size: 12px; line-height: 1.8; }

/* Service rows replace a wall of equally weighted cards. */
.services { background: #e9e5dc; }
.services .section-head { margin-bottom: 64px; }
.service-groups { display: block; }
.service-group { border: 0; border-top: 1px solid #b8b4aa; border-radius: 0; padding: 36px 0; display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.3fr) minmax(0, 1.3fr); gap: 18px 36px; align-items: start; }
.service-number { grid-column: 1; grid-row: 1 / span 2; font: 11px/1.8 var(--display); text-transform: uppercase; letter-spacing: .12em; }
.service-group h3 { grid-column: 2; grid-row: 1; font-size: clamp(30px, 3vw, 44px); font-weight: 500; margin: 0; }
.service-group > p { grid-column: 2; grid-row: 2; margin: 0; font-size: 14px; max-width: 350px; }
.service-group ul { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
.service-group li:first-child { border-top: 0; }
.service-group a { font-weight: 500; padding-block: 14px; }
.service-group li:first-child a { padding-top: 0; }
.service-group a small { font-size: 12px; margin-top: 7px; }
.service-outro { background: transparent; border-top: 1px solid #b8b4aa; border-radius: 0; padding: 28px 0 0; margin-top: 0; }
.service-outro p { font-size: 16px; font-weight: 400; }
.service-outro .text-link { color: #83401c; }
.about-copy p { font-size: 18px; line-height: 1.9; }
.about-copy > p:first-child { margin-top: 0; color: var(--fg); }
.connection { margin-top: 40px; }
.connection span { font-family: var(--display); font-size: 11px; letter-spacing: .07em; }
.principles { font-size: 13px; }
.process { background: #161813; }
.steps { border: 0; border-radius: 0; gap: 28px; }
.step { padding: 24px 0 0; border: 0; border-top: 1px solid #4b4e42; }
.step-number { font-family: var(--display); font-size: 11px; margin-bottom: 36px; }
.step h3 { font-weight: 500; font-size: 25px; }
.step p { font-size: 14px; line-height: 1.8; }
.step .output { font-size: 12px; }
.scope-note { font-family: var(--display); margin-top: 36px; }
.faq h2 { font-weight: 500; }
.faq summary { font-size: 17px; padding-block: 26px; }

/* A quiet form with consistent labels and a clear primary action. */
.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 9vw; }
.contact h2 { font-size: clamp(64px, 7vw, 106px); font-weight: 500; }
.contact h2 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--fg); }
.contact-intro { font-size: 16px; line-height: 1.85; }
.contact-options a { font-size: 14px; }
.location, .contact-method { font-family: var(--display); font-size: 12px; }
.next-step { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; margin-top: 32px; font-size: 13px; }
.next-step b { font-weight: 500; }
.form { gap: 30px; }
legend, .field-label { font-family: var(--display); font-size: 12px; color: #c6c6ba; }
.chips { gap: 8px; margin-top: 16px; }
.chips span { font-family: var(--display); font-size: 12px; border-radius: 2px; padding: 9px 12px; min-height: 40px; border-color: #45483d; }
.f input, .f textarea, .f select { background: #151711; border-color: #484b40; border-radius: 2px; padding: 13px 14px; }
.f input:hover, .f textarea:hover, .f select:hover { border-color: #777b69; }
.f { gap: 10px; }
.form-help { font-size: 12px; line-height: 1.8; }
.draft { border-radius: 2px; }
.footer-grid { padding-top: 28px; }
.footer-brand p { font-size: 14px; line-height: 1.9; }
.footer-grid nav a, .footer-contact a { font-size: 14px; }
.footer-copyright { font-size: 12px; margin-top: 56px; }
.footer-wordmark { margin-top: 50px; }

@media (max-width: 1050px) {
  .nav-list { gap: 22px; }
  .hero-sub { gap: 36px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .hero h1 { font-size: 8.3vw; }
  .hero .actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .featured-grid { gap: 64px 30px; }
  .featured-card:nth-child(2) { margin-top: 100px; }
  .featured-card:nth-child(3) { width: 72%; margin-top: 0; }
  .service-group { gap: 16px 24px; grid-template-columns: minmax(0, .5fr) minmax(0, 1.3fr) minmax(0, 1.3fr); }
}

@media (max-width: 760px) {
  .section { padding-block: 76px; }
  .nav { min-height: 76px; }
  .logo { font-size: 21px; }
  .mobile-cta, .menu-toggle { font-family: var(--display); border-radius: 2px; }
  .nav-list { gap: 8px 24px; }
  .nav-list a { font-size: 13px; }
  .hero { padding-top: 22px; padding-bottom: 60px; }
  .hero-visual { height: 175px; min-height: 175px; margin-bottom: 22px; }
  .hero-sub { grid-template-columns: 1fr; gap: 26px; }
  .hero .label { font-size: 11px; line-height: 1.9; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(55px, 12vw, 88px); letter-spacing: -.055em; }
  .hero-intro { max-width: 440px; font-size: 15px; }
  .hero .actions { flex-direction: row; align-items: center; gap: 20px; margin-top: 25px; }
  .hero .btn { font-size: 12px; min-height: 50px; padding: 14px 18px; }
  .hero .text-link { font-size: 12px; }
  .section-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 36px; }
  .section-head .label { padding-top: 0; }
  h2 { font-size: clamp(36px, 7.8vw, 56px); }
  .section-intro { font-size: 15px; margin-top: 20px; }
  .featured-grid { grid-template-columns: 1fr; gap: 42px; }
  .featured-card:nth-child(2), .featured-card:nth-child(3) { width: 100%; margin: 0; grid-column: auto; }
  .featured-image, .featured-card:nth-child(3) .featured-image { aspect-ratio: 5 / 4; padding-top: 28px; }
  .featured-image img, .featured-card:nth-child(3) .featured-image img { width: 60%; max-width: 320px; }
  .project-meta h3 { font-size: 28px; }
  .project-meta { padding-top: 20px; }
  .archive { margin-top: 44px; }
  .services .section-head { margin-bottom: 36px; }
  .service-group { grid-template-columns: 1fr; gap: 18px; padding-block: 28px; }
  .service-group .service-number, .service-group h3, .service-group > p, .service-group ul { grid-column: 1; grid-row: auto; }
  .service-group h3 { font-size: 34px; }
  .service-group > p { max-width: 100%; }
  .service-group ul { margin-top: 4px; }
  .about-copy p { font-size: 16px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .steps { gap: 28px; }
  .step-number { margin-bottom: 22px; }
  .contact h2 { font-size: 76px; }
  .form { gap: 24px; }
}

@media (max-width: 380px) {
  .logo { font-size: 18px; }
  .hero h1 { font-size: clamp(44px, 15vw, 52px); }
  .hero .actions { gap: 12px; }
  .hero .text-link { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .featured-image:hover img, .featured-image:focus-visible img { transform: none; }
}
