/* ==========================================================================
   Britain The Best — britainthebest.com
   Fashion & craft production, London. Japanese-first.
   Single stylesheet, no build step, FTP-ready. Relative paths throughout.
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  /* Monochrome base — fashion editorial */
  --ink:        #0b0b0c;
  --ink-mid:    #3a3a3e;
  --ink-soft:   #6e6e75;
  --ink-faint:  #a3a3ab;

  --paper:      #ffffff;
  --paper-alt:  #f4f2ef;   /* warm off-white, gallery wall */
  --paper-deep: #0b0b0c;

  /* Accents — Union flag reinterpreted, muted */
  --crimson:    #b0142d;   /* the single hot colour, used sparingly */
  --navy:       #14213d;
  --stone:      #c9c2b6;

  --line:       rgba(11, 11, 12, 0.14);
  --line-soft:  rgba(11, 11, 12, 0.07);
  --line-invert:rgba(255, 255, 255, 0.18);

  /* Type — a display serif for headlines, grotesque for everything else */
  --display: "Didot", "Bodoni 72", "Playfair Display", "Hiragino Mincho ProN",
             "Yu Mincho", "Times New Roman", serif;
  --sans:    "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont,
             "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
             Arial, sans-serif;

  --gut:   clamp(1.25rem, 4vw, 3rem);
  --sect:  clamp(4rem, 10vw, 8.5rem);
  --max:   1240px;
  --measure: 40em;
}

/* --- 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.85;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: .25em;
    text-decoration-thickness: 1px; text-decoration-color: var(--line); }
a:hover { color: var(--crimson); text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--crimson); outline-offset: 3px;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.18;
                 margin: 0 0 .55em; letter-spacing: -.005em; }
p  { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li { margin-bottom: .5em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--gut) 0; }
strong { font-weight: 700; }
em { font-style: italic; }

/* --- 3. Layout ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 820px; }
.section { padding-block: var(--sect); }
.section--alt  { background: var(--paper-alt); }
.section--dark { background: var(--paper-deep); color: var(--paper); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--paper); }
.section--dark a { color: var(--paper); text-decoration-color: var(--line-invert); }
.section--dark a:hover { color: #ff6b81; }
.section--dark .eyebrow { color: var(--stone); }
.section--dark .eyebrow::after { background: var(--line-invert); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink);
        color: var(--paper); padding: .75rem 1.25rem; z-index: 999; }
.skip:focus { left: 0; }

/* --- 4. Type devices ---------------------------------------------------- */
.eyebrow {
  font-family: var(--sans); font-size: .66rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--ink-soft); font-weight: 500;
  margin: 0 0 1.5rem; display: flex; align-items: center; gap: 1rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.eyebrow--plain::after { display: none; }

.display { font-size: clamp(2.6rem, 8vw, 6rem); line-height: .98; letter-spacing: -.025em; }
.h-xl { font-size: clamp(2.1rem, 5.5vw, 4rem); line-height: 1.04; letter-spacing: -.02em; }
.h-lg { font-size: clamp(1.7rem, 3.8vw, 2.7rem); }
.h-md { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.h-sm { font-size: clamp(1.05rem, 1.7vw, 1.25rem); }

.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--ink-mid);
        max-width: var(--measure); line-height: 1.85; }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.4em; font-size: clamp(1.4rem,2.6vw,1.9rem); }
