/* ============================================
   SALT ROCK ADVISORY
   Institutional. Restrained. Owner-aligned.
   ============================================ */


:root {
  /* Palette */
  --ink: #0B1623;            /* deep navy — primary ink */
  --ink-2: #14223A;          /* secondary navy */
  --ink-3: #1E2D45;          /* tertiary */
  --ivory: #F4EFE3;          /* warm ivory background */
  --bone: #E7DFCD;           /* warm bone */
  --paper: #FAF6EC;          /* near-white paper */
  --rule: rgba(11, 22, 35, 0.18);
  --rule-soft: rgba(11, 22, 35, 0.08);
  --rule-dark: rgba(244, 239, 227, 0.18);
  --brass: #B08A4B;          /* restrained brass */
  --brass-2: #8E6E36;
  --salt: #C9BFA8;           /* salt-rock warm grey */
  --shadow: 0 30px 80px -40px rgba(11, 22, 35, 0.4);

  /* Type */
  --serif: "Cormorant Garamond", "Libre Caslon Text", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; font-weight: 500; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.05; color: var(--ink); }

.h-display { font-size: clamp(60px, 9vw, 148px); line-height: 0.95; letter-spacing: -0.02em; }
.h-display em { font-style: italic; color: var(--brass); }
.h1 { font-size: clamp(44px, 6vw, 92px); line-height: 1.0; letter-spacing: -0.015em; }
.h1 em { font-style: italic; }
.h2 { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.05; }
.h2 em { font-style: italic; }
.h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.15; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--ink); opacity: 0.62; }
.eyebrow .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); margin-right: 10px; vertical-align: middle; transform: translateY(-1px); }

.lede { font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.4; font-weight: 400; color: var(--ink); }
.lede em { font-style: italic; color: var(--ink-2); }
.body { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 62ch; }
.body p + p { margin-top: 1.1em; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(90px, 12vh, 160px) 0; position: relative; }
.section--tight { padding: clamp(60px, 8vh, 100px) 0; }
.section--dark { background: var(--ink); color: var(--ivory); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--ivory); }
.section--dark .body { color: rgba(244, 239, 227, 0.78); }
.section--dark .eyebrow { color: rgba(244, 239, 227, 0.62); }
.section--dark .eyebrow .dot { background: var(--brass); }
.section--paper { background: var(--paper); }
.section--bone { background: var(--bone); }

.rule { height: 1px; background: var(--rule); width: 100%; }
.section--dark .rule { background: var(--rule-dark); }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(244, 239, 227, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--rule-soft);
}
.nav.is-dark.is-scrolled {
  background: rgba(11, 22, 35, 0.78);
  border-bottom-color: rgba(244, 239, 227, 0.1);
}
.nav.is-dark { color: var(--ivory); }
.nav.is-dark .nav-link { color: var(--ivory); }
.nav.is-dark .nav-cta { color: var(--ivory); border-color: rgba(244, 239, 227, 0.4); }
.nav.is-dark .nav-cta:hover { background: var(--ivory); color: var(--ink); }
.nav.is-dark .wordmark, .nav.is-dark .wordmark .mark-line { color: var(--ivory); }

