/* Private A / V3. STORM source palette; all assets and shared behavior stay local. */
@font-face {
  font-family: "Cormorant Local";
  src: url("../fonts/CormorantGaramond.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --cream: #eae1d2;
  --paper: #ffffff;
  --ink: #000000;
  --muted: rgb(0 0 0 / 72%);
  --line: rgb(0 0 0 / 22%);
  --oak: #000000;
  --focus: #000000;
  --gutter: clamp(24px, 5vw, 104px);
  --hero-height: clamp(720px, calc(100svh - 148px), 1040px);
  background: var(--paper);
  scrollbar-color: var(--ink) var(--cream);
}
body { background: var(--paper); }
::selection { background: var(--ink); color: var(--cream); }
:focus-visible { outline-color: var(--ink); }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.wrap { width: min(calc(100% - var(--gutter) * 2), 1440px); }
.site-header { background: var(--cream); border: 0; position: relative; z-index: 5; }
.header-inner { min-height: 80px; gap: 32px; }
.wordmark-main { font-size: 24px; font-weight: 550; letter-spacing: .21em; }
.wordmark-sub { font-size: 11px; letter-spacing: .28em; margin-top: 6px; }
.wordmark { flex-shrink: 0; }
.storm-logo { display: block; width: 174px; max-width: 100%; height: auto; aspect-ratio: 1364.873 / 383.404; object-fit: contain; }
.site-nav { gap: 36px; font-size: 12px; }
.site-nav .nav-contact { border: 0; }
.menu-toggle { border: 0; padding-inline: 12px 0; gap: 12px; }
.menu-toggle span { font-size: 18px; }
.hero-premium { display: block; position: relative; isolation: isolate; padding: 0; }
.hero-media { position: relative; margin: 0; width: 100%; }
.hero-premium .image-frame {
  height: var(--hero-height);
  aspect-ratio: auto;
  overflow: hidden;
  background: var(--cream);
}
/* Identical full-size cover transform and right/bottom anchor for BOTH layers.
   No scaling, panning, or animation; the embedded KI signet stays at the edge. */
.hero-premium .image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  transform: none;
}
.hero-shade {
  position: absolute;
  inset: 0 0 auto;
  height: var(--hero-height);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(0 0 0 / 87%) 0%, rgb(0 0 0 / 72%) 27%, rgb(0 0 0 / 46%) 46%, transparent 80%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 84%);
}
.hero-copy {
  position: absolute;
  top: clamp(44px, 4.2vw, 90px);
  left: var(--gutter);
  width: min(820px, calc(100% - var(--gutter) * 2));
  padding: 0;
  z-index: 2;
  color: var(--paper);
  pointer-events: none;
}
.hero-copy h1 {
  font-family: "Cormorant Local", Georgia, serif;
  font-weight: 400;
  font-size: clamp(64px, 6.1vw, 96px);
  letter-spacing: -.032em;
  line-height: .99;
  max-width: none;
  margin: 0 0 28px;
  text-wrap: initial;
}
.hero-copy h1 > span { display: block; }
.hero-subline {
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .005em;
  color: var(--paper);
  max-width: 32em;
  margin: 0 0 28px;
}
.hero-actions { gap: 30px; }
.hero-copy a { pointer-events: auto; }
.hero-copy .button {
  min-height: 52px;
  padding: 15px 21px;
  border: 1px solid var(--cream);
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
  gap: 25px;
}
.hero-copy .button:hover { background: var(--paper); border-color: var(--paper); }
.hero-copy .text-link { color: var(--paper); font-size: 12px; gap: 15px; }
.hero-copy a:focus-visible { outline-color: var(--paper); }
.hero-disclosure {
  color: var(--paper);
  font-size: 12px;
  line-height: 1.6;
  margin: 22px 0 0;
  max-width: none;
}
.hero-disclosure::before { content: none; }
.hero-premium .comparison-divider {
  top: 0;
  bottom: 10%;
  width: 1px;
  background: rgb(255 255 255 / 70%);
  box-shadow: none;
}
.hero-premium .comparison-handle {
  top: 76%;
  left: clamp(30px, var(--reveal), calc(100% - 30px));
  width: 54px;
  height: 54px;
  background: var(--cream);
  border: 1px solid rgb(0 0 0 / 30%);
  color: var(--ink);
  box-shadow: 0 2px 12px rgb(0 0 0 / 12%);
}
.comparison-handle span { font: 400 25px/1 system-ui, sans-serif; letter-spacing: 0; padding: 0; }
/* Genuine keyboard range; its wrapper never intercepts image or CTA input. */
.hero-premium .comparison-controls {
  position: absolute;
  inset: 0 0 auto;
  height: var(--hero-height);
  z-index: 3;
  pointer-events: none;
  background: none;
  border: 0;
  padding: 0;
}
.hero-premium .comparison-controls::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--ink);
  opacity: 0;
}
.hero-premium .comparison-controls:focus-within::after { opacity: 1; }
.hero-media:focus-within .comparison-handle { outline: 3px solid var(--paper); outline-offset: 5px; }
.hero-premium .comparison:has(+ .comparison-controls input:focus-visible) { outline: none; }
.range-focus-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 24px;
  margin: 0;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--cream);
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
}
.comparison-controls:focus-within .range-focus-cue { opacity: 1; }
.hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  min-height: 68px;
  margin: 0;
  padding: 16px var(--gutter);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
}
.hero-caption .caption-title { margin: 0; color: var(--ink); }
.drag-hint { display: none; align-items: center; gap: 10px; font-size: 12px; white-space: nowrap; color: var(--ink); }
.hero-media:has(.comparison.is-interactive) .drag-hint { display: inline-flex; }
.nojs-note { padding-block: 16px; margin-block: 0; }

