/* instrumentis.eu -- one stylesheet, phone and desktop.

   The face is the invoice's (harp-invoicing-v5/app/brand.js, 'modern' skin):
   navy #003870, steel #366091 table headers, a #D9E9F6 total band, cool
   hairlines, Instrument Sans throughout with Fraunces for the wordmark and
   the amounts and IBM Plex Mono for figures.

   The layout is deliberately nothing like adriaticharps.com: navigation is a
   navy rail down the left (a fixed bar at the bottom of the screen on a
   phone), not a horizontal bar over a centred serif page. */

:root {
  --navy: #003870;
  --navy-dark: #002B57;
  --steel: #366091;
  --steel-2: #3E6FA8;
  --wash: #D9E9F6;
  --pale: #C7D6EC;
  --pale-2: #A9BEDD;

  --paper: #F2F4F9;
  --card: #FFFFFF;
  --ink: #26262C;
  --ink-2: #55555E;
  --ink-3: #75757E;
  --line: #D9E0EC;
  --line-2: #C3CFE2;
  --bad: #8C2230;

  --sans: 'Instrument Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  --rail: 272px;
  --gutter: clamp(20px, 4.4vw, 44px);
  --sec-y: clamp(44px, calc(30px + 3.6vw), 84px);
  --h2: clamp(25px, calc(21.6px + 0.86vw), 34px);
  --body: clamp(16px, calc(15.6px + 0.1vw), 17px);
}

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

body {
  margin: 0; padding-bottom: 52px;   /* clears the phone nav bar */
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--body); line-height: 1.62;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, dt, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; letter-spacing: -0.012em; }
p { text-wrap: pretty; }
img { max-width: 100%; }
address { font-style: normal; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--steel-2); }
:focus-visible { outline: 2px solid var(--steel-2); outline-offset: 3px; border-radius: 2px; }
em { font-style: normal; font-weight: 600; }

/* Every figure on the site sets in the data face, tabular. IBM Plex Mono runs
   large next to Instrument Sans, so inside running text it is stepped down. */
.n, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.prose .n, .inst-notes .n, .notes .n, .why-pt .n { font-size: 0.93em; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--navy); color: #fff; padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 0; }

/* ------------------------------------------------------------------- rail */

/* On a phone the rail is a navy block at the top of the page and only the
   numbered nav strip stays put as you scroll. From 1040px up the whole thing
   becomes the fixed left rail. */
.rail { background: var(--navy); color: #fff; }
.rail-in { padding: 18px var(--gutter) 0; }
.rail-brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff; text-decoration: none;
}
.rail-brand .mark { height: 46px; width: auto; }
.wordmark {
  font-family: var(--display); font-weight: 600; font-size: 29px;
  line-height: 1; letter-spacing: 0.005em;
}
.rail-tag { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--pale); max-width: 34ch; }
.rail-terr {
  margin-top: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--pale-2);
}

/* Phone: the numbered nav is a bar at the bottom of the screen, where a thumb
   is, not a strip at the top. It leaves the flow, so the navy block above is
   just the mark, the strapline and the languages. */
.rail-nav {
  position: fixed; inset: auto 0 0 0; z-index: 30;
  background: var(--navy); padding: 0 var(--gutter);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .18);
}
.rail-nav ol { display: flex; gap: 4px 20px; overflow-x: auto; scrollbar-width: none; }
.rail-nav ol::-webkit-scrollbar { display: none; }
.rail-nav a {
  display: flex; align-items: baseline; gap: 7px; padding: 7px 0;
  color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 600;
  white-space: nowrap; border-bottom: 2px solid transparent;
}
.rail-nav a:hover { color: #fff; border-bottom-color: var(--pale-2); }
.rail-nav .num {
  font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--pale-2);
}

/* The language switcher sits above the numbered nav, where it is the first
   thing a visitor in the wrong language looks for. Flags are drawn, not emoji
   (regional-indicator flags do not render on Windows), and each carries its
   code, so nothing rests on telling two tricolours apart. */