.nav-inner {
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
/* ============================================
   WORDMARK — heraldic seal, filled block with
   knocked-out SR monogram. Reads institutional
   and masculine — closer to a banking seal or
   Ivy-league colophon than a boutique italic.
   ============================================ */
.wordmark {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--sans);
  font-weight: 600; letter-spacing: 0.2em; font-size: 12px;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.wordmark .mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: currentColor;
  color: inherit; /* preserved for outer scope */
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.02em;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
/* Inner hairline seal — a 1px stroke inset 3px, adds
   the "engraved plate" quality without softness. */
.wordmark .mark::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--ivory);
  opacity: 0.35;
  pointer-events: none;
}
/* Dark-nav variant: mark uses ivory bg with ink glyph */
.nav.is-dark:not(.is-scrolled) .wordmark .mark {
  background: var(--ivory);
}
.nav.is-dark:not(.is-scrolled) .wordmark .mark::before {
  border-color: var(--ink);
  opacity: 0.25;
}
.nav.is-dark:not(.is-scrolled) .wordmark .mark .mono-glyph {
  color: var(--ink);
}
/* Default (light nav) — mark is filled ink, glyph is ivory */
.wordmark .mark .mono-glyph {
  color: var(--ivory);
  position: relative;
  z-index: 1;
  display: inline-block;
  /* subtle horizontal squeeze for that engraved plate feel */
  transform: scaleY(1.02);
}
/* Footer / lockup on dark bg: use ivory mark with ink SR */
.footer .wordmark .mark,
.section--dark .wordmark .mark {
  background: var(--ivory);
}
.footer .wordmark .mark::before,
.section--dark .wordmark .mark::before {
  border-color: var(--ink);
  opacity: 0.25;
}
.footer .wordmark .mark .mono-glyph,
.section--dark .wordmark .mark .mono-glyph {
  color: var(--ink);
}

.wordmark .mark-line {
  display: flex; flex-direction: column;
  line-height: 1.1;
  gap: 5px;
}
.wordmark .mark-line .big {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: 14px;
  text-transform: uppercase;
}
.wordmark .mark-line .small {
  font-size: 9px;
  opacity: 0.62;
  letter-spacing: 0.32em;
  font-weight: 500;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-link {
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; opacity: 0.82;
  position: relative; padding: 6px 0;
  transition: opacity 0.2s;
}
.nav-link:hover { opacity: 1; }
.nav-link.is-active { opacity: 1; }
.nav-link.is-active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--brass);
}
.nav-cta {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: all 0.3s ease;
  display: inline-flex; align-items: center; gap: 10px;
}
.nav-cta:hover { background: var(--ink); color: var(--ivory); }
.nav-cta .arrow { font-family: var(--serif); transition: transform 0.3s; }
.nav-cta:hover .arrow { transform: translateX(4px); }

