/* =========================================================
   Ikerd Interior Painting
   Daylight / red / cobalt: broad white fields, red wayfinding
   bars, parallel geometry, drafting-sheet annotations.
   ========================================================= */

@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --wipe  { syntax: '<percentage>'; inherits: false; initial-value: -12%; }

:root {
  --daylight: #F4F4EF;
  --white: #FFFFFF;
  --concrete: #E7E8E3;
  --steel: #B9BEC6;
  --graphite: #565C68;
  --ink: #10142E;
  --ink-2: #2B3150;
  --cobalt: #1E2BB0;
  --cobalt-2: #3040D2;
  --cobalt-deep: #121A7A;
  --red: #E1262D;
  --red-deep: #B4161D;
  --tape: #4D93DF;
  --hair: rgba(16, 20, 46, .13);
  --hair-strong: rgba(16, 20, 46, .3);

  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nap: repeating-linear-gradient(180deg, var(--cobalt-2) 0 3px, var(--cobalt) 3px 6px, var(--cobalt-deep) 6px 8px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--daylight);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -.028em;
  line-height: .98;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.85rem); }
h3 { font-stretch: 112%; letter-spacing: -.015em; line-height: 1.08; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono {
  font-family: var(--f-mono);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sq { display: inline-block; flex: none; width: .55em; height: .55em; background: var(--red); margin-right: .65em; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: #fff; padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 16px; }

/* ---------- labels: wayfinding ---------- */
.label {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0 0 1.4rem;
  font-family: var(--f-mono);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--graphite);
}
.label__num { color: var(--red); }
.label__sep { color: var(--steel); }
.label::after {
  content: "";
  flex: 0 1 200px;
  min-width: 40px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-out) .2s;
}
.is-in .label::after,
html:not(.js) .label::after { transform: scaleX(1); }
.label--light { color: rgba(255, 255, 255, .78); }
.label--light .label__num { color: #fff; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  min-height: 52px;
  padding: .85em 1.35em;
  border: 0;
  border-radius: 2px;
  font-family: var(--f-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.btn--red { background: var(--red); color: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18); }
.btn--red:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn--lg { min-height: 62px; font-size: 1.2rem; padding: .9em 1.6em; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  border-bottom: 2px solid var(--cobalt);
  padding: 4px 0;
}
.link-arrow::after {
  content: "→";
  display: inline-grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  background: var(--cobalt);
  color: #fff;
  font-size: .85em;
  transition: transform .3s var(--ease-out);
}
.link-arrow:hover::after { transform: translateX(4px); }

.stripes {
  display: block;
  width: 150px;
  height: 46px;
  color: var(--red);
  background: repeating-linear-gradient(115deg, currentColor 0 3px, transparent 3px 12px);
}
.stripes--light { color: rgba(255, 255, 255, .45); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--daylight);
  border-bottom: 1px solid var(--hair);
  transition: box-shadow .3s;
}
.nav.is-scrolled { box-shadow: 0 14px 30px -26px rgba(16, 20, 46, .7); }
.nav__in { display: flex; align-items: center; gap: 30px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand__logo { width: 52px; height: 52px; border-radius: 50%; mix-blend-mode: multiply; }
.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -.02em;
}
.brand__name small {
  margin-top: 5px;
  font-family: var(--f-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--graphite);
}
.nav__links { display: flex; gap: 26px; }
.nav__links a { position: relative; padding: 6px 0; font-weight: 600; font-size: 1.03rem; text-decoration: none; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta .short { display: none; }
.nav__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  font: 700 1rem var(--f-body);
  cursor: pointer;
}
.nav__toggle-bars {
  width: 20px;
  height: 12px;
  background: linear-gradient(currentColor 0 2px, transparent 2px 5px, currentColor 5px 7px, transparent 7px 10px, currentColor 10px 12px);
}
.menu { display: grid; padding: 4px var(--gutter) 20px; border-top: 1px solid var(--hair); background: var(--daylight); }
.menu[hidden] { display: none; }
.menu a { padding: 15px 0; border-bottom: 1px solid var(--hair); font-size: 1.3rem; font-weight: 700; text-decoration: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow-x: clip; padding: clamp(36px, 5vw, 72px) 0 0; }
.hero::before {                         /* parallel lines, top right */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: min(46vw, 640px);
  height: 140px;
  background: repeating-linear-gradient(115deg, var(--hair) 0 1px, transparent 1px 14px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
          mask-image: linear-gradient(90deg, transparent, #000 40%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.hero__title { font-size: clamp(2.6rem, 6.1vw, 5rem); line-height: .94; margin-bottom: 1.6rem; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { position: relative; display: inline-block; font-style: normal; color: var(--cobalt); }
.hero__title em::after {                /* red roller stroke under "time." */
  content: "";
  position: absolute;
  left: 0; right: .2em;
  bottom: -.02em;
  height: .13em;
  background: var(--red);
  transform-origin: left;
}
.hero__lede { max-width: 34ch; font-size: 1.27rem; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 2.1rem; }

html.js .hero__title .line > span { transform: translateY(108%); transition: transform 1.05s var(--ease-out); }
html.js .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
html.js .hero__title .line:nth-child(3) > span { transition-delay: .2s; }
html.js .hero__title em::after { transform: scaleX(0); transition: transform .8s var(--ease-out) 2.5s; }
html.js .hero__lede,
html.js .hero__actions { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
html.js .hero__lede { transition-delay: .5s; }
html.js .hero__actions { transition-delay: .65s; }
html.is-loaded .hero__title .line > span,
html.is-loaded .hero__lede,
html.is-loaded .hero__actions { opacity: 1; transform: none; }
html.is-loaded .hero__title em::after { transform: scaleX(1); }

/* ---------- the wall (roller reveal) ---------- */
.wall { position: relative; margin: 0; }
.wall__frame {
  position: relative;
  aspect-ratio: 10 / 11;
  max-height: 76vh;
  overflow: hidden;
  background: var(--concrete);
  box-shadow: 0 40px 70px -46px rgba(16, 20, 46, .6);
}
.wall__primer {
  position: absolute;
  inset: 0;
  background-color: #E9EAE5;
  background-image:
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 44px 44px;
}
.wall__paint { position: absolute; inset: 0; }
.wall__paint img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 78%; }
.wall__wet { position: absolute; inset: 0; background: var(--cobalt); mix-blend-mode: multiply; }
.wall__wet::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .16) 46%, transparent 60%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .1) 0 2px, transparent 2px 9px);
}
html.js .wall__paint { clip-path: inset(0 0 100% 0); }
html:not(.js) .wall__wet,
.wall.is-done .wall__wet { display: none; }

