/* ============================================================
   click7media — brand statement site
   A digital house that builds dreams into the web.
   Editorial · warm · declarative. Not for hire — a brand.
   ============================================================ */

:root {
  --paper:    #f4efe4;   /* warm cream            */
  --paper-2:  #ece4d4;   /* deeper cream          */
  --ink:      #16130d;   /* warm near-black       */
  --ink-2:    #2c271d;
  --muted:    #6c6557;   /* warm grey             */
  --muted-2:  #938b7a;
  --line:     rgba(22, 19, 13, 0.16);
  --line-soft:rgba(22, 19, 13, 0.08);
  --accent:   #ff4a23;   /* vermilion — "makes things happen" */
  --accent-2: #d83a17;
  --cream-on-dark: #efe7d6;
  --muted-on-dark: #a39a86;

  --ff-disp: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ff-mono: "Space Mono", "SFMono-Regular", Menlo, monospace;

  --maxw: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* film grain over everything */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--paper); }

/* ---------- type ---------- */
h1, h2, h3 {
  font-family: var(--ff-disp);
  font-weight: 450;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 .35em;
  font-optical-sizing: auto;
}
.display {
  font-family: var(--ff-disp);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-size: clamp(3rem, 9.5vw, 9rem);
}
.display .it { font-style: italic; font-weight: 400; }
.serif-xl {
  font-family: var(--ff-disp);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 5.2vw, 4.6rem);
}
.serif-lg {
  font-family: var(--ff-disp);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
}
.it { font-style: italic; }
em, .em { font-style: italic; color: var(--accent); font-weight: 400; }
p { margin: 0 0 1.1em; }
.muted { color: var(--muted); }

.kicker {
  font-family: var(--ff-mono);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}
.kicker .idx { color: var(--ink); opacity: .45; }
.kicker.on-dark { color: var(--accent); }
.kicker.on-dark .idx { color: var(--cream-on-dark); }

.lede {
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 24ch;
  font-family: var(--ff-disp);
  font-weight: 400;
}
.body-lg {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 56ch;
}

/* ---------- layout ---------- */
.container { width: min(var(--maxw), 90vw); margin-inline: auto; }
.wrap { width: min(900px, 90vw); margin-inline: auto; }
section { position: relative; }
.pad   { padding: clamp(80px, 12vw, 170px) 0; }
.pad-sm{ padding: clamp(54px, 7vw, 96px) 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.rule-ink { background: rgba(239,231,214,.18); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 26px 0;
  transition: padding .4s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
  mix-blend-mode: normal;
}
.site-header.scrolled {
  padding: 15px 0;
  background: rgba(244,239,228,.85);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line-soft);
}
/* The scrolled header's backdrop-filter makes it the containing block for the
   fixed mobile drawer (a child of the header) — which clips the drawer to the
   header's height (cut-off / offset). While the menu is open, drop the filter
   so the drawer is positioned against the viewport and fills it. */
body.menu-open .site-header.scrolled {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-header.on-dark:not(.scrolled) { color: var(--cream-on-dark); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand {
  font-family: var(--ff-disp);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 2px;
  color: inherit;
}
.brand b { font-weight: 500; }
.brand .seven {
  font-style: italic;
  color: var(--accent);
}
.nav-links {
  display: flex; gap: 6px; list-style: none; margin: 0; padding: 0;
  align-items: center;
}
.nav-links a {
  font-family: var(--ff-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 14px;
  position: relative;
  color: inherit;
  opacity: .8;
  transition: opacity .25s, color .25s;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-links a.active { opacity: 1; }
.nav-links a.active::before {
  content: "·"; color: var(--accent); margin-right: 4px;
  position: absolute; left: 2px;
}
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px; color: inherit;
}
.burger span { width: 24px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.16) saturate(.9) brightness(1.05) contrast(.97);
  opacity: .62;
  animation: hero-float 26s ease-in-out infinite alternate;
}
@keyframes hero-float {
  from { transform: scale(1.06) translateY(0); }
  to   { transform: scale(1.12) translateY(-2%); }
}
/* cream wash: keeps the left/text area legible, lets clouds breathe top-right */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(244,239,228,.92) 0%, rgba(244,239,228,.55) 48%, rgba(244,239,228,.22) 100%),
    linear-gradient(180deg, rgba(244,239,228,.30) 0%, rgba(244,239,228,.20) 45%, rgba(244,239,228,.96) 100%);
}
.hero-7 {
  position: absolute;
  font-family: var(--ff-disp);
  font-style: italic;
  font-weight: 400;
  font-size: min(150vh, 150vw);
  line-height: .7;
  color: var(--accent);
  opacity: .08;
  right: -4vw; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; }