.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger {
    display: flex; flex-direction: column; gap: 5px; padding: 8px;
  }
  .nav-burger span { display: block; width: 22px; height: 1px; background: currentColor; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  overflow: hidden;
  background: var(--ink);
  padding-bottom: clamp(60px, 8vh, 100px);
  padding-top: calc(var(--nav-h) + 40px);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.55) saturate(0.85);
  transform: scale(1.05);
  animation: hero-zoom 18s ease-out forwards;
}
@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to { transform: scale(1.0); }
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,22,35,0.35) 0%, rgba(11,22,35,0.15) 40%, rgba(11,22,35,0.8) 100%),
    linear-gradient(90deg, rgba(11,22,35,0.55) 0%, rgba(11,22,35,0.15) 50%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: clamp(40px, 6vh, 80px);
  gap: 24px;
  flex-wrap: wrap;
}
.hero-meta .meta-block { display: flex; flex-direction: column; gap: 6px; }
.hero-meta .meta-block .mono { color: rgba(244, 239, 227, 0.7); }
.hero-meta .meta-block .v { font-family: var(--serif); font-size: 18px; }
.hero h1 {
  color: var(--ivory);
  max-width: 16ch;
  margin-bottom: 28px;
}
.hero h1 em { color: var(--bone); }
.hero-tag {
  max-width: 56ch;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: rgba(244, 239, 227, 0.85);
}
.hero-bottom {
  margin-top: clamp(50px, 8vh, 90px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  flex-wrap: wrap;
}
.scroll-cue {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(244, 239, 227, 0.7);
}
.scroll-cue .line {
  width: 60px; height: 1px; background: rgba(244, 239, 227, 0.3); position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content: ""; position: absolute; left: -30px; top: 0; bottom: 0; width: 30px;
  background: var(--brass);
  animation: scroll-trail 2.4s ease-in-out infinite;
}
@keyframes scroll-trail {
  to { left: 60px; }
}

/* Sub-hero — page intro (used on About/Services/Team/Contact) */
.subhero {
  background: var(--ink);
  color: var(--ivory);
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}
.subhero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(176, 138, 75, 0.12), transparent 60%);
}
.subhero-inner { position: relative; z-index: 1; }
.subhero h1 { color: var(--ivory); max-width: 18ch; margin-top: 20px; }
.subhero h1 em { color: var(--bone); }
.subhero-lede { max-width: 60ch; font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: rgba(244, 239, 227, 0.82); margin-top: 32px; }

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
  padding: 28px 0;
  border-top: 1px solid rgba(244, 239, 227, 0.1);
  border-bottom: 1px solid rgba(244, 239, 227, 0.1);
}
.marquee-track {
  display: flex; gap: 80px;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 56px);
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 80px;
  color: var(--ivory);
}
.marquee-item em { font-style: italic; color: var(--brass); }
.marquee-item .sep {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   PHILOSOPHY / TEXT BLOCKS
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.split--reverse { grid-template-columns: 1.4fr 1fr; }
.split--equal { grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .split, .split--reverse, .split--equal { grid-template-columns: 1fr; gap: 40px; } }

.split-label { position: sticky; top: calc(var(--nav-h) + 40px); }
.split-label .num {
  font-family: var(--serif); font-style: italic;
  font-size: 56px; line-height: 1; color: var(--brass);
  margin-bottom: 28px;
  display: block;
}

/* ============================================
   STATS / COUNTERS
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section--dark .stats { border-top-color: var(--rule-dark); border-bottom-color: var(--rule-dark); }

.stat {
  padding: 48px 32px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 16px;
}
.section--dark .stat { border-right-color: var(--rule-dark); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section--dark .stat-num { color: var(--ivory); }
.stat-num .sign, .stat-num .suffix { color: var(--brass); font-style: italic; }
.stat-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2); opacity: 0.7;
  line-height: 1.5;
}
.section--dark .stat-label { color: rgba(244, 239, 227, 0.7); opacity: 1; }
.stat-desc {
  font-family: var(--serif); font-size: 16px; line-height: 1.4; color: var(--ink-2);
  margin-top: 4px;
}
.section--dark .stat-desc { color: rgba(244, 239, 227, 0.78); }
@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--rule); }
  .stat:nth-child(odd) { border-right: 1px solid var(--rule); }
  .stat:nth-child(even) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .section--dark .stat { border-color: var(--rule-dark); }
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.service {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 48px 36px 64px;
  position: relative;
  transition: background 0.4s ease;
  min-height: 360px;
  display: flex; flex-direction: column;
}
.service:nth-child(3n) { border-right: none; }
.service:hover { background: var(--paper); }
.service .num { font-family: var(--mono); font-size: 11px; opacity: 0.5; letter-spacing: 0.18em; }
.service h3 {
  font-family: var(--serif); font-size: 32px; line-height: 1.1;
  margin: 32px 0 20px;
}
.service h3 em { font-style: italic; color: var(--brass); }
.service .body { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin-bottom: 24px; flex: 1; }
.service .more {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-flex; gap: 10px; align-items: center;
  border-top: 1px solid var(--rule); padding-top: 20px;
  margin-top: auto;
  color: var(--ink); opacity: 0.7;
  transition: opacity 0.2s, gap 0.3s;
}
.service:hover .more { opacity: 1; gap: 14px; }
.service .more .arrow { font-family: var(--serif); font-style: italic; }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service:nth-child(3n) { border-right: 1px solid var(--rule); }
  .service:nth-child(2n) { border-right: none; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .service, .service:nth-child(3n), .service:nth-child(2n) { border-right: none; }
}

/* Service detail row */
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(60px, 10vh, 100px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.service-row .num-big {
  font-family: var(--serif); font-style: italic;
  font-size: 56px; color: var(--brass); line-height: 1;
}
.service-row h3 { font-size: clamp(32px, 4vw, 52px); }
.service-row h3 em { font-style: italic; }
.service-row .col-3 { display: flex; flex-direction: column; gap: 24px; }
.service-row .points { display: flex; flex-direction: column; gap: 14px; }
.service-row .points li {
  font-family: var(--serif); font-size: 17px; line-height: 1.4;
  list-style: none; padding-left: 24px; position: relative;
  color: var(--ink-2);
}
.service-row .points li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 12px; height: 1px; background: var(--brass);
}
@media (max-width: 820px) {
  .service-row { grid-template-columns: 1fr; }
}

/* ============================================
   IMAGE / PHOTO BLOCK
   ============================================ */
.imgblock {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-3);
}
.imgblock img { width: 100%; height: 100%; object-fit: cover; }
.imgblock-wide { aspect-ratio: 16 / 9; }
.imgblock-tall { aspect-ratio: 3 / 4; }
.imgblock-square { aspect-ratio: 1; }
.imgblock-caption {
  position: absolute; bottom: 16px; left: 16px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ivory); opacity: 0.85;
  background: rgba(11, 22, 35, 0.55);
  padding: 8px 12px;
  backdrop-filter: blur(8px);
}

