/* ==========================================================================
   Holiday Padstow — "padstow" skin
   A small coastal journal that reads like a well-made object.
   Hierarchy done entirely with type scale, weight and space — not colour,
   not chrome. Linked LAST in default.hbs so it overrides Source's screen.css
   and any Ghost-injected card CSS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom properties — colour, type, layout
   All colours are provisional gallery-neutral placeholders (Direction A in
   padstow-design-direction.md §3). Swap these five values and the whole
   site re-themes; nothing else in this file hardcodes a colour.
   -------------------------------------------------------------------------- */

:root {
    /* Colour — provisional gallery-neutral placeholders */
    --ground: #FCFBF7;
    --ground-2: #f7f6f4;      /* utility-inset fill, subtle section breaks */
    --ink: #1B1A17;
    --ink-2: #6E6A62;   /* muted: deks, captions, meta */
    --rule: #E6E1D7;    /* hairlines */
    --accent: #16161a;               /* unused by default; reserved */
    --water: #AFC4C1;   /* tide vessel fill — soft, desaturated; James's to tune */
    --water-surface: #C7D6D3; /* wave crest, slightly lighter than the fill */

    /* Typography */
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Fraunces", Georgia, "Times New Roman", serif;
    --font-utility: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-figures: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Optical sizing / variation settings for Fraunces (opsz + wght live on one file) */
    --display-variation: "opsz" 72, "wght" 480;
    --text-variation: "opsz" 24, "wght" 420;

    /* Layout */
    --container-width: 1280px;
    --measure: 68ch;
    --gutter: clamp(20px, 1.4rem + 1.6vw, 40px);

    /* Motion */
    --fade: 160ms ease;
}

/* Override Source's font/container vars so any un-migrated selector still
   inherits the right values. */
