/* ==========================================================================
   Mabe's Bulkheads & Piling Services Inc - preview build by NH Media Web
   Marine bulkheads and pilings, Galveston, Texas.
   Two self-hosted variable families. No external requests of any kind.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-latin-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('fonts/sourceserif4-latin-var.woff2') format('woff2-variations');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:      #0B1F24;
  --ink-deep: #071619;
  --ink-lift: #122C31;
  --ink-line: #1E3B41;

  --shell:    #F2EFE9;
  --shell-2:  #E6E1D6;
  --shell-ln: #D3CCBC;

  --cedar:      #C8763A;
  --cedar-text: #E79A5B;   /* accent type on dark ground */
  --cedar-deep: #96501C;   /* accent type on light ground */

  --tide:      #8FBDBA;
  --tide-deep: #1E5058;

  --on-dark:     #F0EDE6;
  --on-dark-mut: #BCCBCB;
  --on-light:    #14272B;
  --on-light-mut:#4A5C60;

  --shell-w: 1240px;
  --pad: clamp(20px, 5vw, 48px);

  --disp: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.72;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--disp);
  font-weight: 750;
  font-stretch: 84%;
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.shell { width: 100%; max-width: var(--shell-w); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--cedar); color: #17100A; padding: 12px 20px;
  font-family: var(--disp); font-weight: 700; text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--cedar-text); outline-offset: 3px; }

/* ------------------------------------------------------- preview banner */
.pbar { background: var(--ink-deep); border-bottom: 1px solid var(--ink-line); }
.pbar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 11px; padding-bottom: 11px; }
.pbar-txt { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--on-dark-mut); max-width: 62ch; }
.pbar-acts { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pbar-btn {
  font-family: var(--disp); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  background: var(--cedar); color: #16100A; padding: 9px 16px; text-decoration: none; border-radius: 2px;
}
.pbar-btn:hover { background: var(--cedar-text); }
.pbar-mail { font-size: 14px; color: var(--tide); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------- masthead */
.mast { position: sticky; top: 0; z-index: 60; background: rgba(11, 31, 36, .94); border-bottom: 1px solid var(--ink-line); backdrop-filter: blur(8px); }
.mast-in { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 50px; height: 50px; flex: none; border-radius: 7px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--disp); font-weight: 800; font-stretch: 80%; font-size: 21px; letter-spacing: .004em; }
.brand-sub { font-family: var(--disp); font-weight: 600; font-stretch: 90%; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tide); margin-top: 3px; }

.nav { display: flex; gap: 26px; }
.nav a { font-family: var(--disp); font-weight: 650; font-stretch: 92%; font-size: 14.5px; letter-spacing: .03em; text-decoration: none; color: var(--on-dark-mut); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--on-dark); border-bottom-color: var(--cedar); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--disp); font-weight: 750; font-stretch: 88%; font-size: 15px; letter-spacing: .03em;
  text-decoration: none; padding: 13px 22px; border-radius: 2px; border: 2px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-solid { background: var(--cedar); color: #16100A; }
.btn-solid:hover { background: #E08F4F; }
.btn-ghost { border-color: rgba(240,237,230,.42); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--cedar); color: var(--cedar-text); }
.btn-lg { font-size: 17px; padding: 16px 28px; }
.mast-call { flex: none; }

.burger { display: none; width: 46px; height: 42px; background: none; border: 1px solid var(--ink-line); border-radius: 2px; cursor: pointer; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; background: var(--on-dark); margin: 4px auto; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; background: var(--ink-deep); }
.hero-img {
  position: absolute; inset: 0;
  background-image: url('assets/img/stock-hero-bulkhead.jpg');
  background-size: cover; background-position: 70% 78%; background-color: #123038;
  filter: brightness(1.26) contrast(1.04);
  animation: kb 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kb {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.15) translate3d(-1.6%, -1.4%, 0); }
}
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(102deg, rgba(6,17,20,.955) 0%, rgba(6,17,20,.90) 42%, rgba(6,17,20,.56) 72%, rgba(6,17,20,.36) 100%); }
.hero-scrim-b { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,17,20,.55) 0%, rgba(6,17,20,0) 34%, rgba(6,17,20,.62) 100%); }

