/* =========================================================================
   Dr Arkadiusz Badziński — Kancelaria Tłumaczeń
   Refined Dark design system · oxblood accent
   ========================================================================= */

:root {
  /* Canvas */
  --ink:        #0E0B0C;
  --ink-2:      #171012;
  --ink-3:      #231619;
  --hairline:   rgba(244, 238, 230, 0.10);
  --hairline-2: rgba(244, 238, 230, 0.16);

  /* Accent */
  --oxblood:        #7A1F2B;
  --oxblood-bright: #A6313F;          /* decorative fills, hovers, borders */
  --accent-text:    #C75B68;          /* readable accent text (AA on dark) */
  --oxblood-glow:   rgba(166, 49, 63, 0.30);
  --gold:           #C9A86A;

  /* Text */
  --paper:       #F4EEE6;
  --paper-dim:   #B7ADA4;
  --paper-faint: #928980;

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --maxw: clamp(1200px, 90vw, 1800px);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --radius: 14px;
  --radius-sm: 10px;

  /* Motion */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);      /* strong ease-out */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Atmospheric background: faint oxblood glow + grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(122, 31, 43, 0.22), transparent 60%),
    radial-gradient(700px 700px at -10% 100%, rgba(122, 31, 43, 0.10), transparent 55%),
    var(--ink);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; height: auto; }

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

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

:focus-visible {
  outline: 2px solid var(--oxblood-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--oxblood);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
.serif { font-family: var(--serif); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--accent-text);
  display: inline-block;
}

.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--paper-dim); max-width: 60ch; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.divider { height: 1px; background: var(--hairline); border: 0; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: 0.9rem; text-wrap: balance; }
.section-head p { margin-top: 1rem; color: var(--paper-dim); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: var(--pad-y) 1.6rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease), background-color 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-align: center;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--oxblood);
  color: var(--paper);
  box-shadow: 0 8px 30px -12px var(--oxblood-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--hairline-2);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn--primary:hover { background: var(--oxblood-bright); box-shadow: 0 14px 40px -12px var(--oxblood-glow); }
  .btn--ghost:hover { border-color: var(--paper-dim); background: rgba(244,238,230,0.04); }
}

.btn--sm { min-height: 44px; padding: 0.6rem 1.4rem; font-size: 1rem; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 11, 12, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--hairline); background: rgba(14, 11, 12, 0.9); }
.site-header .wrap { max-width: none; }

.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}
.nav__logo img { height: 70px; width: auto; }
.nav__logo { display: inline-flex; align-items: center; flex-shrink: 0; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.4vw, 1.6rem);
  list-style: none;
  padding: 0;
}
.nav__links a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--paper-dim);
  position: relative;
  padding-block: 0.4rem;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--oxblood-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--paper); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.nav__row nav { flex: 1; display: flex; justify-content: center; }
.nav__actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.2s var(--ease);
}
.lang-btn img { opacity: 0.75; transition: opacity 0.2s var(--ease); }
.lang-btn:hover { color: var(--paper); }
.lang-btn:hover img { opacity: 1; }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--oxblood);
  border-radius: 6px;
  color: var(--paper);
  cursor: pointer;
  padding: 0.3rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 26px; height: 26px; }

/* Backdrop for side-panel menu */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu-backdrop.open { opacity: 1; visibility: visible; }

/* Mobile nav */
@media (max-width: 940px) {
  nav[aria-label="Główne"], nav[aria-label="Main"] { display: none; }
  .nav__actions { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero__tagline { display: none; }
  .lang-btn { margin-left: auto; }
  .mobile-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    left: auto;
    width: min(85vw, 480px);
    background: var(--ink-2);
    z-index: 200;
    transform: translateX(100%);
    opacity: 1;
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s;
    padding: 0;
    overflow-y: auto;
  }
  .mobile-menu.open { transform: translateX(0); visibility: visible; }
  .mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--hairline);
  }
  .mobile-menu__label {
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--paper-faint);
  }
  .mobile-menu__close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--oxblood);
    border-radius: 4px;
    background: none;
    color: var(--paper);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  }
  .mobile-menu__close:hover { background: var(--ink-3); border-color: var(--oxblood-bright); }
  .mobile-menu ul { list-style: none; padding: 0.5rem 0; display: grid; gap: 0; }
  .mobile-menu a {
    display: block;
    font-family: var(--serif);
    font-size: 1.5rem;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid var(--hairline);
    color: var(--paper);
  }
  .mobile-menu .btn { margin: 1.5rem 1.5rem 0; width: calc(100% - 3rem); }
}
@media (min-width: 941px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: var(--section-y); }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero__eyebrow { margin-bottom: 1.75rem; }
.hero__copy { container-type: inline-size; }
.hero__name {
  font-size: clamp(2.8rem, 15.2cqi, 15rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero__name .accent { color: var(--oxblood-bright); font-style: italic; }
.hero__role {
  margin-top: 1.5rem;
  font-size: clamp(0.9rem, 3.1cqi, 4rem);
  line-height: 1.65;
  color: var(--paper-dim);
  max-width: none;
}
.hero__cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__tagline {
  margin-top: 1.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--oxblood);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 4.2cqi, 5rem);
  color: var(--paper);
}

