/* ===== Restyle (26 Nov 2026, Harry: "it looks quite boring and ai ... bold and fancy and luxury", "not too goldsmithy").
   Loaded LAST on every page (layouts/base.njk), so it only overrides: delete this file and its <link> to undo it all.
   Our own look: serif headings (Cormorant Garamond, the same family of lettering as the logo) with key words in gold italic,
   square corners, warm stone and ivory grounds, headings left-aligned like a magazine (not a centred black poster),
   flat buttons. Backup of the site before this: git tag backup-before-restyle-2026-11-26. ===== */

:root {
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --stone: #EFEAE1; --ivory: #F8F5EF; --line: #D9D1C3; --gold-ink: #9C7B3E; --gold-soft: #C9A86A;
  --radius: 0px; --radius-s: 0px; --radius-xs: 0px;
}

/* ---- Square corners everywhere, except things that are meant to be round (dots, round arrow and close buttons). ---- */
*, *::before, *::after { border-radius: 0 !important; }
.pk-arrow, .g-arrow, .g-brand .gb-go, .ps-c span, .gt-icon, .st-i, .sgp-x, .sgp li::before, .step::before, .sg-fly, .to-top { border-radius: 50% !important; }

/* ---- Headings in the serif ---- */
h1, h2, h3, .bfx-h, .sgp-t, .g-hero h1, .hp-hero h1, .page h1, .guide-head h1, .mk h1, .mk h2 {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; font-variant-numeric: lining-nums;
}
h1 { line-height: 1.04; }
h2 { line-height: 1.1; }
h1 em, h2 em, h3 em, .bfx-h em, .sgp-t em { font-style: italic; font-weight: 500; color: var(--gold-ink); }
/* Serif needs a little more size than Jost to look the same weight. */
.guide-col h2 { font-size: clamp(1.75rem, 5.4vw, 2.3rem); }
.guide-col h3 { font-size: clamp(1.35rem, 4.2vw, 1.6rem); }