.prose h3 { margin-top: 2em; font-size: 1.2rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.muted { color: var(--ink-soft); }
.centre { text-align: center; }
.crimson { color: var(--crimson); }

/* Oversized index numerals — the editorial signature */
.figure-no {
  font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: .8; color: var(--stone); display: block; margin-bottom: 1.2rem;
  letter-spacing: -.03em;
}
.rule-top { border-top: 1px solid var(--ink); padding-top: 1.4rem; }

/* --- 5. Header ---------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px;
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.brand { display: flex; align-items: baseline; gap: .8rem; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand__name { font-family: var(--display); font-size: 1.2rem; letter-spacing: .02em; }
.brand__tag { font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-faint); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.8rem; }
.nav a { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
         color: var(--ink-mid); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--crimson); }
.nav__lang { font-size: .68rem; letter-spacing: .14em; color: var(--ink-faint);
             display: flex; gap: .45rem; padding-left: 1.3rem; border-left: 1px solid var(--line); }
.nav__lang a { font-size: .68rem; letter-spacing: .14em; }
.nav__lang [aria-current] { color: var(--ink); font-weight: 700; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--ink);
  padding: .55rem .9rem; font-family: var(--sans); font-size: .66rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; inset: 72px 0 auto; flex-direction: column;
    align-items: flex-start; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: .5rem var(--gut) 1.75rem; }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; font-size: .92rem; letter-spacing: .06em; width: 100%;
           border-bottom: 1px solid var(--line-soft); }
  .nav__lang { border-left: 0; padding-left: 0; padding-top: 1.2rem; }
}

/* --- 6. Hero: text block above, illustration band below ------------------
   The text never sits on top of the artwork, so nothing competes for legibility
   and the whole skyline stays visible. ----------------------------------- */
.hero { background: var(--paper-alt); }
.hero__text {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gut);
  padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2.25rem, 4.5vw, 3.5rem);
}
.hero__text > div { max-width: 48rem; }
.hero__kicker {
  font-size: .66rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--crimson); font-weight: 700; display: block; margin-bottom: 1.4rem;
}
.hero__title { margin-bottom: .45em; color: var(--ink); }
.hero__sub {
  font-size: clamp(1rem, 1.55vw, 1.18rem); color: var(--ink-mid);
  max-width: 38em; margin-bottom: 0;
}
.hero__text .btn-row { margin-top: 2rem; }

/* The band is shown whole — no cropping. Any vertical crop would cut either
   Big Ben's spire (from the top) or the bus and phone box (from the bottom). */
.hero__art { border-top: 2px solid var(--crimson); line-height: 0; }
.hero__art img, .hero__art svg { width: 100%; display: block; }

/* Marquee band */
.marquee { border-block: 1px solid var(--ink); background: var(--paper);
           overflow: hidden; padding-block: 1rem; }
.marquee__track { display: flex; gap: 3rem; white-space: nowrap; width: max-content;
                  animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-size: clamp(.95rem,1.6vw,1.25rem);
                letter-spacing: .02em; color: var(--ink); display: inline-flex;
                align-items: center; gap: 1.2rem; }
.marquee span::after { content: "◆"; color: var(--crimson); font-size: .5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; white-space: normal; width: 100%; }
}

/* --- 7. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem; text-decoration: none;
  font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; padding: 1.1rem 2rem; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--invert { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--invert:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

/* --- 8. Grids & cards --------------------------------------------------- */
.grid { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }

.card { border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.card h3 { margin-bottom: .55em; }
.card p:last-child { margin-bottom: 0; }
.card ul { font-size: .93rem; color: var(--ink-mid); margin-top: 1rem; padding-left: 1.15em; }
.card--box { border: 1px solid var(--line); border-top: 3px solid var(--ink);
             background: var(--paper); padding: clamp(1.5rem, 3vw, 2.25rem); }
.card--accent { border-top-color: var(--crimson); }

.split { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr);
         gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split__side { position: sticky; top: 104px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__side { position: static; } }

.stat { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.section--dark .stat { border-top-color: var(--line-invert); }
.stat__fig { font-family: var(--display); font-size: clamp(2.4rem,5.5vw,3.6rem);
             line-height: 1; display: block; margin-bottom: .6rem; letter-spacing: -.02em; }
.stat__label { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase;
               color: var(--ink-soft); display: block; margin-bottom: .7rem; }
.section--dark .stat__label { color: var(--stone); }
.stat p { font-size: .9rem; color: var(--ink-mid); margin: 0; }
.section--dark .stat p { color: rgba(255,255,255,.72); }

.quote { border-left: 2px solid var(--crimson); padding-left: clamp(1.25rem,3vw,2rem);
         font-family: var(--display); font-size: clamp(1.2rem,2.4vw,1.7rem);
         line-height: 1.4; max-width: 20em; margin: 0; }
.quote cite { display: block; font-family: var(--sans); font-size: .68rem; font-style: normal;
              letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-top: 1.4rem; }

.steps { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.step { border-top: 1px solid var(--ink); padding-top: 1.3rem; }
.step__n { font-family: var(--display); font-size: 2rem; color: var(--stone);
           display: block; margin-bottom: .6rem; line-height: 1; }
.step h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.step p { font-size: .92rem; color: var(--ink-mid); margin: 0; }

/* --- 9. Calendar table -------------------------------------------------- */
.table-scroll { overflow-x: auto; margin: 2.25rem 0;
                -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; min-width: 640px; }
caption { text-align: left; font-size: .8rem; color: var(--ink-soft); padding-bottom: .9rem; }
th, td { text-align: left; padding: .95rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft);
     border-bottom: 1px solid var(--ink); font-weight: 700; white-space: nowrap; }
tbody tr:hover { background: var(--paper-alt); }
td .when { font-family: var(--display); font-size: 1.05rem; white-space: nowrap; }
.pill { display: inline-block; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
        border: 1px solid var(--line); padding: .28rem .7rem; color: var(--ink-soft);
        margin: 0 .3rem .35rem 0; white-space: nowrap; }
.pill--now  { border-color: var(--crimson); color: var(--crimson); font-weight: 700; }
.pill--soon { border-color: var(--ink); color: var(--ink); }
.pill--fw   { border-color: var(--navy); color: var(--navy); }

/* --- 10. Journal -------------------------------------------------------- */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { border-bottom: 1px solid var(--line); margin: 0; }
.post-link { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem;
             align-items: baseline; padding: clamp(1.6rem,3vw,2.4rem) 0;
             text-decoration: none; color: var(--ink); }
.post-link:hover .post-link__title { color: var(--crimson); }
.post-link__title { font-family: var(--display); font-size: clamp(1.25rem,2.6vw,1.8rem);
                    line-height: 1.2; margin: 0 0 .55rem; transition: color .2s; }
.post-link__meta { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
                   color: var(--ink-faint); white-space: nowrap; text-align: right; }
.post-link p { font-size: .93rem; color: var(--ink-mid); margin: 0; max-width: 58em; }
@media (max-width: 660px) { .post-link { grid-template-columns: 1fr; gap: .6rem; }
                            .post-link__meta { text-align: left; } }

.article-head { border-bottom: 1px solid var(--ink); padding-bottom: clamp(2rem,4vw,3rem);
                margin-bottom: clamp(2rem,4vw,3rem); }
.article-meta { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
                color: var(--ink-faint); margin-bottom: 1.6rem; }
.article-foot { border-top: 1px solid var(--ink); margin-top: clamp(2.5rem,5vw,4rem);
                padding-top: clamp(2rem,4vw,3rem); }
.crumb { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
         color: var(--ink-faint); margin-bottom: 2rem; }
.crumb a { color: var(--ink-soft); text-decoration: none; }
.crumb a:hover { color: var(--crimson); }

.callout { border: 1px solid var(--ink); border-left-width: 3px; border-left-color: var(--crimson);
           background: var(--paper-alt); padding: clamp(1.4rem,3vw,2rem); margin: 2.75rem 0; }
.callout p:last-child { margin-bottom: 0; }
.callout__label { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase;
                  color: var(--crimson); display: block; margin-bottom: .9rem; font-weight: 700; }

/* --- 11. Forms ---------------------------------------------------------- */
.form { margin-top: 2.75rem; }
.field { margin-bottom: 1.75rem; }
.field label, .field .label {
  display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); margin-bottom: .6rem; font-weight: 700;
}
.field .req { color: var(--crimson); }
.field .hint { display: block; font-size: .82rem; letter-spacing: 0; text-transform: none;
               color: var(--ink-soft); font-weight: 400; margin-top: .35rem; }
.field .label + .hint { margin: 0 0 .85rem; }
.field input[type="text"], .field input[type="email"], .field input[type="url"],
.field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--ink); border-radius: 0;
  padding: .9rem 1rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--crimson); box-shadow: inset 0 -2px 0 var(--crimson);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.field select { appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230b0b0c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; }
