/* =========================================================
   Iceberg Glass & Railing — styles
   Concept: above the waterline (air, light) / below (deep ink)
   ========================================================= */

:root {
  /* palette */
  --ink: #06121b;
  --ink-2: #0b1d29;
  --ink-3: #12283a;
  --ice: #eef4f6;
  --ice-2: #e1ebee;
  --ice-3: #cfdde2;
  --teal: #18a5ae;
  --teal-deep: #0f7d84;
  --glow: #8be9e4;
  --amber: #e9c27a;

  --text-dark: #0a1620;
  --text-dark-2: #3a4b55;
  --text-light: #e4eef1;
  --text-light-2: #93a8b2;

  --line-dark: rgba(10, 22, 32, .14);
  --line-light: rgba(228, 238, 241, .12);

  /* type */
  --f-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

  /* rhythm */
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 12vw, 180px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-dark);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

::selection { background: var(--teal); color: var(--ink); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.display { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; line-height: .95; }
.display em { font-style: italic; }

/* ---------- grain overlay ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 9999; pointer-events: none;
  opacity: .055; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 3%); }
  50%  { transform: translate(3%, -1%); }
  75%  { transform: translate(-1%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ---------- reveal system ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.reveal[data-delay="1"] { --d: 1; } .reveal[data-delay="2"] { --d: 2; }
.reveal[data-delay="3"] { --d: 3; } .reveal[data-delay="4"] { --d: 4; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .grain, .blob, .ticker__track, .pane__gleam { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.5em;
  background: var(--ink); color: var(--ice);
  border-radius: 999px;
  font-weight: 500; font-size: .95rem;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease-out), transform .3s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--teal);
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { color: var(--ink); transform: translateY(-1px); }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--sm { padding: .7em 1.15em; font-size: .85rem; }

.link-under {
  position: relative; font-weight: 500; padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
  transition: background-size .35s var(--ease-out);
}
.link-under:hover { background-size: 0% 1px; background-position: 100% 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  color: var(--text-dark);
  transition: background .4s, backdrop-filter .4s, padding .4s, color .4s, box-shadow .4s;
}
.nav.is-scrolled {
  padding: 12px var(--gutter);
  background: rgba(238, 244, 246, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav.is-deep { color: var(--text-light); }
.nav.is-deep.is-scrolled {
  background: rgba(6, 18, 27, .6);
  box-shadow: 0 1px 0 var(--line-light);
}
.nav.menu-open, .nav.menu-open.is-scrolled {
  color: var(--ice); background: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}

.nav__brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -.01em; }
.mark { width: 36px; height: 36px; object-fit: contain; transition: transform .5s var(--ease-out); }
.nav__brand:hover .mark { transform: translateY(-2px) rotate(-4deg); }
.nav__name span { font-weight: 400; opacity: .7; }

.nav__links { display: flex; gap: clamp(18px, 3vw, 40px); justify-self: center; }
.nav__links a {
  font-size: .9rem; font-weight: 500; position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__right { display: flex; align-items: center; gap: 20px; justify-self: end; }
.nav__phone { opacity: .75; transition: opacity .3s; }
.nav__phone:hover { opacity: 1; }
.nav.is-deep .btn { background: var(--ice); color: var(--ink); }
.nav.is-deep .btn:hover { color: var(--ink); }

.nav__burger {
  display: none; width: 40px; height: 40px; justify-self: end;
  flex-direction: column; gap: 6px; align-items: center; justify-content: center;
}
.nav__burger span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease-out); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--gutter);
  background: var(--ink); color: var(--ice);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-family: var(--f-display); font-size: clamp(2.4rem, 9vw, 4rem); line-height: 1.1; }
.mobile-menu a.mono { font-family: var(--f-mono); font-size: .9rem; margin-top: 24px; color: var(--glow); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 120px;
  overflow: hidden;
  background: var(--ice);
}
.hero__mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(139, 233, 228, .35), transparent 70%),
    radial-gradient(40% 40% at 10% 80%, rgba(23, 177, 171, .14), transparent 70%),
    radial-gradient(30% 30% at 50% 100%, rgba(233, 194, 122, .12), transparent 70%);
}
.hero__inner {
  width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 80px); align-items: end;
  padding-bottom: clamp(48px, 6vw, 80px);
  position: relative; z-index: 1;
  flex: 1;
}
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--text-dark-2); margin-bottom: clamp(18px, 2.4vw, 30px); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--teal); display: inline-block; flex: none; }

.hero h1 { font-size: clamp(3rem, 7vw, 7.4rem); line-height: .92; }
.hero h1 .line { display: block; }
.hero h1 .line--italic { font-style: italic; color: var(--teal-deep); padding-left: .12em; }
.hero__lede {
  max-width: 44ch; margin-top: clamp(20px, 2.4vw, 32px);
  font-size: clamp(1rem, 1.25vw, 1.2rem); color: var(--text-dark-2);
}
.hero__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: clamp(24px, 2.6vw, 36px); }

/* glass composition */
.hero__art {
  position: relative; aspect-ratio: 4 / 5; max-height: 640px; width: 100%;
  justify-self: end;
  transform-style: preserve-3d;
}
.art__backdrop { position: absolute; inset: 8% 6% 12% 10%; border-radius: 4px; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .9; }
.blob--a { width: 60%; aspect-ratio: 1; background: var(--teal); top: -10%; left: -10%; animation: drift 14s ease-in-out infinite alternate; }
.blob--b { width: 55%; aspect-ratio: 1; background: var(--amber); bottom: -12%; right: -10%; animation: drift 18s ease-in-out infinite alternate-reverse; }
.blob--c { width: 45%; aspect-ratio: 1; background: var(--ink); top: 40%; left: 30%; opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(12%, -10%) scale(1.15); }
}

