/* =========================================================
   Amy's Sign Design — stylesheet
   Direction: DESIGN-BRIEF.md (stand-off lettering, panel + enamel + logo teal)
   All colour, type, space, motion and z-index values live in :root.
   ========================================================= */

@font-face { font-family: "Jost"; src: url("../fonts/jost-400-600.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-400-600.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost Fallback"; src: local("Century Gothic"), local("Arial"); size-adjust: 97%; ascent-override: 106%; }
@font-face { font-family: "Figtree Fallback"; src: local("Segoe UI"), local("Arial"); size-adjust: 101%; }

:root {
  /* palette (5 tokens) */
  --panel: #0D1A20;
  --teal: #009FBC;
  --harbor: #0E5066;
  --enamel: #F3F6F4;
  --ink: #10202A;
  /* functional */
  --teal-text: #007A92;
  --slate: #4A6470;
  --mist: #A9BCC2;
  --star: #E9A92B;
  --paper: #FBFCFB;
  --error: #B3261E;
  --error-on-dark: #FF8A80;
  --success: #1E7F5C;
  --panel-2: #12242C;
  --line-dark: rgba(243, 246, 244, 0.14);
  --line-light: rgba(16, 32, 42, 0.12);
  --scrim: rgba(13, 26, 32, 0.72);
  --glass-dark: rgba(13, 26, 32, 0.84);
  --glass-light: rgba(251, 252, 251, 0.78);
  --cast-dark: rgba(0, 0, 0, 0.55);
  --cast-light: rgba(16, 32, 42, 0.16);
  --teal-wash: rgba(0, 159, 188, 0.12);
  --wa: #1E9E58;

  /* type */
  --f-display: "Jost", "Jost Fallback", "Century Gothic", sans-serif;
  --f-body: "Figtree", "Figtree Fallback", "Segoe UI", system-ui, sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;
  --fs-h1: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem);
  --fs-h2: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem);
  --fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;
  --fs-hand: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem);

  /* space (8px base) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px; --s9: 144px;
  --section: clamp(88px, 6rem + 4vw, 144px);
  --gutter: clamp(20px, 1rem + 2.5vw, 48px);
  --container: 1280px;
  --measure: 68ch;

  /* shape + depth */
  --r: 10px;
  --sh-contact: 0 1px 2px rgba(16, 32, 42, 0.18);
  --sh-ambient: 0 18px 40px -12px rgba(16, 32, 42, 0.28);
  --sh-plate: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 24px -8px rgba(0, 0, 0, 0.45), 0 40px 70px -30px rgba(0, 0, 0, 0.6);
  --sh-lift: 0 2px 3px rgba(16, 32, 42, 0.16), 0 28px 50px -18px rgba(16, 32, 42, 0.38);

  /* motion: heavy, physical, multiples of 120ms */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-micro: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-mask: cubic-bezier(0.76, 0, 0.24, 1);
  --t-micro: 240ms;
  --t-enter: 960ms;
  --t-mask: 1200ms;

  /* layers */
  --z-base: 0; --z-dropdown: 100; --z-sticky: 200; --z-overlay: 300; --z-modal: 400; --z-toast: 500;

  /* header */
  --topbar-h: 40px;
  --nav-h: 88px;
  --head-h: calc(var(--topbar-h) + var(--nav-h));
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.7; color: var(--ink); background: var(--enamel); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 var(--s3); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: var(--s2); }
p { margin: 0 0 var(--s3); max-width: var(--measure); }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal); color: var(--panel); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s2); top: -100px; z-index: var(--z-toast); background: var(--teal); color: var(--panel); padding: var(--s1) var(--s2); border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: var(--s2); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--dark { background: var(--panel); color: var(--enamel); }
.section--harbor { background: var(--harbor); color: var(--enamel); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: var(--s7); }
.grain { position: relative; isolation: isolate; }
.grain::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.split { display: grid; gap: var(--s6); }
@media (min-width: 960px) {
  .split { grid-template-columns: 8fr 4fr; align-items: start; }
  .split--rev { grid-template-columns: 4fr 8fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--center { align-items: center; }
}
.split > *, .form-grid > *, .page-hero__grid > *, .cta-band__grid > *, .footer__grid > * { min-width: 0; }
.stack > * + * { margin-top: var(--s3); }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-text); margin-bottom: var(--s2); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .section--harbor .eyebrow, .on-dark .eyebrow { color: var(--teal); }
.lede { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); line-height: 1.6; }
.muted { color: var(--slate); }
.section--dark .muted, .section--harbor .muted, .on-dark .muted { color: var(--mist); }
.hand { font-family: var(--f-hand); font-size: var(--fs-hand); font-weight: 500; color: var(--teal); line-height: 1; display: inline-block; transform: rotate(-4deg); }
.text-teal { color: var(--teal-text); }
.section--dark .text-teal, .on-dark .text-teal { color: var(--teal); }

