:root {
  color-scheme: light;
  --ink: #302e24;
  --secondary: #716c5d;
  --tertiary: #777264;
  --accent: #6b7042;
  --accent-hover: #565b34;
  --accent-soft: #e3e4cf;
  --panel: #3b392d;
  --canvas: #f2efe4;
  --surface: #fcfaf4;
  --glass: rgba(252, 250, 244, 0.26);
  --glass-strong: rgba(252, 250, 244, 0.44);
  --glass-line: rgba(255, 255, 255, 0.6);
  --line: rgba(48, 46, 36, 0.14);
  --shadow: 0 18px 48px rgba(57, 54, 39, 0.1);
  --radius-large: 20px;
  --radius-medium: 14px;
  --content: 1120px;
  --header-height: 60px;
  --font: "Tenor Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Syne", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { height: 100%; text-size-adjust: 100%; }
body {
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--font);
  font-synthesis: none;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.nowrap { white-space: nowrap; }

main {
  position: relative;
  isolation: isolate;
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  background-color: var(--canvas);
  background-image:
    linear-gradient(118deg, rgba(107, 112, 66, 0.055), transparent 42%),
    linear-gradient(298deg, rgba(174, 151, 111, 0.07), transparent 48%);
  background-size: 100% 100%, 100% 100%;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}
main::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22140%22 height=%22140%22 viewBox=%220 0 140 140%22%3E%3Cfilter id=%22noise%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%22.62%22 numOctaves=%224%22 stitchTiles=%22stitch%22/%3E%3CfeColorMatrix type=%22saturate%22 values=%220%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noise)%22 opacity=%22.78%22/%3E%3C/svg%3E");
  background-size: 140px 140px;
  content: "";
  filter: contrast(142%);
  mix-blend-mode: multiply;
  opacity: 0.36;
  pointer-events: none;
}
main::after {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(48, 46, 36, 0.048) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(48, 46, 36, 0.034) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(45deg, rgba(48, 46, 36, 0.016) 0 1px, transparent 1px 9px);
  content: "";
  mix-blend-mode: multiply;
  opacity: 0.9;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: white;
  background: var(--ink);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding-inline: max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.08) 56%, rgba(255, 255, 255, 0.28)),
    rgba(242, 239, 228, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 28px rgba(57, 54, 39, 0.09);
  backdrop-filter: saturate(150%) blur(28px);
  -webkit-backdrop-filter: saturate(150%) blur(28px);
}
.site-header::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18) 46%, transparent 72%);
  content: "";
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 30px;
  padding-right: 8px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  color: white;
  background: var(--panel);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.brand-mark::after {
  position: absolute;
  right: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--canvas);
  content: "";
}