.pane {
  position: absolute; border-radius: 3px;
  background: linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,.12) 40%, rgba(255,255,255,.35));
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  backdrop-filter: blur(6px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow:
    0 30px 60px -30px rgba(6,18,27,.45),
    inset 0 0 0 1px rgba(23,177,171,.15),
    inset 2px 0 0 rgba(23,177,171,.35);   /* green glass edge */
  transition: transform .15s linear;
  will-change: transform;
}
.pane--back  { inset: 4% 40% 22% 2%;  --rz: -3deg; opacity: .8; }
.pane--mid   { inset: 12% 22% 10% 28%; --rz: 1.5deg; }
.pane--front { inset: 26% 0% 4% 52%;  --rz: 4deg; }
.pane { transform: rotate(var(--rz)) translate(var(--tx, 0), var(--ty, 0)); }

.pane__hinge {
  position: absolute; left: -7px; top: 18%; width: 14px; height: 34px; border-radius: 3px;
  background: linear-gradient(#1a1a1a, #3b3b3b); box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.pane__hinge--low { top: auto; bottom: 18%; }

.pane__gleam {
  position: absolute; inset: 0; overflow: hidden; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.75) 45%, rgba(255,255,255,.1) 52%, transparent 60%);
  background-size: 300% 100%;
  animation: gleam 7s var(--ease-io) infinite;
  mix-blend-mode: screen;
}
@keyframes gleam { 0%, 60% { background-position: 120% 0; } 100% { background-position: -80% 0; } }

.pane__spec {
  position: absolute; left: 14px; bottom: 14px; color: var(--ink); opacity: .7;
  font-size: .66rem; letter-spacing: .06em;
}

.art__caption {
  position: absolute; left: 0; bottom: -34px; display: flex; gap: 20px; color: var(--text-dark-2);
}