.hero .kicker { margin-bottom: 34px; }
.hero h1 { margin-bottom: 0; }
.hero-foot {
  position: relative; z-index: 2;
  margin-top: clamp(40px, 7vw, 90px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}
.hero-foot .body-lg { margin: 0; }
.scroll-cue {
  font-family: var(--ff-mono);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.scroll-cue::after {
  content: ""; width: 30px; height: 1px; background: var(--ink);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: left;
}
@keyframes cue { 0%,100%{ transform: scaleX(.4); opacity:.4 } 50%{ transform: scaleX(1); opacity:1 } }

/* ============================================================
   PAGE HERO (inner)
   ============================================================ */
.page-hero { padding: clamp(150px, 18vw, 230px) 0 clamp(40px, 6vw, 80px); position: relative; }
.page-hero.has-bg { overflow: hidden; }
.page-hero.has-bg .container { position: relative; z-index: 2; }
/* dark hero variant: darken the photo + ink wash so cream text stays legible */
.page-hero.dark.has-bg .hero-bg img { opacity: .38; filter: grayscale(.3) brightness(.72) contrast(1.05) sepia(.08); }
.page-hero.dark.has-bg .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(22,19,13,.92) 0%, rgba(22,19,13,.6) 50%, rgba(22,19,13,.3) 100%),
    linear-gradient(180deg, rgba(22,19,13,.3) 0%, rgba(22,19,13,.2) 45%, rgba(22,19,13,.97) 100%);
}
.page-hero .crumb {
  font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 30px;
}
.page-hero .crumb a:hover { color: var(--accent); }
.page-hero h1 { max-width: 14ch; }

/* ============================================================
   STATEMENT / MANIFESTO
   ============================================================ */
.statement {
  font-family: var(--ff-disp);
  font-weight: 400;
  font-size: clamp(1.8rem, 4.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.statement.wide { max-width: 26ch; }
.statement .em { font-style: italic; }

/* two-column editorial block */
.duo {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.duo.tight { grid-template-columns: 1fr 1fr; align-items: center; }
.duo .col-label { position: sticky; top: 120px; }

/* hanging index lists (disciplines) */
.index-list { border-top: 1px solid var(--line); }
.idx-row {
  display: grid;
  grid-template-columns: 88px 1fr 1.1fr;
  gap: 30px;
  align-items: baseline;
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .5s var(--ease);
}
.idx-row:hover { padding-left: 14px; }
.idx-row .n {
  font-family: var(--ff-mono); font-size: .8rem; letter-spacing: .1em;
  color: var(--accent); padding-top: .4em;
}
.idx-row h3 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); margin: 0; }
.idx-row p { margin: 0; color: var(--muted); font-size: 1rem; max-width: 46ch; }
.idx-row .h-en { font-style: italic; }

/* figure with editorial caption */
.figure { position: relative; overflow: hidden; }
.figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.28) contrast(1.04) brightness(.99);
  transition: filter 1s var(--ease), transform 1.4s var(--ease);
}
.figure:hover img { filter: none; transform: scale(1.035); }
.figure.tall { aspect-ratio: 4/5; }
.figure.wide { aspect-ratio: 16/10; }
.figure.square { aspect-ratio: 1/1; }
.caption {
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-top: 14px;
  display: flex; gap: 10px; align-items: baseline;
}
.caption::before { content: "↳"; color: var(--accent); }

/* word ribbon */
.ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ribbon-track { display: inline-flex; white-space: nowrap; animation: roll 30s linear infinite; }
.ribbon-track span {
  font-family: var(--ff-disp); font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--ink); display: inline-flex; align-items: center;
}
.ribbon-track span::after { content: "✶"; color: var(--accent); font-style: normal; margin: 0 clamp(28px,4vw,52px); font-size: .7em; }
.ribbon.on-dark .ribbon-track span { color: var(--cream-on-dark); }
@keyframes roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   DARK SECTIONS
   ============================================================ */