/* painter's tape */
.tape {
  position: absolute;
  z-index: 3;
  width: 136px;
  height: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 55%),
    var(--tape);
  opacity: .92;
  clip-path: polygon(3% 0, 97% 4%, 100% 28%, 96% 52%, 100% 80%, 97% 100%, 2% 96%, 0 72%, 4% 46%, 0 20%);
  transform: rotate(var(--rot)) scale(var(--s, 1));
  transition: opacity .5s var(--ease-out) .1s, transform .5s var(--ease-out) .1s;
}
.tape--tl { --rot: -38deg; left: -68px; top: -15px; }
.tape--br { --rot: -38deg; right: -66px; bottom: -15px; }
html.js .tape { opacity: 0; --s: 1.18; }
html.is-loaded .tape { opacity: .92; --s: 1; }

/* the roller */
.roller {
  position: absolute;
  z-index: 4;
  top: 0; left: -12px; right: -12px;
  height: 60px;
  pointer-events: none;
  filter: drop-shadow(0 16px 16px rgba(16, 20, 46, .32));
  will-change: transform, opacity;
}
html.js .roller { opacity: 0; }
html:not(.js) .roller { display: none; }
.roller__drum {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, .3)),
    var(--nap);
  background-size: 100% 100%, 100% 16px;
}
.roller__cap {
  position: absolute;
  top: 7px; bottom: 7px;
  width: 11px;
  border-radius: 4px;
  background: linear-gradient(90deg, #E2E5EA, #8E949D);
}
.roller__cap--l { left: -7px; }
.roller__cap--r { right: -7px; }
.roller__frame { position: absolute; top: 0; left: calc(100% - 112px); width: 200px; height: 320px; overflow: visible; }
.roller__wire { fill: none; stroke: #A2A8B1; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.roller__ferrule { stroke: #6C727C; stroke-width: 17; }
.roller__grip { stroke: var(--red); stroke-width: 27; stroke-linecap: round; }
.roller__shine { stroke: rgba(255, 255, 255, .35); stroke-width: 5; stroke-linecap: round; }

/* ---------- specs strip ---------- */
.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 3px solid var(--ink);
}
.spec { padding: 22px 24px 30px; border-right: 1px solid var(--hair); }
.spec:first-child { padding-left: 0; }
.spec:last-child { border-right: 0; }
.spec__v {
  display: block;
  margin-bottom: 4px;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(1.6rem, 2.9vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.spec__d { display: block; font-size: 1.05rem; line-height: 1.45; color: var(--graphite); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(84px, 11vw, 160px) 0; }
.services, .process, .area { background: var(--white); }
.services { margin-top: clamp(84px, 11vw, 150px); border-top: 1px solid var(--hair); }
.sec-head { max-width: 780px; margin-bottom: clamp(44px, 5.5vw, 76px); }
.sec-head--tight { margin-bottom: 28px; }
.sec-head__sub { max-width: 42ch; margin: 1.2rem 0 0; font-size: 1.25rem; color: var(--ink-2); }

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- services: fan deck ---------- */
.deck-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.deck {
  --w: 112px;
  --h: 350px;
  --h-max: 350;
  --spread: 46;
  position: relative;
  height: calc(var(--h) + 84px);
}
.deck::after {                           /* floor line under the fan */
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: 0;
  height: 1px;
  background: var(--hair-strong);
}
.chip {
  --lift: 0px;
  --r: calc((var(--i) - 3.5) * 1.1deg);
  position: absolute;
  left: calc(50% - var(--w) / 2);
  bottom: 16px;
  width: var(--w);
  height: var(--h);
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--c);
  color: var(--t);
  text-align: left;
  cursor: pointer;
  transform-origin: 50% calc(100% - 30px);
  transform: rotate(var(--r)) translateY(var(--lift));
  transition: transform .55s var(--ease-out), box-shadow .3s;
  box-shadow:
    -3px 0 10px -4px rgba(16, 20, 46, .28),
    0 14px 26px -18px rgba(16, 20, 46, .6),
    inset 0 0 0 1px rgba(16, 20, 46, .08);
}
.deck.is-open .chip { --r: var(--a); }
.deck.is-open:not(.is-settled) .chip { transition-duration: 1.15s; transition-delay: calc(var(--i) * 55ms); }
.chip[aria-selected="true"] { --lift: -44px; box-shadow: 0 28px 40px -22px rgba(16, 20, 46, .65), inset 0 0 0 1px rgba(16, 20, 46, .1); }
.chip::before {                          /* red tab marks the pulled chip */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 7px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .4s var(--ease-out);
}
.chip[aria-selected="true"]::before { transform: scaleX(1); }
@media (hover: hover) {
  .chip:not([aria-selected="true"]):hover { --lift: -18px; }
}
.chip:focus-visible { --lift: -24px; outline-offset: 2px; }
.chip__text {
  position: absolute;
  top: 14px; bottom: 90px; left: 9px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: end;
  line-height: 1.15;
}
.chip__code { display: block; font: 600 .68rem var(--f-mono); letter-spacing: .1em; opacity: .75; }
.chip__name { display: block; margin-left: 3px; font-family: var(--f-display); font-weight: 700; font-stretch: 105%; font-size: .9rem; letter-spacing: 0; }
.chip__foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 74px;
  padding: 9px 8px 0;
  background: #fff;
  border-top: 1px solid rgba(16, 20, 46, .1);
  color: var(--ink);
  text-align: center;
}
.chip__svc { display: block; font: 600 .6rem/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.chip__rivet {
  position: absolute;
  left: 50%; bottom: 23px;
  width: 14px; height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #A3A9B2 55%, #5F6570);
}

.chip-panel {
  --pc: #EFEBE1;
  --pt: #2B2A26;
  background: #fff;
  border: 1px solid var(--hair);
  box-shadow: 0 40px 60px -48px rgba(16, 20, 46, .55);
}
.chip-panel__swatch {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 110px;
  padding: 16px 22px;
  background: var(--pc);
  color: var(--pt);
  transition: background-color .6s var(--ease-out), color .6s;
}
.chip-panel__code { font: 600 .78rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.chip-panel__body { padding: 28px 30px 34px; transition: opacity .25s, transform .35s var(--ease-out); }
.chip-panel.is-swapping .chip-panel__body { opacity: 0; transform: translateY(8px); }
.chip-panel__title { font-size: clamp(1.6rem, 2.4vw, 2.05rem); margin-bottom: 14px; }
.chip-panel__desc { font-size: 1.15rem; color: var(--ink-2); }
.chip-panel__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; }
.chip-panel__list li { position: relative; padding-left: 24px; font-weight: 600; }
.chip-panel__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--red); }