:root,
:root.has-light-text {
    --font-sans: var(--font-utility);
    --font-serif: var(--font-display);
    --font-serif-alt: var(--font-display);
    --color-primary-text: var(--ink);
    --color-secondary-text: var(--ink-2);
    --color-border: var(--rule);
    --color-dark-border: var(--rule);
    --color-lighter-gray: var(--ground-2);
    --background-color: var(--ground);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

body.padstow-skin {
    background: var(--ground);
    color: var(--ink);
    font-family: var(--font-body);
    font-variation-settings: var(--text-variation);
    font-size: 1.125rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.padstow-skin ::selection {
    background: var(--ink);
    color: var(--ground);
}

.padstow-skin .gh-inner {
    max-width: var(--container-width);
}

.padstow-skin a {
    color: inherit;
}

/* Minimal motion only — opacity fades, respects reduced-motion */
.padstow-skin .gh-card-image img,
.padstow-skin .gh-hero-image img {
    transition: opacity var(--fade);
}

@media (prefers-reduced-motion: reduce) {
    .padstow-skin *,
    .padstow-skin *::before,
    .padstow-skin *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* No hover-zoom, no shadows, no rounded thumbnail chrome, no overlays —
   scrub anything Source's screen.css may still apply. */
.padstow-skin .gh-card-image img,
.padstow-skin .gh-hero-image img,
.padstow-skin .gh-article-image img,
.padstow-skin img {
    border-radius: 0;
    box-shadow: none;
}

.padstow-skin .gh-card:hover .gh-card-image img,
.padstow-skin .gh-hero:hover .gh-hero-image img {
    transform: none;
}

/* --------------------------------------------------------------------------
   3. Type scale
   -------------------------------------------------------------------------- */

.padstow-skin .is-title,
.padstow-skin h1,
.padstow-skin h2,
.padstow-skin h3 {
    font-family: var(--font-display);
    font-variation-settings: var(--display-variation);
    font-weight: 480;
    letter-spacing: -0.01em;
    line-height: 1.05;
}

.padstow-skin .is-body,
.padstow-skin .gh-content p {
    font-family: var(--font-body);
    font-variation-settings: var(--text-variation);
}

/* Utility text: nav, captions, metadata, labels, buttons — always Inter */
.padstow-skin .gh-navigation,
.padstow-skin .gh-footer,
.padstow-skin .today-line,
.padstow-skin .gh-card-meta,
.padstow-skin .gh-hero-tag,
.padstow-skin .gh-hero-date,
.padstow-skin .gh-article-meta-line,
.padstow-skin figcaption,
.padstow-skin .gh-button,
.padstow-skin .utility-inset {
    font-family: var(--font-utility);
}

.padstow-skin .gh-container-title {
    font-family: var(--font-utility);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   4. Masthead (typographic, no logo image)
   -------------------------------------------------------------------------- */

.padstow-skin .gh-navigation.is-masthead {
    position: relative;
    z-index: 1;
    height: auto;
    background: var(--ground);
    border-bottom: 1px solid var(--rule);
    padding-top: clamp(28px, 4vw, 56px);
    padding-bottom: clamp(24px, 3.6vw, 40px);
    margin-bottom: 0;
}

.padstow-skin .gh-navigation-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(12px, 2vw, 20px);
    text-align: center;
}

.padstow-skin .gh-navigation-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.padstow-skin .gh-navigation-logo {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 72, "wght" 460;
    font-size: clamp(2rem, 1.6rem + 1.6vw, 3.25rem);
    letter-spacing: -0.01em;
    line-height: 1;
    text-decoration: none;
    color: var(--ink);
}

.padstow-skin .gh-navigation-logo img {
    display: none; /* masthead is type only, never an image */
}

.padstow-skin .gh-navigation-descriptor {
    margin-top: 0.4em;
    max-width: 42ch;
    font-family: var(--font-body);
    font-variation-settings: var(--text-variation);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--ink-2);
}

.padstow-skin .gh-navigation-menu.is-section-nav {
    margin-top: clamp(16px, 2.2vw, 28px);
    padding-top: clamp(14px, 2vw, 20px);
    border-top: 1px solid var(--rule);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(16px, 2.4vw, 32px);
}

.padstow-skin .gh-navigation-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(16px, 2.4vw, 32px);
}

.padstow-skin .gh-navigation-menu a {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    text-decoration: none;
    color: var(--ink-2);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color var(--fade), border-color var(--fade);
}

.padstow-skin .gh-navigation-menu a:hover {
    color: var(--ink);
    border-bottom-color: var(--rule);
}

.padstow-skin .gh-burger {
    display: none;
}

@media (max-width: 600px) {
    .padstow-skin .gh-navigation-menu {
        gap: 14px 22px;
    }
}

/* --------------------------------------------------------------------------
   5. Today line — utility strip slot
   Collapses completely (no rule, no gap) when @custom.today_line is empty;
   the partial itself renders nothing in that case, this just styles the
   present case cleanly.
   -------------------------------------------------------------------------- */

.padstow-skin .today-line {
    border-bottom: 1px solid var(--rule);
    background: var(--ground);
}

.padstow-skin .today-line-inner {
    padding-top: 12px;
    padding-bottom: 12px;
}

.padstow-skin .today-line-text {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.padstow-skin .today-line-label {
    font-weight: 400;
    opacity: 0.75;
}

.padstow-skin .today-line-figures {
    font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   6. Banner (v2) — 1/3 tides, 2/3 feature. Replaces the v1 full-bleed hero.
   Desktop: grid 1fr/2fr with a hairline divider, ~64-70vh tall (a peek of
   the feed shows below to invite scroll). Mobile: stacked, feature on top.
   -------------------------------------------------------------------------- */

.padstow-skin .gh-banner {
    border-bottom: 1px solid var(--rule);
}

.padstow-skin .gh-banner-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
}

.padstow-skin .gh-banner-tides {
    border-right: 1px solid var(--rule);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(28px, 3vw, 48px);
    padding-top: clamp(40px, 5vw, 64px);
    background: var(--ground);
}

.padstow-skin .gh-banner-feature {
    position: relative;
    min-height: 0;
}

.padstow-skin .gh-feature-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.padstow-skin .gh-feature-media {
    flex: 0 0 auto;
    height: clamp(320px, 52vh, 620px);
    overflow: hidden;
    background: var(--ground-2);
}

.padstow-skin .gh-feature-image,
.padstow-skin .gh-feature-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Caption sits BENEATH the image inside the cell — never text over the
   photo. This is what keeps the headline above the fold. */
.padstow-skin .gh-feature-caption {
    flex: 0 0 auto;
    padding: clamp(20px, 2.4vw, 36px) clamp(24px, 3vw, 44px);
}

.padstow-skin .gh-feature-kicker {
    font-family: var(--font-utility);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--ink-2);
    margin-bottom: 0.7em;
}

.padstow-skin .gh-feature-title {
    font-size: clamp(1.8rem, 1.5rem + 1.6vw, 2.75rem);
    max-width: 22ch;
}

.padstow-skin .gh-feature-dek {
    margin-top: 0.6em;
    max-width: 56ch;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--ink-2);
}

.padstow-skin .gh-feature-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.9em;
    font-family: var(--font-utility);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
}

.padstow-skin .gh-feature-read svg {
    width: 12px;
    height: 12px;
}

