@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --teal: #213c3d;
  --teal-deep: #162b2c;
  --teal-soft: #2e5153;
  --brass: #c59d5f;
  --brass-light: #e6cb95;
  --ivory: #f7f3ee;
  --blush: #f1e8e3;
  --text: #1b2b2c;
  --muted: #5e6b69;
  --on-teal: #f3eee6;
  --on-teal-muted: #a9bcb9;
  --line: #e3ddd5;
  --line-teal: #35595b;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brass-light); color: var(--teal-deep); }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 99; }
.skip:focus { left: 16px; }

h1, h2, h3 { margin: 0 0 .45em; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; line-height: 1; }
h1 { font-size: clamp(3rem, 7vw, 5.75rem); }
h2 { font-size: clamp(2.4rem, 4.6vw, 3.75rem); }
h3 { font-family: var(--sans); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--brass); }
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; }

/* Buttons */
.btn { --bg: var(--brass); --fg: var(--teal-deep); position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: var(--bg); color: var(--fg); font: 600 1rem/1 var(--sans); text-decoration: none; border: 1.5px solid var(--bg); overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--on-teal); transform: translateY(101%); transition: transform .4s var(--ease); z-index: -1; border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn:hover { border-color: var(--on-teal); }
.btn .arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-outline { --bg: transparent; --fg: var(--on-teal); border-color: var(--line-teal); }
.btn-outline:hover { color: var(--teal-deep); }
.btn-dark { --bg: var(--teal); --fg: var(--on-teal); }
.btn-dark::before { background: var(--brass); }
.btn-dark:hover { color: var(--teal-deep); border-color: var(--brass); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .4s var(--ease), background .3s, box-shadow .3s; color: var(--on-teal); }
.site-header.solid { background: rgba(22, 43, 44, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-teal); }
.site-header.hidden { transform: translateY(-100%); }
.site-header.light { color: var(--text); }
.site-header.light.solid { background: rgba(247, 243, 238, .92); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; position: relative; padding: 6px 0; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links .btn { padding: 12px 20px; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }
@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 80px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 24px; background: var(--teal-deep); color: var(--on-teal); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease); }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links li a:not(.btn) { display: block; padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line-teal); }
  .nav-links li a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 18px; width: 100%; justify-content: center; }
}

/* Sections */
section { padding: clamp(80px, 11vw, 140px) 0; }
.teal { background: var(--teal); color: var(--on-teal); }
.teal p { color: var(--on-teal-muted); }
.blush { background: var(--blush); }
.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.head p { color: var(--muted); font-size: 1.125rem; }
.teal .head p { color: var(--on-teal-muted); }