/* ---------- work ---------- */
.work__grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: start;
}
.work__index { position: sticky; top: 124px; list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.work__index a {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid var(--hair);
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 108%;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--graphite);
  text-decoration: none;
  transition: color .35s, padding .45s var(--ease-out);
}
.work__index a span { padding-top: .2em; font: 600 .8rem var(--f-mono); letter-spacing: .1em; color: var(--red); }
.work__index a::before {
  content: "";
  position: absolute;
  left: 0; top: 20px; bottom: 20px;
  width: 6px;
  background: var(--red);
  transform: scaleY(0);
  transition: transform .45s var(--ease-out);
}
.work__index a.is-active { color: var(--ink); padding-left: 22px; }
.work__index a.is-active::before { transform: scaleY(1); }
.work__index a:hover { color: var(--ink); }
.work__shots { display: grid; gap: clamp(60px, 9vw, 130px); }

.shot { margin: 0; }
.shot__img { position: relative; overflow: hidden; aspect-ratio: var(--ar, 4 / 3); background: var(--concrete); }
.shot__img img { width: 100%; height: 100%; object-fit: cover; }
.shot__img::after {                      /* wet roller band trailing the reveal */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 16%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .25), transparent 40%, rgba(0, 0, 0, .25)), var(--nap);
  background-size: 100% 100%, 100% 16px;
  transform: translateY(-100%);
}
html.js .shot__img { clip-path: inset(0 0 100% 0); transition: clip-path 1.25s var(--ease-io); }
html.js .shot.is-in .shot__img { clip-path: inset(0 0 0 0); }
html.js .shot.is-in .shot__img::after { animation: band 1.25s var(--ease-io) forwards; }
@keyframes band { to { transform: translateY(625%); } }
.shot figcaption { max-width: 56ch; margin-top: 16px; font-size: 1.08rem; color: var(--ink-2); }
.shot figcaption .mono { display: block; margin-bottom: 4px; color: var(--red); }