/* ---------- SIGNATURE: stand-off lettering ---------- */
.standoff { position: relative; isolation: isolate; text-shadow: 0 1px 0 var(--cast-light); }
.standoff em { font-style: normal; color: var(--teal-text); }
.on-dark .standoff, .section--dark .standoff, .section--harbor .standoff { text-shadow: 0 1px 0 var(--cast-dark); }
.on-dark .standoff em, .section--dark .standoff em, .section--harbor .standoff em { color: var(--teal); }
.js .standoff::after {
  content: attr(data-text);
  position: absolute; inset: 0; z-index: -1;
  color: var(--cast-light); filter: blur(3px);
  transform: translate(calc(var(--lx, 0) * 1px), calc(var(--ly, 0) * 1px));
  opacity: 0; pointer-events: none;
  transition: transform var(--t-enter) var(--ease-out), opacity var(--t-enter) var(--ease-out);
}
.js .on-dark .standoff::after, .js .section--dark .standoff::after, .js .section--harbor .standoff::after { color: var(--cast-dark); filter: blur(4px); }
.js .standoff { transition: transform var(--t-enter) var(--ease-out); }
.js .standoff.is-up { transform: translateY(-2px); }
.js .standoff.is-up::after { opacity: 1; --lx: 5; --ly: 7; }
.js .hero .standoff.is-up::after { --lx: var(--hx, 6); --ly: var(--hy, 9); transition: opacity var(--t-enter) var(--ease-out); }

/* ---------- buttons ---------- */
.btn { --bx: 0px; --by: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: var(--r); border: 2px solid transparent; font-family: var(--f-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.01em; text-decoration: none; line-height: 1.2; transition: background-color var(--t-micro) var(--ease-micro), color var(--t-micro) var(--ease-micro), border-color var(--t-micro) var(--ease-micro), transform var(--t-micro) var(--ease-micro); transform: translate(var(--bx), var(--by)); position: relative; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--teal); color: var(--panel); box-shadow: var(--sh-contact), 0 12px 24px -12px rgba(0, 159, 188, 0.7); }
.btn--primary:hover { background: var(--enamel); }
.section:not(.section--dark):not(.section--harbor) .btn--primary:hover { background: var(--panel); color: var(--enamel); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--enamel); color: var(--panel); border-color: var(--enamel); }
.section:not(.section--dark):not(.section--harbor) .btn--ghost:hover, .btn--ghost.on-light:hover { background: var(--ink); color: var(--enamel); border-color: var(--ink); }
.btn:active { transform: translate(var(--bx), calc(var(--by) + 1px)); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; text-decoration: none; color: var(--teal-text); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size var(--t-micro) var(--ease-micro); padding-bottom: 2px; }
.link-arrow:hover { background-size: 100% 2px; }
.section--dark .link-arrow, .section--harbor .link-arrow, .on-dark .link-arrow { color: var(--teal); }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-micro) var(--ease-micro); }
.link-arrow:hover svg { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }

/* ---------- top bar + header ---------- */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky); color: var(--enamel); }
.topbar { height: var(--topbar-h); background: var(--panel); border-bottom: 1px solid var(--line-dark); font-size: var(--fs-small); }
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.topbar__info { display: flex; gap: var(--s4); align-items: center; min-width: 0; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--mist); white-space: nowrap; transition: color var(--t-micro) var(--ease-micro); }
.topbar a:hover { color: var(--enamel); }
.topbar svg { width: 16px; height: 16px; color: var(--teal); flex: none; }
.topbar__social { display: flex; gap: 4px; }
.topbar__social a { width: 32px; height: 32px; justify-content: center; border-radius: var(--r); }
.topbar__social a:hover { background: var(--teal-wash); }
.topbar__social svg { color: var(--enamel); width: 16px; height: 16px; }
@media (max-width: 1100px) { .topbar__hours, .topbar__addr { display: none !important; } }
@media (max-width: 560px) { .topbar__mail { display: none !important; } }

.navbar { height: var(--nav-h); transition: height 360ms var(--ease-out), background-color 360ms var(--ease-out), box-shadow 360ms var(--ease-out); background: transparent; }
.navbar::before { content: ""; position: absolute; inset: var(--topbar-h) 0 auto 0; height: var(--nav-h); background: linear-gradient(to bottom, rgba(13, 26, 32, 0.7), rgba(13, 26, 32, 0)); pointer-events: none; transition: opacity 360ms var(--ease-out); }
.navbar .container { height: 100%; display: flex; align-items: center; gap: var(--s4); position: relative; }
.site-head.is-scrolled .navbar { height: 64px; background: var(--glass-dark); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 var(--line-dark), 0 18px 40px -20px rgba(0, 0, 0, 0.6); }
.site-head.is-scrolled .navbar::before { opacity: 0; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-head.is-scrolled .navbar { background: var(--panel); } }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 52px; width: auto; transition: height 360ms var(--ease-out); }
.site-head.is-scrolled .brand img { height: 38px; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; font-family: var(--f-display); font-weight: 500; font-size: 1rem; text-decoration: none; color: var(--enamel); background: none; border: 0; border-radius: var(--r); transition: color var(--t-micro) var(--ease-micro), background-color var(--t-micro) var(--ease-micro); }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--teal); }
.nav__link[aria-current="page"] { color: var(--teal); }
.nav__link svg { width: 14px; height: 14px; transition: transform var(--t-micro) var(--ease-micro); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__cta { margin-left: var(--s2); min-height: 46px; padding: 10px 20px; font-size: 1rem; }
.dropdown { position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; padding: var(--s1); background: var(--panel-2); border: 1px solid var(--line-dark); border-radius: var(--r); box-shadow: var(--sh-plate); z-index: var(--z-dropdown); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--t-micro) var(--ease-micro), transform var(--t-micro) var(--ease-micro), visibility 0s linear var(--t-micro); list-style: none; margin: 0; }
.nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 6px; color: var(--enamel); text-decoration: none; font-size: 0.975rem; line-height: 1.35; transition: background-color var(--t-micro) var(--ease-micro), color var(--t-micro) var(--ease-micro); }
.dropdown a:hover { background: var(--teal-wash); color: var(--teal); }
.mega { left: 50%; width: min(980px, 92vw); transform: translate(-50%, 8px); padding: var(--s4); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3) var(--s4); }
.nav__item.is-open > .mega { transform: translate(-50%, 0); }
.mega__col h3 { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 var(--s1); }
.mega__col h3 a { padding: 6px 14px; color: var(--teal); font-weight: 600; font-family: var(--f-display); font-size: 0.8125rem; }
.mega__col ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.mega__col--wide ul { columns: 2; column-gap: var(--s2); }
.mega__col li a { padding: 5px 14px; font-size: 0.9375rem; color: var(--mist); }
.mega__col li a:hover { color: var(--teal); }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: var(--r); border: 1px solid var(--line-dark); background: transparent; color: var(--enamel); align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1100px) {
  :root { --nav-h: 72px; }
  .nav, .navbar .nav__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand img { height: 44px; }
  .site-head.is-scrolled .navbar { height: 60px; }
}
@media (max-width: 560px) { :root { --topbar-h: 36px; } .brand img { height: 38px; } .site-head.is-scrolled .brand img { height: 32px; } }

