:root {
  --paper: #f7f6f2;
  --paper-2: #efeee9;
  --surface: #ffffff;
  --ink: #111111;
  --ink-2: #363636;
  --muted: #656565;
  --rule: #d9d7d0;
  --rule-dark: #343434;
  --accent: #315d73;
  --accent-soft: #e7edf0;
  --serif: Charter, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --gutter: clamp(20px, 5vw, 64px);
  --wrap: 1240px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 18px); }

.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  transition: top 180ms ease;
}
.skip:focus { top: 12px; }

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

.section { padding-block: clamp(76px, 10vw, 144px); }
.section-intro { max-width: 760px; margin-bottom: clamp(56px, 8vw, 96px); }
.prose { max-width: 68ch; }
.section-intro > p:last-child { max-width: 58ch; margin: 18px 0 0; color: var(--ink-2); }

h1, h2, h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
}
h1 {
  margin-bottom: 30px;
  font-size: clamp(3.15rem, 6.8vw, 6.45rem);
  line-height: .91;
  letter-spacing: -.055em;
}
h2 {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4.6vw, 4.35rem);
  line-height: 1;
  letter-spacing: -.038em;
}
h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.024em;
}
p { text-wrap: pretty; }
.lede { font-size: clamp(1.22rem, 1.8vw, 1.55rem); line-height: 1.5; }

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: attr(data-n);
  color: var(--accent);
  font-family: var(--mono);
  letter-spacing: .03em;
}
.eyebrow--light { color: #a9a9a5; }
.eyebrow--light::before { color: #b8cad3; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--nav-h);
  border-bottom: 1px solid rgba(17,17,17,.1);
  background: rgba(247,246,242,.92);
  backdrop-filter: blur(16px);
}
.nav__inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__mark { display: grid; gap: 1px; color: var(--ink); text-decoration: none; }
.nav__mark span { font-family: var(--serif); font-size: 1.03rem; font-weight: 600; letter-spacing: -.015em; }
.nav__mark small { color: var(--muted); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links .nav__cta { min-height: 40px; padding: 0 15px; border: 1px solid var(--ink); color: var(--ink); }
.nav__links .nav__cta:hover { background: var(--ink); color: white; }

.hero { padding-top: clamp(60px, 8vw, 116px); padding-bottom: clamp(52px, 7vw, 92px); }
.hero__grid { display: grid; gap: clamp(48px, 8vw, 112px); align-items: center; }
.hero__copy { max-width: 720px; animation: enter 420ms var(--ease) both; }
.hero__kicker {
  margin: 0 0 30px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero__lede { max-width: 650px; margin: 0 0 20px; color: var(--ink); }
.hero__support { max-width: 620px; margin: 0 0 34px; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hero__note { margin: 14px 0 0; color: var(--muted); font-size: .8rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: .87rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary,
.btn--primary:visited { background: var(--ink); color: white; }
.btn--primary:hover { background: var(--accent); border-color: var(--accent); color: white; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--paper-2); }
.btn--light { border-color: white; background: white; color: var(--ink); }
.btn--light:hover { border-color: #c7d6dc; background: #c7d6dc; }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}
.text-link span { transition: transform 200ms var(--ease); }
.text-link:hover span { transform: translateY(3px); }

.portrait { margin: 0; }
.portrait__frame { overflow: hidden; background: #d4d3cf; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait--hero { width: min(100%, 390px); justify-self: start; animation: enter 460ms 60ms var(--ease) both; }
.portrait--hero .portrait__frame { aspect-ratio: 2 / 3; }
.portrait--hero figcaption { margin-top: 14px; color: var(--muted); font-size: .72rem; line-height: 1.5; }

.portrait--hero .portrait__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: -4px;
  padding-block: 12px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.portrait--hero .portrait__linkedin svg { flex: none; opacity: .75; }
.portrait--hero .portrait__linkedin:hover,
.portrait--hero .portrait__linkedin:focus-visible {
  color: var(--accent);
  border-bottom-color: currentColor;
}
.portrait--hero .portrait__linkedin:hover svg { opacity: 1; }

.promise-strip {
  display: grid;
  margin: clamp(60px, 8vw, 104px) 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.promise-strip div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 20px 0; }
.promise-strip div + div { border-top: 1px solid var(--rule); }
.promise-strip dt { color: var(--accent); font-family: var(--mono); font-size: .68rem; }
.promise-strip dd { margin: 0; color: var(--ink-2); font-size: .87rem; }

.section--ink { background: var(--ink); color: #e9e8e3; }
.section--ink h2 { color: white; }
.service-grid { display: grid; gap: clamp(44px, 8vw, 120px); }
.service-grid h2 { max-width: 12ch; }
.service-copy > p { max-width: 56ch; margin: 0 0 40px; color: #c9c8c3; font-size: 1.08rem; }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list li { display: grid; gap: 6px; padding: 19px 0; border-top: 1px solid var(--rule-dark); }
.service-list li:last-child { border-bottom: 1px solid var(--rule-dark); }
.service-list span { color: white; font-family: var(--serif); font-size: 1.28rem; }
.service-list p { margin: 0; color: #adada8; font-size: .88rem; }

.work-section { background: var(--surface); }
.project { padding-top: 0; }
.project + .project { margin-top: clamp(100px, 13vw, 180px); padding-top: clamp(76px, 9vw, 120px); border-top: 1px solid var(--rule); }
.project__heading { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 58px); }
.project__number { margin: 0; color: var(--accent); font-family: var(--mono); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; }
.project__heading h3 { max-width: 21ch; margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3.65rem); }
.project__heading div > p { max-width: 52ch; margin: 0; color: var(--muted); }
.project__grid { display: grid; gap: clamp(42px, 7vw, 88px); align-items: center; }
.project__visual { display: block; min-width: 0; color: var(--ink); text-decoration: none; }
.project__image-shell {
  display: grid;
  place-items: center;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--paper-2);
  transition: border-color 220ms ease, transform 240ms var(--ease);
}
.project__visual:hover .project__image-shell { transform: translateY(-3px); border-color: #aaa8a1; }
.project__visual--phone .project__image-shell { padding: clamp(30px, 5vw, 64px); }
.project__visual--phone img { width: min(54%, 345px); max-height: 620px; object-fit: contain; box-shadow: 0 20px 50px rgba(17,17,17,.12); }
.project__visual--desktop .project__image-shell { padding: clamp(16px, 2.5vw, 30px); }
.project__visual--desktop img { width: 100%; box-shadow: 0 18px 46px rgba(17,17,17,.1); }
.project__view { display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-bottom: 1px solid var(--ink); font-size: .82rem; font-weight: 700; }
.project__view span { transition: transform 200ms var(--ease); }
.project__visual:hover .project__view span { transform: translate(3px, -3px); }
.project__summary { margin: 0 0 30px; color: var(--ink); font-family: var(--serif); font-size: clamp(1.24rem, 1.8vw, 1.5rem); line-height: 1.45; }
.project__proof { list-style: none; margin: 0 0 34px; padding: 0; }
.project__proof li { padding: 12px 0; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .9rem; }
.project__proof li:last-child { border-bottom: 1px solid var(--rule); }
.project__proof li::before { content: "✓"; margin-right: 12px; color: var(--accent); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.disclosure { margin: 24px 0 0; color: var(--muted); font-size: .77rem; line-height: 1.55; }
.disclosure strong { color: var(--ink-2); }
.owner-trial { margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .82rem; line-height: 1.6; }
.owner-trial strong { display: block; margin-bottom: 4px; color: var(--ink); }

.process-section { padding-block: clamp(72px, 8vw, 112px); background: var(--paper); }
.process-head { display: grid; gap: 30px; margin-bottom: clamp(38px, 5vw, 62px); }
.process-head h2 { max-width: 14ch; }
.process-head > p { max-width: 52ch; margin: 0; color: var(--ink-2); }
.process-path { list-style: none; margin: 0; padding: 0; }
.process-path > li { display: grid; gap: 22px; padding: clamp(26px, 3.6vw, 42px) 0; border-top: 1px solid var(--rule); }
.process-path__number { color: var(--accent); font-family: var(--mono); font-size: .72rem; }
.process-path__stage { margin: 0 0 8px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.process-path__copy h3 { max-width: 23ch; }
.process-path__copy > p:last-child { max-width: 54ch; margin: 0; color: var(--ink-2); font-size: .93rem; }
.process-path__flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; align-self: center; }
.process-path__flow span { padding: 8px 11px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink-2); font-size: .72rem; font-weight: 650; }
.process-path__flow i { color: var(--accent); font-style: normal; font-size: .78rem; }
.process-gate { display: grid; gap: 24px; margin: 12px 0; padding: clamp(28px, 4.5vw, 52px); background: var(--accent-soft); border-left: 3px solid var(--accent); }
.process-gate--free { margin: 0 0 10px; background: var(--ink); border-left-color: var(--accent); }
.process-gate--free h3 { color: #fff; }
.process-gate--free .process-gate__label { color: #b8cad3; }
.process-gate.process-gate--free > p { color: rgba(255,255,255,.74); }
.process-gate__label { margin: 0 0 9px; color: var(--accent); font-size: .68rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.process-gate h3 { margin: 0; }
.process-gate > p { max-width: 50ch; margin: 0; color: var(--ink-2); font-size: .9rem; }

.trust-section { background: var(--surface); }
.trust-grid { display: grid; border-top: 1px solid var(--ink); }
.trust-grid article { padding: 30px 0; border-bottom: 1px solid var(--rule); }
.trust-grid__number { margin: 0 0 40px; color: var(--accent); font-family: var(--mono); font-size: .7rem; }
.trust-grid h3 { font-size: 1.5rem; }
.trust-grid article > p:last-child { margin: 0; color: var(--ink-2); font-size: .9rem; }

.about-section { background: var(--paper-2); }
.about { display: grid; gap: clamp(44px, 8vw, 112px); align-items: center; }
.portrait--about { width: 100%; max-width: 560px; }
.portrait--about picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.portrait--about img { object-position: center 34%; }
.about__copy { max-width: 590px; }
.about__copy > p:not(.eyebrow):not(.about__statement) { color: var(--ink-2); }
.about__statement { margin: 34px 0 0; padding-top: 28px; border-top: 1px solid var(--ink); font-family: var(--serif); font-size: 1.32rem; line-height: 1.45; }

.workflow-check { background: var(--ink); color: #e6e5df; }
.workflow-check h2 { max-width: 13ch; color: white; }
.workflow-check__layout { display: grid; gap: clamp(64px, 9vw, 120px); }
.workflow-check__lead > p:not(.eyebrow):not(.workflow-check__small) { max-width: 48ch; margin: 0 0 34px; color: #c7c6c0; }
.workflow-check__small { margin: 12px 0 0; color: #9e9e99; font-size: .76rem; }
.workflow-check__details { display: grid; gap: 32px; }
.workflow-check__details section { padding-top: 20px; border-top: 1px solid var(--rule-dark); }
.workflow-check__label { margin: 0 0 18px; color: #b8cad3; font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.workflow-check__details ul { list-style: none; margin: 0; padding: 0; }
.workflow-check__details li { padding: 9px 0; color: #d5d4ce; font-size: .9rem; }
.workflow-check__details li::before { content: "•"; margin-right: 12px; color: #b8cad3; }
.workflow-check__details section > p:not(.workflow-check__label) { margin: 0; color: #d5d4ce; font-size: .9rem; line-height: 1.65; }
.workflow-check__privacy { margin: 6px 0 0; padding: 22px 0 0; border-top: 1px solid var(--rule-dark); color: #aaa9a4; font-size: .8rem; line-height: 1.65; }

.contact-section { background: var(--paper); }
.contact { display: grid; gap: 28px; }
.contact h2 { max-width: 13ch; }
.contact div > p { max-width: 50ch; margin: 0; color: var(--ink-2); }
.contact__mail { justify-self: start; color: var(--ink); font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 2.15rem); text-decoration: none; border-bottom: 1px solid var(--ink); }
.contact__mail:hover { color: var(--accent); border-color: var(--accent); }

.foot { padding-block: 32px 40px; border-top: 1px solid var(--rule); background: var(--paper); }
.foot__inner { display: grid; gap: 18px; color: var(--muted); font-size: .72rem; }
.foot__inner p { margin: 0; }
.foot__name { color: var(--ink); font-family: var(--serif); font-size: 1rem; }

@keyframes enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 640px) {
  .promise-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promise-strip div { padding: 22px clamp(18px, 2.5vw, 32px); }
  .promise-strip div:first-child { padding-left: 0; }
  .promise-strip div + div { border-top: 0; border-left: 1px solid var(--rule); }
  .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-grid article { padding: 34px clamp(22px, 3vw, 38px); }
  .trust-grid article:first-child { padding-left: 0; }
  .trust-grid article + article { border-left: 1px solid var(--rule); }
  .foot__inner { grid-template-columns: 1fr 1fr auto; align-items: end; }
}

@media (min-width: 820px) {
  .service-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .project__heading { grid-template-columns: 150px minmax(0, 1fr); }
  .project__grid { grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); }
  .project__grid--reverse { grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); }
  .project__grid--reverse .project__visual { order: 2; }
  .project__image-shell { min-height: 560px; }
  .process-head { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: end; }
  .process-path > li { grid-template-columns: 50px minmax(0, 1.05fr) minmax(300px, .95fr); align-items: start; }
  .process-gate { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); align-items: center; }
  .workflow-check__layout { grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); }
  .contact { grid-template-columns: 130px minmax(0, 1fr); }
  .contact__mail { grid-column: 2; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(330px, 390px); }
  .portrait--hero { justify-self: end; }
  .about { grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr); }
}

@media (max-width: 639px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav__mark small { display: none; }
  .nav__links { gap: 14px; }
  .nav__links li[data-secondary] { display: none; }
  .nav__links a { font-size: .76rem; }
  .nav__links .nav__cta { padding: 0 10px; }
  .hero h1 { font-size: clamp(2.7rem, 13.6vw, 4.65rem); }
  .portrait--hero { max-width: 330px; }
  .project__image-shell { min-height: 390px; }
  .project__visual--phone img { width: min(68%, 270px); max-height: 520px; }
  .actions { display: grid; }
  .actions .btn { width: 100%; }
}

@media (max-width: 389px) {
  .nav__mark span { font-size: .92rem; }
  .nav__links li:first-child { display: none; }
  .hero__actions { align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

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