nav { display: flex; align-items: center; gap: 0.25rem; }
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 400;
  text-decoration: none;
}
nav a:hover { background: rgba(0, 0, 0, 0.05); }
.nav-cta {
  margin-left: 0.35rem;
  color: white;
  background: rgba(107, 112, 66, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.nav-cta:hover { background: rgba(86, 91, 52, 0.9); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  grid-template-areas:
    "eyebrow ."
    "title mark"
    "intro ."
    "actions .";
  align-items: center;
  column-gap: clamp(24px, 4vw, 56px);
  row-gap: 0;
  min-height: 100%;
  padding: clamp(108px, 10vw, 132px) max(24px, calc((100vw - var(--content)) / 2)) clamp(52px, 5vw, 72px);
}
.hero-copy { display: contents; }
.hero-mark {
  grid-area: mark;
  align-self: stretch;
  width: 180px;
  height: auto;
  margin: clamp(0.95rem, 1.925vw, 1.75rem) 0 clamp(1.5rem, 3vw, 2.75rem);
  justify-self: end;
  background: var(--accent);
  -webkit-mask: url("steady-mark.png") top center / contain no-repeat;
  mask: url("steady-mark.png") top center / contain no-repeat;
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero .eyebrow {
  grid-area: eyebrow;
  font-size: clamp(0.95rem, 1.55vw, 1.25rem);
  letter-spacing: 0.03em;
  line-height: 1.35;
  white-space: nowrap;
  -webkit-text-stroke: 0.2px currentColor;
  text-stroke: 0.2px currentColor;
}
h1, h2 {
  margin-top: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  text-wrap: balance;
}
h3 {
  margin-top: 0;
  font-family: var(--font);
  font-weight: 400;
  text-wrap: balance;
}
h1, h2 { letter-spacing: -0.055em; line-height: 0.94; }
h1 { max-width: 940px; margin-bottom: 1.1rem; font-size: clamp(3.8rem, 7.7vw, 7rem); }
.hero h1 { grid-area: title; }
.headline-line {
  display: block;
  overflow: clip;
}
.headline-line > span { display: block; }
h1 em {
  color: var(--accent);
  font-style: normal;
  -webkit-text-stroke: 0.25px currentColor;
  text-stroke: 0.25px currentColor;
}
.hero-intro {
  grid-area: intro;
  max-width: 680px;
  margin: 0;
  color: var(--tertiary);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.hero-actions { display: flex; grid-area: actions; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }

.button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button { padding: 0.75rem 1.3rem; }
.button-primary { color: white; background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.text-link { padding: 0.75rem 1rem; color: var(--tertiary); }
.text-link:hover { color: var(--accent); background: var(--accent-soft); }
.text-link span { margin-left: 0.45rem; opacity: 0.55; }
.button:active, .text-link:active, nav a:active { transform: scale(0.97); }

.section {
  max-width: calc(var(--content) + 48px);
  margin-inline: auto;
  padding: clamp(88px, 7vw, 104px) 24px clamp(40px, 4vw, 56px);
}
main > section {
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
main > section:not(.contact) { min-height: 100%; }
h2 { margin-bottom: 1.25rem; font-size: clamp(2.8rem, 6vw, 5.2rem); }
.services {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 48px);
}
.section-heading { align-self: start; }
.section-heading > p:last-child {
  max-width: 500px;
  margin: 0;
  color: var(--tertiary);
  font-size: 1.08rem;
}

.service-list {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-self: start;
}
.service-list article {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 0;
  overflow: hidden;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04) 58%, rgba(255, 255, 255, 0.13)),
    var(--glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 12px 34px rgba(57, 54, 39, 0.1);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
}
.service-list article::after {
  position: absolute;
  top: -52px;
  left: 18%;
  width: 46%;
  height: 82px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  filter: blur(18px);
  content: "";
  pointer-events: none;
}
.service-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}
.service-icon {
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  color: var(--accent);
  background: rgba(227, 228, 207, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-list h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.service-list p { max-width: 560px; margin: 0; color: var(--secondary); }

.about {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.about-portrait {
  position: relative;
  width: min(100%, 430px);
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-large);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06)),
    var(--glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 18px 46px rgba(57, 54, 39, 0.12);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
.about-portrait::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: calc(var(--radius-large) - 7px);
  content: "";
  pointer-events: none;
}
.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 15;
  border-radius: calc(var(--radius-large) - 7px);
  object-fit: cover;
  object-position: center top;
}
.about-copy h2 {
  max-width: 650px;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
}
.about-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--tertiary);
  font-size: 1.06rem;
}
.about-copy > p:not(.eyebrow) + p { margin-top: 1rem; }

.approach {
  position: relative;
  isolation: isolate;
  display: block;
}
.approach-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-large);
  color: white;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.018) 58%, rgba(255, 255, 255, 0.06)),
    rgba(48, 46, 36, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 20px 52px rgba(48, 46, 36, 0.2);
  backdrop-filter: blur(22px) saturate(118%);
  -webkit-backdrop-filter: blur(22px) saturate(118%);
}
.approach-card::before {
  position: absolute;
  top: -90px;
  left: 9%;
  width: 48%;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  filter: blur(24px);
  content: "";
  pointer-events: none;
}
.approach-card .eyebrow { color: rgba(255, 255, 255, 0.8); }
.approach-card h2 { max-width: 760px; }
.approach-lede {
  max-width: 640px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.14rem;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.principles strong { display: block; margin-bottom: 0.35rem; font-size: 1rem; font-weight: 400; }
.principles span { color: rgba(255, 255, 255, 0.67); font-size: 0.86rem; }

.approach-process {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.process-note {
  align-self: start;
}
.process-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}
.contact {
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  width: 100%;
  min-height: 46%;
  padding: clamp(32px, 4vw, 48px) 24px;
  scroll-snap-align: end;
  text-align: center;
}
.contact .button span { margin-left: 0.5rem; }
.contact footer { width: 100%; }
footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem;
  max-width: calc(var(--content) + 48px);
  margin-inline: auto;
  padding: 1.25rem 24px 2rem;
  color: var(--secondary);
  font-size: 0.76rem;
}
.footer-brand { color: var(--ink); }
footer p { margin: 0; }
footer p:last-child { text-align: right; }

a:focus-visible { outline: 3px solid #0a84ff; outline-offset: 3px; }

@media (max-width: 900px) {
  .hero { display: block; min-height: auto; }
  .hero-copy { display: block; }
  .hero-mark { display: none; }
  .services, .about, .approach-process { grid-template-columns: 1fr; }
  .about-portrait { width: min(72vw, 430px); justify-self: center; }
  .principles { grid-template-columns: 1fr; }
  .principles div { max-width: 520px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-self: center; }
  footer p:last-child { text-align: center; }
}

@media (max-width: 640px) {
  :root { --header-height: 58px; }
  .brand > span:last-child, nav a:not(.nav-cta) { display: none; }
  .site-header { top: 0; right: 0; left: 0; }
  .hero { padding-top: 96px; padding-bottom: 44px; }
  .section { padding-top: 86px; padding-bottom: 44px; }
  h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  h2 { font-size: clamp(2.5rem, 12vw, 3.7rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button, .text-link { width: 100%; }
  .service-list { grid-template-rows: none; }
  .service-list article { padding: 1.1rem 1.2rem; }
  .service-list article { min-height: 0; }
  .about-portrait { width: min(86vw, 390px); }
  .approach-card { padding: 1.5rem; border-radius: var(--radius-medium); }
  .approach-process { margin-top: 32px; padding-top: 28px; }
  .contact { padding-block: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  main { scroll-behavior: auto; scroll-snap-type: none; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--canvas); backdrop-filter: none; }
  .service-list article, .about-portrait, .approach-card { backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root { --secondary: #3a3a3c; --tertiary: #3a3a3c; --line: rgba(0, 0, 0, 0.32); }
  .site-header { background: var(--canvas); backdrop-filter: none; }
  .button, .nav-cta { outline: 2px solid currentColor; outline-offset: 2px; }
}