@media (max-width: 900px) {
    .padstow-skin .gh-banner-inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .padstow-skin .gh-banner-feature {
        order: 1;
    }

    .padstow-skin .gh-banner-tides {
        order: 2;
        border-right: none;
        border-top: 1px solid var(--rule);
    }

    .padstow-skin .gh-feature-media {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

/* --------------------------------------------------------------------------
   6b. Tides component (v2.6 — porthole) — assets/js/tides.js hydrates this
   markup. Tab 1 "Tide": a circular porthole of water, filled to the
   current interpolated level with two slow drifting wave layers. Tab 2
   "Times": today's / this week's high-low table, tabular figures.
   -------------------------------------------------------------------------- */

.padstow-skin .tides {
    width: 100%;
    max-width: 260px;
    font-family: var(--font-utility);
}

.padstow-skin .tides-heading {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    text-align: center;
    color: var(--ink-2);
    margin-bottom: clamp(16px, 2vw, 24px);
}

.padstow-skin .tides-tabs {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 2vw, 32px);
    margin-bottom: clamp(20px, 2.4vw, 32px);
}

.padstow-skin .tides-tab {
    appearance: none;
    background: none;
    border: none;
    padding: 0 0 6px;
    font-family: var(--font-utility);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--ink-2);
    border-bottom: 1px solid transparent;
    cursor: pointer;
    transition: color var(--fade), border-color var(--fade);
}

.padstow-skin .tides-tab.is-active {
    color: var(--ink);
    border-bottom-color: var(--ink);
}

.padstow-skin .tides-panel {
    display: none;
}

.padstow-skin .tides-panel.is-active {
    display: block;
}

/* --- Tab 1: circular porthole of water ---
   --tide (0..1) is set once on load and refreshed every ~3min by
   tides.js via a single style write on [data-tides-vessel] -- never
   per-frame. .tide-water is translated vertically by that var. The
   wave DRIFT is pure CSS: two looping @keyframes translateX loops on
   .tide-wave-back / .tide-wave-front, GPU-composited. No JS animation
   loop anywhere. Colours are restrained placeholders -- tune via the
   --tide-water custom property below. */
.padstow-skin .tides-porthole {
    position: relative;
    width: clamp(140px, 40vw, 168px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    color: var(--ink-2);
    --tide: 0.5;
    --tide-water: #8a9aa5;
}

.padstow-skin .tides-porthole-svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.padstow-skin .tide-water {
    transform: translateY(calc((1 - var(--tide, 0.5)) * 100%));
    transition: transform 1.4s ease;
}

.padstow-skin .tide-water-body {
    fill: var(--tide-water);
    opacity: 0.5;
}

.padstow-skin .tide-wave {
    fill: var(--tide-water);
}

.padstow-skin .tide-wave-back {
    opacity: 0.35;
    animation: tide-drift 14s linear infinite;
}

.padstow-skin .tide-wave-front {
    opacity: 0.55;
    animation: tide-drift 9s linear infinite reverse;
}

@keyframes tide-drift {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.padstow-skin .tides-porthole-rim {
    color: var(--ink-2);
}

@media (prefers-reduced-motion: reduce) {
    .padstow-skin .tide-wave-back,
    .padstow-skin .tide-wave-front {
        animation: none;
        transform: translateX(-15%);
    }
}

.padstow-skin .tides-readout {
    margin-top: clamp(16px, 2vw, 24px);
    text-align: center;
}

.padstow-skin .tides-height {
    font-family: var(--font-figures);
    font-variant-numeric: tabular-nums;
    font-size: 1.6rem;
    color: var(--ink);
    line-height: 1.1;
}

.padstow-skin .tides-trend {
    margin-top: 0.4em;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
}

.padstow-skin .tides-next {
    margin-top: 0.6em;
    font-size: 0.78rem;
    color: var(--ink-2);
    font-variant-numeric: tabular-nums;
}

/* --- Tab 2: times list --- */
.padstow-skin .tides-times-toggle {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: clamp(14px, 1.6vw, 20px);
}

.padstow-skin .tides-range {
    appearance: none;
    background: none;
    border: 1px solid var(--rule);
    padding: 5px 12px;
    font-family: var(--font-utility);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-2);
    cursor: pointer;
    transition: color var(--fade), border-color var(--fade), background var(--fade);
}

.padstow-skin .tides-range.is-active {
    color: var(--ink);
    border-color: var(--ink);
    background: var(--ground-2);
}

.padstow-skin .tides-day-group + .tides-day-group {
    margin-top: 1.1em;
    padding-top: 1.1em;
    border-top: 1px solid var(--rule);
}

.padstow-skin .tides-day-label {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
    margin-bottom: 0.5em;
}

.padstow-skin .tides-events {
    list-style: none;
    margin: 0;
    padding: 0;
}

.padstow-skin .tides-event {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 0.4em 0;
    font-size: 0.85rem;
}

.padstow-skin .tides-event + .tides-event {
    border-top: 1px solid var(--rule);
}

.padstow-skin .tides-event-type {
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ink-2);
    flex: 1;
}

.padstow-skin .tides-event-time,
.padstow-skin .tides-event-height {
    font-family: var(--font-figures);
    font-variant-numeric: tabular-nums;
    color: var(--ink);
}

.padstow-skin .tides-event-height {
    color: var(--ink-2);
    min-width: 3.4em;
    text-align: right;
}

.padstow-skin .tides-fallback {
    font-size: 0.85rem;
    color: var(--ink-2);
    text-align: center;
}