/* Editorial services: one complete room image beside four ruled text rows. */
.content-section { padding-block: 76px 80px; border-top: 0; }
.section-heading { grid-template-columns: 1.1fr 1fr; gap: 48px; margin-bottom: 38px; align-items: end; }
.section-title, .contact-title, .service h3 {
  font-family: "Cormorant Local", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.section-title { font-size: clamp(42px, 4.4vw, 66px); line-height: 1.04; }
.section-intro { font-size: 15px; line-height: 1.8; max-width: 40em; justify-self: start; }
.services-editorial { display: grid; grid-template-columns: 1.18fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.room-figure { min-width: 0; margin: 0; }
.room-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  transform: none;
  background: var(--cream);
}
.room-figure figcaption { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.services-list { min-width: 0; border-bottom: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: minmax(118px, .65fr) minmax(0, 1fr);
  gap: 5px 22px;
  border-top: 1px solid var(--line);
  padding: 22px 0 14px;
}
.service h3 { grid-row: span 2; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.1; margin: 0; }
.service p { font-size: 14px; line-height: 1.75; margin: 0; }
.service a { grid-column: 2; justify-self: start; font-size: 12px; gap: 10px; }
.service a:hover { text-decoration-thickness: 1px; }
.services-note { max-width: 74ch; margin: 26px 0 0; font-size: 13px; line-height: 1.8; }

/* A real three-step orientation, not decorative section numbering. */
.process-section { background: var(--ink); color: var(--cream); }
.process-section .section-heading { margin-bottom: 44px; }
.process-section .section-intro, .process-grid p { color: rgb(234 225 210 / 82%); }
.process-grid { position: relative; gap: clamp(30px, 5vw, 80px); counter-reset: step; }
.process-grid::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: rgb(234 225 210 / 40%); }
.process-grid li { counter-increment: step; padding-top: 24px; }
.process-grid li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font: 400 46px/1 "Cormorant Local", Georgia, serif;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.025em;
  margin-bottom: 26px;
}
.process-grid h3 { font-size: 17px; line-height: 1.4; font-weight: 500; margin-bottom: 12px; }
.process-grid p { font-size: 14px; line-height: 1.85; max-width: 36em; }
.process-section ::selection { background: var(--cream); color: var(--ink); }
.process-section :focus-visible { outline-color: var(--cream); }

.contact-section { padding-block: 80px 64px; background: var(--cream); }
.contact-layout { grid-template-columns: 1.1fr 1fr; gap: 48px; }
.contact-title { font-size: clamp(44px, 4.6vw, 70px); line-height: 1.05; max-width: 14em; margin-bottom: 22px; }
.contact-description { font-size: 14px; max-width: 40em; }
.contact-details { gap: 32px; align-content: end; padding-bottom: 4px; }
.contact-details > div { border-top: 1px solid var(--line); padding-top: 18px; }
.contact-details h3 { font-size: 12px; letter-spacing: 0; text-transform: none; margin-bottom: 14px; color: var(--ink); }
.contact-details p, .contact-details address { font-size: 16px; }
.contact-details small { display: inline-block; font-size: 12px; margin-top: 7px; }
.contact-warning { font-size: 12px; margin-top: 36px; padding-top: 18px; }
.site-footer { padding-block: 30px 36px; background: var(--paper); }
.rights-copy { font-size: 12px; line-height: 1.85; }
.footer-nav { flex-wrap: wrap; gap: 0 22px; }
.footer-label { line-height: 1.6; }
.site-nav a[aria-current="page"], .footer-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* Visible HTML is the baseline. Only a successfully observed, offscreen text
   receives this class. No ancestor, image, link or hit area is transformed. */
:is(h2, h3, p)[data-reveal].reveal-pending {
  opacity: 0;
  transform: translateY(22px);
}
:is(h2, h3, p)[data-reveal].reveal-entered {
  transition: opacity 660ms cubic-bezier(.16, 1, .3, 1), transform 660ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal-delay="80"] { --reveal-delay: 80ms; }