/* mobile menu */
.mnav { position: fixed; inset: 0; z-index: var(--z-overlay); background: var(--glass-dark); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); color: var(--enamel); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 360ms var(--ease-out), visibility 0s linear 360ms; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .mnav { background: var(--panel); } }
.mnav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mnav__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s2) var(--gutter); border-bottom: 1px solid var(--line-dark); }
.mnav__head img { height: 38px; width: auto; }
.mnav__body { overflow-y: auto; padding: var(--s3) var(--gutter) var(--s7); flex: 1; }
.mnav__body > ul { list-style: none; margin: 0; padding: 0; }
.mnav a, .mnav__acc { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 52px; padding: 10px 0; font-family: var(--f-display); font-size: 1.375rem; font-weight: 500; text-decoration: none; color: var(--enamel); background: none; border: 0; border-bottom: 1px solid var(--line-dark); text-align: left; }
.mnav__acc svg { width: 20px; height: 20px; transition: transform var(--t-micro) var(--ease-micro); }
.mnav__acc[aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav__sub { list-style: none; margin: 0; padding: 0 0 var(--s2) var(--s2); }
.mnav__sub[hidden] { display: none; }
.mnav__sub a { font-family: var(--f-body); font-size: 1.0625rem; min-height: 48px; color: var(--mist); border-bottom: 0; }
.mnav .btn { margin-top: var(--s4); font-size: 1.125rem; border-bottom: 0; }
.mnav .btn--primary { color: var(--panel); justify-content: center; }
.mnav__close { width: 48px; height: 48px; border-radius: var(--r); border: 1px solid var(--line-dark); background: transparent; color: var(--enamel); display: inline-flex; align-items: center; justify-content: center; }
.mnav__close svg { width: 24px; height: 24px; }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: max(720px, 100svh); display: flex; align-items: flex-end; color: var(--enamel); background: var(--panel); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 112%; object-fit: cover; object-position: 78% 42%; transform: translate3d(0, var(--py, 0px), 0) scale(1.06); will-change: transform; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 26, 32, 0.95) 0%, rgba(13, 26, 32, 0.88) 42%, rgba(13, 26, 32, 0.45) 66%, rgba(13, 26, 32, 0.05) 88%), linear-gradient(0deg, rgba(13, 26, 32, 0.95) 0%, rgba(13, 26, 32, 0) 45%); }
.hero__inner { width: 100%; padding-top: calc(var(--head-h) + var(--s5)); padding-bottom: clamp(var(--s5), 8vh, var(--s7)); position: relative; }
.hero__content { max-width: 760px; }
.hero h1 { margin-bottom: var(--s3); font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.5rem); }
.hero .lede { color: var(--mist); max-width: 560px; margin-bottom: var(--s5); }
.hero__phone { color: var(--enamel); font-family: var(--f-display); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding-inline: 6px; }
.hero__phone svg { width: 20px; height: 20px; color: var(--teal); }
.hero__phone:hover { color: var(--teal); }
.hero .hand { margin-bottom: var(--s2); }
@media (max-width: 760px) {
  .hero__media img { object-position: 62% 40%; }
  .hero__scrim { background: linear-gradient(0deg, rgba(13, 26, 32, 0.96) 0%, rgba(13, 26, 32, 0.84) 55%, rgba(13, 26, 32, 0.55) 100%); }
}
.hero__cue { position: absolute; right: var(--gutter); bottom: var(--s5); display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--mist); letter-spacing: 0.1em; text-transform: uppercase; }
.hero__cue span { width: 1px; height: 48px; background: linear-gradient(var(--teal), transparent); }

