/* =========================================================================
   AUSTRAL PRIME — site.css
   Trade-house editorial. Cream + navy + gold. Newsreader + IBM Plex.
   ========================================================================= */

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Brand */
  --navy:       #0F1A36;
  --navy-deep:  #0A1226;
  --navy-soft:  #1A2547;
  --gold:       #C9A65C;
  --gold-warm:  #B8924A;
  --gold-pale:  #E8D9B0;

  /* Surfaces */
  --cream:      #F4EFE3;
  --cream-warm: #EDE6D2;
  --paper:      #FAF6EC;

  /* Ink */
  --ink:        #1A2238;
  --ink-soft:   #4A5170;
  --ink-mute:   #7A7E96;

  /* Lines */
  --rule:       #C8BFA6;
  --rule-soft:  #DCD4BD;
  --rule-navy:  rgba(201, 166, 92, 0.22);

  /* Type */
  --serif:  "Newsreader", "Times New Roman", Georgia, serif;
  --sans:   "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono:   "IBM Plex Mono", "Menlo", "Courier New", monospace;

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max:    1400px;
  --max-prose: 68ch;
}

/* --- Reset & base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; cursor: pointer; }
hr { border: none; height: 1px; background: var(--rule); margin: 0; }

/* --- Type ----------------------------------------------------------------- */
.display, h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 24;
}
h1.display, .display-xl {
  font-size: clamp(2.4rem, 6.6vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 48;
}
h2.display, .display-lg {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 36;
}
h3, .display-md {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  font-variation-settings: "opsz" 24;
}
.italic { font-style: italic; }

p { margin: 0 0 1.1em; max-width: var(--max-prose); }
.lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
  font-variation-settings: "opsz" 18;
  max-width: 56ch;
}

/* Eyebrow / index labels */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.eyebrow .gold-dot {
  color: var(--gold-warm);
  margin: 0 0.4em;
}

/* Section index marker */
.section-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-warm);
  font-weight: 500;
  display: inline-block;
}