.dark {
  background: var(--ink);
  color: var(--cream-on-dark);
}
.dark h1, .dark h2, .dark h3, .dark .statement, .dark .display { color: var(--paper); }
.dark .muted, .dark p.muted { color: var(--muted-on-dark); }
.dark .body-lg { color: var(--cream-on-dark); }
.dark .rule { background: rgba(239,231,214,.16); }
.dark .index-list, .dark .idx-row { border-color: rgba(239,231,214,.16); }
.dark .idx-row p { color: var(--muted-on-dark); }
.dark .caption { color: var(--muted-on-dark); }
.dark .figure img { filter: grayscale(.5) contrast(1.05) brightness(.92); }
.dark .figure:hover img { filter: grayscale(.1); }

/* big credo number band */
.credo {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 5vw, 70px);
}
.credo .c {
  padding-top: 26px; border-top: 2px solid var(--accent);
}
.credo .c .w {
  font-family: var(--ff-disp); font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 14px; line-height: 1.05;
}
.credo .c p { margin: 0; color: var(--muted); font-size: 1rem; }
.dark .credo .c p { color: var(--muted-on-dark); }

/* pull quote */
.pull {
  font-family: var(--ff-disp);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 4.2rem);
  line-height: 1.1; letter-spacing: -0.02em;
  max-width: 20ch;
}
.pull .em { font-style: italic; }

/* ---------- buttons / quiet links ---------- */
.qlink {
  font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
  padding-bottom: 6px; border-bottom: 1px solid var(--ink);
  transition: gap .3s var(--ease), color .3s, border-color .3s;
}
.qlink:hover { gap: 20px; color: var(--accent); border-color: var(--accent); }
.qlink.on-dark { border-color: var(--cream-on-dark); }
.qlink.on-dark:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 6vw, 80px); align-items: stretch;
}
.c-detail { display: grid; gap: 0; align-content: start; }
.c-row {
  padding: 30px 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 130px 1fr; gap: 24px; align-items: baseline;
}
.c-row:last-child { border-bottom: 1px solid var(--line); }
.c-row .lbl { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c-row .val { font-family: var(--ff-disp); font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.25; }
.c-row a.val:hover { color: var(--accent); }
.map-shell {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 30px 60px -40px rgba(22,19,13,.5);
}
.map-shell::after {            /* inner vignette for depth */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 500;
  box-shadow: inset 0 0 0 1px rgba(22,19,13,.05), inset 0 0 80px -30px rgba(22,19,13,.35);
}
#map { width: 100%; min-height: 480px; height: 100%; }
.leaflet-container { font: inherit !important; background: var(--paper-2) !important; }
/* warm, on-brand monochrome treatment of the base tiles */
.leaflet-tile-pane { filter: sepia(.32) saturate(.72) brightness(1.04) contrast(.93) hue-rotate(-12deg); }

/* refined controls */
.leaflet-control-zoom { border: 0 !important; box-shadow: none !important; margin: 16px !important; }
.leaflet-control-zoom a {
  width: 38px !important; height: 38px !important; line-height: 36px !important;
  background: var(--paper) !important; color: var(--ink) !important;
  border: 1px solid var(--line) !important; border-radius: 0 !important;
  font-size: 19px !important; font-weight: 400 !important; transition: background .25s, color .25s;
}
.leaflet-control-zoom a:first-child { border-bottom: 0 !important; }
.leaflet-control-zoom a:hover { background: var(--ink) !important; color: var(--paper) !important; }
.leaflet-control-attribution {
  background: rgba(244,239,228,.78) !important; backdrop-filter: blur(4px);
  font-family: var(--ff-mono) !important; font-size: 9.5px !important; letter-spacing: .04em;
  color: var(--muted) !important; padding: 3px 8px !important;
}
.leaflet-control-attribution a { color: var(--accent) !important; }

/* branded popup */
.leaflet-popup-content-wrapper {
  background: var(--ink) !important; color: var(--cream-on-dark) !important;
  border-radius: 3px !important; box-shadow: 0 20px 40px -16px rgba(22,19,13,.6) !important;
}
.leaflet-popup-content { font-family: var(--ff-body) !important; font-size: 13px !important; line-height: 1.55 !important; margin: 14px 18px !important; }
.leaflet-popup-content strong { font-family: var(--ff-disp); font-weight: 500; color: var(--paper); font-size: 15px; }
.leaflet-popup-tip { background: var(--ink) !important; }
.leaflet-popup-close-button { color: var(--muted-on-dark) !important; padding: 8px 8px 0 0 !important; }

/* refined pulsing marker */
.c7-pin { position: relative; }
.c7-dot {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 18px;
  transform: translate(-50%, -50%); z-index: 2;
  background: var(--accent); border: 3px solid var(--paper); border-radius: 50%;
  box-shadow: 0 6px 16px -4px rgba(255,74,35,.75);
}
.c7-ping {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 18px;
  transform: translate(-50%, -50%); z-index: 1;
  background: var(--accent); border-radius: 50%; opacity: .55;
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: .5; }
  70%  { transform: translate(-50%, -50%) scale(4.2); opacity: 0; }
  100% { opacity: 0; }
}