.field-row { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.check-grid { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.check { display: flex; align-items: flex-start; gap: .8rem; font-size: .94rem;
         border: 1px solid var(--line); padding: .85rem 1rem; background: var(--paper);
         cursor: pointer; transition: border-color .2s; letter-spacing: 0;
         text-transform: none; font-weight: 400; color: var(--ink); margin: 0; }
.check:hover { border-color: var(--ink); }
.check input { margin: .4rem 0 0; accent-color: var(--crimson); flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--ink-soft); max-width: 52em; }

/* --- 12. FAQ ------------------------------------------------------------ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.4rem 2.75rem 1.4rem 0;
               position: relative; font-family: var(--display);
               font-size: clamp(1.02rem,1.9vw,1.22rem); line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 1.25rem;
                      color: var(--crimson); font-size: 1.35rem; line-height: 1; font-family: var(--sans); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > *:not(summary) { margin-bottom: 1.4rem; color: var(--ink-mid);
                                font-size: .95rem; max-width: var(--measure); }

/* --- 13. Footer --------------------------------------------------------- */
.site-foot { background: var(--paper-deep); color: rgba(255,255,255,.75);
             padding-block: clamp(3.5rem,7vw,5.5rem) 2rem; font-size: .9rem; }
.site-foot a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-foot a:hover { color: #ff6b81; }
.site-foot h4 { font-family: var(--sans); font-size: .62rem; letter-spacing: .26em;
                text-transform: uppercase; color: var(--stone); margin: 0 0 1.2rem; font-weight: 700; }
.site-foot__grid { display: grid; gap: 2.75rem;
                   grid-template-columns: minmax(0,1.7fr) repeat(auto-fit, minmax(150px,1fr)); }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .6rem; font-size: .87rem; }
.site-foot__brand { font-family: var(--display); font-size: 1.35rem; color: var(--paper);
                    display: block; margin-bottom: 1rem; }
.site-foot__bar { border-top: 1px solid var(--line-invert); margin-top: 3.25rem; padding-top: 1.6rem;
                  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
                  font-size: .75rem; color: rgba(255,255,255,.5); }
.site-foot__sister { border: 1px solid var(--line-invert); padding: 1.2rem 1.35rem;
                     margin-top: 1.6rem; font-size: .84rem; line-height: 1.7; }
.site-foot__sister a { text-decoration: underline; text-underline-offset: 3px; }

/* --- 14. Utility -------------------------------------------------------- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mt-3{margin-top:3rem}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
                   overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- 15. English locale ------------------------------------------------- */
html[lang="en-GB"] body { line-height: 1.75; letter-spacing: .002em; }
html[lang="en-GB"] .prose { max-width: 68ch; }
html[lang="en-GB"] .lede { max-width: 62ch; }
html[lang="en-GB"] .quote { max-width: 26ch; }

/* --- 16. Print ---------------------------------------------------------- */
@media print {
  .site-head, .site-foot, .marquee, .btn-row, .nav-toggle, .hero__art { display: none !important; }
  body { background: #fff; font-size: 10.5pt; }
  .section { padding-block: 1rem; }
  table { min-width: 0; font-size: 9pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
}