/* ticker on the waterline */
.ticker {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line-dark);
  overflow: hidden; white-space: nowrap;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: inline-flex; align-items: center; gap: 28px;
  font-family: var(--f-display); font-size: 1.35rem; font-style: italic; color: var(--text-dark-2);
  animation: ticker 40s linear infinite;
}
.ticker__track > span { flex: none; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- waterline ---------- */
.waterline { position: relative; background: var(--ice); }
.waterline__wave { width: 100%; height: clamp(40px, 6vw, 80px); fill: var(--ink); }
.waterline__labels {
  position: absolute; inset: auto var(--gutter) 0 var(--gutter);
  display: flex; justify-content: space-between; color: var(--text-dark-2);
  transform: translateY(-140%); pointer-events: none;
}
.waterline--up { background: var(--ink); }
.waterline--up .waterline__wave { fill: var(--ice); }
.waterline--up .waterline__labels { inset: 0 var(--gutter) auto; transform: translateY(40%); color: var(--text-light-2); }

/* ---------- deep sections (below surface) ---------- */
.deep {
  background: var(--ink); color: var(--text-light);
  position: relative;
}
.deep + .deep::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--line-light);
}
.deep .btn { background: var(--ice); color: var(--ink); }
.deep ::selection { background: var(--glow); color: var(--ink); }

.section-head { padding-top: var(--section); margin-bottom: clamp(48px, 6vw, 88px); }
.section-head h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); max-width: 24ch; }
.section-head .label { color: var(--teal); margin-bottom: 22px; }
.section-head--row { display: grid; grid-template-columns: 1fr minmax(0, 32ch); gap: 40px; align-items: end; }
.section-head__aside { color: var(--text-light-2); font-size: 1rem; max-width: 34ch; padding-bottom: 6px; }
.section-head__sub { color: var(--text-light-2); max-width: 46ch; margin-top: 24px; font-size: 1.05rem; }
.label { color: var(--teal); }

/* ---------- process ---------- */
.process { padding-bottom: var(--section); }
.process__grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 110px); align-items: start;
}
.berg { margin: 0; position: sticky; top: 100px; }
.berg svg { width: 100%; height: auto; overflow: visible; }
.berg__water { stroke: var(--glow); stroke-width: 1; stroke-dasharray: 4 6; opacity: .7; }
.berg__tip {
  opacity: .75; filter: drop-shadow(0 10px 30px rgba(139,233,228,.2));
  transition: opacity .7s var(--ease-out), filter .7s var(--ease-out);
}
.berg__tip.lit { opacity: 1; filter: drop-shadow(0 0 34px rgba(139,233,228,.65)); }
.berg__stratum {
  stroke: rgba(139,233,228,.3); stroke-width: 1;
  opacity: .18; transform-origin: center; transform: translateY(6px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), stroke .7s, filter .7s;
}
.berg__stratum.done { opacity: .5; transform: none; stroke: rgba(139,233,228,.45); }
.berg__stratum.lit  { opacity: 1; transform: none; stroke: var(--glow); filter: drop-shadow(0 0 18px rgba(139,233,228,.45)); }
.berg__t { font-family: var(--f-mono); font-size: 12px; fill: var(--teal); letter-spacing: .1em; }
.berg__s { font-family: var(--f-display); font-size: 22px; fill: var(--text-light); }
.berg figcaption { color: var(--text-light-2); margin-top: 8px; }

.steps { display: grid; gap: 0; padding-top: 24px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  padding: clamp(28px, 3vw, 44px) 0;
  border-top: 1px solid var(--line-light);
  transition: opacity .5s;
}
.step:last-child { border-bottom: 1px solid var(--line-light); }
.step__num { color: var(--teal); padding-top: .55em; }
.step h3 { font-family: var(--f-display); font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.05; margin-bottom: 12px; }
.step p { color: var(--text-light-2); max-width: 48ch; font-size: 1rem; }
.step.active h3 { color: var(--glow); }