/* --- Layout primitives ---------------------------------------------------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-prose { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--sm { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section--tight { padding: clamp(1.5rem, 3vw, 2.5rem) 0; }

.rule { display: block; height: 1px; background: var(--rule); }
.rule--gold { background: var(--gold-warm); opacity: 0.55; }
.rule--strong { height: 2px; background: var(--ink); }

/* --- Header --------------------------------------------------------------- */
.site-header {
  background: var(--navy);
  color: var(--cream);
  border-bottom: 1px solid rgba(201, 166, 92, 0.22);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--gold);
}
.brand-link img { height: 36px; width: auto; }
@media (min-width: 768px) {
  .brand-link img { height: 40px; }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.site-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.site-nav a.is-current { color: var(--gold); border-bottom-color: var(--gold); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.55rem 1.05rem !important;
  border-radius: 999px;
  font-weight: 500;
  border: none !important;
  transition: background 0.18s ease, transform 0.18s ease;
}
.nav-cta:hover { background: var(--gold-pale); border: none !important; transform: translateY(-1px); }

@media (max-width: 640px) {
  .site-nav { gap: 0.9rem; font-size: 13px; }
  .nav-cta { padding: 0.45rem 0.85rem !important; }
  .site-nav .nav-hide-sm { display: none; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2rem, 5vw, 4rem);
}
.hero::before {
  /* ledger-grid faint texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(201,166,92,0.05) 1px, transparent 1px);
  background-size: 80px 100%;
  pointer-events: none;
  opacity: 0.6;
}
.hero::after {
  /* gold radial wash, top-right */
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(201,166,92,0.10), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 2rem;
  opacity: 0.9;
}
.hero-meta .sep {
  width: 24px;
  height: 1px;
  background: var(--gold-warm);
  opacity: 0.6;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin: 0 0 1.5rem;
  max-width: 14ch;
  font-variation-settings: "opsz" 60;
}
.hero-title .em {
  font-style: italic;
  color: var(--gold);
}
.hero-title .amp {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
  margin: 0 0.05em;
}

.hero-sub {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.55;
  color: var(--gold-pale);
  max-width: 52ch;
  margin: 0 0 2.4rem;
  opacity: 0.92;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.35rem;
  transition: color 0.18s ease, border-color 0.18s ease, gap 0.18s ease;
}
.hero-cta:hover { color: var(--gold); gap: 0.85rem; }
.hero-cta .arr { font-family: var(--serif); font-size: 16px; line-height: 1; }

/* Hero footing — index strip */
.hero-strip {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid rgba(201,166,92,0.25);
  padding-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.hero-strip > div {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-strip dt {
  color: var(--gold-warm);
  margin-bottom: 0.35rem;
}
.hero-strip dd {
  color: var(--cream);
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
}
@media (max-width: 720px) {
  .hero-strip { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
}

/* --- Generic section heads ----------------------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: baseline;
  border-top: 1px solid var(--ink);
  padding-top: 1.5rem;
  margin-bottom: 2.5rem;
}
.section-head .section-index { padding-top: 0.4rem; }
.section-head h2 { max-width: 22ch; }
@media (max-width: 640px) {
  .section-head { grid-template-columns: 1fr; gap: 0.6rem; padding-top: 1.2rem; }
  .section-head .section-index { padding-top: 0; }
}

/* --- Two-column prose layout --------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

.two-col-narrow {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 720px) {
  .two-col-narrow { grid-template-columns: 1fr; gap: 1rem; }
}

/* --- Trade categories list (replaces 3-card grid) ----------------------- */
.trade-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.trade-list li {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.trade-list .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold-warm);
  letter-spacing: 0.14em;
}
.trade-list h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: -0.01em;
  margin: 0;
  font-variation-settings: "opsz" 28;
}
.trade-list h3 em { color: var(--ink-soft); font-style: italic; }
.trade-list p { margin: 0; color: var(--ink-soft); font-size: 16px; }
@media (max-width: 820px) {
  .trade-list li { grid-template-columns: 50px 1fr; gap: 1rem; }
  .trade-list li p { grid-column: 2 / -1; margin-top: 0.5rem; }
}

/* --- Channels split ------------------------------------------------------ */
.channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
}
.channels > a {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: background 0.2s ease;
  position: relative;
}
.channels > a + a { border-left: 1px solid var(--rule); }
.channels > a:hover { background: var(--paper); }
.channels .ch-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-warm);
}
.channels .ch-name {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  font-variation-settings: "opsz" 28;
}
.channels .ch-meta {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.channels .ch-meta .arr {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-warm);
  transition: transform 0.2s ease;
}
.channels > a:hover .arr { transform: translateX(4px); }
@media (max-width: 720px) {
  .channels { grid-template-columns: 1fr; }
  .channels > a + a { border-left: none; border-top: 1px solid var(--rule); }
}

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid rgba(201, 166, 92, 0.18);
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 3rem;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 1.1rem;
}
.footer-col p, .footer-col li { font-size: 14.5px; line-height: 1.55; color: var(--gold-pale); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-brand img { height: 38px; margin-bottom: 1.2rem; opacity: 0.95; }
.footer-bottom {
  border-top: 1px solid rgba(201, 166, 92, 0.18);
  padding-top: 1.3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.footer-bottom .legal a { margin-left: 1.4rem; color: var(--gold-pale); }
.footer-bottom .brand-credit { color: inherit; text-decoration: none; }
.footer-bottom .brand-credit:hover { color: var(--gold-pale); text-decoration: underline; }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom .legal a { margin: 0 1rem 0 0; }
}

/* --- Detail / definition table ------------------------------------------ */
.detail-table {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0.8rem 1.5rem;
  font-size: 15px;
  margin: 1.2rem 0 0;
}
.detail-table dt {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 0.3em;
}
.detail-table dd {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 0.6rem;
}
.detail-table dd a { color: var(--ink); text-decoration-color: var(--gold-warm); }
.detail-table dt {
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 0.6rem;
}
@media (max-width: 540px) {
  .detail-table { grid-template-columns: 1fr; gap: 0.2rem 0; }
  .detail-table dd { margin-bottom: 0.6rem; }
}

/* --- Page header (non-home pages) ---------------------------------------- */
.page-head {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(201,166,92,0.08), transparent 65%);
  pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head .eyebrow { color: var(--gold-warm); margin-bottom: 1.5rem; display: block; }
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 18ch;
  margin: 0 0 1.2rem;
  font-variation-settings: "opsz" 48;
}
.page-head h1 em { color: var(--gold); font-style: italic; }
.page-head .lead { color: var(--gold-pale); font-style: italic; }