.rail-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rail-langs a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 10px; min-height: 34px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--pale); text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .28);
}
.rail-langs a:hover { color: #fff; border-color: rgba(255, 255, 255, .7); }
.rail-langs a[aria-current] { background: #fff; color: var(--navy); border-color: #fff; }
.flag { display: block; flex: none; border-radius: 1px; }
.rail-foot { display: none; }

@media (min-width: 1040px) {
  body { padding-left: var(--rail); padding-bottom: 0; }
  .rail {
    position: fixed; inset: 0 auto 0 0; width: var(--rail);
    display: flex; flex-direction: column; overflow-y: auto;
  }
  .rail-nav { position: static; padding: 0; box-shadow: none; background: none; }
  /* Four buttons do not fit across a 272px rail: two by two. */
  .rail-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
                margin-top: 22px; }
  .rail-in { display: flex; flex-direction: column; height: 100%; padding: 34px 30px 26px; }
  /* The rail is narrow: the mark stands above the wordmark, not beside it. */
  .rail-brand { flex-direction: column; align-items: flex-start; gap: 14px; }
  .rail-brand .mark { height: 62px; }
  .wordmark { font-size: 30px; }
  .rail-tag { margin-top: 18px; font-size: 14.5px; }
  .rail-nav { margin-top: 32px; }
  .rail-nav ol { display: block; overflow: visible; }
  .rail-nav a {
    padding: 9px 0; border-bottom: none;
    border-left: 2px solid transparent; padding-left: 12px; margin-left: -14px;
  }
  .rail-nav a:hover { border-bottom: none; border-left-color: var(--pale-2); }
  .rail-foot {
    display: block; margin-top: 16px; padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    font-size: 11.5px; line-height: 1.5; color: var(--pale-2);
  }
}

/* --------------------------------------------------------------- sections */

main { display: block; }
.sec { border-bottom: 1px solid var(--line-2); }
.sec > * { max-width: 1000px; margin-inline: auto; padding-inline: var(--gutter); }
.sec-head { padding-top: var(--sec-y); }
.sec-num {
  display: block; font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; color: var(--steel-2); margin-bottom: 8px;
}
.sec h2 { font-size: var(--h2); line-height: 1.15; color: var(--navy); }
.sec-sub { margin-top: 8px; font-size: 15px; color: var(--ink-2); max-width: 62ch; }
.sec-body { padding-top: clamp(22px, 3vw, 34px); padding-bottom: var(--sec-y); }

.prose p + p { margin-top: 14px; }
.prose { max-width: 66ch; color: var(--ink-2); }
.prose em { color: var(--ink); }

.lede {
  font-size: clamp(22px, calc(18.5px + 0.9vw), 30px); line-height: 1.24;
  color: var(--ink); max-width: 20ch; margin-bottom: 20px;
}
@media (min-width: 720px) { .lede { max-width: 26ch; } }

/* key/value grids -- the invoice's little uppercase label over its value */
.kv dt {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px;
}
.kv dd { font-size: 15.5px; line-height: 1.4; color: var(--ink); }

.facts { margin-top: clamp(28px, 4vw, 44px); }
.facts-head {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 12px;
}
/* The cell hairlines are drawn by each cell, not by grid gaps: a row that
   does not fill its last column then ends in paper, not in a grey block. */
.kvgrid, dl.terms {
  display: grid; background: var(--card); border: 1px solid var(--line-2);
  overflow: hidden;
}
.kvgrid .kv, dl.terms .kv {
  box-shadow: 1px 0 0 var(--line-2), 0 1px 0 var(--line-2);
}
.kvgrid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kvgrid .kv { padding: 12px 14px 13px; }

/* ---------------------------------------------------------------- hero */

/* A full-width banner above the headline, showing both models together --
   the one place on the site a photograph is not tied to a single card. 16:9,
   not the instrument cards' 3:4, and capped in height so it stays a banner
   on a wide desktop screen rather than a full first screen. */
.hero { margin: 0; background: #E8EDF5; overflow: hidden; max-height: clamp(200px, 34vw, 460px); }
.hero .photo { aspect-ratio: 16 / 9; }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .photo--pending { aspect-ratio: 16 / 9; }

/* ------------------------------------------------------------ instruments */

/* Each instrument card leads with its photograph, untitled: the model name is
   already the card's heading directly underneath. Until an original exists,
   build.py renders a marked frame -- see tools/build_photos.py. */
.inst-photo { margin: 0; border-bottom: 1px solid var(--line-2); }
.photo { display: block; width: 100%; background: #E8EDF5; }
.photo img { display: block; width: 100%; height: auto; }
.photo--pending {
  aspect-ratio: 3 / 4; display: grid; place-items: center;
  background:
    repeating-linear-gradient(-45deg, transparent 0 11px, rgba(0,56,112,.05) 11px 22px),
    #E8EDF5;
}
.photo--pending span {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel);
  border: 1px dashed var(--line-2); background: var(--card); padding: 7px 12px;
}

.insts { display: grid; gap: clamp(22px, 3vw, 30px); }
@media (min-width: 860px) { .insts { grid-template-columns: 1fr 1fr; } }

.inst { background: var(--card); border: 1px solid var(--line-2); }
/* The harp type titles the card, above the picture; the model name sits
   under it. Nothing else labels the photograph. */
.inst-type {
  font-size: var(--h2); line-height: 1.15; color: var(--navy);
  padding: 15px 18px 14px; border-bottom: 1px solid var(--line-2);
}
.inst-head { padding: 15px 18px 14px; border-bottom: 1px solid var(--line); }
.inst-head h4 { font-size: 20px; font-weight: 600; color: var(--ink); }

table.spec { width: 100%; border-collapse: collapse; }
table.spec th, table.spec td {
  text-align: left; padding: 8px 18px; border-bottom: 1px solid var(--line);
  vertical-align: top; font-size: 14px;
}
table.spec th {
  width: 40%; font-weight: 600; font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3); padding-top: 10px;
}
table.spec td { color: var(--ink); }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: none; }