.dual-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.dual-img .imgblock:nth-child(2) { margin-top: 60px; }
@media (max-width: 600px) { .dual-img { grid-template-columns: 1fr; } .dual-img .imgblock:nth-child(2) { margin-top: 0; } }

/* ============================================
   TEAM
   ============================================ */
.team-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  padding: clamp(60px, 10vh, 120px) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.team-row:nth-child(even) { grid-template-columns: 1.4fr 1.1fr; }
.team-row:nth-child(even) .team-img { order: 2; }
@media (max-width: 820px) {
  .team-row, .team-row:nth-child(even) { grid-template-columns: 1fr; }
  .team-row:nth-child(even) .team-img { order: 0; }
}
.team-img {
  aspect-ratio: 4 / 5;
  background: var(--ink-3);
  overflow: hidden;
  position: relative;
  display: grid; place-items: center;
}
.team-img .placeholder {
  font-family: var(--mono); color: rgba(244,239,227,0.5); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(135deg,
      rgba(244,239,227,0.04) 0 14px,
      rgba(244,239,227,0.08) 14px 28px);
}
.team-meta { display: flex; flex-direction: column; gap: 18px; padding-top: 10px; }
.team-meta .name {
  font-family: var(--serif); font-size: clamp(36px, 4vw, 56px);
  line-height: 1.0; letter-spacing: -0.015em;
}
.team-meta .name em { font-style: italic; }
.team-meta .title {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass);
}
.team-meta .bio { font-size: 15px; line-height: 1.7; color: var(--ink-2); max-width: 60ch; }
.team-meta .bio p + p { margin-top: 1em; }
.team-meta .links {
  display: flex; gap: 24px; padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.team-meta .links a { opacity: 0.7; transition: opacity 0.2s; }
.team-meta .links a:hover { opacity: 1; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.form {
  display: grid; gap: 24px;
}
.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2); opacity: 0.7;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  font-family: var(--serif); font-size: 22px; line-height: 1.4;
  padding: 12px 0;
  color: var(--ink);
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-bottom-color: var(--brass);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.submit {
  margin-top: 20px;
  padding: 18px 32px;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 16px;
  transition: gap 0.3s, background 0.3s;
  justify-self: start;
}
.submit:hover { background: var(--brass); gap: 22px; }
.submit .arrow { font-family: var(--serif); font-style: italic; font-size: 18px; }

.contact-meta {
  display: flex; flex-direction: column; gap: 36px;
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.contact-meta .group { display: flex; flex-direction: column; gap: 8px; }
.contact-meta .group .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.contact-meta .group .v { font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.contact-meta .group .vs { font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  color: var(--ivory);
  padding: 100px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--rule-dark);
}
@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
.footer-brand .lockup {
  font-family: var(--serif); font-size: 36px; line-height: 1.1; font-style: italic;
  margin-bottom: 24px;
}
.footer-brand p {
  font-family: var(--serif); font-size: 17px; line-height: 1.45;
  color: rgba(244, 239, 227, 0.7); max-width: 36ch;
}
.footer-col h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; opacity: 0.78; transition: opacity 0.2s; }
.footer-col a:hover { opacity: 1; }
.footer-bot {
  padding-top: 30px;
  display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(244, 239, 227, 0.5);
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 30px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background 0.3s, color 0.3s, gap 0.3s;
}
.btn:hover { background: var(--ink); color: var(--ivory); gap: 18px; }
.btn--filled { background: var(--ink); color: var(--ivory); }
.btn--filled:hover { background: var(--brass); border-color: var(--brass); }
.btn--ghost-light { border-color: var(--ivory); color: var(--ivory); }
.btn--ghost-light:hover { background: var(--ivory); color: var(--ink); }
.btn .arrow { font-family: var(--serif); font-style: italic; font-size: 16px; transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   ANIMATIONS — reveal on scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* Reveal "mask" — for hero h1 letters */
.mask-line {
  display: block;
  overflow: hidden;
}
.mask-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mask-line.is-visible > span { transform: translateY(0); }
.mask-line[data-delay="1"] > span { transition-delay: 0.15s; }
.mask-line[data-delay="2"] > span { transition-delay: 0.3s; }
.mask-line[data-delay="3"] > span { transition-delay: 0.45s; }

/* ============================================
   PAGE TRANSITION OVERLAY
   ============================================ */
.transition-overlay {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 9999;
  transform: translateY(100%);
  pointer-events: none;
}
.transition-overlay.is-entering {
  animation: overlay-in 0.7s cubic-bezier(0.76, 0, 0.24, 1) forwards;
  pointer-events: all;
}
.transition-overlay.is-leaving {
  animation: overlay-out 0.8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
  pointer-events: all;
}
@keyframes overlay-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0%); }
}
@keyframes overlay-out {
  from { transform: translateY(0%); }
  to { transform: translateY(-100%); }
}