/* ---------- process: coat diagram ---------- */
.process { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: start;
}
.strata { position: sticky; top: 124px; }
.strata__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 3px solid var(--ink);
  font: 600 .8rem var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--graphite);
}
.strata__count b { font-family: var(--f-display); font-stretch: 125%; font-size: 2.2rem; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.strata__box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 390px;
  padding: 24px 44% 0 24px;
  border: 1px solid var(--hair);
  background-color: #FAFAF7;
  background-image:
    linear-gradient(var(--hair) 1px, transparent 1px),
    linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 26px 26px;
}
.strata__stack { display: flex; flex-direction: column-reverse; }
.stratum {
  position: relative;
  height: var(--h);
  opacity: 0;
  transform: translateY(-44px);
  transition: opacity .55s var(--ease-out), transform .8s var(--ease-out);
}
.stratum.is-on { opacity: 1; transform: none; }
.stratum--1 { --h: 118px; background: repeating-linear-gradient(45deg, #C3C7CD 0 2px, #E3E5E1 2px 10px); border-top: 2px solid #9AA0A9; }
.stratum--2 { --h: 30px; background: linear-gradient(180deg, var(--tape) 0 7px, #FBFBF8 7px); }
.stratum--3 { --h: 36px; background: #ECECE6; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .06); }
.stratum--4 { --h: 70px; background: linear-gradient(180deg, var(--cobalt-2) 0 49%, rgba(255, 255, 255, .35) 49% 51%, var(--cobalt) 51%); }
.stratum--5 { --h: 14px; background: var(--red); }
.stratum__tag {
  position: absolute;
  top: 50%;
  left: calc(100% + 70px);
  transform: translateY(-50%);
  white-space: nowrap;
  font: 600 .78rem var(--f-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.stratum__tag::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  width: 60px;
  height: 1px;
  background: var(--ink);
}
.stratum__tag::after {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  right: calc(100% + 66px);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink);
}
.strata__foot { margin: 12px 0 0; font: 600 .72rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); }

.steps { list-style: none; margin: 0; padding: 0; }
.step {
  min-height: 36vh;
  padding: 34px 0 56px;
  border-top: 1px solid var(--hair);
  opacity: .5;
  transition: opacity .5s;
}
.step.is-on { opacity: 1; }
.step__n { display: block; margin-bottom: 10px; font: 600 .85rem var(--f-mono); letter-spacing: .12em; color: var(--red); }
.step h3 { font-size: clamp(1.55rem, 2.4vw, 2rem); margin-bottom: 12px; }
.step p { max-width: 40ch; font-size: 1.17rem; color: var(--ink-2); }

/* ---------- about ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}
.family { position: relative; max-width: 500px; }
.bio p { max-width: 52ch; color: var(--ink-2); }
.bio .bio__lead { font-size: 1.3rem; line-height: 1.5; font-weight: 600; color: var(--ink); }

/* logo stamp on the family photo; it brushes itself in once the photo has rolled on */
.badge {
  position: absolute;
  z-index: 2;
  top: -7%; right: -11%;
  display: grid;
  place-items: center;
  width: 40%;
  max-width: 210px;
  aspect-ratio: 1;
}
.badge__ticks { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.badge__ticks circle {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  stroke-dasharray: .0035 .0085;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 2.4s var(--ease-out);
}
.badge.is-in .badge__ticks circle { transform: rotate(40deg); }
.badge__disc {
  position: relative;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px var(--hair), 0 34px 60px -38px rgba(16, 20, 46, .55);
}
.badge__disc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* outer brush ring sweeps around, then the "Ikerd" wordmark wipes across */
.badge__ring {
  -webkit-mask-image:
    radial-gradient(33.5% 33.5% at 51% 50%, transparent 99%, #000 100%),
    conic-gradient(from 20deg at 51% 50%, #000 calc(var(--sweep) - 14deg), transparent var(--sweep));
          mask-image:
    radial-gradient(33.5% 33.5% at 51% 50%, transparent 99%, #000 100%),
    conic-gradient(from 20deg at 51% 50%, #000 calc(var(--sweep) - 14deg), transparent var(--sweep));
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  transition: --sweep 1.7s var(--ease-io) .9s;
}
.badge__word {
  -webkit-mask-image:
    radial-gradient(33.5% 33.5% at 51% 50%, #000 99%, transparent 100%),
    linear-gradient(90deg, #000 var(--wipe), transparent calc(var(--wipe) + 10%));
          mask-image:
    radial-gradient(33.5% 33.5% at 51% 50%, #000 99%, transparent 100%),
    linear-gradient(90deg, #000 var(--wipe), transparent calc(var(--wipe) + 10%));
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  transition: --wipe 1.1s var(--ease-out) 2.3s;
}
.badge.is-in .badge__ring, html:not(.js) .badge__ring { --sweep: 380deg; }
.badge.is-in .badge__word, html:not(.js) .badge__word { --wipe: 110%; }

.review {
  margin: 34px 0 0;
  padding: 26px 30px 24px;
  background: #fff;
  border-left: 6px solid var(--red);
  box-shadow: 0 30px 50px -40px rgba(16, 20, 46, .5);
}
.review__label { display: flex; align-items: center; margin: 0 0 10px; font: 600 .74rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.review__text { margin: 0 0 14px; font-size: 1.28rem; font-weight: 600; line-height: 1.5; }
.review__cite { font: 600 .78rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }

/* ---------- service area: range rings ---------- */
.area__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: center;
}
.area__copy > p { max-width: 42ch; font-size: 1.2rem; }
.radar { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-left: auto; }
.radar svg { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
.radar__grid line { stroke: var(--hair-strong); stroke-width: 1; stroke-dasharray: 4 7; }
.radar__ring { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.radar__ring--1 { fill: rgba(225, 38, 45, .07); stroke: var(--red); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-io) .2s; }
.radar__ring--2 { stroke: var(--cobalt); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease-io) .5s; }
.radar__ring--3 {
  stroke-dasharray: .006 .007;
  opacity: 0;
  transform: scale(.86);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 1s var(--ease-out) .9s, transform 1.4s var(--ease-out) .9s;
}
.radar.is-in .radar__ring--1, .radar.is-in .radar__ring--2 { stroke-dashoffset: 0; }
.radar.is-in .radar__ring--3 { opacity: 1; transform: none; }
.radar__lbl {
  font: 600 13px var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-anchor: middle;
  fill: var(--ink);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 10px;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity .8s var(--ease-out);
}
.radar__lbl--red { fill: var(--red); }
.radar.is-in .radar__lbl { opacity: 1; }
.radar.is-in .radar__lbl:nth-child(1) { transition-delay: .9s; }
.radar.is-in .radar__lbl:nth-child(2) { transition-delay: 1.2s; }
.radar.is-in .radar__lbl:nth-child(3) { transition-delay: 1.5s; }
.radar__dot { fill: var(--red); }
.radar__pulse {
  fill: none;
  stroke: var(--red);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 2.6s var(--ease-out) infinite;
}
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(4); opacity: 0; } }
.radar__home { font-family: var(--f-display); font-weight: 800; font-stretch: 115%; font-size: 21px; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 6px; }
.radar__coord { font: 600 12px var(--f-mono); letter-spacing: .1em; fill: var(--graphite); }
.radar__sweep {
  position: absolute;
  inset: 4.6%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(30, 43, 176, .16) 58deg, transparent 59deg);
  opacity: 0;
}
.radar.is-in .radar__sweep { animation: sweep 2.6s var(--ease-io) .5s forwards; }
@keyframes sweep {
  0% { opacity: 0; transform: rotate(-60deg); }
  15%, 80% { opacity: 1; }
  100% { opacity: 0; transform: rotate(300deg); }
}

/* ---------- contact ---------- */
.contact { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.contact__edge { display: block; width: 100%; height: 40px; margin-bottom: -1px; fill: var(--cobalt); }
.contact__band {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 124px);
  background: var(--cobalt);
  color: #fff;
}
.contact__band::before {                 /* subtle roller nap texture */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 10px);
  pointer-events: none;
}
.contact__band::after {                  /* roller band trailing the reveal */
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 6%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .28), transparent 40%, rgba(0, 0, 0, .28)),
    repeating-linear-gradient(90deg, var(--cobalt-2) 0 3px, var(--cobalt) 3px 6px, var(--cobalt-deep) 6px 8px);
  transform: translateX(-100%);
  pointer-events: none;
}
/* clip the children, not .contact itself: a clipped target never reports as on screen */
html.js .contact > * { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-io); }
html.js .contact.is-in > * { clip-path: inset(0 0 0 0); }
html.js .contact.is-in .contact__band::after { animation: band-x 1.4s var(--ease-io) forwards; }
@keyframes band-x { to { transform: translateX(1667%); } }
.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact h2 { font-size: clamp(2rem, 4vw, 3.35rem); color: #fff; }
.contact__phone {
  display: inline-block;
  margin: 30px 0 34px;
  padding-bottom: 6px;
  border-bottom: 6px solid var(--red);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .3s;
}
.contact__phone:hover { border-color: #fff; }
.contact__list { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 12px; font-size: 1.15rem; }
.contact__list li { display: grid; grid-template-columns: 118px 1fr; align-items: baseline; }
.contact__list .mono { color: rgba(255, 255, 255, .7); }
.contact__list a { color: #fff; overflow-wrap: anywhere; }

.form {
  padding: clamp(24px, 3.4vw, 40px);
  background: #fff;
  color: var(--ink);
  border-top: 8px solid var(--red);
  box-shadow: 0 50px 80px -50px rgba(0, 0, 0, .6);
}
.form h3 { font-size: 1.65rem; margin-bottom: 8px; }
.form__note { font-size: 1rem; color: var(--graphite); margin-bottom: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: grid; gap: 6px; margin: 0 0 16px; }
.field > span, .field legend { font-weight: 700; font-size: 1rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 2px solid #C5CAD1;
  border-radius: 2px;
  background: #FBFBF9;
  color: var(--ink);
  font: inherit;
  font-size: 1.125rem;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cobalt); outline: 3px solid rgba(30, 43, 176, .22); outline-offset: 1px; }
.field--radios { display: flex; flex-wrap: wrap; gap: 8px 22px; border: 0; padding: 0; margin: 4px 0 22px; }
.field--radios legend { width: 100%; margin-bottom: 8px; padding: 0; }
.field--radios label { display: inline-flex; align-items: center; gap: 9px; font-size: 1.1rem; cursor: pointer; }
.field--radios input { width: 22px; height: 22px; min-height: 0; accent-color: var(--cobalt); }
.form__send { width: 100%; justify-content: center; }
.form__send:disabled { cursor: progress; opacity: .75; transform: none; }
.form__error { margin: 14px 0 0; color: var(--red-deep); font-weight: 700; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__done { padding: 12px 0 8px; outline: none; }
.form__done h3 { margin: 22px 0 10px; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.form__done-text { font-size: 1.2rem; color: var(--ink-2); }
.form__done-small { margin: 0; font-size: 1.02rem; color: var(--graphite); }
.form__check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--red);
  animation: chip-in .6s var(--ease-out) both;
}
.form__check svg { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form__check path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: check-draw .5s var(--ease-out) .35s forwards; }
.form__done > :not(.form__check) { animation: rise .7s var(--ease-out) both; }
.form__done > h3 { animation-delay: .2s; }
.form__done > p { animation-delay: .3s; }
@keyframes chip-in { from { transform: scale(.4) rotate(-12deg); opacity: 0; } }
@keyframes check-draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }

/* ---------- footer ---------- */
.footer { padding: 64px 0 30px; border-top: 8px solid var(--red); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 36px; }
.footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.footer__brand img { width: 72px; height: 72px; border-radius: 50%; mix-blend-mode: multiply; }
.footer__brand p { margin: 0; line-height: 1.5; }
.footer .mono { margin: 0 0 10px; color: var(--red); }
.footer a { text-decoration: none; line-height: 1.9; }
.footer a:hover { text-decoration: underline; }
.footer__big { font-family: var(--f-display); font-weight: 800; font-stretch: 118%; font-size: 1.55rem; letter-spacing: -.02em; white-space: nowrap; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  font-size: .95rem;
  color: var(--graphite);
}

/* ---------- mobile call bar ---------- */
.callbar {
  position: fixed;
  z-index: 60;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  border-radius: 2px;
  background: var(--red);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 1.15rem;
  text-decoration: none;
  box-shadow: 0 18px 30px -14px rgba(16, 20, 46, .55), inset 0 -4px 0 rgba(0, 0, 0, .18);
  transform: translateY(160%);
  transition: transform .45s var(--ease-out);
}
.callbar.show { transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  .hero__grid,
  .deck-wrap,
  .work__grid,
  .process__grid,
  .about__grid,
  .area__grid,
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .wall { max-width: 600px; }
  .wall__frame { aspect-ratio: 1; }
  .work__index { display: none; }
  .strata { position: relative; top: auto; }
  .step { min-height: 0; opacity: 1; padding: 28px 0 36px; }
  .family { margin-right: 28px; }
  .about__copy { order: -1; }
  .radar { margin: 0 auto; max-width: 440px; }
  .callbar { display: flex; }
  .footer { padding-bottom: 110px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1.125rem; }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .spec { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-right: 0; }
  .spec + .spec { border-top: 1px solid var(--hair); }
  .spec__v { flex: none; margin: 0; font-size: 1.55rem; }
  .nav__in { gap: 12px; min-height: 72px; }
  .brand__logo { width: 44px; height: 44px; }
  .brand__name { font-size: 1.3rem; }
  .brand__name small { font-size: .6rem; letter-spacing: .12em; }
  .nav__cta { padding: .7em 1em; }
  .nav__cta .long { display: none; }
  .nav__cta .short { display: inline; }
  .nav__toggle span:last-child { display: none; }
  .tape { width: 104px; height: 24px; }
  .tape--tl { left: -52px; top: -12px; }
  .tape--br { right: -52px; bottom: -12px; }
  /* on phones the deck spreads into full-width strips so every service name reads in full */
  .deck { display: grid; gap: 6px; height: auto; }
  .deck::after { display: none; }
  .chip {
    --ty: calc(var(--i) * -64px);
    position: relative;
    left: auto; bottom: auto;
    width: 100%;
    height: 58px;
    border-radius: 4px;
    transform-origin: left center;
    transform: translateY(var(--ty)) translateX(var(--lx, 0px)) rotate(calc((var(--i) - 3.5) * .45deg));
  }
  .deck.is-open .chip { --ty: 0px; }
  .chip[aria-selected="true"] { --lx: 14px; }
  .chip::before { top: 0; bottom: 0; right: auto; width: 8px; height: auto; transform: scaleY(0); }
  .chip[aria-selected="true"]::before { transform: scaleY(1); }
  .chip__text {
    inset: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px 0 22px;
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
  }
  .chip__code { font-size: .64rem; white-space: nowrap; }
  .chip__name { margin: 0; font-size: 1.08rem; }
  .chip__foot, .chip__rivet { display: none; }
  .chip-panel__body { padding: 24px 22px 28px; }
  .strata__box { height: 330px; padding-right: 46%; }
  .stratum__tag { left: calc(100% + 44px); font-size: .68rem; }
  .stratum__tag::before { width: 34px; }
  .stratum__tag::after { right: calc(100% + 40px); }
  .form__row { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .brand__name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
}
