/* ============================================================
   Ingolby International — site styles
   Palette: vivid indigo + gold on warm parchment
   Type: Cormorant Garamond (headings) + Libre Baskerville (body)
   ============================================================ */

/* ---------- Self-hosted fonts (SIL Open Font License) ----------
   Served locally — no requests to fonts.googleapis.com / fonts.gstatic.com */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/libre-baskerville.woff2') format('woff2');
}
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/libre-baskerville-italic.woff2') format('woff2');
}

:root {
  /* Colour */
  --indigo:        #3B33B8;  /* vivid primary */
  --indigo-deep:   #262063;  /* dark band */
  --indigo-night:  #171338;  /* header / footer */
  --ink:           #26224F;  /* body text on parchment */
  --ink-soft:      #5A5478;  /* secondary text on parchment */
  --gold:          #C9992E;  /* buttons, rules */
  --gold-bright:   #E5BC55;  /* gold on dark backgrounds */
  --gold-ink:      #8F6D1A;  /* gold-toned text on light backgrounds */
  --gold-soft:     #D3BC7E;  /* hairline frames */
  --paper:         #F5F1E6;  /* page background */
  --paper-raised:  #FBF8F0;  /* cards, panels */
  --hairline:      #E0D5B8;
  --cream:         #F7F3E8;  /* text on dark */
  --cream-soft:    #D9D4E8;  /* secondary text on dark */

  /* Type (major-third scale, base 16px) */
  --font-heading: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Libre Baskerville', Georgia, serif;
  --font-size-sm: 0.8rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5625rem;
  --font-size-2xl: 1.9531rem;
  --font-size-3xl: 2.4414rem;
  --font-size-4xl: 3.0518rem;
}

/* ---------- Reset-lite ---------- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, table { margin: 0; }
img, svg { display: block; max-width: 100%; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.12; }

a { color: var(--indigo); text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }

.wrap { max-width: 68rem; margin-inline: auto; padding-inline: 1.5rem; }

section { scroll-margin-top: 5rem; }

/* ---------- Shared ornaments ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1rem;
}
.on-dark .eyebrow { color: var(--gold-bright); }

.fleuron { color: var(--gold); margin: 2rem auto 0; }
.on-dark .fleuron { color: var(--gold-bright); }

/* Gilt double frame */
.frame {
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--gold-soft);
  padding: 2.75rem clamp(1.25rem, 4vw, 3rem);
}
.frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--gold-soft);
  pointer-events: none;
}
.on-dark .frame,
.frame.frame-dark {
  background: transparent;
  border-color: var(--gold);
}
.frame.frame-dark::before { border-color: var(--gold); opacity: 0.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.7rem;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--indigo-night);
}
.btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn-ghost {
  color: var(--cream);
  border-color: rgba(247, 243, 232, 0.55);
}
.btn-ghost:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
.btn-outline {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--indigo-night); }

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--indigo-night);
  border-bottom: 1px solid var(--gold);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
  padding-block: 1.1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 3px var(--indigo-night), inset 0 0 0 4px var(--gold);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.site-nav a:not(.btn) {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-decoration: none;
  padding-block: 0.2rem;
}
.site-nav a:not(.btn):hover { color: var(--gold-bright); }
.site-nav a[aria-current="page"] {
  color: var(--gold-bright);
  border-bottom: 1px solid var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 160% at 50% -20%, var(--indigo) 0%, var(--indigo-deep) 62%, var(--indigo-night) 100%);
  color: var(--cream);
  text-align: center;
  padding: clamp(4.5rem, 10vw, 7.5rem) 1.5rem clamp(4rem, 9vw, 6.5rem);
}
.hero::before, .hero::after {
  font-family: var(--font-heading);
  font-size: 17rem;
  line-height: 1;
  color: var(--gold-bright);
  opacity: 0.13;
  position: absolute;
  pointer-events: none;
}
.hero::before { content: "\201C"; top: 0.5rem; left: 3vw; }
.hero::after { content: "\201D"; bottom: -6rem; right: 3vw; }
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  max-width: 22ch;
  margin-inline: auto;
}
.hero .lede {
  font-size: var(--font-size-lg);
  font-family: var(--font-heading);
  line-height: 1.5;
  color: var(--cream-soft);
  max-width: 52ch;
  margin: 1.6rem auto 0;
}
.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.section-head { text-align: center; max-width: 46rem; margin-inline: auto; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head .section-note {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Language cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.card {
  background: var(--paper-raised);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--gold);
  padding: 2rem 1.75rem;
}
.card .pair {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.2;
}
.card .pair .arrow { color: var(--gold-ink); padding-inline: 0.15em; }
.card .native {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-ink);
  margin-top: 0.2rem;
}
.card p:not(.pair):not(.native) {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Dark feature band */
.band-dark {
  background: linear-gradient(160deg, var(--indigo-deep) 0%, var(--indigo-night) 100%);
  color: var(--cream);
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}
.band-dark h2 { color: var(--cream); }
.band-dark p { color: var(--cream-soft); }
.band-inner {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}
.band-inner .price-tag {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  color: var(--gold-bright);
  margin-top: 1.4rem;
}
.band-inner .price-tag small {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--cream-soft);
}
.band-inner .btn { margin-top: 1.8rem; }
.band-inner > p { margin-top: 1.2rem; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2.5rem 2rem;
  margin-top: 3rem;
  text-align: center;
}
.values-grid h3 { font-size: var(--font-size-xl); }
.values-grid h3::after {
  content: "";
  display: block;
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
  margin: 0.8rem auto 0;
}
.values-grid p {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Closing CTA band */
.closing { text-align: center; }
.closing .invite {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--cream);
  max-width: 26ch;
  margin-inline: auto;
}
.closing .email-line {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}
.closing .email-line a { color: var(--gold-bright); text-decoration-color: var(--gold); }

