/* Ardglass Fish Smokers
   Ink navy on soft grey and cream. Classic serif for reading, a plain sans for wayfinding.
   Magazine grid: text and picture columns, room to read. */

:root {
  --ink: #14243b;
  --ink-deep: #0d1a2c;
  --ink-soft: #2c4468;
  --paper: #f7f6f2;
  --paper-2: #efeee9;
  --grey: #e2e1dc;
  --smoke: #c9ccd0;
  --text: #1b1f26;
  --muted: #4f5866;
  --oak: #9a5a24;
  --white: #ffffff;
  --serif: "EB Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --measure: 38rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.55;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--ink-soft); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--oak);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--white); padding: 0.6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* Small sans labels, the wayfinding voice */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.9rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.6rem; height: 1px;
  background: var(--oak);
  vertical-align: middle;
  margin-right: 0.7rem;
}

.lede {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
}

.tbc {
  font-family: var(--sans);
  font-size: 0.85em;
  color: var(--muted);
  border: 1px dashed var(--smoke);
  padding: 0.1em 0.5em;
  border-radius: 2px;
  white-space: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: var(--ink-deep); color: var(--white); }
.btn-light { border-color: var(--white); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }

/* ---------- Header ---------- */
.topline {
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.92rem;
}
.topline .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1.5rem;
  padding: 0.5rem 0;
}
.topline a { color: var(--white); }
.topline strong { font-weight: 600; }

.site-head { background: var(--paper); border-bottom: 1px solid var(--grey); }
.site-head .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1rem 0;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand svg { width: 150px; height: auto; display: block; }
.brand .name {
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.1; font-weight: 500; margin-left: 0.75rem;
}
.brand .name small { display: block; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.25rem; }

.nav { justify-self: center; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; }
.nav a { text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.nav .soon { color: var(--muted); font-weight: 400; padding: 0.35rem 0; }

.head-cta { justify-self: end; }

@media (max-width: 900px) {
  .site-head .wrap { grid-template-columns: 1fr auto; }
  .nav { grid-column: 1 / -1; justify-self: start; }
  .nav ul { gap: 0.25rem 1.1rem; font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .head-cta { display: none; }
  .brand svg { width: 120px; }
}

/* ---------- Photograph frames (stand-ins until the shoot) ---------- */
.photo {
  position: relative;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(20, 36, 59, 0.045) 14px 15px),
    linear-gradient(180deg, #dfe1e3, #cdd1d5);
  border: 1px solid var(--smoke);
  color: var(--ink);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
}
.photo::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1px dashed rgba(20, 36, 59, 0.45);
  pointer-events: none;
}
.photo span {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem 1.2rem;
  max-width: 80%;
  background: rgba(247, 246, 242, 0.85);
  border-radius: 2px;
  line-height: 1.4;
}
.photo--wide { aspect-ratio: 16 / 9; }
.photo--tall { aspect-ratio: 3 / 4; }
.photo--square { aspect-ratio: 1; }
.photo--archive {
  background: linear-gradient(180deg, #e4e0d6, #d3ccbd);
  border-color: #bfb7a6;
}
figure { margin: 0; }
figcaption {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.6rem;
  line-height: 1.4;
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink-deep); color: var(--white); }
.hero .photo {
  aspect-ratio: auto;
  min-height: clamp(420px, 62vh, 700px);
  border: 0;
  background:
    linear-gradient(180deg, rgba(13, 26, 44, 0.05) 30%, rgba(13, 26, 44, 0.75) 100%),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(20, 36, 59, 0.06) 14px 15px),
    linear-gradient(180deg, #b7bfc7, #7d8894);
}
.hero .photo::before { inset: 16px; border-color: rgba(255, 255, 255, 0.5); }
.hero .photo span { background: rgba(13, 26, 44, 0.65); color: var(--white); align-self: start; margin-top: 2.5rem; }
.hero-panel {
  position: relative;
  margin-top: clamp(-160px, -18vw, -110px);
}
.hero-card {
  background: var(--ink);
  color: var(--white);
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 44rem;
  border-top: 4px solid var(--oak);
}
.hero-card h1 { color: var(--white); margin-bottom: 0.6rem; }
.hero-card p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #dfe4ec; max-width: 34rem; }
.hero-card .btn-row { margin-top: 1.4rem; }
.hero-card .btn-solid { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero-card .btn-solid:hover { background: var(--paper-2); }

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 7vw, 6rem) 0; }
.band { background: var(--paper-2); }
.band-ink { background: var(--ink); color: var(--white); }
.band-ink h2, .band-ink h3, .band-ink .eyebrow, .band-ink a { color: var(--white); }
.band-ink .eyebrow::before { background: var(--oak); }
.band-ink p { color: #dfe4ec; }

.section-head { max-width: var(--measure); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* Story strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 3rem; }
.strip .num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.4rem;
  font-variant-numeric: lining-nums;
}
.strip .num small { font-size: 0.4em; letter-spacing: 0.04em; margin-left: 0.15em; }
.strip h3 { margin-bottom: 0.4rem; }
.strip p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 780px) { .strip { grid-template-columns: 1fr; gap: 1.6rem; } .strip > div { border-top: 1px solid var(--grey); padding-top: 1.2rem; } }