.padstow-skin .tides-station {
    margin-top: clamp(14px, 1.6vw, 20px);
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-2);
    opacity: 0.75;
}

/* --------------------------------------------------------------------------
   7. Feed — AD-style editorial grid (v2.4)
   .gh-container-inner is itself a Source 16-column grid, so any direct
   child (like .gh-feed) must be told to span the full measure —
   otherwise it defaults to a single ~1/16 track and every card below
   collapses to a sliver. grid-column: 1 / -1 fixes that at the root.
   3 columns on desktop, ruled by hairline --rule dividers (vertical
   between columns, horizontal between rows) via a single-pixel gap that
   IS the rule (background shows through), not a border-per-card — keeps
   the joinery crisp with no doubled lines at shared edges. 2-col tablet,
   1-col mobile (rules become horizontal-only).
   -------------------------------------------------------------------------- */

.padstow-skin .gh-container.is-feed {
    padding-top: clamp(40px, 5vw, 72px);
    padding-bottom: clamp(40px, 5vw, 72px);
}

.padstow-skin .gh-feed.is-irregular {
    grid-column: 1 / -1;
    display: grid;
    /* AD-style asymmetric row: small . LARGE . small (centre-weighted). */
    grid-template-columns: 1fr 1.5fr 1fr;
    grid-auto-flow: row;
    column-gap: clamp(28px, 3.2vw, 44px);
    row-gap: clamp(40px, 4.2vw, 64px);
}

.padstow-skin .gh-feed.is-irregular .gh-card {
    grid-column: auto;
    background: transparent;
    padding: 0;
}

/* Fine vertical hairlines BETWEEN columns only (not boxed cells): a
   right-edge rule sits inside the generous column gutter, drawn on the
   left & centre cells of each row of three, never the right-hand cell. */

/* One very subtle full-width horizontal hairline between rows: applied to
   the first card of every row from the 2nd row onward (cards 4,7,10...). */
.padstow-skin .gh-feed.is-irregular .gh-card {
    position: relative;
}

/* Centre (larger) cell: physically larger image via the wider track,
   plus a marginally larger Fraunces headline than the side cells. */

.padstow-skin .gh-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.padstow-skin .gh-card-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--ground-2);
    margin-bottom: 1.1em;
}

.padstow-skin .gh-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.padstow-skin .gh-card-kicker {
    font-family: var(--font-utility);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--ink-2);
    margin-bottom: 0.6em;
}

.padstow-skin .gh-card-title {
    font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
    line-height: 1.2;
}

.padstow-skin .gh-card-meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 0.8em;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
}

.padstow-skin .gh-card-date {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
    /* Two even columns; drop the asymmetry and the between-row hairline. */
    .padstow-skin .gh-feed.is-irregular {
        grid-template-columns: 1fr 1fr;
    }
    .padstow-skin .gh-feed.is-irregular .gh-card {
        border-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    /* Vertical hairline between the two columns of each pair (odd cards). */
    .padstow-skin .gh-feed.is-irregular .gh-card:nth-child(2n+1) {
        border-right: 1px solid var(--rule);
        padding-right: clamp(24px, 3vw, 40px);
    }
    .padstow-skin .gh-feed.is-irregular .gh-card:nth-child(2n) {
        padding-left: clamp(24px, 3vw, 40px);
    }
    .padstow-skin .gh-feed.is-irregular .gh-card:nth-child(3n+1):not(:first-child)::before {
        content: none;
    }
    .padstow-skin .gh-feed.is-irregular .gh-card:nth-child(3n+2) .gh-card-title {
        font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
    }
}

@media (max-width: 560px) {
    /* Single column: vertical rules drop, whitespace + row-gap separate. */
    .padstow-skin .gh-feed.is-irregular {
        grid-template-columns: 1fr;
    }
    .padstow-skin .gh-feed.is-irregular .gh-card {
        border-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .padstow-skin .gh-feed.is-irregular .gh-card:nth-child(3n+1):not(:first-child)::before {
        content: none;
    }
}

.padstow-skin .gh-more {
    margin-top: clamp(32px, 4vw, 56px);
    text-align: center;
}

.padstow-skin .gh-more a {
    font-family: var(--font-utility);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    padding-bottom: 4px;
}

/* Quiet 3-item row used for "More from the journal" on article pages */
.padstow-skin .gh-feed.is-quiet-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gutter);
}

.padstow-skin .gh-feed.is-quiet-row .gh-card {
    grid-column: span 1;
}

@media (max-width: 700px) {
    .padstow-skin .gh-feed.is-quiet-row {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   8. Article anatomy
   title (display) -> dek -> metadata line -> hero image (no overlay) ->
   body at measure -> wide images with utility captions -> utility inset ->
   quiet 3-item "more" row.
   -------------------------------------------------------------------------- */

.padstow-skin .gh-article-header {
    padding-top: clamp(32px, 5vw, 64px);
    padding-bottom: 0;
}

.padstow-skin .gh-article-title {
    font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3.75rem);
    max-width: 22ch;
}

.padstow-skin .gh-article-excerpt {
    margin-top: 0.8em;
    max-width: 52ch;
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--ink-2);
}

