/* ==========================================================
   Version 3 (November 2026): OMW masthead, a short intro,
   sideways story rows, the food panel, the art band,
   a calmer footer and the new About page.
   ========================================================== */

/* ---------- shared bits ---------- */
.v3-label {
    margin: 0;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}
.sec-food-along-the-way { color: var(--pink); }
.v3-ul {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.45s ease;
    padding-bottom: 3px;
}
a:hover .v3-ul, a:focus-visible .v3-ul { background-size: 100% 1px; }
.v3-h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.05; color: var(--ink); }

/* reveals while scrolling (the theme script adds these classes) */
[data-rv] { transition: opacity 1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1), clip-path 1.3s cubic-bezier(.65,0,.35,1); }
.rv-wait { opacity: 0; transform: translateY(28px); }
.rv-wait[data-rv="left"] { transform: translateX(-60px); }
.rv-wait[data-rv="right"] { transform: translateX(60px); }
.rv-wait[data-rv="curtain"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); }
.rv-wait[data-rv="line"] { opacity: 1; transform: scaleX(0); transform-origin: 0 50%; }
.rv-wait.rv-in { opacity: 1 !important; transform: none !important; clip-path: inset(0 0 0 0) !important; }
[data-px] { overflow: hidden; }
[data-px] img { transform: scale(1.14); will-change: transform; }
@media (prefers-reduced-motion: reduce) {
    .rv-wait { opacity: 1 !important; transform: none !important; clip-path: none !important; }
    [data-px] img { transform: none; }
}

/* ---------- masthead: OMW, the name, the line, the sections ---------- */
.v3-mast { padding-top: 40px; }
.v3-mast-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.v3-mast-inner > * { max-width: 100%; }
.v3-omw {
    display: inline-flex;
    align-items: baseline;
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1;
    letter-spacing: 0.06em;
    color: var(--ink);
    text-decoration: none;
}
.v3-omw span { display: inline-block; border-bottom: 1px solid var(--pink-line); padding-bottom: 2px; margin: 0 0.04em; }
.v3-omw:hover { color: var(--ink); }
.v3-title { margin: 10px 0 0; font-weight: 400; line-height: 0.95; }
.v3-title a {
    font-family: var(--serif);
    font-size: clamp(56px, 7vw, 96px);
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: none;
}
body:not(.home-template) .v3-title a { font-size: clamp(46px, 5vw, 68px); }
.v3-mast .v3-tagline { flex: none; max-width: none; margin: 12px 0 0; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.2; color: var(--ink); }
.v3-mast .nav {
    justify-content: center;
    gap: 6px 44px;
    margin-top: 18px;
    padding-bottom: 14px;
    width: 100%;
    max-width: 1240px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    letter-spacing: 0.18em;
}
.v3-mast .nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.v3-mast .nav a:hover { color: var(--pink); text-decoration: none; }
.v3-mast .nav a.nav-current { color: var(--pink); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--pink-line); }
@media (max-width: 700px) {
    .v3-mast { padding-top: 28px; }
    .v3-mast .nav { gap: 0 18px; font-size: 11px; letter-spacing: 0.14em; }
}

/* ---------- home: the idea behind it ---------- */
.v3-intro { display: flex; flex-wrap: wrap; gap: 16px 64px; align-items: baseline; padding-top: 56px; padding-bottom: 56px; max-width: 1240px; }
.v3-intro > .v3-label { flex: 0 0 200px; }
.v3-intro-body { flex: 1 1 520px; min-width: 0; }
.v3-intro-text { margin: 0; max-width: 44ch; font-family: var(--text); font-size: clamp(20px, 1.8vw, 25px); line-height: 1.5; color: var(--ink); }
.v3-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 700px) { .v3-intro > .v3-label { flex-basis: 100%; } .v3-intro { padding-top: 36px; padding-bottom: 40px; } }