.inst-notes { padding: 16px 18px 18px; border-top: 1px solid var(--line-2); }
.inst-notes p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.inst-notes p + p { margin-top: 11px; }

/* Each model carries its own price list at the foot of its card. */
.inst-rates { padding: 16px 18px 20px; border-top: 1px solid var(--line-2); }
.inst-rates-head {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 11px;
}
.inst-rates table.rates th { padding: 7px 10px; }
.inst-rates table.rates td { padding: 10px; font-size: 14.5px; }
.inst-rates .band { padding: 10px 12px; }
.inst-rates .band-amt { font-size: 21px; }
.inst-rates .notes { margin-top: 14px; }

/* ------------------------------------------------------------ why rent */

.why {
  display: grid; gap: 1px; background: var(--card);
  border: 1px solid var(--line-2); overflow: hidden;
  /* Four points; 380px keeps them in a 2x2 inside the 1000px column rather
     than a row of three and an empty cell. */
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}
.why-pt {
  padding: 18px 20px 20px;
  box-shadow: 1px 0 0 var(--line-2), 0 1px 0 var(--line-2);
}
.why-pt h3 { font-size: 16.5px; color: var(--navy); margin-bottom: 7px; }
.why-pt p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

.compare-head {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--steel);
  margin: clamp(28px, 4vw, 40px) 0 12px;
}
table.compare td.n { font-size: 16px; }
table.compare td.rent { color: var(--navy); font-weight: 600; background: var(--wash); }

/* -------------------------------------------------------------- the rates */

