/* =========================================================
   Elite Recruiters — Editorial design system
   ========================================================= */

:root {
  /* Warm bone / oxblood palette */
  --bg:          #EFEAE0;
  --bg-deep:     #E4DBC8;
  --bg-dark:     #161310;
  --ink:         #1A1612;
  --ink-soft:    #4F4438;
  --ink-mute:    #8A7F70;
  --line:        #C9BEA8;
  --line-soft:   #DCD2BE;
  --accent:      #6B2737;     /* oxblood */
  --accent-hi:   #8B3447;
  --accent-warm: #B85C38;     /* burnt sienna for tiny details */

  /* Typography */
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);
  --section-y: clamp(64px, 10vw, 144px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle grain texture overlay for tactile feel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.10 0 0 0 0 0.08 0 0 0 0.10 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   Typography
   ========================================================= */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

h1 {
  font-size: clamp(48px, 8.5vw, 132px);
  font-weight: 350;
}

h2 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 350;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h4 {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.25;
}

.serif-italic { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }

p { font-size: clamp(16px, 1.1vw, 18px); color: var(--ink-soft); max-width: 62ch; }
p.lead { font-size: clamp(19px, 1.5vw, 24px); line-height: 1.45; color: var(--ink); max-width: 56ch; }

/* Section eyebrows — small caps tracking */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.eyebrow.no-rule::before { display: none; }
.eyebrow .num { color: var(--accent); font-variant-numeric: tabular-nums; }

/* Inline editorial link */
.link-line {
  position: relative;
  display: inline-block;
  font-weight: 500;
  padding-bottom: 2px;
  transition: color .3s ease;
}
.link-line::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right center;
  transition: transform .5s cubic-bezier(.7,0,.3,1);
}
.link-line:hover { color: var(--accent); }
.link-line:hover::after {
  transform: scaleX(0);
  transform-origin: left center;
}

/* Bigger CTA link */
.cta-link {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(20px, 2vw, 28px);
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  transition: color .3s, border-color .3s, padding .3s;
}
.cta-link .arrow {
  font-family: var(--font-body);
  font-style: normal;
  font-size: .8em;
  transition: transform .4s cubic-bezier(.7,0,.3,1);
  display: inline-block;
}
.cta-link:hover { color: var(--accent); border-color: var(--accent); }
.cta-link:hover .arrow { transform: translateX(6px); }

/* =========================================================
   Layout
   ========================================================= */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section { padding: var(--section-y) 0; position: relative; }

.rule { height: 1px; background: var(--line); border: 0; }

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(239, 234, 224, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand-mark {
  display: inline-block;
  width: 26px; height: 26px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.05;
}
.brand-name span:last-child {
  font-weight: 400;
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  list-style: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  transition: color .2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.7,0,.3,1);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: background .3s, color .3s, border-color .3s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--ink); color: var(--bg) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad-x) 24px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }
  .nav-cta { margin-top: 12px; display: inline-block; }
}

/* =========================================================
   Hero (home)
   ========================================================= */

.hero {
  padding: clamp(60px, 9vw, 130px) 0 clamp(80px, 11vw, 160px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 6vw, 72px);
}

.hero h1 {
  letter-spacing: -0.03em;
}
.hero h1 .em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 28px 48px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-meta .col p { max-width: 38ch; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 8px;
}

@media (max-width: 720px) {
  .hero-meta { grid-template-columns: 1fr; }
}

/* =========================================================
   Page intro (sub-pages)
   ========================================================= */

.page-intro {
  padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.page-intro h1 {
  font-size: clamp(44px, 6.5vw, 96px);
  letter-spacing: -0.025em;
}
.page-intro h1 .em {
  font-style: italic; color: var(--accent); font-weight: 300;
}

/* =========================================================
   Content sections
   ========================================================= */

/* Two-column editorial split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split .side { position: sticky; top: 100px; }

@media (max-width: 860px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split .side { position: static; }
}

/* Numbered list (editorial) */
.numbered {
  list-style: none;
  display: grid;
  gap: clamp(28px, 3.5vw, 48px);
}
.numbered li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding-bottom: clamp(28px, 3.5vw, 48px);
  border-bottom: 1px solid var(--line-soft);
}
.numbered li:last-child { border-bottom: 0; padding-bottom: 0; }
.numbered .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
  padding-top: 6px;
}
.numbered h3 { margin-bottom: 10px; }
.numbered p { color: var(--ink-soft); }

/* Stat / numbers row */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 36px 28px;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child { border-right: 0; }
.stat .figure {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 12px;
}
.stat .figure .em { font-style: italic; color: var(--accent); }
.stat .lab {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .stat:nth-child(n+3) { border-bottom: 0; }
}

/* Sector grid */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.sector {
  padding: 32px 24px 32px 0;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  padding-left: 24px;
}
.sector:nth-child(3n) { border-right: 0; }
.sector .marker {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
  font-variant-numeric: tabular-nums;
}
.sector h4 { margin-bottom: 8px; }
.sector p { font-size: 14px; }
@media (max-width: 860px) {
  .sectors { grid-template-columns: 1fr; }
  .sector { border-right: 0; }
}

/* Dark section (call-out) */
.dark-section {
  background: var(--bg-dark);
  color: var(--bg);
}
.dark-section h2,
.dark-section h3,
.dark-section h4 { color: var(--bg); }
.dark-section p { color: rgba(239,234,224,0.7); }
.dark-section .eyebrow { color: rgba(239,234,224,0.6); }
.dark-section .eyebrow::before { background: var(--accent-warm); }
.dark-section .rule { background: rgba(239,234,224,0.18); }
.dark-section .cta-link {
  border-color: var(--bg);
  color: var(--bg);
}
.dark-section .cta-link:hover {
  color: var(--accent-warm);
  border-color: var(--accent-warm);
}

