/* Elena Torshina - "Светлая галерея" */

@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/cormorant-garamond-cyrillic-300-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 300; font-display: swap; src: url(fonts/cormorant-garamond-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/cormorant-garamond-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300; font-display: swap; src: url(fonts/cormorant-garamond-cyrillic-300-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 300; font-display: swap; src: url(fonts/cormorant-garamond-latin-300-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/cormorant-garamond-cyrillic-400-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/onest-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/onest-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/onest-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/onest-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/onest-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/onest-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --paper: #F1EDE4;
  --stone: #E4DDCF;
  --ink: #16201C;
  --ink-2: #4E5A54;
  --line: rgba(22, 32, 28, .14);
  --emerald: #0F3D30;
  --emerald-deep: #0A2C22;
  --brass: #A8834C;
  --brass-ink: #86652F;
  --brass-light: #D1AE72;
  --on-dark: #EEE8DC;
  --on-dark-2: #B5C0B8;

  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Onest", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-curtain: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--emerald); color: var(--on-dark); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 16px; }

h2 {
  font: 300 clamp(44px, 6vw, 88px)/1 var(--serif);
  letter-spacing: -.015em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  font: 500 15px/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%);
  border-radius: inherit;
  transition: transform .55s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn-primary { background: var(--emerald); color: var(--on-dark); }
.btn-primary::after { background: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost::after { background: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--paper); }
.btn-light { background: var(--on-dark); color: var(--emerald-deep); }
.btn-light::after { background: var(--brass-light); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(241, 237, 228, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.on-dark { color: var(--on-dark); }
.site-header.on-dark.is-scrolled { background: rgba(10, 44, 34, .82); box-shadow: 0 1px 0 rgba(238, 232, 220, .12); }
.site-header.on-dark .btn-ghost { border-color: var(--on-dark); color: var(--on-dark); }
.site-header.on-dark .btn-ghost::after { background: var(--on-dark); }
.site-header.on-dark .btn-ghost:hover { color: var(--emerald-deep); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.monogram {
  font: 400 26px/1 var(--serif); letter-spacing: .04em; text-decoration: none;
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid currentColor; border-radius: 50%;
}
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 15px; text-decoration: none; position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-tools { display: flex; align-items: center; gap: 20px; }
.lang { display: flex; gap: 2px; }
.lang button {
  background: none; border: 0; cursor: pointer;
  font: 500 13px/1 var(--sans); letter-spacing: .06em;
  padding: 8px 7px; opacity: .45; transition: opacity .3s;
}
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.lang button:hover { opacity: 1; }

/* Hero */
.hero { padding: clamp(120px, 16vh, 170px) 0 clamp(60px, 9vw, 120px); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 29vw, 420px);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.hero-text { padding-top: clamp(24px, 9vh, 110px); position: relative; z-index: 2; container-type: inline-size; }
.hero-role { font: 500 15px/1.4 var(--sans); color: var(--brass-ink); margin-bottom: 18px; letter-spacing: .02em; }
.hero-name {
  font: 300 clamp(64px, 8.6vw, 150px)/.86 var(--serif);
  font: 300 min(clamp(64px, 11vw, 190px), 24cqi)/.86 var(--serif);
  letter-spacing: -.03em;
  margin-left: -.05em;
}
.hero-name .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-name .line > span { display: inline-block; }
.hero-name .line:nth-child(2) { padding-left: min(clamp(32px, 7vw, 130px), 9cqi); white-space: nowrap; }
.hero-rule {
  display: block; height: 1px; width: min(360px, 60%); background: var(--brass);
  margin: clamp(28px, 3.4vw, 44px) 0 clamp(24px, 2.6vw, 34px); transform-origin: left;
}
.hero-lead { font: 300 clamp(23px, 2.1vw, 30px)/1.35 var(--serif); max-width: 30ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 30px; }
.hero-facts { font-size: 15px; color: var(--ink-2); max-width: 46ch; }

.hero-photo { position: relative; z-index: 1; overflow: hidden; background: var(--stone); }
.hero-photo img { width: 100%; height: auto; will-change: transform; transform: scale(1.06); transform-origin: 50% 20%; }

/* Load choreography (only with JS, only when motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-name .line > span { transform: translateY(105%); transition: transform 1.25s var(--ease); }
  .js .hero-name .line:nth-child(2) > span { transition-delay: .12s; }
  .js .hero-rule { transform: scaleX(0); transition: transform 1.3s var(--ease) .55s; }
  .js .hero-role, .js .hero-lead, .js .hero-cta, .js .hero-facts { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js .hero-role { transition-delay: .25s; }
  .js .hero-lead { transition-delay: .75s; }
  .js .hero-cta { transition-delay: .9s; }
  .js .hero-facts { transition-delay: 1.05s; }
  .js .hero-photo { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-curtain) .15s; }
  .js .hero-photo img { transition: transform 2.2s var(--ease) .15s; transform: scale(1.18); }
  .js .site-header { opacity: 0; transition: opacity 1s var(--ease) 1.1s, background-color .4s, box-shadow .4s; }

  .is-loaded .hero-name .line > span { transform: none; }
  .is-loaded .hero-rule { transform: none; }
  .is-loaded .hero-role, .is-loaded .hero-lead, .is-loaded .hero-cta, .is-loaded .hero-facts { opacity: 1; transform: none; }
  .is-loaded .hero-photo { clip-path: inset(0 0 0 0); }
  .is-loaded .hero-photo img { transform: scale(1.06); }
  .is-loaded .site-header { opacity: 1; }
}

/* Results: the one bold moment */
.results { background: var(--emerald); color: var(--on-dark); position: relative; }
.results-sticky { padding: clamp(80px, 11vw, 150px) 0; }
.results-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.results-head p { color: var(--on-dark-2); max-width: 40ch; justify-self: end; }
.cases { display: grid; gap: clamp(64px, 9vw, 120px); }
.case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.case-num {
  font: 300 clamp(120px, 19vw, 300px)/.8 var(--serif);
  letter-spacing: -.045em;
  color: var(--brass-light);
  display: flex; align-items: baseline;
  font-variant-numeric: lining-nums tabular-nums;
}
.case-num .unit { font-size: .38em; letter-spacing: 0; margin-left: .08em; }
.case-num .sign { font-size: .7em; margin-right: .02em; }
.case-metric { margin-top: 18px; color: var(--on-dark-2); max-width: 28ch; font-size: 16px; }
.case-story h3 { font: 400 clamp(28px, 2.6vw, 38px)/1.15 var(--serif); margin-bottom: 26px; }
.case-when { display: block; font: 400 15px/1.5 var(--sans); color: var(--on-dark-2); margin-top: 8px; }
.case-story dl { display: grid; grid-template-columns: 84px 1fr; gap: 14px 20px; border-top: 1px solid rgba(238, 232, 220, .18); padding-top: 22px; }
.case-story dt { font: italic 400 20px/1.3 var(--serif); color: var(--brass-light); }
.case-story dd { color: var(--on-dark); font-size: 16px; line-height: 1.6; }
.results-timeline { display: none; }

/* Pinned mode (desktop + motion OK, enabled by JS) */
.results.is-pinned { height: 420vh; }
.results.is-pinned .results-sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; padding: 0; display: flex; align-items: center; }
.results.is-pinned .results-inner { width: 100%; padding-top: 76px; }
.results.is-pinned .results-head { margin-bottom: clamp(28px, 4vh, 56px); }
.results.is-pinned h2 { font-size: clamp(40px, 4.6vw, 68px); }
.results.is-pinned .cases { display: grid; grid-template-areas: "stack"; }
.results.is-pinned .case { grid-area: stack; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.results.is-pinned .case .case-story, .results.is-pinned .case .case-metric { transform: translateY(18px); transition: transform .9s var(--ease); }
.results.is-pinned .case.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease) .1s, visibility 0s; }
.results.is-pinned .case.is-active .case-story, .results.is-pinned .case.is-active .case-metric { transform: none; }
.results.is-pinned .case-num { font-size: clamp(120px, 17vw, 260px); }
.results.is-pinned .results-timeline {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(32px, 6vh, 72px);
  border-top: 1px solid rgba(238, 232, 220, .18);
  position: relative;
}
.results-timeline::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--brass-light); transform-origin: left; transform: scaleX(var(--p, 0));
}
.results-timeline li { padding-top: 14px; font: 400 15px/1 var(--sans); color: var(--on-dark-2); transition: color .4s; }
.results-timeline li.is-active { color: var(--on-dark); }

/* Method */
.method { padding: clamp(96px, 13vw, 180px) 0; }
.method-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.method-head { position: sticky; top: 120px; }
.method-head p { margin-top: 28px; color: var(--ink-2); max-width: 36ch; font-size: 18px; }
.steps { counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 76px 1fr; column-gap: 24px;
  padding: 36px 0 40px; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  font: italic 300 64px/.8 var(--serif); color: var(--brass);
}
.steps h3 { font: 400 clamp(30px, 2.8vw, 40px)/1.1 var(--serif); margin-bottom: 12px; }
.steps p { color: var(--ink-2); max-width: 54ch; }

/* Experience */
.experience { padding: 0 0 clamp(96px, 13vw, 180px); }
.exp-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.exp-head p { color: var(--ink-2); max-width: 44ch; }
.jobs { border-top: 1px solid var(--ink); }
.job { border-bottom: 1px solid var(--line); }
.job-row {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, .8fr) 40px;
  gap: 24px; align-items: baseline;
  padding: 30px 0;
  transition: padding .5s var(--ease);
}
.job-years { font: 300 26px/1.1 var(--serif); font-variant-numeric: lining-nums; color: var(--brass-ink); }
.job-co { display: block; font: 400 clamp(26px, 2.4vw, 34px)/1.15 var(--serif); }
.job-role { display: block; margin-top: 4px; font-size: 15px; color: var(--ink-2); }
.job-field { font-size: 15px; color: var(--ink-2); }
.job-toggle { justify-self: end; align-self: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: background-color .4s, border-color .4s; }
.job-toggle::before, .job-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.job-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.job-row:hover .job-toggle { border-color: var(--ink); }
.job-row[aria-expanded="true"] .job-toggle { background: var(--emerald); border-color: var(--emerald); color: var(--on-dark); }
.job-row[aria-expanded="true"] .job-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.job-body { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, .8fr) 40px; gap: 24px; padding-bottom: 36px; }
.job-body[hidden] { display: none; }
.job-body ul { grid-column: 2 / 4; display: grid; gap: 10px; max-width: 70ch; }
.job-body li { position: relative; padding-left: 22px; color: var(--ink-2); }
.job-body li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--brass); }
.job-link { grid-column: 2 / 4; font-size: 14px; color: var(--brass-ink); text-underline-offset: 4px; justify-self: start; }
.job-body.is-opening { animation: open .6s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Profile */
.profile { background: var(--stone); padding: clamp(72px, 9vw, 120px) 0; }
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.profile h3 { font: 400 30px/1.1 var(--serif); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(22, 32, 28, .2); }
.profile p { max-width: 38ch; }
.profile p + p { margin-top: 14px; }
.muted { color: var(--ink-2); font-size: 15px; }
.langs { display: grid; gap: 8px; margin-bottom: 14px; }
.langs li { display: flex; justify-content: space-between; gap: 12px; max-width: 300px; }
.langs li span:last-child { color: var(--brass-ink); font-weight: 500; }

/* Contact */
.contact { background: var(--emerald-deep); color: var(--on-dark); padding-top: clamp(96px, 12vw, 170px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 140px); align-items: start; padding-bottom: clamp(80px, 10vw, 140px); }
.contact h2 { font-size: clamp(52px, 7vw, 108px); }
.contact-info > p { margin-top: 28px; color: var(--on-dark-2); max-width: 40ch; font-size: 18px; }
.contact-links { margin-top: 44px; display: grid; gap: 6px; }
.contact-links li { display: flex; gap: 28px; flex-wrap: wrap; }
.contact-links a { font: 300 clamp(28px, 2.8vw, 40px)/1.35 var(--serif); font-variant-numeric: lining-nums; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.contact-links a:hover, .contact-links a:focus-visible { background-size: 100% 1px; color: var(--brass-light); }

.contact-form { display: grid; gap: 22px; padding-top: 10px; }
.field { display: grid; gap: 4px; }
.field label { font-size: 14px; color: var(--on-dark-2); }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--on-dark);
  border: 0; border-bottom: 1px solid rgba(238, 232, 220, .3);
  padding: 10px 0 12px; font: 400 18px/1.4 var(--sans); border-radius: 0;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--brass-light); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field.has-error input, .field.has-error textarea { border-bottom-color: #E9A08A; }
.contact-form .btn { justify-self: start; margin-top: 8px; }
.form-status { min-height: 1.6em; font-size: 15px; color: var(--on-dark-2); }
.form-status.is-ok { color: var(--brass-light); }
.form-status.is-error { color: #F0B5A3; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.site-footer { border-top: 1px solid rgba(238, 232, 220, .14); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 32px; font-size: 14px; color: var(--on-dark-2); }
.footer-inner a { text-underline-offset: 4px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-tools { margin-left: auto; }
  .job-row, .job-body { grid-template-columns: 130px minmax(0, 1fr) 40px; }
  .job-field { display: none; }
  .job-body ul, .job-link { grid-column: 2 / 3; }
}
@media (max-width: 900px) {
  .hero { padding-top: 104px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { padding-top: 8px; }
  .hero-name .line:nth-child(2) { padding-left: 0; margin-right: 0; }
  .hero-photo { order: -1; aspect-ratio: 4 / 5; max-height: 50vh; width: 100%; }
  .hero-name { font-size: clamp(60px, 17vw, 120px); }
  .hero-photo img { height: 100%; object-fit: cover; object-position: 50% 18%; }
  .results-head, .method-grid, .exp-head, .contact-grid { grid-template-columns: 1fr; }
  .results-head p { justify-self: start; }
  .case { grid-template-columns: 1fr; gap: 24px; }
  .method-head { position: static; }
  .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { height: 64px; gap: 12px; }
  .monogram { width: 42px; height: 42px; font-size: 22px; }
  .header-tools { gap: 8px; }
  .header-tools .btn-sm { display: none; }
  .hero-cta .btn { width: 100%; }
  .case-story dl { grid-template-columns: 1fr; gap: 4px; }
  .case-story dd + dt { margin-top: 12px; }
  .steps li { grid-template-columns: 52px 1fr; column-gap: 14px; }
  .steps li::before { font-size: 48px; }
  .job-row, .job-body { grid-template-columns: 1fr 40px; gap: 10px 16px; }
  .job-years { grid-column: 1 / 2; font-size: 20px; }
  .job-main { grid-column: 1 / 2; }
  .job-toggle { grid-column: 2; grid-row: 1 / 3; }
  .job-body ul, .job-link { grid-column: 1 / -1; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero-photo img { transform: none; }
}

@media print {
  .site-header, .contact-form, body::before { display: none; }
  .results.is-pinned { height: auto; }
}