/* ---------- services index ---------- */
.services { padding-bottom: var(--section); }
.index { border-top: 1px solid var(--line-light); }
.index__row {
  display: grid; grid-template-columns: 56px 1fr auto 28px; align-items: baseline; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line-light);
  position: relative; cursor: default;
  transition: padding .45s var(--ease-out);
}
.index__row::before {
  content: ""; position: absolute; inset: 0 -20px; z-index: -1; border-radius: 6px;
  background: linear-gradient(90deg, rgba(23,177,171,.12), transparent 70%);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.index__row:hover::before, .index__row:focus-within::before { opacity: 1; }
.index__row:hover { padding-left: 12px; }
.index__num { color: var(--teal); }
.index__name {
  font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 1;
  transition: transform .45s var(--ease-out), color .3s;
}
.index__row:hover .index__name { color: #fff; }
.index__spec { color: var(--text-light-2); text-align: right; }
.index__row::after {
  content: "↗"; grid-column: 4; grid-row: 1; justify-self: end;
  font-family: var(--f-mono); color: var(--teal);
  opacity: .4; transition: opacity .3s, transform .45s var(--ease-out);
}
.index__row:hover::after { opacity: 1; transform: translate(2px, -2px); }
.index__desc {
  grid-column: 2 / 4; color: var(--text-light-2); font-size: .98rem; max-width: 58ch;
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  transition: max-height .5s var(--ease-out), opacity .4s var(--ease-out), margin-top .5s var(--ease-out);
}
.index__row:hover .index__desc, .index__row:focus-within .index__desc, .index__row.open .index__desc {
  max-height: 6em; opacity: 1; margin-top: 10px;
}

/* ---------- glass library ---------- */
.library { padding-bottom: var(--section); }
.library__grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 5vw, 80px); align-items: start;
}

