/* ============================================================
   Code Etc — site.css
   Self-hosted fonts, inner pages, news, booking, cookie consent.
   Loaded after style.css on every page.
   ============================================================ */

/* ---------- fonts (self-hosted, no third-party requests) ---------- */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/instrument-sans-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/instrument-sans-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/geist-mono.woff2") format("woff2");
}

/* ---------- orange accent on inner pages ---------- */

.theme-orange {
  --lime: #e85a24;
  --lime-deep: #f07a4a;
  --green: #e85a24;
}
.page-inner .live-dot {
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(232, 90, 36, .18);
  animation: none;
}
.page-inner .eyebrow--ink,
.page-inner .cta-lead,
.page-inner .cta-small { color: rgba(18, 19, 15, .92); }

.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- inner page hero ---------- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .6em;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a { border-bottom: 1px solid var(--line-strong); }
.crumbs a:hover { color: var(--ink); border-color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: .6em; color: var(--line-strong); }

.page-hero {
  padding-block: clamp(36px, 5vw, 72px) clamp(44px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-top: clamp(28px, 4vw, 52px); }
.page-title {
  margin-top: 20px;
  max-width: 17ch;
  font-size: clamp(2.7rem, 6.2vw, 6rem);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.05em;
}
.page-title .serif { font-weight: 400; letter-spacing: -.03em; }
.page-lead {
  margin-top: clamp(20px, 2.4vw, 30px);
  max-width: 58ch;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.45;
  color: var(--ink-soft);
}
.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: clamp(24px, 3vw, 36px);
}

/* ---------- article layout ---------- */

.page-body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  row-gap: 48px;
  padding-block: clamp(48px, 6.5vw, 96px);
  align-items: start;
}
.prose { grid-column: 1 / 8; }
.prose--wide { grid-column: 1 / 10; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  margin-top: 1.9em;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.035em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  margin-top: 1.7em;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
.prose p,
.prose li { max-width: 68ch; color: var(--ink-soft); line-height: 1.62; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}
.prose a:hover { text-decoration-color: var(--lime); }
.prose ul,
.prose ol { display: grid; gap: .55em; padding-left: 1.25em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.5em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: .7em;
  height: 1.5px;
  background: var(--lime);
}
.prose ol { list-style: decimal; }
.prose table {
  width: 100%;
  max-width: 68ch;
  border-collapse: collapse;
  font-size: .93rem;
}
.prose th,
.prose td {
  padding: .7em .8em .7em 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--ink-soft);
}
.prose th {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.prose td:first-child { color: var(--ink); font-weight: 500; }
.table-wrap { overflow-x: auto; }

.side {
  grid-column: 9 / 13;
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}
.side-card {
  padding: clamp(20px, 2vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.side-card--ink { background: var(--ink); border-color: var(--ink); color: #f4f1e8; }
.side-h {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.side-card--ink .side-h { color: #a8a596; }
.facts { display: grid; margin-top: 12px; }
.facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: .7em;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { text-align: right; font-weight: 500; }
.side-card--ink p { margin-top: 12px; font-size: 1.02rem; line-height: 1.4; letter-spacing: -.01em; }
.side-card--ink .btn { margin-top: 18px; width: 100%; }
.side-links { display: grid; gap: 8px; margin-top: 12px; }
.side-links a { font-size: .92rem; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.side-links a:last-child { border-bottom: 0; padding-bottom: 0; }
.side-links a:hover { color: var(--lime); }

.page-faq { padding-block: clamp(48px, 6.5vw, 96px); border-top: 1px solid var(--line); }

/* ---------- card lists (services hub, guides, news) ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-block: clamp(40px, 5vw, 72px);
}
.tile {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), border-color .3s var(--ease);
}
.tile:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.tile-meta {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.tile h2,
.tile h3 {
  margin-top: 14px;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.tile p { margin-top: 10px; font-size: .95rem; color: var(--ink-soft); }
.tile .link-arrow { margin-top: auto; padding-top: 22px; border-bottom: 0; }
.tile .link-arrow span { border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }

.home-news { border-top: 1px solid var(--line); }
.home-news .tiles { padding-bottom: 0; }
.empty-note { padding-block: clamp(40px, 5vw, 72px); color: var(--ink-soft); max-width: 60ch; }

/* ---------- news post ---------- */

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5em 1.4em;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.story { padding-top: 1.7em; border-top: 1px solid var(--line); }
.story:first-of-type { border-top: 0; padding-top: 0; }
.story h2 { margin-top: 0; }
.story > * + * { margin-top: .8em; }
.story-src {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .04em;
  color: var(--muted);
}
.post-note {
  margin-top: 2.4em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .66rem;
  line-height: 1.6;
  letter-spacing: .03em;
  color: var(--muted);
}

/* ---------- booking ---------- */

.booking { padding-block: clamp(36px, 5vw, 72px); }
.booking-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.booking-frame > #cal-inline { width: 100%; min-height: 640px; overflow: auto; }
.booking-fallback {
  display: grid;
  gap: 18px;
  justify-items: start;
  align-content: start;
  padding: clamp(28px, 4vw, 56px);
  max-width: 62ch;
}
.booking-fallback h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.08; }
.booking-fallback p { color: var(--ink-soft); }

/* ---------- footer additions ---------- */

.footer-cols button {
  padding: 0;
  border: 0;
  background: none;
  font-size: .89rem;
  color: #c8c5b8;
  cursor: pointer;
  transition: color .25s;
}
.footer-cols button:hover { color: var(--lime); }

/* ---------- cookie consent ---------- */

.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: grid;
  gap: 16px;
  max-width: 560px;
  padding: 22px 24px;
  background: var(--ink);
  color: #f4f1e8;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  box-shadow: 0 30px 60px -30px rgba(18, 19, 15, .7);
}
.consent h2 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; }
.consent p { font-size: .88rem; line-height: 1.5; color: #c8c5b8; }
.consent p a { color: #f4f1e8; text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-btn {
  flex: 1 1 150px;
  padding: .78em 1.1em;
  border: 1px solid #f4f1e8;
  border-radius: 999px;
  background: #f4f1e8;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.consent-btn:hover { background: transparent; color: #f4f1e8; }
.consent :focus-visible { outline-color: #f4f1e8; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .prose,
  .prose--wide,
  .side { grid-column: 1 / -1; }
  .side { position: static; grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .side,
  .tiles,
  .tiles--2 { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .page-title { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .page-actions .btn { width: 100%; }
  .consent { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .tile { transition: none; }
}