/* floating plates (set piece) */
.plates { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.plate { position: absolute; margin: 0; padding: 8px; background: var(--paper); border-radius: var(--r); box-shadow: var(--sh-plate); transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) rotate(var(--rot, 0deg)); will-change: transform; }
.plate img { border-radius: 6px; width: 100%; height: 100%; object-fit: cover; }
.plate::before, .plate::after { content: ""; position: absolute; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--paper), var(--mist) 60%, var(--slate)); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.35); z-index: 1; }
.plate::before { left: 14px; }
.plate::after { right: 14px; }
.plate figcaption { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); background: var(--panel); color: var(--enamel); font-size: 0.75rem; font-family: var(--f-display); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; white-space: nowrap; box-shadow: var(--sh-contact); }
.plate--1 { width: clamp(160px, 13vw, 220px); aspect-ratio: 1; right: 37%; top: 17%; --rot: -5deg; }
.plate--2 { width: clamp(180px, 14vw, 240px); aspect-ratio: 4 / 5; right: 19%; top: 34%; --rot: 4deg; }
.plate--3 { width: clamp(150px, 12vw, 200px); aspect-ratio: 1; right: 33%; bottom: -56px; --rot: -2deg; z-index: 2; }
.js .plate { opacity: 0; }
.js.is-loaded .plate { opacity: 1; transition: opacity var(--t-enter) var(--ease-out); }
.js.is-loaded .plate--1 { transition-delay: 700ms; }
.js.is-loaded .plate--2 { transition-delay: 820ms; }
.js.is-loaded .plate--3 { transition-delay: 940ms; }
@media (max-width: 1100px) { .plate--1 { display: none; } .plate--2 { right: 4%; top: 18%; width: 190px; } .plate--3 { display: none; } }
@media (max-width: 760px) { .plates { display: none; } .hero__cue { display: none; } }

/* load sequence */
.js .hero [data-load] { opacity: 0; transform: translateY(24px); }
.js.is-loaded .hero [data-load] { opacity: 1; transform: none; transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-out); transition-delay: calc(300ms + var(--d, 0) * 80ms); }

/* ---------- page hero (inner) ---------- */
.page-hero { position: relative; background: var(--panel); color: var(--enamel); padding-top: calc(var(--head-h) + var(--s7)); padding-bottom: var(--s7); overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; transform: translate3d(0, var(--py, 0px), 0) scale(1.08); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 26, 32, 0.96) 0%, rgba(13, 26, 32, 0.82) 50%, rgba(13, 26, 32, 0.55) 100%); }
.page-hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); }
.page-hero .lede { color: var(--mist); }
.page-hero__grid { display: grid; gap: var(--s5); align-items: end; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: 8fr 4fr; } }
.page-hero__plates { position: relative; min-height: 260px; display: none; }
@media (min-width: 960px) { .page-hero__plates { display: block; } }
.page-hero__plates .plate { width: 62%; aspect-ratio: 1; }
.page-hero__plates .plate:nth-child(1) { right: 0; top: 0; --rot: 3deg; }
.page-hero__plates .plate:nth-child(2) { left: 0; bottom: -40px; --rot: -4deg; width: 52%; }
.js .page-hero .plate { opacity: 1; }

.crumbs { margin-bottom: var(--s4); font-size: var(--fs-small); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; color: var(--mist); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.crumbs [aria-current] { color: var(--enamel); }

/* ---------- trust strip ---------- */
.trust { background: var(--panel); color: var(--enamel); border-top: 1px solid var(--line-dark); }
.trust__list { list-style: none; margin: 0; padding: var(--s4) 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust__item { display: flex; gap: var(--s2); align-items: center; }
.trust__item strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.125rem; line-height: 1.2; }
.trust__item span { font-size: var(--fs-small); color: var(--mist); line-height: 1.4; display: block; }
.trust__icon { width: 48px; height: 48px; flex: none; border-radius: var(--r); display: grid; place-items: center; background: var(--teal-wash); color: var(--teal); }
.trust__icon svg { width: 24px; height: 24px; }
.stars { display: inline-flex; gap: 2px; color: var(--star); vertical-align: middle; }
.stars svg { width: 16px; height: 16px; display: inline-block; }
.trust__item .stars { display: inline-flex; vertical-align: -2px; margin-left: 4px; }

/* ---------- marquee ---------- */
.marquee { background: var(--teal); color: var(--panel); overflow: hidden; padding-block: 18px; border-block: 1px solid rgba(13, 26, 32, 0.2); }
.marquee__track { display: flex; width: max-content; gap: 0; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group span { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); padding-inline: 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.marquee__group span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.55; }

/* ---------- section header ---------- */
.sec-head { margin-bottom: var(--s6); max-width: 820px; }
.sec-head--row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: end; justify-content: space-between; max-width: none; }
.sec-head--row > div { max-width: 760px; }
.sec-head p { margin-bottom: 0; }
.sec-head p + p { margin-top: var(--s2); }

/* cut line divider */
.cutline { display: block; width: 100%; height: 24px; color: var(--teal); overflow: visible; }
.cutline path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 6 6; }
.js .cutline path { stroke-dashoffset: 0; clip-path: inset(0 100% 0 0); transition: clip-path 1440ms var(--ease-mask); }
.js .cutline.is-in path { clip-path: inset(0 0 0 0); }
.cutline .blade { fill: var(--teal); }
.js .cutline .blade { transform: translateX(-100%); opacity: 0; }