/* =========================================================
   Testimonials
   ========================================================= */

.tcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
}
.tcard {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: transform .5s cubic-bezier(.6,0,.3,1), box-shadow .5s ease;
}
.tcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(26,22,18,0.25);
}
.tcard .quote-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  color: var(--accent);
  line-height: .6;
  height: 24px;
}
.tcard blockquote {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tcard blockquote .em { font-style: italic; color: var(--accent); }
.tcard footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  margin-top: auto;
}
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--bg);
  background: var(--accent);
  flex-shrink: 0;
}
.tcard .name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
}
.tcard .role {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.3;
}
@media (max-width: 720px) {
  .tcards { grid-template-columns: 1fr; }
}

/* Pull quote (large featured testimonial) */
.pullquote {
  padding: clamp(60px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pullquote blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.pullquote blockquote .em { font-style: italic; color: var(--accent); }
.pullquote .attribution {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* =========================================================
   Positions
   ========================================================= */

.positions {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
}
.position {
  display: grid;
  grid-template-columns: 80px 1.7fr 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: padding .4s cubic-bezier(.7,0,.3,1);
}
.position:hover { padding-left: 18px; padding-right: 18px; }
.position::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-deep);
  opacity: 0;
  z-index: -1;
  transition: opacity .35s ease;
}
.position:hover::before { opacity: 1; }

.position .ref {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
}
.position .title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 350;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.position .meta {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.position .meta strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 3px;
  letter-spacing: 0;
}
.position .arrow {
  font-family: var(--font-body);
  font-size: 22px;
  transition: transform .4s cubic-bezier(.7,0,.3,1);
}
.position:hover .arrow { transform: translateX(8px); color: var(--accent); }

@media (max-width: 860px) {
  .position {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 16px;
  }
  .position .ref { grid-row: 1; grid-column: 1; align-self: start; padding-top: 4px; }
  .position .title { grid-row: 1; grid-column: 2 / span 2; }
  .position .meta { grid-row: 2; grid-column: 2; font-size: 12px; }
  .position .meta:last-of-type { grid-column: 3; text-align: right; }
  .position .arrow { display: none; }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 32px;
}
.filter-bar button {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
}
.filter-bar button:hover { border-color: var(--ink); }
.filter-bar button.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* =========================================================
   Forms (contact)
   ========================================================= */

.form {
  display: grid;
  gap: 28px;
}
.form-row { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .form-row { grid-template-columns: 1fr; } }

.field { display: block; position: relative; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 10px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 6px 0 12px;
  outline: none;
  appearance: none;
  transition: border-color .25s ease;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 16px) 14px, calc(100% - 10px) 14px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 30px;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.checkbox input { margin-top: 3px; accent-color: var(--accent); }

.submit-btn {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(20px, 2vw, 28px);
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 8px;
  color: var(--ink);
  cursor: pointer;
  transition: color .3s, border-color .3s;
  justify-self: start;
}
.submit-btn .arrow {
  font-family: var(--font-body);
  font-style: normal;
  font-size: .8em;
  transition: transform .4s cubic-bezier(.7,0,.3,1);
}
.submit-btn:hover { color: var(--accent); border-color: var(--accent); }
.submit-btn:hover .arrow { transform: translateX(6px); }

.form-note {
  font-size: 13px;
  color: var(--ink-mute);
  max-width: 60ch;
  line-height: 1.5;
}

/* =========================================================
   Legal pages (imprint, privacy)
   ========================================================= */

.legal {
  max-width: 780px;
  margin: 0 auto;
}
.legal h2 {
  font-size: clamp(26px, 2.4vw, 36px);
  margin: 56px 0 18px;
}
.legal h2:first-of-type { margin-top: 32px; }
.legal h3 {
  font-size: clamp(18px, 1.4vw, 22px);
  margin: 32px 0 10px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}
.legal p { margin-bottom: 14px; max-width: none; }
.legal ul {
  padding-left: 22px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.legal ul li { margin-bottom: 6px; }
.legal .meta-line {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.legal a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.legal a:hover { border-color: var(--accent); }

/* =========================================================
   Footer
   ========================================================= */

footer.site {
  background: var(--bg-dark);
  color: var(--bg);
  padding: clamp(60px, 8vw, 110px) 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(239,234,224,0.18);
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(239,234,224,0.55);
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a {
  color: rgba(239,234,224,0.85);
  font-size: 14px;
  transition: color .2s ease;
}
.footer-grid a:hover { color: var(--accent-warm); }

.footer-brand .brand-display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.footer-brand .brand-display .em { font-style: italic; color: var(--accent-warm); }
.footer-brand p {
  color: rgba(239,234,224,0.7);
  font-size: 14px;
  max-width: 38ch;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 12px;
  color: rgba(239,234,224,0.55);
  letter-spacing: 0.04em;
}
.footer-base .legal-links {
  display: flex; gap: 20px;
  list-style: none;
}
.footer-base a:hover { color: var(--accent-warm); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s cubic-bezier(.2,.6,.2,1), transform 1s cubic-bezier(.2,.6,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

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

/* =========================================================
   Hero ornament (subtle SVG mark)
   ========================================================= */

.hero-ornament {
  position: absolute;
  top: 12%;
  right: -4%;
  width: clamp(220px, 30vw, 440px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.hero-ornament svg { width: 100%; height: auto; }

.hero .wrap { position: relative; z-index: 1; }

@media (max-width: 720px) { .hero-ornament { display: none; } }