.hero__portrait { position: relative; }
.hero__portrait img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 3 / 4;
  filter: saturate(0.92) contrast(1.02);
  transition: filter 0.5s var(--ease);
}
.hero__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 -120px 90px -60px rgba(14,11,12,0.85);
  pointer-events: none;
}
.hero__frame {
  position: absolute;
  inset: -14px;
  border: 1px solid var(--oxblood);
  border-radius: calc(var(--radius) + 6px);
  z-index: -1;
  opacity: 0.6;
  transition: opacity 0.5s var(--ease), border-color 0.5s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .hero__portrait:hover img { filter: saturate(1.0) contrast(1.03) brightness(1.04); }
  .hero__portrait:hover .hero__frame { opacity: 1; border-color: var(--oxblood-bright); }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { order: -1; max-width: 420px; width: 100%; margin-inline: auto; }
  .hero__portrait img { aspect-ratio: 4 / 5; }
  .hero__frame { inset: -6px; }
  .hero__role span { white-space: normal !important; }
}

/* --- Mobile full-bleed hero splash --- */
.hero__mobile-splash { display: none; }

@media (max-width: 940px) {
  .hero--home { padding-top: 0; }
  .hero--home .hero__mobile-splash {
    display: block;
    position: relative;
    width: 100vw;
    height: 65svh;
    overflow: hidden;
  }
  .hero--home .hero__mobile-splash img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: saturate(0.9) contrast(1.03);
  }
  .hero__splash-tagline {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 4rem var(--gutter) 1.5rem;
    background: linear-gradient(transparent, rgba(14,11,12,0.88));
    font-family: var(--serif);
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    font-style: italic;
    color: var(--paper);
    text-align: center;
    margin: 0;
  }
  .hero--home .hero__portrait { display: none; }
  .hero--home .hero__grid { grid-template-columns: 1fr; }
  .hero__role br { display: none; }
  .hero__role { text-align: left; }
  /* Header overlays the photo: transparent, logo hidden */
  .page-home .site-header {
    position: absolute;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
  }
  .page-home .nav__logo { display: none; }
  .page-home .nav__row { justify-content: flex-end; }
  .page-home .nav__toggle { width: 56px; height: 56px; }
}

/* ---------- Credibility band ---------- */
.creds {
  border-block: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(122,31,43,0.06), transparent);
}
.creds__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.cred { text-align: left; }
.cred__num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cred__num::before {
  content: "";
  display: block;
  width: 1.75rem;
  height: 2px;
  background: var(--oxblood);
  margin-bottom: 0.85rem;
}
.cred__label { margin-top: 0.65rem; color: var(--paper-dim); font-size: 0.92rem; line-height: 1.4; }
.creds__chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.5rem; justify-content: center; }
.chip {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--paper-dim);
  border: 1px solid var(--hairline-2);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
}
@media (max-width: 720px) { .creds__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), background-color 0.28s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--oxblood);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.32s var(--ease);
}
.card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; min-height: 3rem; }
.card p { color: var(--paper-dim); font-size: 0.98rem; }
.card__index { font-family: var(--serif); color: var(--accent-text); font-size: 0.95rem; letter-spacing: 0.1em; }
.card__link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 1rem; color: var(--paper); font-weight: 600; font-size: 0.9rem; }
.card__link span { transition: transform 0.3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); border-color: var(--hairline-2); background: #1b1316; }
  .card:hover::before { transform: scaleY(1); }
  .card:hover .card__link span { transform: translateX(4px); }
}

/* ---------- Split feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature--reverse .feature__media { order: 2; }
.feature__media img { border-radius: var(--radius); width: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.02); }
.feature__media { position: relative; }
.feature h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); text-wrap: balance; }
.feature ul { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: 0.85rem; }
.feature li { position: relative; padding-left: 1.6rem; color: var(--paper-dim); }
.feature li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; background: var(--oxblood-bright); border-radius: 50%; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
}

/* ---------- Books strip ---------- */
.books { display: flex; gap: 1rem; flex-wrap: nowrap; align-items: flex-end; }
.books img { flex: 1; width: 0; min-width: 0; height: auto; border-radius: 4px; box-shadow: 0 24px 48px -20px rgba(0,0,0,0.7); transition: transform 0.3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .books img:hover { transform: translateY(-6px) rotate(-1deg); }
}
@media (max-width: 820px) {
  .books { gap: 0.75rem; }
}