/* ---------- service cards ---------- */
.svc-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); box-shadow: var(--sh-contact), var(--sh-ambient); overflow: hidden; text-decoration: none; color: var(--ink); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform var(--t-micro) var(--ease-micro); transform-style: preserve-3d; }
.card:hover { --lift: -4px; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line-light); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 720ms var(--ease-out); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.22), transparent 40%); opacity: 0; transition: opacity var(--t-micro) var(--ease-micro); pointer-events: none; }
.card:hover .card__media::after { opacity: 1; }
/* transfer-tape peel corner */
.card__peel { position: absolute; top: 0; right: 0; width: 56px; height: 56px; pointer-events: none; z-index: 1; }
.card__peel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(225deg, var(--enamel) 0 50%, transparent 50%); filter: drop-shadow(-2px 3px 3px rgba(16, 32, 42, 0.25)); transform-origin: 100% 0; transform: scale(0.45); transition: transform 480ms var(--ease-out); }
.card:hover .card__peel::before { transform: scale(1); }
.card__body { padding: var(--s3); display: flex; flex-direction: column; gap: var(--s1); flex: 1; }
.card__body h3 { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.card__body h3 svg { width: 22px; height: 22px; color: var(--teal-text); flex: none; transition: transform var(--t-micro) var(--ease-micro); }
.card:hover .card__body h3 svg { transform: translateX(4px); }
.card__body p { margin: 0; color: var(--slate); font-size: 1rem; line-height: 1.6; }
.chips { list-style: none; margin: var(--s1) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li, .chip { font-size: 0.8125rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--enamel); color: var(--slate); border: 1px solid var(--line-light); line-height: 1.4; }
a.chip { text-decoration: none; transition: color var(--t-micro) var(--ease-micro), border-color var(--t-micro) var(--ease-micro); min-height: 32px; display: inline-flex; align-items: center; }
a.chip:hover { color: var(--teal-text); border-color: var(--teal-text); }
.card--feature { grid-column: 1 / -1; }
@media (min-width: 760px) { .card--feature { flex-direction: row; } .card--feature .card__media { flex: 0 0 55%; aspect-ratio: auto; min-height: 340px; } .card--feature .card__body { padding: var(--s5); justify-content: center; } }

.svc-side { position: sticky; top: 140px; display: grid; gap: var(--s3); }
.stat { padding: var(--s4); border-radius: var(--r); background: var(--panel); color: var(--enamel); box-shadow: var(--sh-lift); }
.stat__num { font-family: var(--f-display); font-weight: 500; font-size: clamp(3.5rem, 2.8rem + 3vw, 5.5rem); line-height: 1; letter-spacing: -0.03em; display: block; color: var(--teal); }
.stat p { margin: var(--s1) 0 0; color: var(--mist); font-size: 1rem; }
.photo-frame { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-lift); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- mask reveal ---------- */
.js [data-mask] { clip-path: inset(100% 0 0 0); transition: clip-path var(--t-mask) var(--ease-mask); }
.js [data-mask].is-in { clip-path: inset(0 0 0 0); }
.js [data-mask] img { transform: scale(1.12); transition: transform var(--t-mask) var(--ease-out); }
.js [data-mask].is-in img { transform: scale(1); }

/* ---------- generic reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px) perspective(800px) rotateX(6deg); transform-origin: 50% 100%; }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }

/* ---------- lake work (dock + boat) ---------- */
.lake { overflow: hidden; }
.lake__caustics { position: absolute; inset: 0; z-index: -1; opacity: 0.5; background:
  radial-gradient(40% 30% at 20% 30%, rgba(0, 159, 188, 0.22), transparent 70%),
  radial-gradient(35% 25% at 75% 65%, rgba(0, 159, 188, 0.18), transparent 70%),
  radial-gradient(30% 30% at 50% 100%, rgba(0, 159, 188, 0.2), transparent 70%); }
.js .full .lake__caustics { animation: drift 24s var(--ease-micro) infinite alternate; }
@keyframes drift { to { transform: translate3d(-3%, 2%, 0) scale(1.08); } }
.video-frame { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-plate); background: var(--panel); aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame__btn { position: absolute; right: var(--s2); bottom: var(--s2); width: 48px; height: 48px; border-radius: var(--r); border: 0; background: var(--glass-dark); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--enamel); display: grid; place-items: center; }
.video-frame__btn svg { width: 20px; height: 20px; }
.dock-plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s3); margin: var(--s4) 0; list-style: none; padding: 0; }
.dock-plate { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 26px 16px 16px; text-align: center; box-shadow: var(--sh-plate); }
.dock-plate::before, .dock-plate::after { content: ""; position: absolute; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--paper), var(--mist) 60%, var(--slate)); }
.dock-plate::before { left: 10px; }
.dock-plate::after { right: 10px; }
.dock-plate strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.25; }
.dock-plate span { display: block; font-family: var(--f-display); font-size: 1.75rem; font-weight: 500; color: var(--teal-text); line-height: 1.2; margin-top: 4px; }
.dock-plate small { display: block; color: var(--slate); font-size: 0.8125rem; line-height: 1.35; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s5); }
.filter { min-height: 44px; padding: 8px 18px; border-radius: var(--r); border: 1px solid var(--line-light); background: transparent; font-family: var(--f-display); font-weight: 500; font-size: 0.975rem; color: var(--ink); transition: background-color var(--t-micro) var(--ease-micro), color var(--t-micro) var(--ease-micro), border-color var(--t-micro) var(--ease-micro); }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"], .filter[aria-selected="true"] { background: var(--ink); color: var(--enamel); border-color: var(--ink); }
.section--dark .filter, .section--harbor .filter { color: var(--enamel); border-color: var(--line-dark); }
.section--dark .filter:hover { border-color: var(--enamel); }
.section--dark .filter[aria-pressed="true"], .section--dark .filter[aria-selected="true"], .section--harbor .filter[aria-selected="true"] { background: var(--teal); color: var(--panel); border-color: var(--teal); }
.masonry { columns: 4 260px; column-gap: var(--s2); }
.masonry__item { break-inside: avoid; margin: 0 0 var(--s2); position: relative; border-radius: var(--r); overflow: hidden; background: var(--line-light); box-shadow: var(--sh-contact); }
.masonry__item[hidden] { display: none; }
.masonry__item a, .masonry__item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.masonry__item img { width: 100%; transition: transform 720ms var(--ease-out); }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; font-size: 0.8125rem; font-weight: 600; color: var(--enamel); background: var(--glass-dark); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 6px 10px; border-radius: 6px; opacity: 0; transform: translateY(6px); transition: opacity var(--t-micro) var(--ease-micro), transform var(--t-micro) var(--ease-micro); }
.masonry__item:hover figcaption, .masonry__item:focus-within figcaption { opacity: 1; transform: none; }
.gallery-more { margin-top: var(--s5); text-align: center; }