[data-reveal-delay="160"] { --reveal-delay: 160ms; }
/* Focus reveals synchronously, even before the focusin handler runs. */
:is(h2, h3, p)[data-reveal]:focus-within,
:is(.service, .section-heading, .contact-layout, .process-grid li):focus-within :is(h2, h3, p)[data-reveal],
.subpage-main :is(.advice-row, .sub-split, .sub-handoff, .contact-location):focus-within :is(h2, h3, p)[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
@media (min-width: 1800px) {
  .hero-copy { left: max(var(--gutter), calc((100% - 1440px) / 2)); }
}
@media (min-width: 760px) and (max-width: 1100px) {
  .hero-copy { top: 70px; }
  .hero-copy h1 { font-size: clamp(60px, 7.3vw, 80px); }
  .hero-shade { background: linear-gradient(90deg, rgb(0 0 0 / 88%) 0%, rgb(0 0 0 / 65%) 44%, transparent 90%); }
}
@media (max-width: 1100px) {
  .services-editorial { grid-template-columns: 1.05fr 1fr; gap: 30px; }
  .service { grid-template-columns: 1fr; gap: 8px; padding-block: 18px 12px; }
  .service h3 { grid-row: auto; font-size: 34px; }
  .service a { grid-column: 1; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-details { max-width: 700px; }
}
@media (max-width: 899px) {
  .services-editorial { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .service { grid-template-columns: minmax(160px, .65fr) minmax(0, 1fr); gap: 6px 28px; padding-block: 22px 14px; }
  .service h3 { grid-row: span 2; font-size: 38px; }
  .service a { grid-column: 2; }
}
@media (max-width: 759px) {
  :root { --gutter: 24px; --hero-height: max(690px, calc(100svh - 124px)); }
  .header-inner { min-height: 68px; padding-block: 12px; gap: 0 20px; }
  .wordmark-main { font-size: 21px; }
  .wordmark-sub { font-size: 11px; margin-top: 5px; }
  .storm-logo { width: 148px; }
  .site-nav { margin-top: 12px; padding-top: 8px; gap: 24px; font-size: 12px; }
  .hero-copy { top: 36px; max-width: none; }
  .hero-copy h1 { font-size: clamp(40px, 11.25vw, 66px); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 22px; }
  .hero-subline { max-width: 24em; font-size: 14px; line-height: 1.65; margin-bottom: 23px; }
  .desktop-break { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 9px; }
  .hero-copy .button { min-height: 50px; padding: 14px 18px; font-size: 13px; }
  .hero-copy .text-link { min-height: 36px; font-size: 12px; }
  .hero-disclosure { max-width: 27em; font-size: 12px; margin-top: 16px; }
  .hero-shade {
    background: linear-gradient(180deg, rgb(0 0 0 / 89%) 0%, rgb(0 0 0 / 79%) 36%, rgb(0 0 0 / 64%) 54%, rgb(0 0 0 / 12%) 69%, transparent 78%);
    mask-image: none;
  }
  .hero-premium .comparison-handle { top: 77%; width: 50px; height: 50px; }
  .hero-caption { min-height: 56px; padding-block: 13px; font-size: 13px; }
  .drag-hint { font-size: 16px; }
  .drag-hint span { display: none; }
  .range-focus-cue { bottom: 20px; left: 20px; font-size: 10px; }
  .content-section { padding-block: 52px 56px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .section-title { font-size: clamp(40px, 8vw, 52px); }
  .section-intro { font-size: 14px; }
  .room-figure figcaption { font-size: 12px; }
  .service { grid-template-columns: minmax(120px, .7fr) minmax(0, 1fr); gap: 6px 20px; }
  .service h3 { font-size: 34px; }
  .service p { font-size: 14px; }
  .service a { font-size: 12px; }
  .services-note { font-size: 13px; margin-top: 22px; }
  .process-section .section-heading { margin-bottom: 30px; }
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-grid::before { content: none; }
  .process-grid li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 0 20px; padding-block: 24px; border-top: 1px solid rgb(234 225 210 / 40%); }
  .process-grid li:last-child { padding-bottom: 0; }
  .process-grid li::before { grid-row: span 2; font-size: 38px; margin: 0; }
  .process-grid h3 { font-size: 16px; }
  .process-grid p { grid-column: 2; font-size: 14px; }
  .contact-section { padding-block: 56px 44px; }
  .contact-title { font-size: clamp(40px, 8.4vw, 54px); }
  .contact-details { gap: 22px; }
  .contact-details p, .contact-details address { font-size: 15px; }
  .contact-warning { font-size: 12px; }
  .rights-copy { font-size: 11px; }
}
@media (max-width: 479px) {
  .service { grid-template-columns: 1fr; gap: 8px; }
  .service h3 { grid-row: auto; font-size: 36px; }
  .service a { grid-column: 1; }
}
@media (max-width: 359px) {
  :root { --gutter: 20px; --hero-height: max(720px, calc(100svh - 124px)); }
  .hero-copy h1 { font-size: 37px; }
  .hero-disclosure { max-width: 25em; }
  .hero-caption { gap: 10px; }
  .contact-details { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  :is(h2, h3, p)[data-reveal] { opacity: 1 !important; transform: none !important; }
}