/* contact form */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label {
  font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea {
  font-family: var(--ff-body); font-size: 1.05rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 2px; transition: border-color .3s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit {
  justify-self: start; margin-top: 8px;
  font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  padding: 16px 34px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 12px;
  transition: background .3s, color .3s, gap .3s var(--ease);
}
.form-submit:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); gap: 20px; }
.form-submit:disabled { opacity: .55; cursor: default; }
.form-status {
  font-family: var(--ff-mono); font-size: .82rem; letter-spacing: .03em; margin: 0;
  min-height: 1.2em;
}
.form-status.ok  { color: var(--accent); }
.form-status.err { color: #b3402a; }

/* sent confirmation panel */
.form-success[hidden] { display: none; }
.form-success {
  display: block;
  padding: 6px 0;
  animation: fs-rise .7s var(--ease) both;
}
@keyframes fs-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.fs-check { display: inline-block; width: 66px; height: 66px; margin-bottom: 28px; }
.fs-check svg { width: 66px; height: 66px; overflow: visible; }
.fs-check circle {
  fill: none; stroke: var(--accent); stroke-width: 2;
  stroke-dasharray: 151; stroke-dashoffset: 151;
  animation: fs-draw .6s var(--ease) .08s forwards;
}
.fs-check path {
  fill: none; stroke: var(--accent); stroke-width: 3.2;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 44; stroke-dashoffset: 44;
  animation: fs-draw .42s var(--ease) .55s forwards;
}
@keyframes fs-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .form-success, .fs-check circle, .fs-check path { animation: none !important; }
  .fs-check circle, .fs-check path { stroke-dashoffset: 0 !important; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--cream-on-dark); padding: clamp(70px, 9vw, 120px) 0 40px; }
.footer-big {
  font-family: var(--ff-disp); font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 7rem); line-height: .95; letter-spacing: -0.03em;
  color: var(--paper); margin-bottom: clamp(40px, 6vw, 80px);
}
.footer-big .it { font-style: italic; color: var(--accent); }
.footer-cols {
  display: grid; grid-template-columns: 1.7fr 1fr 1.4fr; gap: 36px;
  padding-top: 46px; border-top: 1px solid rgba(239,231,214,.18);
}
.footer-cols h4 {
  font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-on-dark); font-weight: 400; margin: 0 0 18px;
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-cols a { font-size: .98rem; opacity: .85; transition: opacity .25s, color .25s; }
.footer-cols a:hover { opacity: 1; color: var(--accent); }
.footer-cols p { font-size: .96rem; margin: 0 0 8px; color: var(--cream-on-dark); }
.footer-brand .brand { font-size: 1.6rem; color: var(--paper); margin-bottom: 16px; }
.footer-brand .brand .seven { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(239,231,214,.12);
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .08em; color: var(--muted-on-dark);
  text-transform: uppercase;
}

/* ============================================================
   REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }
[data-reveal][data-delay="4"] { transition-delay: .36s; }

.lines span { display: inline-block; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, .ribbon-track, .hero-7 { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .duo, .duo.tight { grid-template-columns: 1fr; gap: 40px; }
  .duo .col-label { position: static; }
  .credo { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .idx-row { grid-template-columns: 60px 1fr; }
  .idx-row p { grid-column: 2; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 300px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 6px; background: var(--paper); padding: 80px 34px;
    transform: translateX(110%); transition: transform .5s var(--ease);
    border-left: 1px solid var(--line); z-index: 95;
  }
  body.menu-open .nav-links { transform: none; }
  .nav-links a { font-size: .9rem; padding: 10px 0; opacity: 1; color: var(--ink) !important; }
  .burger { display: flex; z-index: 96; }
  .site-header.on-dark:not(.scrolled) .burger { color: var(--cream-on-dark); }
  body.menu-open { overflow: hidden; }
  body.menu-open::after { content:""; position: fixed; inset: 0; background: rgba(22,19,13,.4); z-index: 94; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .scroll-cue { display: none; }
  .idx-row { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .idx-row .n { padding: 0; }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
  .c-row { grid-template-columns: 1fr; gap: 8px; }
}