/* --- Prose (about, privacy, terms) -------------------------------------- */
.prose {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
}
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
  margin: 2.6rem 0 0.9rem;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 30;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-warm);
  font-weight: 600;
  margin: 1.8rem 0 0.6rem;
}
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol {
  margin: 0.6rem 0 1.4rem;
  padding-left: 1.4rem;
}
.prose li { margin-bottom: 0.45rem; }
.prose a:not(.btn):not(.hero-cta) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold-warm);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.prose a:not(.btn):not(.hero-cta):hover { text-decoration-thickness: 2px; }
.prose hr { margin: 2.5rem 0; }
.prose strong { font-weight: 600; }

/* Drop cap on first paragraph of about */
.prose-lead-drop > p:first-of-type::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 5.4em;
  line-height: 0.85;
  padding: 0.05em 0.1em 0 0;
  color: var(--gold-warm);
  font-variation-settings: "opsz" 60;
}

/* --- Stock listing ------------------------------------------------------- */
.stock-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  margin: 2.5rem 0 0;
  position: relative;
}
.stock-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 40px; height: 40px;
  border-top: 2px solid var(--gold-warm);
  border-left: 2px solid var(--gold-warm);
}
.stock-card::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 40px; height: 40px;
  border-bottom: 2px solid var(--gold-warm);
  border-right: 2px solid var(--gold-warm);
}
.stock-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin: 0 0 0.4rem;
  font-variation-settings: "opsz" 26;
}
.stock-card .stock-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 1rem;
  display: inline-block;
}
.stock-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.stock-meta dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}
.stock-meta dd { margin: 0; font-size: 15px; }
@media (max-width: 600px) {
  .stock-meta { grid-template-columns: 1fr; gap: 0.9rem; }
}

/* --- Contact form ------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.4rem;
}
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.field input, .field textarea {
  font: inherit;
  font-family: var(--sans);
  font-size: 16px;
  border: none;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 0.7rem 0;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  transition: border-color 0.18s ease;
}
.field input:focus, .field textarea:focus {
  border-bottom-color: var(--gold-warm);
  border-bottom-width: 2px;
}
.field textarea { resize: vertical; min-height: 120px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  color: var(--cream);
  border: none;
  padding: 0.95rem 1.6rem;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--navy-soft); transform: translateY(-1px); }
.btn .arr { font-family: var(--serif); font-size: 16px; line-height: 1; }

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-pale); }

/* --- Utility ------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }

/* --- Reveal-on-scroll (CSS-only via :target/scroll-driven gracefully degraded) */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(8px);
    animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }
  .fade-in.delay-1 { animation-delay: 0.08s; }
  .fade-in.delay-2 { animation-delay: 0.16s; }
  .fade-in.delay-3 { animation-delay: 0.24s; }
  .fade-in.delay-4 { animation-delay: 0.32s; }
  @keyframes fadeUp {
    to { opacity: 1; transform: none; }
  }
}

/* --- Page head with image (UK Stock) ------------------------------------ */
.page-head--with-image .page-head-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.page-head--with-image .page-head-image {
  position: relative;
}
.page-head--with-image .page-head-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(201, 166, 92, 0.35);
  filter: saturate(0.92) contrast(1.02);
}
.page-head--with-image .page-head-image::after {
  content: "";
  position: absolute;
  inset: 8px -8px -8px 8px;
  border: 1px solid rgba(201, 166, 92, 0.22);
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 820px) {
  .page-head--with-image .page-head-grid { grid-template-columns: 1fr; }
  .page-head--with-image .page-head-image { order: -1; max-width: 480px; margin: 0 auto 1rem; }
}

/* --- Three-column card grid --------------------------------------------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 900px) {
  .cards-3 { grid-template-columns: 1fr; gap: 1rem; }
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
@media (max-width: 700px) {
  .cards-4 { grid-template-columns: 1fr; gap: 1rem; }
}

/* Card fineprint footer line */
.card-fineprint {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 1.2rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule-soft);
}

/* --- Select element matches text inputs --------------------------------- */
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 0.65rem 0;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23C9A65C' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.4rem center;
  padding-right: 1.6rem;
  cursor: pointer;
}
.field select:focus {
  outline: 0;
  border-bottom-color: var(--gold);
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .nav-cta, .hero-cta, .btn { display: none !important; }
  body { background: white; color: black; }
}