table.rates { width: 100%; border-collapse: collapse; background: var(--card); }
table.rates th {
  background: var(--steel); color: #fff; text-align: left;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 9px 12px;
}
table.rates th.r, table.rates td.r { text-align: right; }
table.rates td {
  padding: 12px; border-bottom: 1px solid var(--line); font-size: 15px;
  vertical-align: top;
}
table.rates tr:last-child td { border-bottom: none; }
table.rates .unit { color: var(--ink-3); font-size: 14px; white-space: nowrap; }
table.rates td.n { font-weight: 500; white-space: nowrap; }

.band {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  background: var(--wash); padding: 12px 14px; margin-top: 12px;
}
.band-lbl {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--navy);
}
.band-calc { font-family: var(--mono); font-size: 13px; color: var(--steel); }
.band-amt {
  margin-left: auto; font-family: var(--display); font-weight: 600;
  font-size: 23px; line-height: 1.1; color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.notes, .notes-p { margin-top: 20px; max-width: 72ch; }
.notes li, .notes-p { font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }
.notes li { position: relative; padding-left: 18px; }
.notes li + li { margin-top: 7px; }
.notes li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 1px; background: var(--line-2);
}

/* -------------------------------------------------------------- the terms */

dl.terms { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
dl.terms .kv { padding: 14px 16px 15px; }
dl.terms dd { color: var(--ink-2); font-size: 15px; }

/* ----------------------------------------------------------- the finder */

.fd-fields { display: grid; gap: 14px 18px; max-width: 760px; }
@media (min-width: 680px) { .fd-fields { grid-template-columns: 1fr 1.3fr 1fr; } }

.fd-out { margin-top: clamp(18px, 2.6vw, 26px); min-height: 90px; }
.fd-hint {
  border: 1px dashed var(--line-2); background: var(--card);
  padding: 18px 18px; font-size: 14.5px; line-height: 1.55; color: var(--ink-3);
  max-width: 68ch;
}

/* The result wears the invoice's card: a coloured top rule keyed to the tier,
   the region as the heading, then the options as priced rows. */
.fd-res {
  background: var(--card); border: 1px solid var(--line-2);
  border-top: 3px solid var(--steel); padding: 16px 18px 18px;
}
.fd-res--free { border-top-color: var(--navy); }
.fd-res--del { border-top-color: var(--steel); }
.fd-res--ship { border-top-color: var(--steel-2); }
.fd-res--pickup { border-top-color: var(--line-2); }
.fd-res--no { border-top-color: var(--bad); }

.fd-res-top {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  justify-content: space-between; gap: 10px 16px;
}
.fd-res-kicker {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3);
}
.fd-res-head { font-size: 21px; font-weight: 600; color: var(--navy); margin-top: 3px; }
.fd-res-sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.fd-badge {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #fff; background: var(--steel);
  padding: 5px 10px; white-space: nowrap;
}
.fd-res--pickup .fd-badge { background: var(--ink-3); }
.fd-res--free .fd-badge { background: var(--navy); }

.fd-opts { margin-top: 14px; }
.fd-opt {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px 18px; padding: 11px 0; border-top: 1px solid var(--line);
}
.fd-opt-t { font-size: 15px; font-weight: 600; color: var(--ink); }
.fd-opt-t small {
  display: block; font-size: 13px; font-weight: 400; line-height: 1.5;
  color: var(--ink-3); margin-top: 2px;
}
.fd-def {
  font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel);
  border: 1px solid var(--line-2); padding: 2px 6px; margin-left: 8px;
}
.fd-opt-p { font-weight: 500; white-space: nowrap; color: var(--ink); }
.fd-opt--free .fd-opt-p { color: var(--navy); }