.padstow-skin .gh-article-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px;
    margin-top: 1.6em;
    padding-bottom: clamp(24px, 3vw, 40px);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
    border-bottom: 1px solid var(--rule);
}

.padstow-skin .gh-article-meta-section {
    color: var(--ink);
    text-decoration: none;
}

.padstow-skin .gh-article-meta-date {
    font-variant-numeric: tabular-nums;
}

.padstow-skin .gh-article-meta-line > *:not(:last-child)::after {
    content: "\00b7";
    margin-left: 12px;
    color: var(--rule);
}

/* Feature image — full container width, never an overlay/scrim */
.padstow-skin .gh-article-image {
    margin-top: clamp(24px, 3vw, 40px);
}

.padstow-skin .gh-article-image img {
    width: 100%;
    height: auto;
}

.padstow-skin .gh-article-image figcaption {
    margin-top: 0.7em;
    font-size: 0.78rem;
    color: var(--ink-2);
    font-style: normal;
}

/* Body at measure */
.padstow-skin .gh-content {
    padding-top: clamp(32px, 4vw, 56px);
}

.padstow-skin .gh-content > * {
    max-width: var(--measure);
    margin-left: auto;
    margin-right: auto;
}

.padstow-skin .gh-content p,
.padstow-skin .gh-content ul,
.padstow-skin .gh-content ol,
.padstow-skin .gh-content blockquote {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-top: 1.4em;
}

.padstow-skin .gh-content h2,
.padstow-skin .gh-content h3 {
    margin-top: 2em;
    margin-bottom: 0.6em;
}

/* Images break wide with captions in utility style, never italic grey
   whispering */
.padstow-skin .gh-content .kg-image-card,
.padstow-skin .gh-content .kg-gallery-card,
.padstow-skin .gh-content figure.kg-card {
    max-width: min(100%, 1120px);
    margin-top: clamp(28px, 3.4vw, 48px);
    margin-bottom: clamp(28px, 3.4vw, 48px);
}

.padstow-skin .gh-content .kg-width-wide,
.padstow-skin .gh-content .kg-width-full {
    max-width: 1120px;
}

.padstow-skin .gh-content img {
    border-radius: 0;
    box-shadow: none;
}

.padstow-skin .gh-content figcaption,
.padstow-skin .gh-content .kg-image-card figcaption,
.padstow-skin .gh-content .kg-gallery-card figcaption {
    font-family: var(--font-utility);
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink-2);
    text-align: left;
    max-width: var(--measure);
    margin: 0.7em auto 0;
}

/* --------------------------------------------------------------------------
   9. Utility inset — the signature element
   Rule-framed box, small-caps labels left, tabular/mono figures right.
   Koenig-friendly: works pasted as an HTML card into any post using the
   .utility-inset / .utility-inset__row / .utility-inset__label /
   .utility-inset__value class contract, or as plain <dl> markup.
   -------------------------------------------------------------------------- */

.padstow-skin .utility-inset {
    max-width: var(--measure);
    margin: clamp(28px, 3.4vw, 48px) auto;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: clamp(18px, 2vw, 28px) 0;
}

.padstow-skin .utility-inset__title {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--ink-2);
    margin-bottom: 0.9em;
}

.padstow-skin .utility-inset__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 0.55em 0;
}

.padstow-skin .utility-inset__row + .utility-inset__row {
    border-top: 1px solid var(--rule);
}

.padstow-skin .utility-inset__label {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
}

.padstow-skin .utility-inset__value {
    font-family: var(--font-figures);
    font-variant-numeric: tabular-nums;
    font-size: 0.95rem;
    color: var(--ink);
    text-align: right;
}

/* Plain <dl> fallback so pasted Koenig HTML cards work without the BEM
   classes above */
.padstow-skin dl.utility-inset {
    display: block;
}

.padstow-skin dl.utility-inset > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 0.55em 0;
}

.padstow-skin dl.utility-inset > div + div {
    border-top: 1px solid var(--rule);
}

.padstow-skin dl.utility-inset dt {
    font-family: var(--font-utility);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
}

.padstow-skin dl.utility-inset dd {
    font-family: var(--font-figures);
    font-variant-numeric: tabular-nums;
    font-size: 0.95rem;
    color: var(--ink);
    text-align: right;
}

/* --------------------------------------------------------------------------
   10. Footer — one rule, site name, tiny nav, no clutter
   -------------------------------------------------------------------------- */

.padstow-skin .gh-footer {
    border-top: 1px solid var(--rule);
    padding-top: clamp(24px, 3vw, 36px);
    padding-bottom: clamp(24px, 3vw, 36px);
    margin-top: clamp(48px, 6vw, 88px);
}