.scene {
  position: relative; aspect-ratio: 5 / 4; border-radius: 6px; overflow: hidden;
  background: #0d1f2a; isolation: isolate;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), inset 0 0 0 1px var(--line-light);
}
.scene__room { position: absolute; inset: 0; }
.scene__lamp {
  position: absolute; z-index: 1; top: 12%; right: 14%; width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fff3d6 0%, rgba(233,194,122,.9) 20%, rgba(233,194,122,.15) 60%, transparent 70%);
  filter: blur(6px);
}
.scene__tile {
  position: absolute; inset: 0 0 26% 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 12.5% 100%,
    linear-gradient(0deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 100% 20%,
    linear-gradient(180deg, #2a4d60, #1c3a4c 70%, #16303f);
}
.scene__floor {
  position: absolute; inset: 74% 0 0 0;
  background: linear-gradient(180deg, #3a2c1f, #1f1812);
  border-top: 1px solid rgba(233,194,122,.35);
}
.scene__plant {
  position: absolute; z-index: 1; left: 6%; bottom: 20%; width: 18%; aspect-ratio: 1 / 1.6;
  background:
    radial-gradient(ellipse at 50% 20%, #2f6b4f 0%, #1e4a36 45%, transparent 60%),
    radial-gradient(ellipse at 30% 45%, #2f6b4f 0%, transparent 45%),
    radial-gradient(ellipse at 70% 45%, #2f6b4f 0%, transparent 45%);
  filter: blur(1px);
}

/* chrome riser + shower head inside the enclosure */
.scene__room::before {
  content: ""; position: absolute; z-index: 1; left: 78%; top: 10%; width: 3px; height: 46%;
  background: linear-gradient(90deg, #d9e2e6, #8a9aa1); border-radius: 2px;
}
.scene__room::after {
  content: ""; position: absolute; z-index: 1; left: calc(78% - 34px); top: 9%; width: 72px; height: 8px;
  border-radius: 999px; background: linear-gradient(180deg, #eef4f6, #9aabb2); box-shadow: 0 4px 10px rgba(0,0,0,.35);
}

.scene__pane {
  position: absolute; z-index: 2; inset: 8% 8% 6% 42%;
  border-radius: 2px;
  transition: background .6s var(--ease-out), backdrop-filter .6s var(--ease-out), -webkit-backdrop-filter .6s var(--ease-out), box-shadow .6s;
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  background: linear-gradient(165deg, rgba(255,255,255,.14), rgba(255,255,255,.02) 45%, rgba(255,255,255,.1));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 3px 0 0 rgba(23,177,171,.55);
}
.scene__edge { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.scene__hardware {
  position: absolute; left: -8px; width: 16px; height: 40px; border-radius: 3px;
  background: linear-gradient(#111, #333); box-shadow: 0 3px 8px rgba(0,0,0,.5);
}
.scene__hardware--top { top: 16%; } .scene__hardware--bottom { bottom: 16%; }

/* finishes applied to the pane */
.scene[data-finish="lowiron"] .scene__pane {
  background: linear-gradient(165deg, rgba(255,255,255,.18), rgba(255,255,255,.02) 45%, rgba(255,255,255,.12));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), inset 3px 0 0 rgba(255,255,255,.55);
}
.scene[data-finish="frosted"] .scene__pane {
  -webkit-backdrop-filter: blur(14px) brightness(1.15);
  backdrop-filter: blur(14px) brightness(1.15);
  background: linear-gradient(165deg, rgba(255,255,255,.5), rgba(255,255,255,.3));
}
.scene[data-finish="fluted"] .scene__pane {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 2px, rgba(255,255,255,.02) 2px 10px, rgba(255,255,255,.18) 10px 12px, rgba(0,0,0,.08) 12px 16px);
}
.scene[data-finish="grey"] .scene__pane {
  background: linear-gradient(165deg, rgba(10,14,18,.55), rgba(10,14,18,.4));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), inset 3px 0 0 rgba(255,255,255,.2);
}
.scene[data-finish="bronze"] .scene__pane {
  background: linear-gradient(165deg, rgba(120,72,20,.5), rgba(90,50,12,.4));
  box-shadow: inset 0 0 0 1px rgba(233,194,122,.4), inset 3px 0 0 rgba(233,194,122,.5);
}
.scene[data-finish="mirror"] .scene__pane {
  background:
    linear-gradient(165deg, #c9d8dc 0%, #8fa5ab 30%, #dfe9ec 48%, #7f959b 62%, #b9cad0 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 0 60px rgba(255,255,255,.08);
}

.scene__readout {
  position: absolute; left: 20px; bottom: 18px; display: flex; gap: 18px; color: var(--text-light-2);
  z-index: 2;
}
.scene__readout span:first-child { color: var(--glow); }

.finishes { display: grid; gap: 4px; }
.finish {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center;
  padding: 14px 14px 14px 12px; border-radius: 6px; text-align: left;
  border: 1px solid transparent;
  transition: background .3s, border-color .3s, transform .3s var(--ease-out);
}
.finish:hover { background: rgba(255,255,255,.03); transform: translateX(4px); }
.finish.is-active { background: rgba(23,177,171,.08); border-color: rgba(23,177,171,.35); }
.finish__swatch {
  width: 40px; height: 40px; border-radius: 3px;
  background: linear-gradient(165deg, rgba(255,255,255,.35), rgba(255,255,255,.08));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), inset 2px 0 0 rgba(23,177,171,.6);
}
.finish[data-finish="lowiron"] .finish__swatch { box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset 2px 0 0 rgba(255,255,255,.7); }
.finish[data-finish="frosted"] .finish__swatch { background: rgba(255,255,255,.55); }
.finish[data-finish="fluted"]  .finish__swatch { background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 2px, rgba(255,255,255,.08) 2px 7px); }
.finish[data-finish="grey"]    .finish__swatch { background: linear-gradient(165deg, #2a343a, #141b20); }
.finish[data-finish="bronze"]  .finish__swatch { background: linear-gradient(165deg, #7a4a1a, #4a2c0c); box-shadow: inset 0 0 0 1px rgba(233,194,122,.5); }
.finish[data-finish="mirror"]  .finish__swatch { background: linear-gradient(165deg, #c9d8dc, #7f959b 50%, #dfe9ec); }
.finish__text strong { display: block; font-weight: 500; font-size: 1rem; }
.finish__text small { display: block; color: var(--text-light-2); font-size: .85rem; margin-top: 2px; }

/* ---------- numbers ---------- */
.numbers { padding: var(--section) 0; }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.num { border-top: 1px solid var(--line-light); padding-top: 22px; }
.num__val { display: block; font-size: clamp(3.4rem, 6.5vw, 6.5rem); color: var(--ice); line-height: 1; }
.num__val em { font-style: italic; color: var(--teal); font-size: .5em; }
.num__key { display: block; color: var(--text-light-2); margin-top: 14px; max-width: 26ch; text-transform: none; letter-spacing: 0; font-size: .82rem; }
.num__key a { color: var(--glow); border-bottom: 1px solid rgba(139,233,228,.4); }

/* ---------- contact ---------- */
.contact { position: relative; background: var(--ice); padding: var(--section) 0; overflow: hidden; }
.contact__mesh {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 100% 100%, rgba(139,233,228,.35), transparent 70%),
    radial-gradient(35% 40% at 0% 20%, rgba(233,194,122,.16), transparent 70%);
}
.contact__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px); align-items: start;
}
.contact h2 { font-size: clamp(2.8rem, 6vw, 5.6rem); margin: 22px 0 28px; }
.contact h2 em { color: var(--teal-deep); }
.contact__copy > p { color: var(--text-dark-2); max-width: 46ch; font-size: 1.05rem; }
.contact__list { margin-top: 40px; border-top: 1px solid var(--line-dark); }
.contact__list li {
  display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line-dark);
}
.contact__list .mono { color: var(--text-dark-2); }
.contact__list a { font-weight: 500; background: linear-gradient(var(--teal), var(--teal)) no-repeat 0 100% / 0 1px; transition: background-size .35s var(--ease-out); }
.contact__list a:hover { background-size: 100% 1px; }

.form { display: grid; gap: 28px; padding-top: 12px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-dark); background: transparent;
  padding: 22px 0 10px; font: inherit; color: var(--text-dark); border-radius: 0; outline: none;
  transition: border-color .3s;
  resize: vertical;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field--select::after {
  content: "↓"; position: absolute; right: 0; bottom: 12px; font-family: var(--f-mono); color: var(--text-dark-2); pointer-events: none;
}
.field label {
  position: absolute; left: 0; top: 22px; color: var(--text-dark-2); pointer-events: none;
  transition: transform .3s var(--ease-out), font-size .3s, color .3s;
  transform-origin: left top;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); }
.field input:focus + label, .field textarea:focus + label, .field select:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label,
.field select:valid + label {
  transform: translateY(-20px); font-size: .72rem; font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep);
}
.field.error input, .field.error textarea, .field.error select { border-color: #c2452d; }
.field.error label { color: #c2452d; }
.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.form__note { color: var(--text-dark-2); text-transform: none; letter-spacing: 0; }

/* ---------- footer ---------- */
.footer { background: var(--ice); border-top: 1px solid var(--line-dark); padding: 44px 0 36px; color: var(--text-dark); }
.footer .mark { width: 44px; height: 44px; }
.footer__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer__tag { font-size: 1.5rem; text-align: center; }
.footer__tag em { color: var(--teal-deep); }
.footer__legal { justify-self: end; color: var(--text-dark-2); text-transform: none; letter-spacing: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav__phone { display: none; }
  .process__grid { grid-template-columns: 1fr; }
  .berg { position: static; max-width: 460px; }
  .library__grid { grid-template-columns: 1fr; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links, .nav__right { display: none; }
  .nav__burger { display: flex; }
  .nav__name span { display: none; }
  .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .hero__art { max-height: 420px; aspect-ratio: 5 / 4; margin-top: 8px; margin-bottom: 40px; }
  .section-head--row { grid-template-columns: 1fr; }
  .index__row { grid-template-columns: 40px 1fr 20px; }
  .index__spec { grid-column: 2; text-align: left; grid-row: 2; }
  .index__row::after { grid-column: 3; grid-row: 1; }
  .index__desc { grid-column: 2 / 4; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; text-align: left; }
  .footer__tag { text-align: left; }
  .footer__legal { justify-self: start; }
}
@media (max-width: 520px) {
  .numbers__grid { grid-template-columns: 1fr; }
  .eyebrow { flex-wrap: wrap; }
  .waterline__labels { font-size: .66rem; }
}

/* ---------- recent work (Instagram feed) ---------- */
.feed { padding-bottom: var(--section); }
.link-glow { color: var(--glow); border-bottom: 1px solid rgba(139,233,228,.4); }
.feed__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.tile {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 4px;
  background: var(--ink-2); display: block; isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.001); transition: transform .8s var(--ease-out), filter .6s;
  filter: saturate(.92);
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); filter: saturate(1.05); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6,18,27,.85));
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile__cap {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1;
  color: var(--ice); font-size: .9rem; line-height: 1.35;
  transform: translateY(8px); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .4s var(--ease-out);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tile__meta {
  position: absolute; left: 14px; top: 12px; z-index: 1; color: var(--glow);
  font-size: .66rem; opacity: 0; transform: translateY(-6px);
  transition: transform .5s var(--ease-out), opacity .4s var(--ease-out);
}
.tile:hover .tile__cap, .tile:hover .tile__meta,
.tile:focus-visible .tile__cap, .tile:focus-visible .tile__meta { opacity: 1; transform: none; }
.tile__badge {
  position: absolute; top: 12px; right: 12px; z-index: 1; width: 26px; height: 26px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(6,18,27,.55); color: var(--ice);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.tile__badge svg { width: 12px; height: 12px; fill: currentColor; }

/* loading + entrance */
.tile--skeleton {
  background: linear-gradient(100deg, var(--ink-2) 30%, var(--ink-3) 50%, var(--ink-2) 70%);
  background-size: 250% 100%; animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -150% 0; } }
.tile--in { animation: tileIn .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes tileIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.feed__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 36px; }
.feed__note { color: var(--text-light-2); text-transform: none; letter-spacing: 0; }

@media (max-width: 860px) {
  .feed__grid { grid-template-columns: repeat(2, 1fr); }
  .feed__grid .tile:nth-child(n+9) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tile--skeleton, .tile--in { animation: none; }
}

/* official Instagram embeds (curated fallback) */
.feed__grid--embeds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.embed { min-width: 0; border-radius: 6px; overflow: hidden; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-light); }
.embed .instagram-media {
  margin: 0 !important; width: 100% !important; min-width: 0 !important; max-width: none !important;
  border: 0 !important; border-radius: 6px !important; box-shadow: none !important; background: var(--ink-2) !important;
  min-height: 420px;
}
.embed .instagram-media > a { display: block; padding: 24px; color: var(--text-light-2); font-size: .9rem; }
.embed iframe { border-radius: 6px; }
@media (max-width: 860px) {
  .feed__grid--embeds { grid-template-columns: 1fr; }
  .feed__grid--embeds .embed:nth-child(n+5) { display: none; }
}

/* ---------- eyebrow link (hero) ---------- */
.eyebrow__link { color: var(--teal-deep); border-bottom: 1px solid rgba(15,125,132,.35); transition: border-color .3s; }
.eyebrow__link:hover { border-color: var(--teal-deep); }

/* ---------- reviews (rotating pull quotes) ---------- */
.quotes { padding: 0 0 var(--section); }
.quotes .label { margin-bottom: clamp(32px, 4vw, 56px); }
.quotes__stage { display: grid; position: relative; }
.quote {
  grid-area: 1 / 1; margin: 0; max-width: min(920px, 100%);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote {
  margin: 0; position: relative;
  font-size: clamp(1.7rem, 3.6vw, 3.4rem); line-height: 1.12; letter-spacing: -.01em;
  color: var(--ice); font-style: italic; max-width: 26ch; text-wrap: balance;
}
.quote blockquote::before {
  content: "\201C"; position: absolute; left: -.55em; top: -.08em;
  color: var(--teal); font-style: normal; opacity: .8;
}
.quote figcaption { margin-top: clamp(18px, 2vw, 28px); color: var(--text-light-2); }
.quotes__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 56px); }
.quotes__dots { display: flex; gap: 10px; }
.quotes__dot {
  width: 28px; height: 2px; padding: 0; border-radius: 1px; position: relative;
  background: rgba(228,238,241,.18); transition: background .3s;
}
.quotes__dot::after { content: ""; position: absolute; inset: -10px 0; }
.quotes__dot.is-active { background: var(--glow); }
.quotes__dot:hover { background: rgba(139,233,228,.6); }
.quotes .link-glow { text-transform: none; letter-spacing: 0; font-size: .82rem; }
@media (max-width: 860px) {
  .quote blockquote::before { position: static; display: block; margin-bottom: .1em; }
}