/* Kiln motif divider */
.divider { display: flex; align-items: center; gap: 1rem; margin: 0 auto; max-width: var(--max); padding: 0 var(--gutter); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--grey); }
.divider svg { width: 54px; height: auto; color: var(--ink); flex: none; }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
.product { display: flex; flex-direction: column; }
.product .photo { aspect-ratio: 5 / 4; margin-bottom: 1rem; }
.product h3 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.product .meta { font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.product p { font-size: 1.05rem; color: var(--muted); }
.product .price { margin-top: auto; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--grey); font-family: var(--sans); }
.product .price .amount { font-size: 1rem; color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }

/* Feature spreads (Paddy, story) */
.spread {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.spread--flip { grid-template-columns: 5fr 7fr; }
.spread--flip .spread-text { order: 2; }
.spread-text { max-width: var(--measure); }
.spread > *, .story-spread > *, .two-col > *, .trade-grid > *, .newsletter > * { min-width: 0; }
@media (max-width: 820px) {
  .spread, .spread--flip { grid-template-columns: 1fr; }
  .spread--flip .spread-text { order: 0; }
}

blockquote {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--oak);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.35;
  color: var(--ink);
  font-style: italic;
}
blockquote cite { display: block; font-style: normal; font-family: var(--sans); font-size: 0.9rem; color: var(--muted); margin-top: 0.6rem; }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.trust > div { background: var(--white); border: 1px solid var(--grey); padding: 1.5rem; }
.trust h3 { font-size: 1.25rem; margin-bottom: 0.4rem; display: flex; gap: 0.6rem; align-items: center; }
.trust h3 svg { width: 26px; height: 26px; flex: none; color: var(--ink); }
.trust p { font-size: 1rem; color: var(--muted); }
@media (max-width: 780px) { .trust { grid-template-columns: 1fr; } }