/* ---------- reviews ---------- */
.reviews__summary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.rating-big { display: flex; align-items: center; gap: var(--s2); }
.rating-big__num { font-family: var(--f-display); font-size: 3.5rem; font-weight: 500; line-height: 1; color: var(--enamel); }
.rating-big .stars svg { width: 22px; height: 22px; }
.rating-big small { display: block; color: var(--mist); font-size: var(--fs-small); }
.g-mark { width: 22px; height: 22px; flex: none; }
.tabs { display: flex; flex-wrap: wrap; gap: var(--s1); margin: var(--s5) 0 var(--s4); }
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(100%, 380px); gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding: var(--s1) 2px var(--s4); scrollbar-width: thin; scrollbar-color: var(--teal) transparent; overscroll-behavior-x: contain; }
.carousel__track:focus-visible { outline-offset: 6px; }
.review { scroll-snap-align: start; padding: var(--s4); border-radius: var(--r); background: rgba(243, 246, 244, 0.07); border: 1px solid var(--line-dark); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, var(--sh-plate); display: flex; flex-direction: column; gap: var(--s2); min-height: 260px; }
.review[hidden] { display: none; }
.review__head { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--panel); font-family: var(--f-display); font-weight: 600; font-size: 1.125rem; flex: none; }
.review__name { font-weight: 600; line-height: 1.3; }
.review__date { font-size: var(--fs-small); color: var(--mist); }
.review__text { margin: 0; color: var(--enamel); line-height: 1.65; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review__text.is-open { -webkit-line-clamp: unset; display: block; }
.review__more { align-self: flex-start; background: none; border: 0; padding: 6px 0; color: var(--teal); font-weight: 600; min-height: 44px; }
.review__more[hidden] { display: none; }
.review__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.carousel__nav { display: flex; gap: var(--s1); }
.icon-btn { width: 48px; height: 48px; border-radius: var(--r); border: 1px solid var(--line-dark); background: transparent; color: var(--enamel); display: inline-grid; place-items: center; transition: background-color var(--t-micro) var(--ease-micro), color var(--t-micro) var(--ease-micro); }
.icon-btn:hover { background: var(--teal); color: var(--panel); border-color: var(--teal); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.on-light .icon-btn, .section--paper .icon-btn { border-color: var(--line-light); color: var(--ink); }
.reviews-light .review { background: var(--paper); border-color: var(--line-light); box-shadow: var(--sh-contact), var(--sh-ambient); }
.reviews-light .review__text { color: var(--ink); }
.reviews-light .review__date { color: var(--slate); }
.reviews-light .review__more { color: var(--teal-text); }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); counter-reset: step; position: relative; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: var(--s4); background: var(--paper); border-radius: var(--r); box-shadow: var(--sh-contact), var(--sh-ambient); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r); background: var(--panel); color: var(--teal); font-family: var(--f-display); font-weight: 600; font-size: 1.375rem; margin-bottom: var(--s3); box-shadow: var(--sh-lift); }
.step p { margin: 0; color: var(--slate); font-size: 1rem; }

/* ---------- team ---------- */
.team { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.person { text-align: center; }
.person__photo { width: min(220px, 70%); aspect-ratio: 1; margin: 0 auto var(--s3); border-radius: 50%; overflow: hidden; box-shadow: var(--sh-lift); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: 4px; }
.person__role { color: var(--slate); font-size: 1rem; margin: 0 auto var(--s1); }
.person__note { color: var(--slate); font-size: 0.9375rem; margin: 0 auto var(--s2); }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; padding: 6px 12px; border-radius: 6px; background: var(--panel); color: var(--enamel); }
.badge svg { width: 16px; height: 16px; color: var(--teal); }
.person a.link-arrow { justify-content: center; word-break: break-all; }