/* featured story keeps its photo + soft panel; a gentle zoom on hover */
.v3-feature { max-width: 1240px; padding-bottom: 0; }
.v3-feature .feature-media { overflow: hidden; display: block; }
.v3-feature .feature-media img { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.v3-feature .feature:hover .feature-media img { transform: scale(1.04); }

/* ---------- story rows: one line that slides sideways ---------- */
.v3-row { position: relative; padding-top: 96px; }
.v3-row-empty { display: none; }
.v3-row-pin { display: flex; flex-direction: column; justify-content: center; }
.v3-row.is-pinned .v3-row-pin { position: sticky; top: 0; overflow: hidden; }
.v3-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; width: 100%; max-width: 1240px; margin-bottom: 32px; }
.v3-row-count { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); }
.v3-track {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 0 max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter))) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    will-change: transform;
}
.v3-track::-webkit-scrollbar { display: none; }
.v3-row.is-pinned .v3-track { overflow: visible; scroll-snap-type: none; }
.v3-card { flex: 0 0 380px; display: block; color: var(--ink); text-decoration: none; scroll-snap-align: start; }
.v3-card:hover { color: var(--ink); }
.v3-card-media { display: block; height: min(500px, 56vh); background: var(--placeholder); overflow: hidden; }
.v3-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.v3-card:hover .v3-card-media img { transform: scale(1.05); }
.v3-card-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.v3-card-title { display: block; margin-top: 8px; font-family: var(--serif); font-size: clamp(24px, 2.1vw, 30px); line-height: 1.08; }
.v3-endcard { flex: 0 0 300px; height: min(500px, 56vh); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 28px; box-sizing: border-box; scroll-snap-align: start; }
.v3-endcard-title { margin: 0 0 8px; font-family: var(--serif); font-style: italic; font-size: 36px; line-height: 1.05; color: var(--ink); }
.v3-endcard a { display: inline-flex; min-height: 36px; align-items: center; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.v3-row-bar { width: 100%; max-width: 1240px; margin-top: 36px; }
.v3-row-bar > div { height: 1px; background: var(--line); position: relative; }
.v3-row-bar span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0.15); transform-origin: 0 50%; }
@media (max-width: 820px) {
    .v3-row { padding-top: 64px; }
    .v3-row-head { margin-bottom: 20px; }
    .v3-row-count, .v3-row-bar { display: none; }
    .v3-track { gap: 16px; padding: 0 var(--gutter) 6px; }
    .v3-card { flex-basis: 250px; }
    .v3-card-media, .v3-endcard { height: 330px; }
    .v3-endcard { flex-basis: 210px; padding: 22px; }
    .v3-endcard-title { font-size: 28px; }
}

/* ---------- home: the food panel (words left, photo right) ---------- */
.v3-food { max-width: 1240px; padding-top: 100px; }
.v3-split { display: flex; flex-wrap: wrap-reverse; background: var(--panel); color: var(--ink); text-decoration: none; overflow: hidden; }
.v3-split:hover { color: var(--ink); }
.v3-split-text { flex: 1 1 420px; min-width: 0; padding: 56px 60px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.v3-split-title { font-family: var(--serif); font-size: clamp(36px, 3.6vw, 54px); line-height: 1; letter-spacing: -0.01em; }
.v3-split-dek { font-family: var(--text); font-size: 19px; line-height: 1.55; color: var(--soft); max-width: 34ch; }
.v3-split .button { margin-top: 14px; }
.v3-split-media { flex: 1 1 460px; min-width: 0; height: 520px; display: block; }
.v3-split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
    .v3-food { padding-top: 64px; }
    .v3-split-text { padding: 32px 24px 36px; }
    .v3-split-media { height: 360px; }
}

/* ---------- home: The Art of Things band ---------- */
.v3-art { max-width: 1240px; padding-top: 100px; }
.v3-art-band { position: relative; display: block; color: #fff; text-decoration: none; }
.v3-art-band:hover { color: #fff; }
.v3-art-media { display: block; height: 300px; }
.v3-art-media img { width: 100%; height: 100%; object-fit: cover; }
.v3-art-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,41,48,.62), rgba(43,41,48,.05) 70%); pointer-events: none; }
.v3-art-text { position: absolute; left: 56px; top: 50%; transform: translateY(-50%); z-index: 1; }
.v3-art-text .v3-label { color: #fff; }
.v3-art-title { display: block; color: #fff; margin-top: 12px; font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; }
@media (max-width: 700px) {
    .v3-art { padding-top: 64px; }
    .v3-art-media { height: 220px; }
    .v3-art-text { left: 24px; right: 24px; }
}

/* ---------- home: the little personal line ---------- */
.v3-personal { max-width: 1240px; padding-top: 110px; padding-bottom: 80px; text-align: center; }
.v3-personal p { margin: 0 auto; max-width: 26ch; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; color: var(--ink); }
@media (max-width: 700px) { .v3-personal { padding-top: 72px; padding-bottom: 56px; } }

/* ---------- section pages ---------- */
.v3-sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; padding-top: 64px; padding-bottom: 48px; }
.v3-sec-title { margin: 14px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5.4vw, 76px); line-height: 1; color: var(--ink); }
.v3-sec-intro { margin: 18px auto 0; max-width: 46ch; font-family: var(--text); font-size: 20px; line-height: 1.6; color: var(--soft); white-space: pre-line; }
.tag-template .v3-row { padding-bottom: 40px; }