.hero-in { position: relative; padding-top: clamp(74px, 12vh, 132px); padding-bottom: clamp(66px, 11vh, 118px); }
.hero-copy { max-width: 40ch; }

.lab { display: inline-flex; align-items: center; gap: 13px; font-family: var(--disp); font-weight: 700; font-stretch: 96%; font-size: 13px; letter-spacing: .17em; text-transform: uppercase; margin: 0 0 22px; }
.lab::before { content: ""; width: 30px; height: 2px; background: var(--cedar); flex: none; }
.lab-d { color: var(--tide); }
.lab-l { color: var(--cedar-deep); }

.hero-h { font-size: clamp(42px, 6.6vw, 74px); font-weight: 800; font-stretch: 78%; line-height: .99; letter-spacing: -.018em; margin: 0 0 24px; }
.hero-h .w { display: inline-block; opacity: 0; transform: translateY(16px); animation: wIn .62s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes wIn { to { opacity: 1; transform: none; } }
.hero-h .w:nth-child(1) { animation-delay: .05s }
.hero-h .w:nth-child(2) { animation-delay: .11s }
.hero-h .w:nth-child(3) { animation-delay: .17s }
.hero-h .w:nth-child(4) { animation-delay: .23s }
.hero-h .w:nth-child(5) { animation-delay: .29s }
.hero-h .w:nth-child(6) { animation-delay: .35s }
.hero-h .w:nth-child(7) { animation-delay: .41s }
.hero-h .w:nth-child(8) { animation-delay: .47s }

.hero-p { font-size: clamp(17px, 1.5vw, 20px); color: #E4E7E4; max-width: 46ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 34px; }

.hero-card {
  display: inline-flex; flex-direction: column; gap: 3px; margin: 0;
  background: rgba(7,20,23,.80); border: 1px solid rgba(200,118,58,.55); border-left: 3px solid var(--cedar);
  padding: 15px 22px 16px; max-width: 34ch;
}
.hero-card-k { font-family: var(--disp); font-weight: 750; font-stretch: 92%; font-size: 12.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--cedar-text); }
.hero-card-v { font-size: 16.5px; line-height: 1.45; color: #E7EAE7; }
.hero-card-s { font-family: var(--disp); font-weight: 600; font-size: 12px; letter-spacing: .05em; color: var(--on-dark-mut); margin-top: 5px; }

/* --------------------------------------------------------- record strip */
.record { background: var(--ink-lift); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.record-in { padding-top: 42px; padding-bottom: 44px; }
.record-h { font-family: var(--disp); font-weight: 700; font-stretch: 96%; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--tide); margin: 0 0 22px; }
.record-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); }
.rec { background: var(--ink-lift); padding: 22px 24px 24px; }
.rec-k { font-family: var(--disp); font-weight: 800; font-stretch: 84%; font-size: 26px; letter-spacing: -.005em; margin: 0 0 7px; color: var(--on-dark); }
.rec-v { font-size: 16px; line-height: 1.55; color: #D4DCDA; margin: 0 0 9px; }
.rec-s { font-family: var(--disp); font-weight: 600; font-stretch: 96%; font-size: 11.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--tide); margin: 0; }

/* -------------------------------------------------------- section basics */
.sec { padding-top: clamp(64px, 9vw, 104px); padding-bottom: clamp(64px, 9vw, 104px); }
.sec-dark { background: var(--ink); }
.sec-deep { background: var(--ink-deep); }
.sec-light { background: var(--shell); color: var(--on-light); }
.dotted { background-image: radial-gradient(rgba(143,189,186,.14) 1px, transparent 1px); background-size: 22px 22px; }

.sec-head { max-width: 62ch; margin-bottom: clamp(34px, 4.5vw, 54px); }
.sec-h { font-size: clamp(32px, 4.1vw, 53px); font-weight: 780; font-stretch: 80%; line-height: 1.02; letter-spacing: -.016em; margin: 0 0 16px; }
.sec-lede { font-size: 19px; color: var(--on-dark-mut); margin: 0; max-width: 56ch; }
.sec-light .sec-lede { color: var(--on-light-mut); }