/* ---------- Accordion (details) ---------- */
.accordion { display: grid; gap: 0.85rem; }
.acc {
  background: var(--ink-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  scroll-margin-top: 110px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.acc[open] { border-color: var(--hairline-2); border-left-color: var(--oxblood); }
@media (hover: hover) and (pointer: fine) {
  .acc > summary:hover { background: rgba(244,238,230,0.03); }
}
.acc > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem clamp(1.25rem, 2.5vw, 1.9rem);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--paper);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc__icon { flex: none; width: 22px; height: 22px; position: relative; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; background: var(--accent-text); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.acc__icon::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.acc__icon::after  { top: 0; left: 50%; height: 100%; width: 2px; transform: translateX(-50%); }
.acc[open] .acc__icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.acc__body { padding: 0 clamp(1.25rem, 2.5vw, 1.9rem) 1.6rem; color: var(--paper-dim); }
.acc__body p { margin-bottom: 0.9rem; }
.acc__body ul { padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.acc__body li { color: var(--paper-dim); }
.acc__body strong { color: var(--paper); font-weight: 600; }
.acc__body .rules-s-head {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--paper);
  margin: 2rem 0 0.7rem;
}
.acc__body .rules-s-head:first-child { margin-top: 0; }
.rules-list { list-style: none; padding-left: 0; margin: 0; counter-reset: rules-item; display: grid; gap: 0.4rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--hairline-2); }
.acc__body .rules-list li { counter-increment: rules-item; display: flex; gap: 0.55rem; color: var(--paper-dim); font-weight: 400; }
.acc__body .rules-list li::before { content: counter(rules-item) "."; flex-shrink: 0; color: var(--paper-dim); min-width: 1.4rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.5rem; }
.tag-list span { font-size: 0.8rem; color: var(--paper-dim); border: 1px solid var(--hairline); border-radius: 6px; padding: 0.3rem 0.6rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--ink-2); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.6rem; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--paper); }
.price-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px dashed var(--hairline); }
.price-row:last-child { border-bottom: 0; }
.price-row .val { color: var(--gold); font-family: var(--serif); white-space: nowrap; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.price-note { color: var(--paper-faint); font-size: 0.88rem; margin-top: 1.5rem; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact-grid img { filter: saturate(0.85) contrast(1.02); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-line { display: flex; align-items: center; gap: 0.9rem; font-size: 1.15rem; padding: 0.6rem 0; }
.contact-line svg { width: 22px; height: 22px; color: var(--accent-text); flex: none; }
.contact-line a { transition: color 0.25s var(--ease); }
.contact-line a:hover { color: var(--oxblood-bright); }
.office { margin-top: 1.5rem; }
.office .col-h { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--paper-dim); margin-bottom: 0.35rem; }
.office address { font-style: normal; color: var(--paper-dim); }

/* ---------- CTA strip ---------- */
.cta-strip {
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(122,31,43,0.18), rgba(23,16,18,0.4));
  padding: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}
.cta-strip h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); text-wrap: balance; }
.cta-strip p { color: var(--paper-dim); margin-top: 0.75rem; }
.cta-strip .hero__cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding-block: clamp(3rem, 5vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid img { height: 40px; margin-bottom: 1.25rem; }
.footer-grid p { color: var(--paper-faint); font-size: 0.92rem; max-width: 34ch; }
.footer-col .col-h { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; color: var(--paper-dim); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--paper-dim); font-size: 0.95rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--paper-faint); font-size: 0.85rem; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-top: 1rem; }
.page-hero p { margin-top: 1.25rem; }
.breadcrumb { color: var(--paper-faint); font-size: 0.85rem; }
.breadcrumb a:hover { color: var(--paper-dim); }

/* ---------- Prose ---------- */
.prose p { margin-bottom: 1.1rem; color: var(--paper-dim); }
.prose h3 { font-size: 1.5rem; margin: 2rem 0 0.8rem; color: var(--paper); }
.prose ul { padding-left: 1.2rem; display: grid; gap: 0.5rem; margin-bottom: 1.1rem; }
.prose li { color: var(--paper-dim); }
.prose strong { color: var(--paper); }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }

/* Page-load stagger for hero */
.load-up { opacity: 0; transform: translateY(20px); animation: loadUp 0.8s var(--ease) forwards; }
.load-up.d1 { animation-delay: 0.05s; }
.load-up.d2 { animation-delay: 0.18s; }
.load-up.d3 { animation-delay: 0.31s; }
.load-up.d4 { animation-delay: 0.44s; }
.load-up.d5 { animation-delay: 0.57s; }
@keyframes loadUp { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .load-up { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .btn:hover, .card:hover, .books img:hover { transform: none !important; }
}

/* No-JS / no-scripting fallback: never leave content hidden */
@media (scripting: none) {
  .reveal, .load-up { opacity: 1 !important; transform: none !important; animation: none !important; }
}
.no-js .reveal, .no-js .load-up { opacity: 1 !important; transform: none !important; animation: none !important; }