/* ---------- footer ---------- */
.v3-footer { margin-top: 0; border-top: 1px solid var(--line); }
.v3-footer-cols { display: flex; flex-wrap: wrap; gap: 44px 64px; max-width: 1240px; padding-top: 64px; padding-bottom: 48px; }
.v3-footer-brand { flex: 1.4 1 300px; min-width: 0; }
.v3-omw-sm { font-size: 18px; }
.v3-footer-name { margin: 12px 0 0; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--ink); }
.v3-footer-line { margin: 12px 0 0; max-width: 30ch; font-family: var(--text); font-size: 18px; line-height: 1.5; color: var(--soft); }
.v3-footer-hello { display: inline-flex; min-height: 44px; align-items: center; margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--pink); text-decoration: none; }
.v3-footer-col { flex: 1 1 220px; min-width: 0; }
.v3-footer-col .v3-label { margin-bottom: 16px; }
.v3-footer-item { display: block; padding: 6px 0 12px; color: var(--ink); text-decoration: none; }
.v3-footer-item > .v3-ul { font-family: var(--serif); font-size: 26px; }
.v3-footer-note { display: block; margin-top: 4px; font-family: var(--text); font-size: 16px; color: var(--muted); }
.v3-social { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); text-decoration: none; font-family: var(--text); font-size: 18px; }
.v3-social-icon { width: 36px; height: 36px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: border-color .3s ease; }
.v3-social:hover .v3-social-icon { border-color: var(--ink); }
.v3-footer-bottom { max-width: 1240px; margin: 0 auto; border-top: 1px solid var(--line); padding: 14px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; color: var(--muted); }
.v3-footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.v3-footer-links a { min-height: 44px; display: inline-flex; align-items: center; color: var(--soft); text-decoration: none; }
.v3-copy { margin: 0; font-family: var(--text); font-size: 15px; }
.v3-footer-cols, .v3-footer > .wrap { max-width: 1240px; }

/* back to top */
.v3-top { position: fixed; right: 28px; bottom: 28px; z-index: 40; width: 48px; height: 48px; border: 1px solid var(--ink); background: var(--bg); color: var(--ink); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease, background .3s, color .3s; pointer-events: none; }
.v3-top.show { opacity: 1; transform: none; pointer-events: auto; }
.v3-top:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 700px) { .v3-top { right: 16px; bottom: 16px; } }

/* ---------- About ---------- */
.v3-about-head { text-align: center; padding-top: 56px; }
.v3-about-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 5vw, 72px); line-height: 1; color: var(--ink); }
.v3-about-title em { color: var(--pink); }
.v3-about-head .v3-label { margin-top: 14px; font-weight: 500; }
.v3-about-intro { max-width: 1000px; display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: center; padding-top: 48px; }
.v3-about-photo { margin: 0; flex: 0 0 340px; max-width: 100%; }
.v3-about-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.v3-about-introtext { flex: 1 1 380px; min-width: 0; }
.v3-about-introtext p { margin: 22px 0 0; font-family: var(--text); font-size: 20px; line-height: 1.75; color: var(--body); }
.v3-about-introtext p.v3-lead { margin: 0; font-family: var(--serif); font-size: clamp(30px, 2.8vw, 38px); line-height: 1.15; color: var(--ink); }
.v3-about-introtext em, .v3-about-close em { color: var(--pink); }
.v3-about-body { max-width: 720px; margin: 0 auto; padding: 36px var(--gutter) 0; box-sizing: border-box; }
.v3-ab-sec { padding: 30px 0 34px; }
.v3-ab-line { height: 1px; background: var(--line); }
.v3-ab-sec .v3-ab-line { margin-bottom: 28px; }
.v3-ab-head { display: flex; gap: 16px; align-items: baseline; }
.v3-ab-num { flex: 0 0 28px; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; color: var(--pink); }
.v3-ab-head h2, .v3-ab-head h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--ink); transition-delay: 80ms; }
.v3-ab-text { margin-top: 12px; padding-left: 44px; }
.v3-ab-text p { margin: 0; font-family: var(--text); font-size: 20px; line-height: 1.75; color: var(--body); transition-delay: 200ms; }
.v3-ab-text p + p { margin-top: 16px; transition-delay: 320ms; }
.v3-about-close { max-width: 860px; margin: 0 auto; padding: 56px var(--gutter) 88px; box-sizing: border-box; text-align: center; }
.v3-about-close p { margin: 0; font-family: var(--text); font-size: 19px; color: var(--body); }
.v3-about-close p.v3-close-big { font-family: var(--serif); font-style: italic; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.1; color: var(--ink); }
.v3-about-close p.v3-close-sub { margin-top: 12px; margin-bottom: 36px; font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); line-height: 1.35; color: var(--soft); }
.v3-about-close a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 6px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink); text-decoration: none; }
.v3-about-close a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 700px) {
    .v3-about-head { padding-top: 36px; }
    .v3-about-photo { flex-basis: 100%; }
    .v3-about-introtext p, .v3-ab-text p { font-size: 19px; }
    .v3-ab-head h2, .v3-ab-head h3 { font-size: 28px; }
    .v3-ab-text { padding-left: 0; }
    .v3-ab-sec { padding: 24px 0 28px; }
}