/* Hero */
.hero { background: var(--teal); color: var(--on-teal); padding: 140px 0 0; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero-copy { padding-bottom: clamp(56px, 8vw, 110px); }
.hero h1 { max-width: 11ch; }
.hero .lead { color: var(--on-teal-muted); max-width: 46ch; margin: 24px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 40px 0 0; }
.creds li { border: 1px solid var(--line-teal); border-radius: 999px; padding: 7px 14px; font-size: .88rem; color: var(--on-teal); }

.portrait-stage { position: relative; align-self: end; }
.arch { position: relative; aspect-ratio: 4 / 4.6; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--blush); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.loaded .arch img { transform: scale(1); }
.arch-ring { position: absolute; inset: -14px -14px 0; border: 1.5px solid var(--brass); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }

.float { position: absolute; z-index: 3; background: #fff; color: var(--text); border-radius: 14px; padding: 12px 14px; font-size: .82rem; line-height: 1.35; box-shadow: 0 18px 40px -18px rgba(10, 25, 26, .55); display: flex; gap: 10px; align-items: center; transition: transform .25s ease-out; will-change: transform; }
.float b { display: block; font-weight: 600; font-size: .86rem; }
.float small { color: var(--muted); }
.float .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float .ico svg { width: 16px; height: 16px; }
.f1 { left: -9%; top: 30%; } .f1 .ico { background: #e7efe9; color: #2f6b4a; }
.f2 { right: -6%; top: 14%; } .f2 .ico { background: #f6ecd9; color: #8a6420; }
.f3 { left: 4%; bottom: 10%; } .f3 .ico { background: #e8eef0; color: var(--teal); }
.pill { display: inline-block; font-size: .7rem; padding: 1px 7px; border-radius: 5px; background: #e7efe9; color: #2f6b4a; margin-left: 4px; }
.float { opacity: 0; translate: 0 14px; }
.loaded .float { opacity: 1; translate: 0 0; transition: opacity .7s var(--ease), translate .7s var(--ease), transform .25s ease-out; }
.loaded .f2 { transition-delay: .25s, .25s, 0s; }
.loaded .f3 { transition-delay: .5s, .5s, 0s; }

@media (max-width: 920px) {
  .hero { padding-top: 116px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .portrait-stage { max-width: 440px; width: 86%; margin: 0 auto; }
  .f1 { left: -10%; } .f2 { right: -10%; }
}

/* Counters */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts div { padding: 40px 28px 36px 0; }
.facts div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 5vw, 4.25rem); line-height: 1; color: var(--teal); }
.facts span { color: var(--muted); }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div, .facts div + div { padding: 28px 16px; border-left: 0; }
  .facts div:nth-child(even) { border-left: 1px solid var(--line); }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Before / after compare */
.compare { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 8.2; background: #fff; border: 1px solid var(--line); user-select: none; touch-action: pan-y; }
.layer { position: absolute; inset: 0; }
.layer-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.messy { background: #ebe6df; }
.messy .scrap { position: absolute; background: #fff; border-radius: 10px; padding: 12px 14px; font-size: .86rem; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .35); max-width: 230px; line-height: 1.4; }
.messy .scrap small { display: block; color: var(--muted); font-size: .75rem; margin-bottom: 3px; }
.messy .sticky { background: #fbe7a1; }
.s1 { left: 4%; top: 8%; rotate: -4deg; } .s2 { left: 26%; top: 30%; rotate: 3deg; } .s3 { left: 6%; top: 56%; rotate: 2deg; }
.s4 { left: 30%; top: 70%; rotate: -5deg; } .s5 { left: 58%; top: 10%; rotate: 5deg; } .s6 { left: 66%; top: 46%; rotate: -3deg; } .s7 { left: 52%; top: 74%; rotate: 2deg; }
.tidy { background: #fff; display: grid; grid-template-columns: 22% 1fr; }
.tidy-side { background: #f7f5f2; border-right: 1px solid var(--line); padding: 22px 16px; font-size: .88rem; }
.tidy-side div { padding: 7px 10px; border-radius: 7px; color: var(--muted); }
.tidy-side .t { color: var(--text); font-weight: 600; padding-bottom: 14px; }
.tidy-side .on { background: #e8eef0; color: var(--teal); font-weight: 600; }
.tidy-main { padding: 26px 30px; }
.tidy-main h4 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 0 0 4px; }
.tidy-main .sub { color: var(--muted); font-size: .85rem; margin-bottom: 18px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .86rem; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid #f0ece6; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 5px; font-size: .76rem; }
.tag.g { background: #e3efe6; color: #2f6b4a; } .tag.y { background: #f6ecd9; color: #8a6420; } .tag.b { background: #e5edf0; color: #2a5560; } .tag.p { background: #efe6ef; color: #6b3f6b; }
.handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--teal); translate: -1px 0; }
.handle button { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 54px; height: 54px; border-radius: 50%; background: var(--teal); color: var(--on-teal); border: 3px solid #fff; display: grid; place-items: center; cursor: ew-resize; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .5); }
.handle button svg { width: 24px; height: 24px; }
.compare-labels { display: flex; justify-content: space-between; margin-top: 16px; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .compare { aspect-ratio: 4 / 5; }
  .messy .scrap { max-width: 160px; font-size: .78rem; }
  .tidy { grid-template-columns: 1fr; } .tidy-side { display: none; }
  .tidy-main { padding: 20px 16px; } .tbl th:nth-child(3), .tbl td:nth-child(3) { display: none; }
}

/* Services */
.svc-list { border-top: 1px solid var(--line-teal); }
.svc { display: grid; grid-template-columns: 90px 1fr 1.1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line-teal); align-items: start; transition: padding .4s var(--ease); }
.svc:hover { padding-left: 14px; }
.svc .glyph { width: 58px; height: 58px; border-radius: 16px; border: 1px solid var(--line-teal); display: grid; place-items: center; color: var(--brass-light); transition: background .3s, color .3s; }
.svc:hover .glyph { background: var(--brass); color: var(--teal-deep); border-color: var(--brass); }
.svc .glyph svg { width: 26px; height: 26px; }
.svc h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.05; margin: 0; }
.svc p { margin: 0 0 12px; }
.svc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { font-size: .84rem; border: 1px solid var(--line-teal); border-radius: 999px; padding: 4px 12px; color: var(--on-teal); }
@media (max-width: 820px) { .svc { grid-template-columns: 1fr; gap: 14px; } .svc:hover { padding-left: 0; } }

/* Process with scroll progress */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; padding: 0; margin: 0; }
.process::before, .process::after { content: ""; position: absolute; top: 25px; left: 0; height: 2px; }
.process::before { right: 0; background: var(--line); }
.process::after { width: calc(var(--progress, 0) * 100%); background: var(--brass); transition: width .2s linear; }
.process li { position: relative; z-index: 1; }
.process .num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; background: var(--ivory); border: 2px solid var(--line); margin-bottom: 22px; transition: background .4s, border-color .4s, color .4s; }
.process li.reached .num { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.process p { color: var(--muted); }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .process::before, .process::after { top: 0; left: 25px; width: 2px; right: auto; }
  .process::before { bottom: 0; height: auto; }
  .process::after { height: calc(var(--progress, 0) * 100%); width: 2px; transition: height .2s linear; }
  .process li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding-bottom: 32px; }
  .process .num { margin: 0; }
}

/* Work — expandable */
.cases { display: grid; gap: 18px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: border-color .3s; }
.case:hover { border-color: var(--brass); }
.case summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: center; padding: 18px 26px 18px 18px; }
.case summary::-webkit-details-marker { display: none; }
.case .thumb { aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; background: var(--blush); }
.case .thumb svg { width: 100%; height: 100%; display: block; }
.case .meta { color: var(--muted); font-size: .9rem; margin-bottom: 4px; }
.case h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.25rem); margin: 0; line-height: 1.05; }
.case .toggle { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, color .3s; }
.case .toggle svg { width: 18px; height: 18px; }
.case[open] .toggle { transform: rotate(45deg); background: var(--teal); color: var(--on-teal); border-color: var(--teal); }
.case .body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: 8px 26px 30px 266px; }
.case .body p { color: var(--text); }
.case .body dl { margin: 0; display: grid; gap: 14px; }
.case .body dt { color: var(--muted); font-size: .85rem; }
.case .body dd { margin: 0; font-weight: 500; }
.case .open-link { display: inline-flex; gap: 8px; align-items: center; color: var(--teal); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--brass); padding-bottom: 2px; margin-top: 6px; }
.case[open] .body { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; translate: 0 8px; } }
@media (max-width: 860px) {
  .case summary { grid-template-columns: 1fr auto; padding: 16px; gap: 16px; }
  .case .thumb { grid-column: 1 / -1; }
  .case .body { grid-template-columns: 1fr; gap: 20px; padding: 0 16px 24px; }
}

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; position: relative; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; border-right: 2px solid var(--brass); border-bottom: 2px solid var(--brass); translate: 0 -70%; rotate: 45deg; transition: rotate .35s var(--ease), translate .35s; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 -20%; }
.faq details p { color: var(--muted); padding-bottom: 26px; margin: 0; }