/* ---------- visit / contact cards ---------- */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.info-list li { display: flex; gap: var(--s2); align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; flex: none; color: var(--teal-text); margin-top: 4px; }
.section--dark .info-list svg, .on-dark .info-list svg { color: var(--teal); }
.info-list a, .info-list div { overflow-wrap: anywhere; }
.info-list strong { display: block; font-family: var(--f-display); font-weight: 600; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--teal-text); text-decoration: underline; }
.map-frame { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-lift); aspect-ratio: 4 / 3; background: var(--line-light); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- forms ---------- */
.form-card { background: var(--glass-light); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line-light); border-radius: var(--r); padding: clamp(var(--s3), 3vw, var(--s5)); box-shadow: var(--sh-contact), var(--sh-lift); color: var(--ink); }
.form-grid { display: grid; gap: var(--s3) var(--s3); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field legend { font-weight: 600; font-size: 0.975rem; line-height: 1.4; padding: 0; }
.field .req { color: var(--teal-text); }
.field .hint { font-size: var(--fs-small); color: var(--slate); line-height: 1.45; }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid rgba(16, 32, 42, 0.28); background: var(--paper); color: var(--ink); font-size: 1rem; transition: border-color var(--t-micro) var(--ease-micro), box-shadow var(--t-micro) var(--ease-micro); }
.textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--slate); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal-text); box-shadow: 0 0 0 4px rgba(0, 159, 188, 0.2); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2310202A' stroke-width='2'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: var(--fs-small); font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 4px; }
.check { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border-radius: var(--r); border: 1.5px solid rgba(16, 32, 42, 0.2); background: var(--paper); cursor: pointer; font-size: 0.975rem; line-height: 1.35; transition: border-color var(--t-micro) var(--ease-micro), background-color var(--t-micro) var(--ease-micro); }
.check:hover { border-color: var(--slate); }
.check input { width: 20px; height: 20px; accent-color: var(--teal-text); flex: none; margin: 0; }
.check:has(input:checked) { border-color: var(--teal-text); background: var(--teal-wash); }
.check:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.file-drop { border: 1.5px dashed rgba(16, 32, 42, 0.35); border-radius: var(--r); padding: var(--s3); background: var(--paper); text-align: center; }
.file-drop input { max-width: 100%; width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s4); }
.form-foot p { margin: 0; font-size: var(--fs-small); color: var(--slate); }
.btn .spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: none; animation: spin 720ms linear infinite; }
.btn.is-busy .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: center; padding: var(--s5) var(--s3); }
.form-success[hidden] { display: none; }
.form-success svg { width: 72px; height: 72px; margin: 0 auto var(--s3); color: var(--success); }
.form-success .tick { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 720ms var(--ease-out) 200ms; }
.form-success.is-in .tick { stroke-dashoffset: 0; }
.form-success p { margin-inline: auto; }
.form-status { font-weight: 600; margin: 0; }
.form-status.is-error { color: var(--error); }
.price-tag { font-weight: 600; color: var(--teal-text); white-space: nowrap; }


/* ---------- order forms ---------- */
.form-sep { border: 0; border-top: 1px dashed var(--line-light); margin: var(--s2) 0; }
.form-sep.full { grid-column: 1 / -1; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-top: 6px; }
.choice { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: var(--r); border: 1.5px solid rgba(16, 32, 42, 0.18); background: var(--paper); cursor: pointer; font-size: 0.8125rem; line-height: 1.3; text-align: center; transition: border-color var(--t-micro) var(--ease-micro), transform var(--t-micro) var(--ease-micro); }
.choice:hover { border-color: var(--slate); transform: translateY(-2px); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; width: 100%; }
.choice:has(input:checked) { border-color: var(--teal-text); box-shadow: 0 0 0 3px rgba(0, 159, 188, 0.25); background: var(--teal-wash); }
.choice:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.form-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2); padding: var(--s3); border-radius: var(--r); background: var(--panel); color: var(--enamel); }
.form-total span:first-child { font-family: var(--f-display); font-weight: 600; }
.form-total output { font-family: var(--f-display); font-size: 2rem; font-weight: 500; color: var(--teal); }
.form-total .hint { color: var(--mist); width: 100%; }
.form-grid fieldset .form-grid { margin-top: 6px; }
.gal-sub { margin: var(--s6) 0 var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line-light); font-size: var(--fs-h3); }
.gal-sub:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.gal-sub + p { margin-bottom: var(--s3); }
.mb-5 { margin-bottom: var(--s5); }