/* ---- Guide header: warm stone instead of black, text on the left. ---- */
.g-hero { background: var(--stone); color: var(--ink); border-bottom: 1px solid var(--line); }
.g-hero .crumbs, .g-hero .crumbs a { color: #6F6A61; }
.g-hero .crumbs .sep { color: #B3AB9D; }
.g-hero .g-kicker { color: var(--gold-ink); letter-spacing: 0.08em; text-transform: none; font-size: 0.8125rem; font-weight: 500; }
.g-hero h1 { color: #151515; font-size: clamp(2.6rem, 9.5vw, 3.9rem); }
.g-hero .g-standfirst { color: #3D3A35; }
.g-hero .g-meta { color: #6F6A61; border-top: 1px solid var(--line); padding-top: 0.75rem; }
.g-hero .g-meta a { color: #151515; }
.g-hero-img img { box-shadow: none; }

/* ---- The scrolling strip: Sale as gold underlined text, not a green pill. ---- */
.cats a.sale, .cats button.sale { background: none !important; color: var(--gold-ink) !important; padding: 0 !important; margin: 0 !important;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---- Buttons: flat, square, no shadows. ---- */
/* (Outlined buttons draw their border with an inset shadow, so shadows are left alone.) */

/* ---- Guide sign-up box: ivory, serif heading. ---- */
.bfx { box-shadow: none; border: 1px solid var(--line); }
.bfx-h { font-size: clamp(1.9rem, 5.5vw, 2.3rem); line-height: 1.05; }

/* ---- Pop-up: serif heading. ---- */
.sgp-t { font-size: 2rem; line-height: 1.05; }

/* ---- Homepage: the slide panel, feature titles and the watch name on product pages, in the serif. ---- */
.slide-card h1, .slide-card h2 { font-family: var(--serif) !important; font-size: clamp(1.9rem, 7.6vw, 2.8rem) !important; line-height: 1.03 !important; font-weight: 500 !important; }
.slide-card { box-shadow: none !important; }
.hf-title { font-family: var(--serif); font-size: clamp(1.6rem, 4.4vw, 2.2rem); line-height: 1.08; }
.pp-name { font-family: var(--serif); font-weight: 500; font-variant-numeric: lining-nums; }
.pp-name .pp-line1 { font-size: clamp(2rem, 7.5vw, 2.8rem); line-height: 1.04; }
.pp-name .pp-line2 { font-family: Jost, sans-serif; }
.mk-head h1 { font-size: clamp(2.3rem, 8vw, 3.4rem); }
.mk-sec h2, .mk-panel h2 { font-size: clamp(1.7rem, 5.5vw, 2.2rem); }
/* Guide "Our top picks" box: square and flat. */
.g-top { box-shadow: none; border: 1px solid var(--line); }
.pp-name .pp-line1 { text-transform: none !important; letter-spacing: -0.005em !important; }
.mk-head h1 { max-width: 18ch; }
/* Warm ivory page instead of cool grey; stone for fields; warm lines. */
:root { --page: #F7F4EE; --field: #EFEAE1; --rule: #E2DACB; }
body { background: var(--page); }
/* Computer menu: Sale as gold text too. */
.dnav-row .dnav-top.sale { background: none !important; color: var(--gold-ink) !important; padding: 1.05rem 0 0.95rem !important; margin: 0 !important;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.dnav-row .dnav-top.sale:hover, .dnav-row .dnav-top.sale:focus-visible { background: none !important; color: #151515 !important; }
/* Homepage slide: the second button as a gold-underlined link (ours, not two stacked boxes). */
.slide-card .btn.secondary { box-shadow: none !important; background: none !important; padding: 0 0.2rem !important;
  text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 7px; text-decoration-thickness: 1.5px; }
/* Guides pages: the header is stone now, so its tabs and topic links go dark. */
.g-tabs { background: #fff; border-color: var(--line); }
.g-tabs a { color: #6F6A61; }
.g-tabs a[aria-current="page"] { background: #151515; color: #fff; }
.g-tabs a:not([aria-current="page"]):hover { color: #151515; }
.g-topics a { color: #151515; border-bottom-color: var(--gold-soft); }
@media (hover: hover) { .g-topics a:hover { color: var(--gold-ink); border-bottom-color: var(--gold-ink); } }
.g-hero .g-meta a:hover { color: var(--gold-ink); }
/* Guide cards (guides page, related guides): titles in the serif. */
.c-text .t { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 4.6vw, 1.6rem); line-height: 1.1; letter-spacing: -0.005em; font-variant-numeric: lining-nums; }
.g-featured .c-text .t { font-size: clamp(1.7rem, 6vw, 2.3rem); }
/* Computers: the guide sign-up box's text half is narrow, so a smaller heading (it ran to four lines). */
@media (min-width: 761px) { .guide-col .bfx-h { font-size: 1.8rem; } }

/* Christmas (1 to 24 Dec 2026): a quiet festive touch, deep green with our gold. Only while <body class="xmas">
   (base.njk, home.christmas). No snow, no animation. */
.xmas { --xmas-h: 2.25rem; }
/* Stays at the top while you scroll (1 Dec 2026, Harry); the top bar sticks just under it. One line, a fixed height. */
.xmas-bar { position: sticky; top: 0; z-index: 11; height: var(--xmas-h); display: flex; align-items: center; justify-content: center; overflow: hidden; white-space: nowrap;
  background: #173a2a; color: #f3eee2; font-size: 0.8125rem; letter-spacing: 0.02em; padding: 0 var(--edge, 1rem); }
.xmas-bar a { color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; }
.xmas-bar a::before { content: "\2726"; color: #d8bf86; margin-right: 0.55em; font-size: 0.75em; vertical-align: 0.1em; }
.xmas-bar u { color: #d8bf86; margin-left: 0.4em; text-decoration-color: rgba(216, 191, 134, 0.55); text-underline-offset: 3px; }
.xmas-bar .xs { display: none; }
@media (max-width: 640px) { .xmas-bar { font-size: 0.75rem; } .xmas-bar .xl { display: none; } .xmas-bar .xs { display: inline; } }
.xmas .bar { top: var(--xmas-h); }
.xmas .mk-tabs { top: calc(3.2rem + var(--xmas-h)); }
.xmas .g-body h2[id], .xmas .g-faq, .xmas .gw, .xmas .pk-card, .xmas .g-shelf, .xmas .gf { scroll-margin-top: calc(5rem + var(--xmas-h)); }
.xmas-bar a:hover u { text-decoration-color: currentColor; }
.xmas .hp .bf-strip { background: #173a2a; }
.xmas .hp .bf-strip .bf-k::before { content: "\2726"; margin-right: 0.5em; }