/* CTA */
.cta { background: var(--teal); color: var(--on-teal); border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 48px); align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; bottom: -160px; width: 340px; height: 340px; border: 1.5px solid var(--line-teal); border-radius: 50%; pointer-events: none; }
.cta .avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brass); }
.cta h2 { margin-bottom: .2em; }
.cta p { color: var(--on-teal-muted); margin: 0; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .avatar { width: 84px; height: 84px; } }

/* Inner page hero */
.page-hero { background: var(--teal); color: var(--on-teal); padding: 160px 0 clamp(64px, 9vw, 110px); }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 4.75rem); max-width: 16ch; }
.page-hero .lead { color: var(--on-teal-muted); max-width: 54ch; }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.about-photo { position: sticky; top: 110px; }
.about-photo .arch { aspect-ratio: 4 / 4.8; }
.about-photo .arch img { object-position: 64% 40%; }
.about-photo figcaption { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.certs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.certs li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 600; transition: border-color .3s, translate .3s var(--ease); }
.certs li:hover { border-color: var(--brass); translate: 0 -2px; }
.certs small { display: block; color: var(--muted); font-weight: 400; }
.principles div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.principles h3 { margin: 0; }
.principles p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 420px; }
  .principles div { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 480px) { .certs { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.me { display: flex; gap: 16px; align-items: center; margin-bottom: 28px; }
.me img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.me b { display: block; }
.me span { color: var(--muted); font-size: .95rem; }
.routes { display: grid; gap: 12px; }
.route { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-decoration: none; transition: border-color .3s, translate .3s var(--ease); }
.route:hover { border-color: var(--brass); translate: 4px 0; }
.route b { display: block; font-size: 1.05rem; }
.route span { color: var(--muted); font-size: .92rem; }
.route svg { width: 20px; height: 20px; color: var(--brass); flex: none; }
form.brief { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--text); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--ivory); width: 100%; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 9px 15px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .92rem; cursor: pointer; transition: .2s; }
.chips input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.chips input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: #2f6b4a; } .form-status.err { color: #a3361d; }
.hp { position: absolute; left: -5000px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--teal-deep); color: var(--on-teal-muted); padding: 80px 0 32px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-teal); }
.foot-top .big { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; color: var(--on-teal); margin-bottom: 20px; }
.site-footer h4 { color: var(--on-teal); font-size: .95rem; font-weight: 600; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .88rem; }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > div:first-child { grid-column: 1 / -1; } }

/* Scroll reveal: one restrained motion, applied to section heads only */
.reveal { opacity: 0; translate: 0 18px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; }
.no-js .reveal { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
  .reveal, .float { opacity: 1 !important; translate: 0 0 !important; }
}
.open-link .arrow { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.open-link:hover .arrow { transform: translateX(4px); }
.f3 { left: auto; right: -8%; bottom: 16%; }
@media (max-width: 920px) { .f3 { right: -6%; bottom: 12%; } }