.padstow-skin .gh-footer-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.padstow-skin .gh-footer-logo {
    font-size: 1rem;
    font-variation-settings: "opsz" 24, "wght" 460;
}

.padstow-skin .gh-footer-menu {
    display: flex;
    gap: 20px;
}

.padstow-skin .gh-footer-menu a,
.padstow-skin .gh-social-links a {
    font-family: var(--font-utility);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: var(--ink-2);
}

.padstow-skin .gh-footer-menu a:hover,
.padstow-skin .gh-social-links a:hover {
    color: var(--ink);
}

.padstow-skin .gh-social-links {
    display: flex;
    gap: 16px;
}

/* --------------------------------------------------------------------------
   11. Pages (About / Contact / The Cottage)
   -------------------------------------------------------------------------- */

.padstow-skin .page-template .gh-article-title {
    max-width: 18ch;
}

/* --------------------------------------------------------------------------
   12. "More from the journal" section title spacing
   -------------------------------------------------------------------------- */

.padstow-skin .gh-container.is-more {
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: clamp(48px, 6vw, 80px);
    border-top: 1px solid var(--rule);
}

.padstow-skin .gh-container.is-more .gh-container-title {
    margin-bottom: clamp(20px, 2.4vw, 32px);
}

/* === v2.4 full-width harbour hero + overlaid masthead/nav (2026-07-03) === */
.padstow-skin .gh-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: clamp(420px, 48vh, 520px); overflow: hidden; }
.padstow-skin .gh-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.padstow-skin .gh-hero-head { position: absolute; top: clamp(22px, 4.5vh, 60px); left: 0; right: 0; z-index: 2; text-align: center; padding: 0 24px; color: #fff; text-shadow: 0 1px 20px rgba(0,0,0,0.30), 0 1px 4px rgba(0,0,0,0.30); }
.padstow-skin .gh-hero-logo { display: inline-block; color: #fff; text-decoration: none; font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); line-height: 1.04; }
.padstow-skin .gh-hero-descriptor { color: #fff; font-style: italic; font-size: clamp(0.85rem, 0.8rem + 0.35vw, 1.05rem); margin: 0.55em 0 0; opacity: 0.96; }
.padstow-skin .gh-hero-nav { margin-top: clamp(16px, 2.6vh, 26px); }
.padstow-skin .gh-hero-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.padstow-skin .gh-hero-nav li { margin: 0; }
.padstow-skin .gh-hero-nav a { color: #fff; text-decoration: none; font-family: 'Inter', -apple-system, sans-serif; text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.72rem; font-weight: 500; transition: opacity .15s ease; }
.padstow-skin .gh-hero-nav a:hover { opacity: 0.72; }
.padstow-skin .gh-tides-section { padding: clamp(30px, 5vh, 60px) 0 clamp(18px, 3vh, 32px); }
.padstow-skin .gh-tides-wrap { display: flex; justify-content: center; }
.padstow-skin .gh-tides-wrap [data-tides-root] { max-width: 430px; width: 100%; }
@media (max-width: 700px) { .padstow-skin .gh-hero { height: clamp(400px, 56vh, 500px); } .padstow-skin .gh-hero-nav a { font-size: 0.66rem; letter-spacing: 0.12em; } }

.padstow-skin .gh-viewport { overflow-x: hidden; }

/* === v2.5: tides overlaid on the right of the hero (frosted card for legibility) === */
.padstow-skin .gh-hero-tides {
    position: absolute;
    top: 50%;
    right: clamp(20px, 4vw, 64px);
    transform: translateY(-50%);
    z-index: 3;
    width: clamp(250px, 24vw, 322px);
    padding: clamp(16px, 1.5vw, 24px);
    background: rgba(250, 249, 245, 0.80);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 6px 34px rgba(20, 26, 30, 0.16);
}
.padstow-skin .gh-hero-tides [data-tides-root] { width: 100%; max-width: none; background: transparent; }
@media (max-width: 900px) {
    .padstow-skin .gh-hero-tides { top: auto; bottom: clamp(14px, 3vh, 26px); right: 50%; transform: translateX(50%); width: min(340px, 86vw); }
}

/* === Content width — wider, AD-like (2026-07-04). Was --container-width:1280px (too narrow, huge margins on wide screens). Scale to ~90vw, cap 1720px. === */
.padstow-skin { --container-width: min(1720px, 90vw); }

/* === AD-style short hairline rule under each feed headline — clearer card structure (2026-07-04) === */
.padstow-skin .gh-feed.is-irregular .gh-card-title::after {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    background: var(--rule);
    margin: clamp(12px, 1vw, 16px) 0 2px;
}

/* homepage hero wordmark is now an <h1> (SEO) */
.padstow-skin .gh-hero-logo { margin: 0; }
.padstow-skin h1.gh-hero-logo a { color: inherit; text-decoration: none; }

/* dek refinement (AD: 14px/20 CNSans-grey under the headline) */
.padstow-skin .gh-card-excerpt {
    color: var(--ink-2);
    margin: 0.5em 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(3n+2) .gh-card-excerpt {
    font-size: 16px;
    max-width: 60ch;
}

/* === AD river v2 (2026-07-07) — matches the reference screenshot exactly:
   groups of 5 posts as [flank-L, CENTRE spanning 2 rows, flank-R, flank-L2,
   flank-R2]; the 2 leftover posts (11,12) close as an AD-style 2-up row.
   No kickers, no dates on feed cards (per ref). Column hairlines drawn on
   the centre card so they run the full group height. All sizes px: the
   Source chassis sets html{font-size:10px}, rem here renders 62.5%. === */
.padstow-skin { --container-width: min(1500px, 83vw); }

.padstow-skin .gh-feed.is-irregular {
    grid-template-columns: repeat(12, 1fr);
    column-gap: 32px;
    row-gap: 56px;
    grid-auto-flow: dense;
}
.padstow-skin .gh-feed.is-irregular .gh-card {
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
    position: relative;
}
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+1) { grid-column: 1 / span 3; }
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+2) { grid-column: 4 / span 6; grid-row: span 2; }
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+3) { grid-column: 10 / span 3; }
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+4) { grid-column: 1 / span 3; }
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n)   { grid-column: 10 / span 3; }
/* closing 2-up row (posts 11+12) */
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(11) { grid-column: 1 / span 6; grid-row: auto; }
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(12) { grid-column: 7 / span 6; grid-row: auto; }