/* ------------------------------------------------------------- services */
.svc-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: start; }
.svc-col { display: grid; gap: 22px; align-content: start; }

.svc {
  background: rgba(255,255,255,.045); border: 1px solid rgba(143,189,186,.20);
  padding: 30px 30px 32px; display: flex; flex-direction: column;
}
.svc-feat { padding: 0; overflow: hidden; }
.svc-fig { margin: 0; }
.svc-shot { position: relative; aspect-ratio: 16 / 9; background: #123038; overflow: hidden; }
.svc-shot img { width: 100%; height: 100%; object-fit: cover; }
.svc-feat .svc-fig .cap { padding: 12px 30px 0; }
.svc-feat-body { padding: 20px 30px 32px; }
.svc .svc-fig { margin-top: 22px; }
.svc-t {
  width: 54px; height: 54px; border-radius: 4px; background: rgba(200,118,58,.16);
  border: 1px solid rgba(200,118,58,.42); display: grid; place-items: center; color: var(--cedar-text); margin-bottom: 20px;
}
.svc-t svg { width: 27px; height: 27px; }
.svc h3 { font-size: 23px; font-weight: 780; font-stretch: 86%; margin: 0 0 11px; }
.svc-feat h3 { font-size: 30px; }
.svc p { font-size: 16.5px; line-height: 1.66; color: #CFDAD8; margin: 0; }

.cap {
  font-family: var(--disp); font-weight: 500; font-stretch: 100%; font-size: 12.5px; letter-spacing: .015em;
  line-height: 1.6; color: #9FB1B0; margin: 10px 0 0;
}
.sec-light .cap { color: #59696D; }
.cap-note { display: block; margin-top: 5px; max-width: 62ch; }

/* -------------------------------------------------------- explained slot */
.slot {
  border: 2px dashed rgba(200,118,58,.62); background: rgba(200,118,58,.07);
  padding: 26px 28px 28px;
}
.sec-light .slot { border-color: rgba(150,80,28,.55); background: rgba(150,80,28,.06); }
.slot-k {
  font-family: var(--disp); font-weight: 800; font-stretch: 88%; font-size: 14px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--cedar-text); margin: 0 0 12px;
}
.sec-light .slot-k { color: var(--cedar-deep); }
.slot p { font-size: 16px; line-height: 1.68; color: #CFDAD8; margin: 0 0 .85em; }
.sec-light .slot p { color: var(--on-light-mut); }
.slot p:last-child { margin-bottom: 0; }
.slot-wide { grid-column: 1 / -1; }

/* ----------------------------------------------------------- the anatomy */
.anat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.anat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.anat-list li { display: grid; grid-template-columns: 62px 1fr; gap: 20px; align-items: start; }
.anat-n { font-family: var(--disp); font-weight: 800; font-stretch: 76%; font-size: 46px; line-height: .9; color: var(--cedar-deep); }
.sec-dark .anat-n, .sec-deep .anat-n { color: var(--cedar-text); }
.anat-list h3 { font-size: 21px; font-weight: 780; font-stretch: 88%; margin: 4px 0 8px; }
.anat-list p { font-size: 16.5px; line-height: 1.66; margin: 0; color: var(--on-light-mut); }
.anat-fig { margin: 0; position: sticky; top: 96px; }
.anat-fig img { width: 100%; border: 1px solid var(--shell-ln); }

/* -------------------------------------------------------------- diagram */
.diag { width: 100%; height: auto; display: block; background: var(--ink-deep); border: 1px solid var(--ink-line); }
.d-bg     { fill: #071619; }
.d-water  { fill: #1E5058; }
.d-wave   { fill: none; stroke: #8FBDBA; stroke-width: 5; stroke-linecap: round; }
.d-wave-2 { opacity: .5; }
.d-fill   { fill: #6B5D42; }
.d-hatch  { stroke: #443C2A; stroke-width: 5; opacity: .5; }
.d-rod    { stroke: #A7BCBA; stroke-width: 6; stroke-linecap: round; }
.d-anchor { fill: #A7BCBA; }
.d-wall   { fill: #C8763A; }
.d-seam   { stroke: #8C4C21; stroke-width: 3; }
.d-mud    { stroke: #04090B; stroke-width: 8; }
.d-cap    { fill: #E9E3D6; }
.d-lead   { stroke: #8FBDBA; stroke-width: 1.6; opacity: .8; fill: none; }
.d-lab text {
  font-family: var(--disp); font-weight: 700; font-stretch: 96%; font-size: 17px;
  letter-spacing: .1em; text-transform: uppercase; fill: #D8E4E2;
}
.d-lab .d-lab-r { text-anchor: end; }
.d-lab .d-lab-c { text-anchor: middle; }

/* ------------------------------------------------------------------ area */
.area-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 54px); align-items: start; }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(143,189,186,.20); border: 1px solid rgba(143,189,186,.20); }
.area-list li { background: var(--ink); padding: 20px 24px; }
.area-n { font-family: var(--disp); font-weight: 780; font-stretch: 88%; font-size: 20px; margin: 0 0 5px; }
.area-d { font-size: 15.5px; color: var(--on-dark-mut); margin: 0; }
.area-src { font-family: var(--disp); font-weight: 600; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--tide); margin: 7px 0 0; }

/* ---------------------------------------------------------- what to expect */
.exp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.exp { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; background: var(--shell-2); padding: 24px 26px 26px; border-left: 3px solid var(--cedar); }
.exp-t { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--tide); display: grid; place-items: center; }
.exp-t svg { width: 22px; height: 22px; }
.exp h3 { font-size: 20px; font-weight: 780; font-stretch: 88%; margin: 2px 0 8px; }
.exp p { font-size: 16.5px; line-height: 1.64; color: var(--on-light-mut); margin: 0; }

/* --------------------------------------------------------------- the call */
.call { background: var(--cedar); color: #170F09; }
.call-in { padding-top: clamp(52px, 7vw, 82px); padding-bottom: clamp(52px, 7vw, 82px); display: grid; grid-template-columns: 1.15fr auto; gap: 32px; align-items: center; }
.call h2 { font-size: clamp(29px, 3.6vw, 46px); font-weight: 800; font-stretch: 80%; line-height: 1.03; margin: 0 0 12px; color: #150E08; }
.call p { font-size: 17.5px; margin: 0; color: #2A1B0B; max-width: 48ch; }
.call-num { font-family: var(--disp); font-weight: 800; font-stretch: 80%; font-size: clamp(30px, 4.3vw, 45px); letter-spacing: -.01em; text-decoration: none; color: #150E08; white-space: nowrap; display: inline-block; border-bottom: 3px solid rgba(21,14,8,.35); padding-bottom: 4px; }
.call-num:hover { border-bottom-color: #150E08; }
.call-side { text-align: right; }
.call-side-k { font-family: var(--disp); font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #2A1B0B; margin: 0 0 8px; }

/* --------------------------------------------------------------- request */
.req-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.req-lede { font-size: 17.5px; color: var(--on-dark-mut); }
.req-confirm { font-family: var(--disp); font-weight: 700; font-stretch: 94%; font-size: 15px; color: var(--cedar-text); }
.req-side { border-top: 1px solid var(--ink-line); margin-top: 26px; padding-top: 22px; display: grid; gap: 4px; }
.rs-k { font-family: var(--disp); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--tide); margin: 12px 0 0; }
.rs-v { font-size: 17px; margin: 0; }
.rs-v a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(200,118,58,.7); }

.req-form { background: rgba(255,255,255,.04); border: 1px solid rgba(143,189,186,.22); padding: 28px 28px 30px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { display: grid; gap: 6px; margin: 0 0 16px; }
.f label { font-family: var(--disp); font-weight: 700; font-stretch: 94%; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-mut); }
.f input, .f select, .f textarea {
  font-family: var(--body); font-size: 16px; color: #98A8A8;
  background: rgba(7,20,23,.55); border: 1px dashed rgba(143,189,186,.40); border-radius: 2px;
  padding: 11px 13px; width: 100%;
}
.f textarea { min-height: 108px; resize: vertical; }
.f-note { font-family: var(--disp); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; color: #98A8A8; margin: -6px 0 16px; }
.f-send {
  font-family: var(--disp); font-weight: 780; font-stretch: 88%; font-size: 15.5px; letter-spacing: .04em;
  background: none; color: #8FA0A0; border: 2px dashed #6E8080; border-radius: 2px; padding: 14px 26px; width: 100%; cursor: not-allowed;
}
.f-off { font-family: var(--disp); font-weight: 600; font-size: 13px; letter-spacing: .05em; color: #8FA0A0; margin: 12px 0 0; text-align: center; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--ink-deep); border-top: 3px solid var(--cedar); }
.foot-in { padding-top: 56px; padding-bottom: 34px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
.foot h2 { font-family: var(--disp); font-weight: 700; font-stretch: 96%; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tide); margin: 0 0 14px; }
.foot p, .foot li { font-size: 16px; color: #C2CFCE; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: #DCE5E3; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(200,118,58,.6); }
.foot-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.foot-brand img { width: 46px; height: 46px; border-radius: 6px; }
.foot-brand span { font-family: var(--disp); font-weight: 800; font-stretch: 80%; font-size: 20px; }

.about { border-top: 1px solid var(--ink-line); margin-top: 10px; padding-top: 26px; padding-bottom: 26px; }
.about h2 { font-family: var(--disp); font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--tide); margin: 0 0 12px; }
.about p { font-size: 15px; line-height: 1.68; color: #A8B8B7; max-width: 88ch; }

.bottom { border-top: 1px solid var(--ink-line); padding-top: 20px; padding-bottom: 26px; }
.bottom p { font-size: 14px; color: #93A5A4; margin: 0; }

/* ------------------------------------------------------------------- fab */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 62px; height: 62px; border-radius: 50%; background: var(--cedar); color: #16100A;
  display: grid; place-items: center; text-decoration: none;
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
  animation: pulse 3.4s ease-in-out infinite;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.fab.on { opacity: 1; visibility: visible; transform: none; }
.fab svg { width: 27px; height: 27px; }
@keyframes pulse {
  0%, 72%, 100% { box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 0 rgba(200,118,58,.5); }
  86% { box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 16px rgba(200,118,58,0); }
}

/* -------------------------------------------------------------- reveals */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .07s; }
.reveal:nth-child(3) { transition-delay: .14s; }
.reveal:nth-child(4) { transition-delay: .21s; }

/* ------------------------------------------------------------ furniture */
.furniture { }

/* =============================================================== 1000px */
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: 1fr; }
  .anat-grid, .area-grid, .req-in { grid-template-columns: 1fr; }
  .anat-fig { position: static; }
  .call-in { grid-template-columns: 1fr; }
  .call-side { text-align: left; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .record-grid { grid-template-columns: 1fr; }
}

/* ================================================================ 860px */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink-deep); border-bottom: 1px solid var(--ink-line);
    padding: 10px var(--pad) 18px;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--ink-line); }
  .mast { position: relative; }
  .mast-in { position: relative; flex-wrap: wrap; }
  .burger { display: block; order: 3; }
  .mast-call { display: none; }
  .exp-grid { grid-template-columns: 1fr; }
}

/* ================================================================ 620px */
@media (max-width: 620px) {
  body { font-size: 17px; }
  .pbar-in { padding-top: 13px; padding-bottom: 13px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 10.5px; letter-spacing: .11em; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-card { max-width: none; }
  .f-row { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .anat-list li { grid-template-columns: 46px 1fr; gap: 14px; }
  .anat-n { font-size: 34px; }
  .exp { grid-template-columns: 1fr; gap: 12px; }
  .req-form { padding: 22px 20px 24px; }
  .fab { width: 56px; height: 56px; right: 15px; bottom: 15px; }
  .rec-k { font-size: 23px; }
}

/* ---------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-h .w { opacity: 1; transform: none; }
}