/* ============================================
   PULL QUOTE
   ============================================ */
.pullquote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.2; letter-spacing: -0.01em;
  max-width: 24ch;
  color: var(--ink);
}
.pullquote em { font-style: italic; color: var(--brass); }
.pullquote-attr {
  margin-top: 32px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2); opacity: 0.7;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(80px, 12vh, 140px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(176, 138, 75, 0.15), transparent 60%);
}
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: end; }
@media (max-width: 820px) { .cta-inner { grid-template-columns: 1fr; } }
.cta-band h2 { color: var(--ivory); max-width: 18ch; }
.cta-band h2 em { color: var(--bone); }
.cta-band .body { color: rgba(244, 239, 227, 0.78); }

/* ============================================
   PRINCIPLES (numbered list)
   ============================================ */
.principles {
  display: flex; flex-direction: column;
}
.principle {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: clamp(20px, 4vw, 60px);
  padding: 40px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
  transition: padding-left 0.4s ease, background 0.4s ease;
}
.principle:last-child { border-bottom: 1px solid var(--rule); }
.principle:hover { padding-left: 20px; background: var(--paper); }
.principle .num { font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--brass); }
.principle h3 { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); }
.principle h3 em { font-style: italic; }
.principle .body { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 820px) {
  .principle { grid-template-columns: 60px 1fr; }
  .principle .body { grid-column: 2; }
}

/* Misc */
.tag-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
}
.tag-line::before {
  content: ""; display: block; width: 24px; height: 1px; background: var(--brass);
}

.divider-num {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-2); opacity: 0.7;
}
.divider-num .num { font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--brass); opacity: 1; }

/* hide footer-col on small mobile if needed... fine for now */