/* headline hierarchy (AD: flanks 21px, centre 34px) */
.padstow-skin .gh-feed.is-irregular .gh-card .gh-card-title {
    font-size: clamp(18px, 15px + 0.35vw, 21px);
    line-height: 1.2;
}
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+2) .gh-card-title {
    font-size: clamp(24px, 16px + 1vw, 34px);
    line-height: 1.15;
}
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(11) .gh-card-title,
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(12) .gh-card-title {
    font-size: clamp(20px, 16px + 0.5vw, 24px);
}

/* images: full card width; 16:9 flanks, 4:3 centre (AD-measured) */
.padstow-skin .gh-feed.is-irregular .gh-card-image { aspect-ratio: 16 / 9; }
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+2) .gh-card-image { aspect-ratio: 4 / 3; }
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(11) .gh-card-image,
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(12) .gh-card-image { aspect-ratio: 16 / 9; }

/* per the reference: no kicker, no date on feed cards */
.padstow-skin .gh-feed.is-irregular .gh-card-kicker { display: none; }
.padstow-skin .gh-feed.is-irregular .gh-card-meta { display: none; }

/* full-group-height column hairlines, drawn on the row-spanning centre card */
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+2)::before,
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+2)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--rule);
}
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+2)::before { left: -16.5px; }
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+2)::after  { right: -16.5px; }
/* the 2-up closing row: single centred rule between the pair */
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(12)::before,
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(12)::after { content: none; }
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(11)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -16.5px;
    width: 1px;
    background: var(--rule);
}

/* group separator: hairline above each new group */
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+1):not(:first-child)::before,
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(11)::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -28px;
    border-top: 1px solid var(--rule);
    opacity: 0.55;
}

/* kicker/meta scale kept for anywhere else they appear */
.padstow-skin .gh-card-kicker { font-size: 11px; }
.padstow-skin .gh-card-meta { font-size: 11px; }
.padstow-skin .gh-card-excerpt { font-size: 14px; line-height: 1.43; }
.padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+2) .gh-card-excerpt { font-size: 16px; max-width: 60ch; }

@media (max-width: 900px) {
    .padstow-skin .gh-feed.is-irregular { grid-template-columns: 1fr 1fr; }
    .padstow-skin .gh-feed.is-irregular .gh-card,
    .padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+1),
    .padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+2),
    .padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+3),
    .padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n+4),
    .padstow-skin .gh-feed.is-irregular .gh-card:nth-child(5n),
    .padstow-skin .gh-feed.is-irregular .gh-card:nth-child(11),
    .padstow-skin .gh-feed.is-irregular .gh-card:nth-child(12) {
        grid-column: auto;
        grid-row: auto;
        border-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .padstow-skin .gh-feed.is-irregular .gh-card::before,
    .padstow-skin .gh-feed.is-irregular .gh-card::after { content: none !important; }
    .padstow-skin .gh-feed.is-irregular .gh-card .gh-card-title { font-size: clamp(18px, 15px + 0.35vw, 21px); }
    .padstow-skin .gh-feed.is-irregular .gh-card-image { aspect-ratio: 16 / 9 !important; }
    /* two-col hairline between the pair */
    .padstow-skin .gh-feed.is-irregular .gh-card:nth-child(2n+1)::after {
        content: "" !important;
        position: absolute;
        top: 0;
        bottom: 0;
        right: -16.5px;
        width: 1px;
        background: var(--rule);
    }
}
@media (max-width: 560px) {
    .padstow-skin .gh-feed.is-irregular { grid-template-columns: 1fr; }
    .padstow-skin .gh-feed.is-irregular .gh-card::before,
    .padstow-skin .gh-feed.is-irregular .gh-card::after { content: none !important; }
}