/* ---------- prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); margin-top: var(--s6); }
.prose h3 { margin-top: var(--s5); }
.prose ul { margin: 0 0 var(--s3); }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--teal-text); }
.table-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: var(--sh-contact), var(--sh-ambient); background: var(--paper); margin-block: var(--s4); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.975rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-light); vertical-align: top; }
th { font-family: var(--f-display); font-weight: 600; background: var(--panel); color: var(--enamel); }
tbody tr:last-child td { border-bottom: 0; }

/* materials */
.materials { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.swatch { position: relative; background: var(--paper); border-radius: var(--r); padding: var(--s4); box-shadow: var(--sh-contact), var(--sh-ambient); overflow: hidden; }
.swatch::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--teal); }
.swatch:nth-child(3n + 2)::before { background: var(--harbor); }
.swatch:nth-child(3n)::before { background: var(--panel); }
.swatch img { border-radius: 6px; margin-bottom: var(--s3); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.swatch p { font-size: 1rem; color: var(--slate); margin: 0 0 var(--s2); }
.swatch .chips { margin-top: 0; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 var(--s4); border-left: 2px dashed var(--teal); display: grid; gap: var(--s5); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(var(--s4) * -1 - 9px); top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px var(--enamel); }
.timeline strong { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; display: block; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--teal); color: var(--panel); padding-block: var(--s8); isolation: isolate; }
.cta-band h2 { max-width: 15ch; }
.cta-band .standoff em { color: var(--enamel); }
.cta-band p { font-size: 1.1875rem; max-width: 520px; }
.cta-band .btn--primary { background: var(--panel); color: var(--enamel); box-shadow: var(--sh-plate); }
.cta-band .btn--primary:hover { background: var(--enamel); color: var(--panel); }
.cta-band .btn--ghost { color: var(--panel); }
.cta-band .btn--ghost:hover { background: var(--panel); color: var(--enamel); border-color: var(--panel); }
.cta-band__grid { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 960px) { .cta-band__grid { grid-template-columns: 8fr 4fr; } }
.floaters { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.floater { position: absolute; color: var(--panel); opacity: 0.1; }
.floater svg { width: 100%; height: 100%; }
.js .full .floater { animation: float 9.6s var(--ease-micro) infinite alternate; }
.floater--a { width: 180px; right: 6%; top: 12%; }
.floater--b { width: 120px; right: 28%; bottom: 8%; animation-delay: -3.6s !important; }
.floater--c { width: 90px; left: 48%; top: 10%; animation-delay: -6s !important; }
@keyframes float { from { transform: translate3d(0, 0, 0) rotate(-4deg); } to { transform: translate3d(0, -18px, 0) rotate(4deg); } }

/* ---------- footer ---------- */
.footer { background: var(--panel); color: var(--mist); padding-top: var(--s8); font-size: 1rem; }
.footer__grid { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: var(--s6); }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer__brand img { height: 64px; width: auto; margin-bottom: var(--s3); }
.footer h2 { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--enamel); font-weight: 600; margin-bottom: var(--s3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer a { color: var(--mist); text-decoration: none; transition: color var(--t-micro) var(--ease-micro); display: inline-flex; align-items: center; min-height: 36px; }
.footer a:hover { color: var(--teal); }
.footer address { display: grid; gap: var(--s2); }
.footer address p { margin: 0; }
.footer__social { display: flex; gap: var(--s1); margin-top: var(--s2); }
.footer__social a { width: 44px; height: 44px; justify-content: center; border-radius: var(--r); border: 1px solid var(--line-dark); }
.footer__social a:hover { background: var(--teal); color: var(--panel); border-color: var(--teal); }
.footer__social svg { width: 18px; height: 18px; }
.footer .map-frame { aspect-ratio: 16 / 10; margin-top: var(--s2); box-shadow: none; border: 1px solid var(--line-dark); }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: var(--s3); display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); justify-content: space-between; font-size: var(--fs-small); }
.footer__bottom p { margin: 0; max-width: none; }
.footer__bottom a { color: var(--enamel); min-height: 0; text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 3px; }

/* ---------- mobile action bar ---------- */
.mbar { display: none; }
@media (max-width: 768px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky); background: var(--panel); padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 8px; box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, 0.5); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: var(--r); font-family: var(--f-display); font-weight: 600; font-size: 1.0625rem; text-decoration: none; }
  .mbar svg { width: 22px; height: 22px; }
  .mbar__call { background: var(--teal); color: var(--panel); }
  .mbar__wa { background: var(--wa); color: var(--paper); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(13, 26, 32, 0.94); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity 360ms var(--ease-out), visibility 0s linear 360ms; color: var(--enamel); }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: var(--s2) var(--gutter); gap: var(--s2); }
.lightbox__count { font-size: var(--fs-small); color: var(--mist); }
.lightbox__stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox__stage img { max-height: 78vh; width: auto; max-width: 100%; border-radius: var(--r); box-shadow: var(--sh-plate); }
.lightbox__nav { display: flex; justify-content: center; gap: var(--s2); padding: var(--s3); }
.lightbox .icon-btn { border-color: var(--line-dark); color: var(--enamel); }

/* ---------- demo popup ---------- */
.popup { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: var(--gutter); opacity: 0; visibility: hidden; transition: opacity 480ms var(--ease-out), visibility 0s linear 480ms; }
.popup.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(13, 26, 32, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.popup__card { position: relative; width: min(520px, 100%); padding: clamp(var(--s4), 5vw, var(--s5)); border-radius: var(--r); background: var(--glass-dark); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); border: 1px solid var(--line-dark); color: var(--enamel); box-shadow: var(--sh-plate); transform: translateY(24px) scale(0.96); filter: blur(6px); transition: transform 720ms var(--ease-out), filter 720ms var(--ease-out); max-height: calc(100svh - 32px); overflow-y: auto; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .popup__card { background: var(--panel); } }
.popup.is-open .popup__card { transform: none; filter: none; }
.popup__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--panel); background: var(--teal); padding: 6px 12px; border-radius: 6px; margin-bottom: var(--s3); }
.popup__card h2 { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); margin-bottom: var(--s2); }
.popup__card p { color: var(--mist); }
.popup__close { position: absolute; top: 12px; right: 12px; }
.popup__actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-top: var(--s4); }
.popup__later { background: none; border: 0; color: var(--mist); text-decoration: underline; text-underline-offset: 4px; min-height: 44px; padding: 0 8px; }
.popup__later:hover { color: var(--enamel); }
body.is-locked { overflow: hidden; }

/* ---------- 404 ---------- */
.nf { min-height: 80svh; display: flex; align-items: center; }
.nf__code { font-family: var(--f-display); font-size: clamp(6rem, 4rem + 10vw, 12rem); line-height: 0.9; color: var(--teal); }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); } .mb-5 { margin-bottom: var(--s5); }
.center { text-align: center; } .center p { margin-inline: auto; }
.related { display: flex; flex-wrap: wrap; gap: var(--s1); }

/* ---------- reduced motion: final state, no transitions ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-mask], .js .hero [data-load], .js .plate { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-mask] img { transform: none !important; }
  .js .standoff::after { opacity: 1; transform: translate(5px, 7px); }
  .js .cutline path { clip-path: none; }
  .hero__media img, .page-hero__bg img { transform: none !important; }
  .card { transform: none !important; }
}