/* Delivery */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 4rem; }
.two-col h3 { margin-bottom: 0.4rem; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { padding: 0.75rem 0; border-top: 1px solid var(--grey); }
.rule-list li:last-child { border-bottom: 1px solid var(--grey); }
.band-ink .rule-list li { border-color: rgba(255, 255, 255, 0.2); }

/* Trade panel */
.trade-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem 4rem; align-items: start; }
.trade-phone {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  line-height: 1.1;
  border-bottom: 2px solid var(--oak);
  margin: 0.4rem 0 1rem;
  font-variant-numeric: lining-nums;
}
.trade-phone:hover { color: var(--paper-2); }
.trade-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.2); padding: 1.5rem; }
.trade-card h3 { font-size: 1.3rem; }
@media (max-width: 780px) { .trade-grid { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: center; }
.newsletter form { display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; }
.newsletter label { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; grid-column: 1 / -1; }
.newsletter input {
  font: inherit; font-family: var(--sans); font-size: 1rem;
  padding: 0.8rem 1rem; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--white); color: var(--text); min-width: 0; width: 100%;
}
.newsletter small { grid-column: 1 / -1; font-family: var(--sans); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 720px) { .newsletter { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .newsletter form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink-deep); color: #cfd6e0; font-family: var(--sans); font-size: 0.95rem; padding: 3rem 0 2rem; }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-foot h4 { color: var(--white); font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.8rem; }
.site-foot a { color: var(--white); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 0.4rem; }
.site-foot .soon { color: #9aa6b6; }
.site-foot address { font-style: normal; line-height: 1.5; }
.site-foot .brand { color: var(--white); margin-bottom: 1rem; }
.site-foot .brand svg { width: 130px; }
.site-foot .brand .name { color: var(--white); }
.site-foot .brand .name small { color: #9aa6b6; }
.site-foot .tbc { color: #cfd6e0; border-color: #4b5a70; }
.colophon { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.85rem; color: #9aa6b6; grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
@media (max-width: 860px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-foot .wrap { grid-template-columns: 1fr; } }

/* ---------- Page: Shop ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--grey); }
.page-head p { max-width: var(--measure); }
.notice {
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--grey); border-left: 3px solid var(--oak);
  padding: 0.9rem 1.2rem; margin-top: 1.5rem; max-width: var(--measure);
}
.cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--sans); font-size: 0.95rem; font-weight: 600; }
.cats a { text-decoration: none; border: 1px solid var(--ink); padding: 0.45rem 0.9rem; border-radius: 999px; display: inline-block; }
.cats a:hover { background: var(--ink); color: var(--white); }
.shop-section { padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--grey); }
.shop-section:last-of-type { border-bottom: 0; }
.shop-section .section-head { margin-bottom: 1.8rem; }
.shop-section .section-head p { color: var(--muted); }
.product form { display: contents; }
.product .btn { font-size: 0.92rem; padding: 0.7rem 1.1rem; }
.product .price .tbc { font-size: 0.85rem; }
.product .in-season { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--oak); }

/* ---------- Page: Our Story (long read) ---------- */
.story-hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); }
.story-hero .wrap { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.story-hero h1 { max-width: 20ch; }
.story-hero .lede { max-width: var(--measure); }
.story-meta { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }

.prose { max-width: var(--measure); margin-inline: auto; font-size: clamp(1.18rem, 1.4vw, 1.3rem); line-height: 1.6; }
.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { text-indent: 0; }
.prose .dropcap::first-letter {
  float: left;
  font-size: 4.6em;
  line-height: 0.82;
  padding: 0.08em 0.12em 0 0;
  color: var(--ink);
  font-weight: 500;
}
.prose .aside {
  float: right;
  width: 42%;
  margin: 0.3em 0 1em 2rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 2px solid var(--ink);
  padding-top: 0.6rem;
}
@media (max-width: 600px) { .prose .aside { float: none; width: auto; margin: 1.5rem 0; } }

.full-bleed { width: min(100% - 2 * var(--gutter), var(--max)); margin: clamp(2rem, 5vw, 4rem) auto; }
.full-bleed .photo { aspect-ratio: 21 / 9; }
@media (max-width: 600px) { .full-bleed .photo { aspect-ratio: 4 / 3; } }

.story-spread { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; margin: clamp(2rem, 5vw, 4rem) 0; }
.story-spread .prose { margin-inline: 0; }
@media (max-width: 820px) { .story-spread { grid-template-columns: 1fr; } }

.generations { list-style: none; margin: 0; padding: 0; counter-reset: gen; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.generations li { border-top: 2px solid var(--ink); padding-top: 1rem; counter-increment: gen; }
.generations li::before { content: counter(gen, upper-roman); font-family: var(--serif); font-size: 2.4rem; color: var(--ink); display: block; line-height: 1; margin-bottom: 0.5rem; }
.generations h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.generations p { font-size: 1rem; color: var(--muted); }
@media (max-width: 860px) { .generations { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .generations { grid-template-columns: 1fr; } }

.archive { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.archive figure:first-child { grid-column: span 2; }
@media (max-width: 700px) { .archive { grid-template-columns: 1fr; } .archive figure:first-child { grid-column: auto; } }

.story-cta { text-align: center; }
.story-cta .btn-row { justify-content: center; margin-top: 1.5rem; }

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

/* ---- Bench photographs: added AFTER the build, identically on every site. ----
   Each picture fills the frame the design drew, cropped from the centre; the frame keeps
   the size the design gave it (its label is hidden, not removed). */
[data-bench-frame="static"] { position: relative; }
[data-bench-frame] { isolation: isolate; overflow: hidden; }
[data-bench-frame] > .bench-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; z-index: -1; margin: 0; border: 0; }
[data-bench-frame]:not([data-bench-over]) .bench-label { visibility: hidden; }
[data-bench-frame][data-bench-frame]:not([data-bench-over])::before,
[data-bench-frame][data-bench-frame]:not([data-bench-over])::after { visibility: hidden; }  /* hidden, not removed: some designs size the frame with a pseudo-element */
[data-bench-over] .bench-label { display: none; }
[data-bench-over] > .bench-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--bench-scrim) 0%, color-mix(in srgb, var(--bench-scrim) 88%, transparent) 42%, color-mix(in srgb, var(--bench-scrim) 35%, transparent) 72%, transparent 100%); }
@media (max-width: 700px) { [data-bench-over] > .bench-scrim { background: color-mix(in srgb, var(--bench-scrim) 82%, transparent); } }