/* === AD article pass (2026-07-07) — hero-first, centred header, real
   reading column. px only (root=10px; the old rem article sizes rendered
   at 62.5%: body was 11.25px, measure collapsed to 293px). === */

/* Hero: full-bleed, capped height like AD article heroes */
.padstow-skin .gh-article-hero .gh-article-image {
    width: 100vw;
    margin: 0 0 0 calc(50% - 50vw);
    margin-top: 0;
}
.padstow-skin .gh-article-hero .gh-article-image img {
    width: 100%;
    height: clamp(320px, 58vh, 720px);
    object-fit: cover;
}
.padstow-skin .gh-article-hero .gh-article-image figcaption {
    max-width: var(--container-width);
    margin: 0.7em auto 0;
    padding: 0 24px;
    text-align: left;
    font-size: 12px;
}

/* Centred header */
.padstow-skin .gh-article-header {
    text-align: center;
    padding-top: clamp(28px, 4vw, 48px);
}
.padstow-skin .gh-article-rubric {
    display: inline-block;
    font-family: var(--font-utility);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-2);
    text-decoration: none;
    margin-bottom: 1.4em;
}
.padstow-skin .gh-article-title {
    font-size: clamp(30px, 24px + 1.2vw, 42px);
    line-height: 1.1;
    max-width: 24ch;
    margin-left: auto;
    margin-right: auto;
}
.padstow-skin .gh-article-excerpt {
    font-family: var(--font-utility);
    font-size: 15px;
    line-height: 1.55;
    max-width: 68ch;
    margin: 1.1em auto 0;
    color: var(--ink-2);
}
.padstow-skin .gh-article-meta-line {
    justify-content: center;
    font-size: 11px;
    border-bottom: 0;
    margin-top: 1.4em;
    padding-bottom: clamp(16px, 2vw, 28px);
}

/* Reading column: fixed px measure (never ch — it scaled with the bug) */
.padstow-skin .gh-content > * {
    max-width: 680px;
}
.padstow-skin .gh-content p,
.padstow-skin .gh-content ul,
.padstow-skin .gh-content ol,
.padstow-skin .gh-content blockquote {
    font-size: 17px;
    line-height: 1.65;
}
.padstow-skin .gh-content h2 { font-size: 26px; }
.padstow-skin .gh-content h3 { font-size: 21px; }
.padstow-skin .gh-content h4 { font-size: 18px; }
.padstow-skin .gh-content figcaption,
.padstow-skin .gh-content .kg-image-card figcaption,
.padstow-skin .gh-content .kg-gallery-card figcaption {
    font-size: 12px;
}
.padstow-skin .gh-article-meta-line,
.padstow-skin .gh-article-meta-section { font-size: 11px; }
@media (max-width: 700px) {
    .padstow-skin .gh-article-hero .gh-article-image img { height: clamp(240px, 38vh, 420px); }
}

/* === Scroll economy (2026-07-07): tall/square inline images no longer
   render at full column height — cap the displayed height, centre the
   image, keep the figure rhythm. Galleries (3-across) handle runs. === */
.padstow-skin .gh-content .kg-image-card img {
    max-height: 520px;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.padstow-skin .gh-content .kg-gallery-card { max-width: 1120px; }

@media (max-width: 700px) {
    .padstow-skin .gh-content .kg-image-card img { max-height: 62vh; }
}

/* === Mobile tides (2026-07-07): on small screens the frosted card was
   covering the masthead + nav. Collapse to a slim readout strip at the
   bottom of the hero: no porthole, no tabs, heading + height + next only. === */
@media (max-width: 700px) {
    .padstow-skin .gh-hero-tides {
        top: auto;
        bottom: 10px;
        right: 50%;
        transform: translateX(50%);
        width: min(320px, 88vw);
        padding: 10px 14px;
    }
    .padstow-skin .gh-hero-tides .tides-porthole-svg,
    .padstow-skin .gh-hero-tides .tides-porthole,
    .padstow-skin .gh-hero-tides .tides-tabs,
    .padstow-skin .gh-hero-tides .tides-panel:not(.is-active),
    .padstow-skin .gh-hero-tides .tides-times-toggle { display: none; }
    .padstow-skin .gh-hero-tides .tides-readout {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 8px;
        margin: 0;
    }
    .padstow-skin .gh-hero-tides .tides-height { font-size: 18px; }
    .padstow-skin .gh-hero-tides .tides-heading { margin-bottom: 4px; font-size: 10px; }
    .padstow-skin .gh-hero-tides .tides-next { font-size: 10px; }
}