/* ---------- Price list page ---------- */
.page-title {
  text-align: center;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.5rem 0;
}
.page-title h1 { font-size: clamp(2.6rem, 5vw, 3.6rem); }
.page-title .intro {
  margin-top: 1.2rem;
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-style: italic;
  color: var(--ink-soft);
}

.price-section { padding-block: clamp(2.5rem, 6vw, 4rem); }
.price-section .section-head { margin-bottom: 2.5rem; }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--gold-ink);
  text-align: left;
  padding: 0 0.5rem 0.9rem;
  border-bottom: 1px solid var(--gold-soft);
}
.price-table td {
  padding: 1.15rem 0.5rem;
  border-bottom: 1px solid var(--hairline);
  vertical-align: baseline;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table .pair {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
}
.price-table .pair .arrow { color: var(--gold-ink); padding-inline: 0.15em; }
.price-table .rate, .price-table th.num { text-align: right; white-space: nowrap; }
.price-table .rate strong { font-size: 1.1rem; }
.price-table .rate small { color: var(--ink-soft); }

.price-note {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.price-note em { color: var(--ink); }

/* Formatting service row */
.service-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
}
.service-row .service-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
}
.service-row .service-desc {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.service-row .rate {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--indigo);
  white-space: nowrap;
}
.service-row .rate small {
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
}

/* ---------- Legal page (Impressum) ---------- */
.legal-body {
  max-width: 42rem;
  margin-inline: auto;
  overflow-wrap: break-word;
  hyphens: auto;
}
.legal-body h2 {
  font-size: var(--font-size-2xl);
  margin-top: 3rem;
}
.legal-body h2::after {
  content: "";
  display: block;
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
  margin-top: 0.6rem;
}
.legal-body h3 {
  font-size: var(--font-size-xl);
  margin-top: 2.25rem;
}
.legal-body h4 {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
  margin: 1.75rem 0 0;
}
.legal-body p { margin-top: 1.1rem; }
.legal-body ul {
  margin-top: 1.1rem;
  padding-left: 1.3rem;
  list-style: square;
}
.legal-body li { margin-top: 0.6rem; }
.legal-body li::marker { color: var(--gold-ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--indigo-night);
  color: var(--cream-soft);
  border-top: 1px solid var(--gold);
  padding-block: 2.75rem 2.25rem;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.footer-nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-nav a { color: var(--cream-soft); text-decoration: none; }
.footer-nav a:hover { color: var(--gold-bright); }
.footer-line {
  margin-top: 1.9rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(211, 188, 126, 0.25);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero::before, .hero::after { display: none; }
}
@media (max-width: 860px) {
  .card-grid, .values-grid { grid-template-columns: 1fr; }
  .card { text-align: center; }
  .card p:not(.pair):not(.native) { max-width: 40ch; margin-inline: auto; }
}
@media (max-width: 560px) {
  .price-table thead { display: none; }
  .price-table tr { display: block; padding: 1.1rem 0; border-bottom: 1px solid var(--hairline); }
  .price-table tr:last-child { border-bottom: none; }
  .price-table td { display: block; border: none; padding: 0; }
  .price-table .rate { text-align: left; margin-top: 0.4rem; }
}
@media (max-width: 640px) {
  .header-inner { justify-content: center; text-align: center; }
  .site-nav { justify-content: center; }
  .footer-inner { justify-content: center; text-align: center; }
  .service-row { justify-content: center; text-align: center; }
  .service-row .service-desc { margin-inline: auto; }
}

/* ---------- Print (price list) ---------- */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .closing, .btn { display: none; }
  .frame, .frame::before { border-color: #999; }
  .page-title, .price-section { padding: 0.5rem 0; }
}
