/* ==========================================================================
   Service site. Same engraved-archive aesthetic as the family archive, so
   the demo and the offer read as one hand: parchment ground, iron-gall ink,
   register red, letterpress rules, typewritten codes.
   ========================================================================== */

:root {
  --paper:       #f2efe8;
  --paper-deep:  #e8e4da;
  --paper-card:  #fbf9f5;
  --paper-sunk:  #efebe2;

  --ink:         #201709;
  --ink-soft:    #4b3d2a;
  --ink-faint:   #6d5c43;

  --measure: 62ch;

  --rule:        #bdb5a2;
  --rule-soft:   #d2ccbd;

  --red:         #7a3b30;
  --red-bright:  #8f4839;
  --ochre:       #b3ab97;
  --ochre-text:  #6b5f4a;   /* the border ochre is too light to read as text */
  --teal:        #405c54;   /* the one "it worked" colour */

  --display: 'Fraunces', Georgia, serif;
  --body:    'Newsreader', Georgia, serif;
  --mono:    'Courier Prime', 'Courier New', monospace;

  --shadow-card: 0 1px 0 rgba(255,253,247,.8) inset,
                 0 2px 5px rgba(60,44,24,.09),
                 0 14px 30px -18px rgba(60,44,24,.55);
  --shadow-lift: 0 1px 0 rgba(255,253,247,.8) inset,
                 0 4px 10px rgba(60,44,24,.1),
                 0 22px 44px -24px rgba(60,44,24,.55);

  --bar-h: 60px;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* One column for the whole page. --shell is the outer width including the
     gutter, so a full-bleed band's inner container has to subtract the
     gutter twice or its text lands 64px left of everything else. */
  --shell: 1080px;
  --pad: clamp(20px, 6vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }

body {
  margin: 0;
  background: var(--paper);
  background-image:
    radial-gradient(120% 80% at 12% -10%, rgba(255,252,244,.85), transparent 60%),
    radial-gradient(90% 70% at 92% 4%, rgba(215,196,163,.5), transparent 55%);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.68;
  font-variation-settings: 'opsz' 16;
  overflow-x: hidden;
}

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .38; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--red); }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: 'SOFT' 28, 'WONK' 1, 'opsz' 120;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -.012em;
}

.mono { font-family: var(--mono); font-size: .86em; letter-spacing: -.01em; }

::selection { background: rgba(140,47,34,.18); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.masthead {
  position: sticky; top: 0; z-index: 40;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 20px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(239,230,214,.86);
  backdrop-filter: blur(9px) saturate(1.1);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(255,253,247,.7), 0 2px 0 -1px var(--rule-soft);
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand-mark svg { width: 22px; height: 22px; stroke: var(--red); stroke-width: 1.7; fill: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.06; }
.brand-text b {
  font-family: var(--display); font-weight: 550; font-size: 16.5px;
  font-variation-settings: 'SOFT' 26, 'WONK' 1, 'opsz' 40;
}
.brand-text i {
  font-family: var(--mono); font-style: normal; font-size: 9.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ochre-text);
}

.nav { display: flex; gap: 22px; }
.nav a {
  font-size: 14px; text-decoration: none; color: var(--ink-soft);
  padding: 4px 0; border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--red); }

.lang-switch { display: flex; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
/* Links, not buttons: each language is its own URL so a crawler can reach
   all three and a visitor can bookmark one. */
.lang-switch a {
  text-decoration: none;
  padding: 3px 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
  color: var(--ink-faint);
}
.lang-switch a + a { border-left: 1px solid var(--rule-soft); }
.lang-switch a[aria-current="true"] { background: var(--red); color: #fbf9f5; }

/* --------------------------------------------------------------------------
   Blocks
   -------------------------------------------------------------------------- */

main { position: relative; z-index: 2; }

.hero, .band {
  padding: clamp(52px, 8vw, 96px) var(--pad);
  max-width: var(--shell); margin: 0 auto;
}

.hero { padding-top: clamp(64px, 11vw, 128px); }

.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .19em;
  text-transform: uppercase; color: var(--ochre-text);
  margin: 0 0 20px;
}
.eyebrow::after {
  content: ''; display: block; width: 46px; height: 1px;
  background: var(--rule); margin-top: 12px;
}

.hero h1 {
  font-size: clamp(34px, 6.2vw, 62px);
  max-width: 17ch;
  margin-bottom: 26px;
}

.lede {
  font-size: clamp(18px, 2.1vw, 21px);
  color: var(--ink-soft);
  max-width: var(--measure);
  margin: 0 0 32px;
}

.fine { font-size: 14px; color: var(--ink-faint); margin: 16px 0 0; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block; text-decoration: none;
  padding: 12px 24px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper-card);
  font-size: 16px;
  box-shadow: var(--shadow-card);
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); border-color: var(--ochre-text); }
.btn-primary {
  background: var(--red); border-color: var(--red); color: #fbf9f5;
}
.btn-primary:hover { background: var(--red-bright); border-color: var(--red-bright); }

/* The delivery indication under the hero. Deliberately not shaped like a
   guarantee badge: it says what normally happens, and the FAQ says what it
   depends on. */
.promise {
  display: inline-block;
  margin: 26px 0 0;
  padding: 7px 15px 7px 13px;
  border: 1px solid var(--rule);
  border-left: 2px solid var(--red);
  border-radius: 3px;
  background: var(--paper-card);
  font-size: 15px; color: var(--ink-soft);
}