.fd-note { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.fd-sorry {
  margin-top: 10px; font-size: 17px; font-weight: 600; color: var(--bad);
  max-width: 52ch;
}
.fd-sub { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 68ch; }
.fd-sub b { color: var(--ink); }

.fd-cta {
  font: inherit; font-weight: 600; font-size: 15px; color: #fff;
  background: var(--navy); border: none; border-radius: 0;
  padding: 12px 22px; min-height: 46px; margin-top: 16px; cursor: pointer;
}
.fd-cta:hover { background: var(--navy-dark); }
.fd-cta--alt { background: var(--steel); }
.fd-cta--alt:hover { background: var(--steel-2); }

details.rules { margin-top: clamp(22px, 3vw, 30px); border-top: 1px solid var(--line-2); }
details.rules summary {
  cursor: pointer; list-style: none; padding: 14px 0 0;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--steel);
  display: flex; align-items: center; gap: 9px;
}
details.rules summary::-webkit-details-marker { display: none; }
details.rules summary::before { content: '+'; font-family: var(--mono); font-size: 14px; }
details.rules[open] summary::before { content: '\2013'; }
details.rules ul { margin-top: 12px; padding-bottom: 4px; max-width: 72ch; }
details.rules li {
  position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.6;
  color: var(--ink-2);
}
details.rules li + li { margin-top: 8px; }
details.rules li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 9px; height: 1.5px; background: var(--steel-2);
}
details.rules b { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------- the form */

.sec--inquiry { border-bottom: none; }

.flash {
  display: none; padding: 12px 14px; margin-bottom: 20px; font-size: 15px;
  border-left: 3px solid var(--steel);
}
.flash--ok { background: var(--wash); color: var(--navy); }
.flash--bad { background: #FBEEF0; color: var(--bad); border-left-color: var(--bad); }
#sent:target, #failed:target, #busy:target { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fields { display: grid; gap: 16px 20px; max-width: 760px; }
@media (min-width: 680px) { .fields { grid-template-columns: 1fr 1fr; } }
.field--wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-3);
}
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-3); }
.field .opt::before { content: ' · '; }
.field .hint { font-size: 13px; color: var(--ink-3); margin-top: -2px; }

input[type=text], input[type=email], input[type=tel], select, textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line-2); border-radius: 0;
  padding: 10px 12px; width: 100%; min-height: 44px;
  appearance: none; -webkit-appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%),
                    linear-gradient(135deg, var(--steel) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 13px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: var(--steel-2); }

.submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
button[type=submit] {
  font: inherit; font-weight: 600; font-size: 16px; color: #fff;
  background: var(--navy); border: none; border-radius: 0;
  padding: 14px 26px; min-height: 48px; cursor: pointer;
}
button[type=submit]:hover { background: var(--navy-dark); }
button[type=submit]:disabled { background: var(--steel); cursor: default; }
.sending-note { font-size: 13.5px; color: var(--ink-3); }
.privacy { margin-top: 18px; max-width: 72ch; font-size: 13px; color: var(--ink-3); line-height: 1.55; }

/* ------------------------------------------------------------- the footer */

.foot { background: var(--navy); color: #fff; }
.foot-in {
  max-width: 1000px; margin-inline: auto;
  padding: clamp(32px, 4vw, 48px) var(--gutter);
}
.foot-head {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--pale-2); margin-bottom: 12px;
}
.foot address { font-size: 15.5px; line-height: 1.6; color: #fff; }
.co-ids { display: flex; flex-wrap: wrap; gap: 8px 36px; margin-top: 18px; }
.co-ids dt {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--pale-2); margin-bottom: 2px;
}
.co-ids dd { font-size: 15px; color: #fff; }
.foot-note { margin-top: 18px; font-size: 13px; color: var(--pale); }

/* ------------------------------------------------------------------- 404 */

body.oops {
  display: grid; place-items: center; min-height: 100vh; padding: 40px 24px;
  text-align: center; background: var(--paper);
}
body.oops .mark { height: 78px; width: auto; }
body.oops .code {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em;
  color: var(--steel); margin-top: 22px;
}
body.oops h1 { font-size: 26px; color: var(--navy); margin-top: 8px; }
.oops-langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 24px; }
.oops-langs a { font-size: 15px; }

@media print {
  .rail-nav, .rail-langs, .sec--inquiry { display: none; }
  body { padding-left: 0; background: #fff; }
  .rail { position: static; width: auto; }
}