/* Proof strip */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 48px);
  max-width: var(--shell); margin: 0 auto;
  padding: 30px var(--pad);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.stat b {
  display: block;
  font-family: var(--display); font-weight: 600;
  font-variation-settings: 'SOFT' 28, 'WONK' 1, 'opsz' 120;
  font-size: clamp(28px, 4.4vw, 44px);
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}
.stat span { font-size: 14.5px; color: var(--ink-faint); display: block; max-width: 26ch; }

/* Sunken bands */

.sunk {
  max-width: none;
  background: var(--paper-sunk);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

/* Full-bleed bands need an inner container rather than auto margins on each
   child: a heading capped at 20ch would centre itself inside them. */
.band-inner, .demo-inner {
  max-width: calc(var(--shell) - 2 * var(--pad));
  margin: 0 auto;
}

.band h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 28px;
  max-width: 20ch;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 18px;
}
.card {
  background: var(--paper-card);
  border: 1px solid var(--rule-soft);
  border-radius: 3px;
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { margin: 0; font-size: 16px; color: var(--ink-soft); }

.limits .card { border-left: 2px solid var(--red); }

/* Steps */

.steps {
  list-style: none; counter-reset: step;
  margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.steps li { counter-increment: step; padding-top: 18px; border-top: 1px solid var(--rule); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  color: var(--red); margin-bottom: 12px;
}
.steps h3 { font-size: 18px; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

/* Sources */

.sources { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 40px; }
.sources > div { padding: 18px 0; border-bottom: 1px solid var(--rule-soft); }
.sources dt {
  font-family: var(--display); font-weight: 600; font-size: 17px;
  font-variation-settings: 'SOFT' 28, 'WONK' 1, 'opsz' 40;
  margin-bottom: 5px;
}
.sources dd { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

/* Comparison */

.table-scroll { overflow-x: auto; }

.compare {
  width: 100%; min-width: 520px;
  border-collapse: collapse;
  font-size: 16px;
}
.compare th, .compare td { text-align: left; padding: 14px 18px 14px 0; vertical-align: top; }
.compare thead th {
  font-family: var(--mono); font-weight: 400; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ochre-text);
  padding-bottom: 8px;
}
.compare tbody tr { border-top: 1px solid var(--rule-soft); }
.compare tbody th {
  font-family: var(--display); font-weight: 600; font-size: 16px;
  font-variation-settings: 'SOFT' 28, 'WONK' 1, 'opsz' 40;
  width: 26%;
}
.compare .them { color: var(--ink-faint); width: 30%; }
.compare .us { color: var(--ink); }
.compare .us::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  margin: 0 9px 2px 0;
}

/* Prices */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 18px;
  align-items: start;
}
.tier {
  background: var(--paper-card);
  border: 1px solid var(--rule-soft);
  border-radius: 3px;
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; height: 100%;
}
.tier.featured { border-color: var(--red); box-shadow: var(--shadow-lift); }
.tier h3 { font-size: 21px; }
.tier-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ochre-text);
  margin: 7px 0 0;
}
.tier-price {
  font-family: var(--display); font-weight: 600;
  font-variation-settings: 'SOFT' 28, 'WONK' 1, 'opsz' 120;
  font-size: 34px; color: var(--red);
  margin: 16px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule-soft);
}
.tier ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.tier li { font-size: 15.5px; color: var(--ink-soft); padding: 0 0 10px 20px; position: relative; }
.tier li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ochre);
}
.tier.featured li::before { background: var(--red); }
.tier .btn { text-align: center; }

.addon {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px dashed var(--rule);
  border-radius: 3px;
}
.addon h3 { font-size: 18px; margin-bottom: 7px; }
.addon p { margin: 0; font-size: 16px; color: var(--ink-soft); max-width: var(--measure); }

.measure { max-width: var(--measure); }

/* Questions */

.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 4px 44px; }
.qa { padding: 20px 0; border-top: 1px solid var(--rule-soft); }
.qa h3 { font-size: 18px; margin-bottom: 9px; }
.qa p { margin: 0; font-size: 16px; color: var(--ink-soft); }

/* Demo */

.demo {
  max-width: none;
  background:
    radial-gradient(70% 120% at 78% 0%, rgba(215,196,163,.55), transparent 62%),
    var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.demo h2 { font-size: clamp(28px, 4.2vw, 44px); }

/* Contact */

.contact { text-align: left; }

.enquiry { max-width: 640px; margin: 0 0 34px; }

/* Off-canvas rather than display:none, which some form bots skip. */
.trap {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin: 0 0 18px; display: flex; flex-direction: column; }
.field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ochre-text);
  margin-bottom: 7px;
}
.field input, .field textarea {
  font: inherit; font-size: 16.5px; color: var(--ink);
  background: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 11px 13px;
  width: 100%;
  box-shadow: 0 1px 0 rgba(255,253,247,.8) inset;
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.55; }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red);
}
.hint { font-size: 13.5px; color: var(--ink-faint); margin-top: 6px; }

.cf-turnstile { margin: 0 0 20px; }

.form-actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px;
  margin: 0 0 14px;
}
.form-actions button[disabled] { opacity: .55; cursor: default; }

.form-status { font-size: 15.5px; color: var(--ink-faint); }
.form-status.is-ok { color: var(--teal); }
.form-status.is-err { color: var(--red); }

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* Footer */

.foot {
  position: relative; z-index: 2;
  border-top: 1px solid var(--rule);
  padding: 30px var(--pad);
  max-width: var(--shell); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline;
  font-size: 14px; color: var(--ink-faint);
}
.foot p { margin: 0; }

/* --------------------------------------------------------------------------
   Narrow screens
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .stats { grid-template-columns: 1fr; gap: 22px; }
  .stat span { max-width: none; }
  .hero h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
