@charset "UTF-8";
/* ==========================================================================
   vcard2 - "Rustic Wood" (T-0204)

   A woodworker's card. Oak-paper canvas with procedural grain, a live-edge
   slab in the hero, Fraunces (soft, carved-looking serif) over Work Sans.
   Every section has its own material so the page never repeats a backdrop:
   planks with brass screws, a kraft band of hanging price tags, a cork board
   of pinned prints, a walnut band for testimonials, a framed QR, a hanging
   shop sign. Day = sunlit workshop with drifting sawdust; night = campfire
   with rising embers.

    1. Tokens          6. Contact boards    11. QR frame
    2. Base            7. Services/notes    12. Hours sign
    3. Canopy          8. Gallery prints    13. Forms & buttons
    4. Slab & identity 9. Tags & rails      14. CTA, map, footer, dock
    5. Actions/plank  10. Walnut quotes     15. LN menu, motion, dark
   ========================================================================== */

/* 1. Tokens =============================================================== */
:root {
    --paper: #f4ecdf;
    --paper-2: #eadcc6;
    --card: #fbf6ee;
    --slab: #f7eee1;
    --ink: #2a1a10;
    --ink-2: #4e3a2b;
    --muted: #6b5644;
    --line: rgba(42, 26, 16, .12);
    --line-2: rgba(42, 26, 16, .24);
    --ember: #9a3c16;
    --ember-hot: #ff8a3d;
    --ember-soft: rgba(154, 60, 22, .1);
    --brass: #b08a3e;
    --bark: #4a2f1e;
    --walnut: #3a2315;
    --on-walnut: #f5e8d4;
    --on-walnut-2: #d9c3a5;
    --kraft: #dcc39e;
    --cork: #cda477;
    --cork-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .17 0 0 0 0 .06 0 0 0 9 -5.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
    --cork-flecks: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='1' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .93 0 0 0 0 .8 0 0 0 8 -5.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
    --wood-a: #8d5632;
    --wood-b: #6a3b20;
    --on-wood: #fff4e4;
    --log-a: #e9cda5;
    --log-b: #dcb88b;
    --log-ink: #3b2416;
    --danger: #b3261e;
    --ok: #3d6b2a;

    --sky-1: #f7dcb4;
    --sky-2: #f0b98a;
    --sky-3: #d98c62;
    --orb: #fff3d6;
    --orb-glow: rgba(255, 226, 170, .65);
    --ridge-1: #c18c69;
    --ridge-2: #8c5a3e;
    --ridge-3: #4d3021;

    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='280'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0018 .055' numOctaves='4' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .19 0 0 0 0 .09 0 0 0 1.55 -.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='280'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0018 .055' numOctaves='4' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.6 -.74'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    --edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V17C22 11 40 20 68 14s50-10 78-3 46 12 76 4 44-13 74-6 38 12 60 5 30-9 44-4v29z'/%3E%3C/svg%3E");

    --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --spring: cubic-bezier(.34, 1.56, .64, 1);
    --r: 16px;
    --sh: 0 1px 0 rgba(42, 26, 16, .06), 0 14px 28px -18px rgba(58, 30, 12, .55);
    --sh-lg: 0 30px 60px -24px rgba(40, 20, 8, .55);
    --gutter: 18px;
    --canopy-h: 262px;
    --slab-lift: 66px;
    color-scheme: light;
}

/* A real damped spring (~9% overshoot, settles within the duration) where
   linear() easing is supported; the cubic-bezier above is the fallback. */
@supports (transition-timing-function: linear(0, 1)) {
    :root {
        --spring: linear(0, 0.021, 0.077, 0.157, 0.253, 0.357, 0.463, 0.567, 0.665, 0.754, 0.833, 0.901, 0.957, 1.002, 1.037, 1.063, 1.08, 1.09, 1.094, 1.094, 1.09, 1.083, 1.074, 1.065, 1.055, 1.045, 1.035, 1.026, 1.018, 1.012, 1.006, 1.001, 0.998, 0.995, 0.993, 0.992, 1);
    }
}

/* Theme switch: the page script runs it as a view transition and wipes the
   new theme in as a circle from the toggle - the default cross-fade is off. */
::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}

/* 2. Base ================================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* The full-bleed bands (canopy, plank, kraft/cork/walnut) are real boxes
   sized from 50vw, so on a phone any stray overflow widened the layout
   viewport, 50vw grew with it and the page ran away to ~1400px wide for a
   moment on load (seen when reloading mid-page). With overflow set on html,
   body's own overflow-x: clip is no longer handed to the viewport - it
   clips at the body box, so nothing inside can widen the layout. */
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body.v2-body {
    margin: 0;
    min-height: 100vh;
    /* The page itself carries only a whisper of grain - full-strength grain
       is kept for the boards on top of it. */
    background:
        linear-gradient(color-mix(in srgb, var(--paper) 62%, transparent), color-mix(in srgb, var(--paper) 62%, transparent)),
        var(--grain) 0 0 / 560px 280px,
        var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-x: clip;
}

:where(.v2-body) :where(h1, h2, h3, p, figure) { margin: 0; }
:where(.v2-body) :where(ul) { margin: 0; padding: 0; list-style: none; }
:where(.v2-body) :where(a) { color: inherit; text-decoration: none; }
:where(.v2-body) :where(button) { font: inherit; color: inherit; }
:where(.v2-shell) :where(img) { max-width: 100%; }

.v2-body :focus-visible {
    outline: 2px solid var(--ember);
    outline-offset: 3px;
}

::selection { background: rgba(255, 138, 61, .25); }

.v2-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Toggled by vcard-actions.js (contact lists, form status lines). */
.d-none { display: none !important; }
.text-success { color: var(--ok); }
.text-danger { color: var(--danger); }

.v2-ico {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Custom X (Twitter) glyph - Font Awesome 6.4 predates the X logo. */
.icon-x-twitter{display:inline-block;width:1em;height:1em;flex-shrink:0;vertical-align:-.125em;background-color:currentColor;-webkit-mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") center/contain no-repeat}

.v2-shell {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    padding: 0 var(--gutter) 24px;
    counter-reset: v2-sec;
}

/* Tape measure: yellow blade with inch/half ticks, pulled out as you read. */
.v2-tape {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: 8px;
    pointer-events: none;
}

.v2-tape__fill {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg, #3a2a0e 0 1px, transparent 1px 8px) 0 0 / 100% 3px no-repeat,
        repeating-linear-gradient(90deg, #3a2a0e 0 1.5px, transparent 1.5px 40px) 0 0 / 100% 6px no-repeat,
        linear-gradient(180deg, #f3c84a, #dcaa2c);
    box-shadow: 0 2px 6px rgba(60, 40, 5, .35);
    clip-path: inset(0 100% 0 0);
}

/* 3. Canopy (hero backdrop) =============================================== */
.v2-hero { position: relative; }

.v2-canopy {
    position: relative;
    height: var(--canopy-h);
    margin-inline: calc(50% - 50vw + var(--sbw, 0px) / 2);
    overflow: hidden;
    background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%);
}

.v2-canopy__layer {
    position: absolute;
    inset: 0;
    will-change: transform;
}

/* Banners are cropped 2.5:1 in the editor (T-0211): keep that whole band
   visible at the top instead of filling the taller canopy, and let its lower
   edge blend into the canopy below. */
.v2-canopy__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 2.5 / 1;
    max-height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
    mask-image: linear-gradient(180deg, #000 72%, transparent);
    transform-origin: 50% 30%;
    animation: v2-kenburns 28s ease-in-out infinite alternate;
}

/* A warm late-afternoon grade over the owner's banner, deepening at the
   bottom where the slab sits on it. */
.v2-canopy.has-image .v2-canopy__layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(40, 18, 6, .28) 0%, rgba(40, 18, 6, 0) 34%, rgba(40, 18, 6, .38) 100%),
        linear-gradient(0deg, rgba(214, 140, 80, .16), rgba(214, 140, 80, .16));
    mix-blend-mode: multiply;
    pointer-events: none;
}

@keyframes v2-kenburns {
    from { transform: scale(1.04) translate3d(-.8%, -.4%, 0); }
    to { transform: scale(1) translate3d(.8%, .4%, 0); }
}

/* A small upload stretched to fill: no extra zoom on top (script flags it). */
.v2-canopy.is-lowres .v2-canopy__img {
    transform: none;
    animation: none;
}

.v2-scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.v2-canopy.has-image .v2-scene,
.v2-canopy.has-image .v2-mist { display: none; }

.v2-scene__orb {
    fill: var(--orb);
    filter: drop-shadow(0 0 18px var(--orb-glow));
    animation: v2-orb 9s ease-in-out infinite alternate;
    transform-box: fill-box;
    transform-origin: center;
}

@keyframes v2-orb { to { transform: translateY(6px) scale(1.04); } }

.v2-scene__ridge { transform-box: fill-box; }
.v2-scene__ridge--far { fill: var(--ridge-1); opacity: .9; animation: v2-sway 14s ease-in-out infinite alternate; }
.v2-scene__ridge--mid { fill: var(--ridge-2); animation: v2-sway 11s ease-in-out -4s infinite alternate-reverse; }
.v2-scene__ridge--near { fill: var(--ridge-3); }

@keyframes v2-sway { to { transform: translateX(-6px); } }

/* Low valley mist drifting between the ridges. */
.v2-mist {
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: 22%;
    height: 60px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 244, 226, .55), transparent 70%);
    filter: blur(6px);
    animation: v2-mist 22s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes v2-mist { from { transform: translateX(-8%); } to { transform: translateX(8%); } }

.v2-dust {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.v2-theme {
    position: absolute;
    top: calc(14px + env(safe-area-inset-top));
    left: max(14px, calc(50vw - var(--sbw, 0px) / 2 - 310px + 14px));
    z-index: 5;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 244, 226, .3);
    border-radius: 50%;
    background: rgba(30, 16, 8, .45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff4e4;
    cursor: pointer;
    transition: transform .5s var(--spring), background .2s ease;
}

.v2-theme .v2-ico { width: 19px; height: 19px; }
.v2-theme:active { transform: scale(.9) rotate(-20deg); }
.v2-theme__moon { display: none; }

.v2-lang {
    position: absolute;
    top: calc(14px + env(safe-area-inset-top));
    right: calc(14px - var(--gutter));
    z-index: 40;
}

/* 4. Slab & identity ====================================================== */
/* The slab is a board with a natural (live) edge on top. The surface and
   the dark bark rim are pseudo/child layers under the content, so the mask
   that shapes the edge never clips the avatar rising over it. */
.v2-slab {
    position: relative;
    isolation: isolate;
    margin-top: calc(-1 * var(--slab-lift));
    padding: 0 16px 28px;
    text-align: center;
}

.v2-slab::before,
.v2-slab__bark {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    -webkit-mask: var(--edge) top / 100% 36px no-repeat, linear-gradient(#000, #000) 0 35px / 100% calc(100% - 35px) no-repeat;
    mask: var(--edge) top / 100% 36px no-repeat, linear-gradient(#000, #000) 0 35px / 100% calc(100% - 35px) no-repeat;
}

.v2-slab::before {
    top: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 0 0 26px 26px;
    background:
        radial-gradient(60% 30% at 50% 0%, rgba(255, 255, 255, .5), transparent 70%),
        var(--grain) 0 0 / 560px 280px,
        var(--slab);
    box-shadow: var(--sh-lg);
}

.v2-slab__bark {
    top: -7px;
    height: 60px;
    z-index: -2;
    background: var(--bark);
}

.v2-id { position: relative; }

.v2-avatar {
    position: relative;
    display: grid;
    place-items: center;
    width: 196px;
    height: 196px;
    margin: -92px auto 0;
}

.v2-rings {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
}

.v2-rings__bark {
    stroke: var(--bark);
    stroke-width: 3.5;
    stroke-dasharray: .006 .003 .011 .004;
    stroke-linecap: butt;
    opacity: .6;
}

.v2-rings__grow {
    transform-origin: 100px 100px;
    animation: v2-spin 140s linear infinite;
}

.v2-ring {
    stroke: var(--ink);
    stroke-width: calc(1.3px - var(--r) * .12px);
    stroke-linecap: round;
    stroke-dasharray: 1;
    opacity: calc(.5 - var(--r) * .07);
}

@keyframes v2-spin { to { transform: rotate(360deg); } }

.v2-avatar__img {
    position: relative;
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--slab);
    box-shadow: 0 0 0 1px var(--line-2), 0 14px 28px -12px rgba(40, 20, 8, .6);
    background: var(--paper-2);
    transition: transform .6s var(--spring);
}

.v2-avatar__initials {
    color: var(--ember);
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 600;
    font-variation-settings: 'SOFT' 100, 'opsz' 72;
}

.v2-views {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 6px !important;
    padding: 5px 13px 5px 10px;
    border-radius: 999px;
    background: var(--paper-2);
    color: var(--ink-2);
    font-size: 12.5px;
    font-weight: 500;
}

.v2-views__num {
    display: inline-block;
    color: var(--ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.v2-views__num.is-done { animation: v2-pop .5s var(--spring); }

@keyframes v2-pop { 50% { transform: scale(1.18); color: var(--ember); } }

.v2-views__ember {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #ffd08a, var(--ember-hot) 55%, var(--ember));
    box-shadow: 0 0 8px var(--ember-hot);
    animation: v2-flicker 2.2s ease-in-out infinite;
}

@keyframes v2-flicker {
    0%, 100% { opacity: 1; transform: scale(1); }
    30% { opacity: .65; transform: scale(.85); }
    55% { opacity: .95; transform: scale(1.1); }
}

.v2-name {
    position: relative;
    margin-top: 14px !important;
    padding: 0 6px;
    font-family: var(--serif);
    font-size: clamp(2.3rem, 11vw, 3.25rem);
    font-weight: 650;
    font-variation-settings: 'SOFT' 100, 'opsz' 144;
    line-height: 1.04;
    letter-spacing: -.015em;
    color: var(--ink);
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.v2-verified {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin-left: 4px;
    vertical-align: .18em;
    color: var(--ember);
}

.v2-verified .v2-ico { width: 24px; height: 24px; stroke-width: 1.9; }

/* Smoke that curls up off the name once it's burned in. */
.v2-smoke {
    position: absolute;
    left: 50%;
    top: -6px;
    width: 0;
    height: 0;
    pointer-events: none;
}

.v2-smoke i {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 100, 90, .35), transparent 70%);
    filter: blur(4px);
    opacity: 0;
}

.v2-role {
    margin-top: 12px !important;
    color: var(--ink-2);
    font-size: 14px;
    text-wrap: balance;
}

.v2-role__title {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.v2-role__at {
    margin-right: 5px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 16px;
    color: var(--muted);
}

.translated-ltr .v2-role__at,
.translated-rtl .v2-role__at { display: none; }

.v2-role__company {
    font-family: var(--serif);
    font-style: italic;
    font-size: 21px;
    font-weight: 500;
    color: var(--ember);
}

.v2-workdesc {
    max-width: 440px;
    margin: 10px auto 0 !important;
    color: var(--ink-2);
    font-size: 14.5px;
    line-height: 1.55;
}

.v2-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px !important;
}

.v2-social__link {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: repeating-radial-gradient(circle at 45% 55%, var(--log-a) 0 2.5px, var(--log-b) 2.5px 4.5px);
    box-shadow: inset 0 0 0 2.5px var(--bark), 0 6px 12px -8px rgba(40, 20, 8, .6);
    color: var(--log-ink);
    font-size: 17px;
    transition: transform .5s var(--spring), translate .3s var(--ease);
}

.v2-social__link:active { transform: scale(.9) rotate(-15deg); }

/* 5. Actions & plank ribbon ================================================ */
.v2-actions {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.v2-quick {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.v2-quick__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    flex: 1 1 0;
    min-width: 0;
    max-width: 72px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink-2);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Each shortcut is a log slice: end-grain rings inside a bark rim. */
.v2-quick__log {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 44% 56%, rgba(120, 70, 30, .35) 0 2px, transparent 2.5px),
        repeating-radial-gradient(circle at 44% 56%, var(--log-a) 0 3px, var(--log-b) 3px 5.5px);
    box-shadow: inset 0 0 0 3px var(--bark), inset 0 0 0 5px rgba(0, 0, 0, .08), 0 10px 16px -10px rgba(40, 20, 8, .65);
    color: var(--log-ink);
    font-size: 20px;
    transition: transform .55s var(--spring), translate .3s var(--ease);
}

.v2-quick__log .v2-ico { width: 21px; height: 21px; stroke-width: 1.9; }
.v2-quick__item:active .v2-quick__log { transform: scale(.9) rotate(-25deg); }

/* A running board of the owner's own words, nailed on a slight slant. */
.v2-plank {
    position: relative;
    margin: 40px calc(50% - 50vw + var(--sbw, 0px) / 2) 0;
    padding: 13px 0;
    overflow: hidden;
    transform: skewY(-1.6deg);
    background:
        var(--grain-dark) 0 0 / 560px 280px,
        linear-gradient(180deg, #8d5733, #6d3f22);
    box-shadow: inset 0 1px 0 rgba(255, 230, 190, .25), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 12px 24px -14px rgba(40, 20, 8, .7);
}

.v2-plank__track {
    display: flex;
    width: max-content;
    animation: v2-marquee var(--plank-dur, 40s) linear infinite;
}

.v2-plank__group {
    display: flex;
    align-items: center;
    gap: 26px;
    padding-right: 26px;
}

.v2-plank__item {
    color: #fbe9cf;
    font-family: var(--serif);
    font-size: 21px;
    font-style: italic;
    font-weight: 500;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}

/* A little knot in the board between items. */
.v2-plank__knot {
    width: 16px;
    height: 11px;
    border-radius: 50%;
    background: repeating-radial-gradient(ellipse at 50% 50%, #4a2714 0 1.5px, #7a4726 1.5px 3px);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .25);
    flex-shrink: 0;
}

@keyframes v2-marquee { to { transform: translateX(-50%); } }

/* 6. Sections, heads & contact boards ====================================== */
.v2-section {
    position: relative;
    isolation: isolate;
    padding: 62px 0 54px;
    counter-increment: v2-sec;
}

/* Textured full-bleed bands: a pseudo layer (a solid box-shadow can't
   carry the kraft / cork / walnut texture) spanning the viewport. */
.v2-section--kraft::before,
.v2-section--cork::before,
.v2-section--walnut::before {
    content: '';
    position: absolute;
    inset: 0 calc(50% - 50vw + var(--sbw, 0px) / 2);
    z-index: -1;
}

/* Kraft and cork are mid-tone: text tokens darken locally to keep 4.5:1. */
.v2-section--kraft {
    --muted: #54402f;
    --card: #fbf4e7;
    --ember: #7c3011;
}

.v2-section--kraft::before {
    background:
        repeating-linear-gradient(95deg, rgba(90, 60, 30, .05) 0 1px, transparent 1px 7px),
        var(--grain) 0 0 / 560px 280px,
        var(--kraft);
    box-shadow: inset 0 12px 16px -14px rgba(40, 20, 8, .5), inset 0 -12px 16px -14px rgba(40, 20, 8, .5);
}

.v2-section--cork::before {
    /* Irregular cork granules (noise, thresholded into dark and light flecks). */
    background:
        var(--cork-grain) 0 0 / 240px 240px,
        var(--cork-flecks) 0 0 / 240px 240px,
        var(--cork);
    box-shadow: inset 0 14px 20px -16px rgba(40, 20, 8, .6), inset 0 -14px 20px -16px rgba(40, 20, 8, .6);
}

.v2-section--cork {
    --muted: #4a3322;
    --ink-2: #3c2a1c;
    --ember: #5e240b;
}

.v2-section--walnut {
    --ink: var(--on-walnut);
    --ink-2: var(--on-walnut-2);
    --muted: var(--on-walnut-2);
    --line: rgba(245, 232, 212, .14);
    --line-2: rgba(245, 232, 212, .28);
    --ember: #f09055;
    color: var(--on-walnut);
}

.v2-section--walnut::before {
    background:
        var(--grain-dark) 0 0 / 560px 280px,
        radial-gradient(120% 70% at 50% 0%, rgba(255, 170, 100, .1), transparent 60%),
        var(--walnut);
}

.v2-head {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 28px;
    padding-bottom: 16px;
}

.v2-head--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.v2-head--row > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* A burned-in lot number: "No. 01". */
.v2-head__no {
    color: var(--ember);
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    font-weight: 600;
    letter-spacing: .08em;
}

.v2-head__no::before { content: 'No. ' counter(v2-sec, decimal-leading-zero); }

/* Headroom (padding + matching negative margin) so Devanagari marks above
   a translated heading aren't sliced off by the rise-in mask. */
.v2-head__title {
    overflow: hidden;
    padding: .3em 0 .14em;
    margin: -.3em 0 -.14em !important;
    font-family: var(--serif);
    font-size: clamp(2rem, 8.6vw, 2.6rem);
    font-weight: 600;
    font-variation-settings: 'SOFT' 100, 'opsz' 144;
    line-height: 1.04;
    letter-spacing: -.012em;
    color: var(--ink);
}

.v2-head__title > span {
    display: inline-block;
    transition: transform 1s var(--ease);
}

/* The saw kerf under each heading - cut by a spinning blade on reveal. */
.v2-head__kerf {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 2px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .25)),
        repeating-linear-gradient(90deg, var(--line-2) 0 10px, var(--line) 10px 12px);
}

.v2-blade {
    position: absolute;
    left: -11px;
    top: -10px;
    width: 22px;
    height: 22px;
    fill: var(--brass);
    stroke: rgba(0, 0, 0, .35);
    stroke-width: .6;
    opacity: 0;
}

.v2-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ember);
    font-size: 14px;
    font-weight: 600;
}

.v2-link .v2-ico { width: 16px; height: 16px; transition: transform .35s var(--ease); }

.v2-about {
    color: var(--ink-2);
    font-family: var(--serif);
    font-size: 1.22rem;
    font-weight: 400;
    font-variation-settings: 'SOFT' 50, 'opsz' 24;
    line-height: 1.62;
    white-space: pre-line;
}

/* A drop cap burned into the first line. */
.v2-about--cap::first-letter {
    float: left;
    margin: .06em .1em 0 0;
    color: var(--ember);
    font-size: 3.4em;
    font-weight: 700;
    font-variation-settings: 'SOFT' 100, 'opsz' 144;
    line-height: .82;
}

.v2-boards {
    display: grid;
    gap: 10px;
}

/* A plank with a brass screw in each corner. */
.v2-board {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 15px 16px 15px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background:
        radial-gradient(circle at 8px 8px, var(--brass) 0 2px, transparent 2.6px),
        radial-gradient(circle at calc(100% - 8px) 8px, var(--brass) 0 2px, transparent 2.6px),
        radial-gradient(circle at 8px calc(100% - 8px), var(--brass) 0 2px, transparent 2.6px),
        radial-gradient(circle at calc(100% - 8px) calc(100% - 8px), var(--brass) 0 2px, transparent 2.6px),
        var(--grain) 0 0 / 560px 280px,
        var(--card);
    box-shadow: var(--sh);
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .45s var(--ease), box-shadow .35s var(--ease);
}

.v2-board--static { cursor: default; }
.v2-board:not(.v2-board--static):active { transform: translateX(4px); }

.v2-board__ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--paper-2);
    color: var(--ember);
    box-shadow: inset 0 2px 4px rgba(40, 20, 8, .12);
}

.v2-board__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.v2-board__label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.v2-board__value {
    color: var(--ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.v2-board__go {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease);
}

.v2-board__go .v2-ico { width: 15px; height: 15px; }
.contact-multi-toggle[aria-expanded="true"] .v2-board__go--chev { transform: rotate(180deg); }

/* The drawer that slides out under a multi-email / multi-phone plank. */
/* vcard-actions.js toggles .d-none (display:none). The drawer slides open to
   its natural height and back shut: interpolate-size lets height animate to
   and from "auto", allow-discrete holds display until the close finishes. */
.v2-drawer {
    height: auto;
    margin-top: 6px !important;
    padding: 6px 8px !important;
    overflow: hidden;
    border-radius: 12px;
    background: var(--paper-2);
    box-shadow: inset 0 3px 8px rgba(40, 20, 8, .14);
    opacity: 1;
    interpolate-size: allow-keywords;
    transition:
        height .5s var(--ease),
        padding .5s var(--ease),
        margin .5s var(--ease),
        opacity .35s var(--ease),
        display .5s allow-discrete;
}

.v2-drawer.d-none {
    height: 0;
    margin-top: 0 !important;
    padding-block: 0 !important;
    opacity: 0;
}

@starting-style {
    .v2-drawer:not(.d-none) {
        height: 0;
        margin-top: 0 !important;
        padding-block: 0 !important;
        opacity: 0;
    }
}

.v2-drawer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 10px;
    border-bottom: 1px dashed var(--line-2);
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    overflow-wrap: anywhere;
    transition: color .25s ease, padding .3s var(--ease);
}

.v2-drawer li:last-child a { border-bottom: 0; }
.v2-drawer .v2-ico { width: 15px; height: 15px; color: var(--ember); }

/* 7. Services & notes ===================================================== */
.v2-services {
    display: grid;
    gap: 14px;
}

.v2-svc {
    position: relative;
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 16px 16px 16px 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--grain) 0 0 / 560px 280px, var(--card);
    box-shadow: var(--sh);
    transition: transform .5s var(--ease), box-shadow .4s var(--ease);
}

.v2-svc--noimg { grid-template-columns: minmax(0, 1fr) auto; padding-left: 18px; }

/* Its number, branded faintly into the board. */
.v2-svc__brand {
    position: absolute;
    right: 10px;
    bottom: -14px;
    color: var(--ember);
    font-family: var(--serif);
    font-size: 72px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    opacity: .09;
    pointer-events: none;
}

.v2-svc__media {
    width: 66px;
    height: 66px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--bark), 0 0 0 6px var(--log-b), 0 8px 14px -8px rgba(40, 20, 8, .6);
}

.v2-svc__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.v2-svc__body { min-width: 0; }

.v2-svc__title {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 600;
    font-variation-settings: 'SOFT' 100, 'opsz' 36;
    line-height: 1.25;
    color: var(--ink);
}

.v2-svc__desc {
    display: -webkit-box;
    margin-top: 3px !important;
    overflow: hidden;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.v2-svc__go {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line-2);
    color: var(--ink);
    transition: transform .45s var(--spring), background .3s ease, color .3s ease;
}

.v2-svc__go .v2-ico { width: 16px; height: 16px; }

.v2-notes {
    display: grid;
    gap: 14px;
}

/* A field notebook page with a stitched binding on the left. */
.v2-note {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 16px 14px 18px;
    border: 1px solid var(--line);
    border-left: 0;
    border-radius: 6px 16px 16px 6px;
    background: var(--card);
    box-shadow: inset 6px 0 0 var(--ember), inset 9px 0 0 rgba(0, 0, 0, .12), var(--sh);
    transition: transform .5s var(--ease);
}

.v2-note--noimg { grid-template-columns: minmax(0, 1fr); }

.v2-note__media {
    width: 96px;
    height: 96px;
    overflow: hidden;
    border-radius: 10px;
}

.v2-note__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.v2-note__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.v2-note__title {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
    font-variation-settings: 'SOFT' 100, 'opsz' 36;
    line-height: 1.3;
}

.v2-note__desc {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.v2-note .v2-link { margin-top: 4px; }

/* 8. Gallery: prints pinned to cork ======================================= */
.v2-prints {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
    padding: 12px 10px 4px;
}

.v2-print {
    position: relative;
    display: block;
    margin: 0;
    padding: 8px 8px 24px;
    background: #fdf9f1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15), 0 14px 22px -12px rgba(40, 20, 8, .6);
    transform: rotate(var(--tilt, 0deg));
    transform-origin: 50% 0;
    transition: transform .6s var(--spring), box-shadow .4s var(--ease);
}

.v2-print img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #e8dccb;
}

/* Brass drawing pin. */
.v2-tack {
    position: absolute;
    top: -7px;
    left: 50%;
    z-index: 1;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff2c8 0 2px, #d8b25c 3.5px, #8f6a24 8px);
    box-shadow: 0 3px 3px rgba(0, 0, 0, .35);
}

.v2-print--file {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    aspect-ratio: .9;
    color: #3b2416;
    font-weight: 600;
}

.v2-print--file .v2-ico { width: 34px; height: 34px; color: var(--ember); }
.v2-print--muted { color: #7a6a5a; font-size: 13px; }

/* 9. Products: price tags on string, rails ================================= */
.v2-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 16px;
    margin-right: calc(-1 * var(--gutter));
    padding: 30px var(--gutter) 18px 2px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    scrollbar-width: none;
}

.v2-rail::-webkit-scrollbar { display: none; }
.v2-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }

.v2-tag {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    color: var(--ink);
    transform-origin: 50% -22px;
    transition: transform .6s var(--spring);
}

/* The tag itself (clipped corners) is a layer, so the string above it and
   the punched hole aren't clipped away with it. */
.v2-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 0 0 14px 14px;
    background: var(--grain) 0 0 / 560px 280px, var(--card);
    clip-path: polygon(18% 0, 82% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
    filter: drop-shadow(0 12px 14px rgba(40, 20, 8, .25));
}

/* Punched hole with a brass eyelet. */
.v2-tag::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 50%;
    width: 13px;
    height: 13px;
    margin-left: -6.5px;
    border-radius: 50%;
    background: var(--kraft);
    box-shadow: 0 0 0 3px #c9a45a, inset 0 2px 3px rgba(0, 0, 0, .35);
}

.v2-tag__string {
    position: absolute;
    top: -30px;
    left: 50%;
    width: 2px;
    height: 46px;
    margin-left: -1px;
    background: repeating-linear-gradient(180deg, #b89366 0 3px, #8a6a45 3px 5px);
    border-radius: 2px;
}

.v2-tag__media {
    display: block;
    margin: 32px 12px 0;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    background: var(--paper-2);
}

.v2-tag__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.v2-tag__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px 18px;
}

.v2-tag--noimg .v2-tag__body { padding-top: 38px; }

.v2-tag__title {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 600;
    font-variation-settings: 'SOFT' 100, 'opsz' 36;
    line-height: 1.25;
}

.v2-tag__desc {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink-2);
    font-size: 13.5px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.v2-tag__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--line-2);
}

.v2-price {
    color: var(--ember);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    font-variant-numeric: lining-nums;
}

.v2-rail-nav {
    display: flex;
    gap: 8px;
}

.v2-rail-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: repeating-radial-gradient(circle at 45% 55%, var(--log-a) 0 2.5px, var(--log-b) 2.5px 4.5px);
    box-shadow: inset 0 0 0 2.5px var(--bark);
    color: var(--log-ink);
    cursor: pointer;
    transition: transform .45s var(--spring);
}

.v2-rail-btn .v2-ico { width: 18px; height: 18px; stroke-width: 2.2; }
.v2-rail-btn:active { transform: scale(.88) rotate(-20deg); }

/* A groove the fill slides in. */
.v2-railbar {
    position: relative;
    height: 4px;
    margin-top: 6px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--line);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18);
}

.v2-railbar span {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ember), var(--ember-hot));
    transition: transform .2s linear;
}

/* 10. Walnut band: testimonials, and the Instagram frames ================= */
.v2-rail--quotes { grid-auto-columns: 86%; padding-top: 12px; }

.v2-quote {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 30px 22px 22px;
    scroll-snap-align: start;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255, 236, 210, .08), rgba(255, 236, 210, .02));
    box-shadow: inset 0 1px 0 rgba(255, 236, 210, .1);
    color: var(--on-walnut);
}

.v2-quote__mark {
    position: absolute;
    top: -18px;
    left: 16px;
    color: var(--ember-hot);
    font-family: var(--serif);
    font-size: 84px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 0 18px rgba(255, 138, 61, .45);
}

.v2-quote__text {
    display: -webkit-box;
    overflow: hidden;
    font-family: var(--serif);
    font-size: 17px;
    font-style: italic;
    font-variation-settings: 'SOFT' 50, 'opsz' 24;
    line-height: 1.6;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.v2-quote__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.v2-quote__avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--walnut), 0 0 0 4px rgba(255, 236, 210, .3);
}

.v2-quote__initials {
    display: grid;
    place-items: center;
    background: rgba(255, 236, 210, .12);
    color: var(--on-walnut);
    font-family: var(--serif);
    font-weight: 600;
}

.v2-quote__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--on-walnut);
}

.v2-section--walnut .v2-railbar { background: rgba(255, 236, 210, .12); }

.v2-insta {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.v2-insta::-webkit-scrollbar { display: none; }

.insta-embed-item { flex-shrink: 0; }

/* Instagram's iframe has a hard 326px min-width: 6px of frame keeps the
   whole card inside the phone column. */
.insta-embed-frame {
    padding: 6px;
    border-radius: 18px;
    background: var(--grain-dark) 0 0 / 560px 280px, linear-gradient(160deg, var(--wood-a), var(--wood-b));
    box-shadow: var(--sh);
}

.v2-body .slick-dots {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.v2-body .slick-dots li:only-child { display: none; }

.v2-body .slick-dots li button {
    display: block;
    width: 27px;
    height: 27px;
    padding: 10px;
    border: 0;
    border-radius: 999px;
    background: var(--line-2) content-box;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: width .45s var(--ease), background .3s var(--ease);
}

.v2-body .slick-dots li.slick-active button {
    width: 44px;
    background: var(--ember) content-box;
}

/* 11. QR in a wooden picture frame ======================================== */
.vcard-qr-scope { --qr-accent: #5a3620; }

.v2-tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.v2-tabs {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    border-radius: 999px;
    background: var(--paper-2);
    box-shadow: inset 0 2px 4px rgba(40, 20, 8, .15);
}

.qr-upi-tab-btn {
    min-height: 40px;
    padding: 9px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background .35s var(--ease), color .35s var(--ease);
}

.qr-upi-tab-btn.is-active {
    background: var(--grain-dark) 0 0 / 560px 280px, var(--wood-b);
    color: var(--on-wood);
    box-shadow: 0 3px 8px -3px rgba(40, 20, 8, .6);
}

.v2-qr-panels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 310px;
    margin: 0 auto;
}

.v2-qr-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 4px 2px 8px;
}

/* Mitred oak frame (four bevelled sides) round an always-light mat -
   scanners want the contrast, dark theme included. */
.v2-frame {
    position: relative;
    width: 100%;
    padding: 16px;
    border-radius: 4px;
    background:
        var(--grain-dark) 0 0 / 560px 280px,
        conic-gradient(from 45deg at 50% 50%, #7a4726 0 25%, #945a31 0 50%, #6a3b1f 0 75%, #8a5230 0);
    box-shadow:
        inset 0 0 0 1px rgba(255, 230, 190, .2),
        inset 0 0 0 7px rgba(0, 0, 0, .12),
        0 22px 34px -18px rgba(40, 20, 8, .75);
}

.v2-frame__mat {
    position: relative;
    overflow: hidden;
    padding: 14px;
    background: #fffaf1;
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, .28);
}

.v2-frame__mat img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto;
}

/* A glint across the glass now and then. */
.v2-frame__glint {
    position: absolute;
    inset: -20% -60%;
    z-index: 1;
    background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .45) 50%, transparent 58%);
    transform: translateX(-70%);
    animation: v2-glint 6s ease-in-out 1.5s infinite;
    pointer-events: none;
}

@keyframes v2-glint {
    0%, 70% { transform: translateX(-70%); }
    100% { transform: translateX(70%); }
}

/* Engraved brass nameplate under the frame. */
.v2-plate {
    position: relative;
    margin-top: 14px;
    padding: 8px 26px 9px;
    border-radius: 6px;
    background:
        radial-gradient(circle at 10px 50%, #6f4f1c 0 2px, transparent 2.6px),
        radial-gradient(circle at calc(100% - 10px) 50%, #6f4f1c 0 2px, transparent 2.6px),
        linear-gradient(180deg, #ecd08e, #c79f4f 55%, #b58c3c);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 2px 0 #7c5a22, 0 8px 14px -8px rgba(40, 20, 8, .6);
    color: #36230c;
    text-align: center;
}

.v2-plate__name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 0 rgba(255, 240, 200, .6);
}

.v2-plate__name .v2-ico { width: 16px; height: 16px; }

.v2-plate__hint {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .04em;
}

.v2-qr-panel .v2-btn--block { margin-top: 18px; }

/* 12. Hours: a sign hanging off two chains ================================ */
.v2-sign {
    position: relative;
    margin: 34px 12px 0;
    padding: 24px 16px 20px;
    border-radius: 14px;
    background:
        var(--grain-dark) 0 0 / 560px 280px,
        linear-gradient(180deg, #4d2e1a, #3a2213);
    box-shadow: inset 0 1px 0 rgba(255, 230, 190, .18), inset 0 -3px 0 rgba(0, 0, 0, .3), 0 24px 34px -20px rgba(40, 20, 8, .8);
    color: #f6e7cf;
    transform-origin: 50% -34px;
}

.v2-sign__chain {
    position: absolute;
    top: -34px;
    width: 4px;
    height: 36px;
    background: repeating-linear-gradient(180deg, #9a9aa0 0 4px, transparent 4px 6px);
    border-radius: 2px;
}

.v2-sign__chain--l { left: 18%; }
.v2-sign__chain--r { right: 18%; }

.v2-sign__chain::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #e8e8ea, #6d6d73);
}

.v2-hours__row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    padding: 10px 2px;
    border-bottom: 1px dashed rgba(246, 231, 207, .18);
}

.v2-hours__row:last-child { border-bottom: 0; }

.v2-hours__day {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
    font-variation-settings: 'SOFT' 100, 'opsz' 24;
}

.v2-hours__leader {
    flex: 1;
    min-width: 10px;
    border-bottom: 2px dotted rgba(246, 231, 207, .3);
    transform: translateY(-4px);
}

.v2-hours__time {
    color: #e3cfb2;
    font-size: 13.5px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.v2-hours__row.is-today .v2-hours__day { color: #ffb070; }
.v2-hours__row.is-today .v2-hours__time { color: #fff3e0; font-weight: 600; }

.v2-hours__badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff9a4d, #e8752f);
    color: #2a1204;
    font-family: var(--sans);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    vertical-align: .15em;
    box-shadow: 0 0 12px rgba(255, 140, 60, .55);
}

/* 13. Forms & buttons ===================================================== */
.v2-paper {
    position: relative;
    padding: 26px 20px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        radial-gradient(circle at 18px 16px, #8f6a24 0 3px, #d8b25c 3.5px, transparent 5.5px),
        radial-gradient(circle at calc(100% - 18px) 16px, #8f6a24 0 3px, #d8b25c 3.5px, transparent 5.5px),
        var(--card);
    box-shadow: var(--sh);
}

.v2-tokens {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px !important;
}

/* An appointment window burned onto a little wooden token. */
.v2-token {
    display: inline-flex;
    flex-wrap: wrap;
    max-width: 100%;
    align-items: baseline;
    gap: 0 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--grain) 0 0 / 560px 280px, var(--paper-2);
    box-shadow: inset 0 0 0 1px var(--line-2);
    font-size: 12px;
}

.v2-token__day {
    color: var(--ember);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.v2-token__time {
    color: var(--ink-2);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.v2-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px 18px;
}

/* Ruled-line fields; focus draws the line in with a carpenter's pencil. */
.v2-field {
    position: relative;
    padding-top: 20px;
}

.v2-input {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 0 9px;
    border: 0;
    border-bottom: 1px solid var(--line-2);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.v2-input--area {
    min-height: 96px;
    resize: vertical;
}

.v2-label {
    position: absolute;
    left: 0;
    top: 31px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    pointer-events: none;
    transform-origin: left top;
    transition: transform .4s var(--ease), color .3s var(--ease);
}

.v2-input:focus + .v2-label,
.v2-input:not(:placeholder-shown) + .v2-label,
.v2-field--fixed .v2-label {
    transform: translateY(-24px) scale(.8);
}

.v2-input:focus + .v2-label { color: var(--ember); }

.v2-field__pencil {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, #3c3c40, #6a6a70 60%, #3c3c40);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .7s var(--ease);
}

.v2-input:focus ~ .v2-field__pencil { transform: scaleX(1); }

.v2-input:user-invalid { border-bottom-color: var(--danger); }
.v2-input:user-invalid + .v2-label { color: var(--danger); }

.v2-form__status {
    min-height: 1.2em;
    margin-top: 14px !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.v2-form__status:empty { margin-top: 0 !important; }

.v2-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 26px;
    border: 0;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .01em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), color .3s var(--ease), translate .3s var(--ease), background-color .3s var(--ease);
}

.v2-btn .v2-ico { width: 19px; height: 19px; }

.v2-btn:disabled {
    opacity: .7;
    cursor: progress;
}

/* A block of stained oak with real depth: pressing sinks it. */
.v2-btn--wood {
    background:
        var(--grain-dark) 0 0 / 560px 280px,
        linear-gradient(180deg, var(--wood-a), var(--wood-b));
    color: var(--on-wood) !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
    box-shadow:
        inset 0 1px 0 rgba(255, 230, 190, .35),
        inset 0 -2px 0 rgba(0, 0, 0, .25),
        0 5px 0 #3c2112,
        0 14px 22px -10px rgba(40, 20, 8, .7);
}

.v2-btn--wood:active {
    transform: translateY(4px);
    box-shadow:
        inset 0 1px 0 rgba(255, 230, 190, .25),
        inset 0 -1px 0 rgba(0, 0, 0, .25),
        0 1px 0 #3c2112,
        0 6px 12px -8px rgba(40, 20, 8, .7);
}

/* An ember glow that runs along the block. */
.v2-btn--wood::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 160, 80, .45) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .8s var(--ease);
}

.v2-btn--line {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1.5px var(--ink);
}

.v2-btn--line:active { transform: scale(.97); }

.v2-btn--block {
    width: 100%;
    margin-top: 28px;
}

.v2-actions .v2-btn--block { margin-top: 0; }

/* Pseudo-element arrow: vcard-actions.js swaps the submit button's
   textContent to "Sending..." and back, which would wipe a real icon. */
.v2-btn--arrow::after {
    content: '\2192';
    font-size: 18px;
    transition: transform .4s var(--spring);
}

/* A burst of sawdust where a wooden button is pressed (page script). */
.v2-chip {
    position: absolute;
    z-index: 3;
    width: 5px;
    height: 2px;
    border-radius: 1px;
    background: #d9a86c;
    pointer-events: none;
    animation: v2-chip .65s var(--ease) forwards;
}

@keyframes v2-chip { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }

/* The shared preview pop-up hardcodes an indigo "Visit" button. */
.v2-body .vcard-preview-visit {
    border-radius: 12px;
    background: #6a3b20;
    color: #fff4e4 !important;
}

.v2-body .vcard-preview-title { font-family: var(--serif); font-size: 22px; font-weight: 600; }

/* 14. CTA, map, footer, dock ============================================== */
.v2-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 52px;
}

/* Phones with the dock already have Save + Share pinned on screen. */
@media (max-width: 767.98px) {
    body.has-dock .v2-cta { display: none; }
}

.v2-map {
    overflow: hidden;
    height: clamp(250px, 64vw, 360px);
    padding: 8px;
    border-radius: 18px;
    background: var(--grain-dark) 0 0 / 560px 280px, linear-gradient(160deg, var(--wood-a), var(--wood-b));
    box-shadow: var(--sh);
}

.v2-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 11px;
    filter: sepia(.75) saturate(.8);
    transition: filter 1.6s var(--ease) .3s;
}

.v2-map.is-in iframe { filter: sepia(.18); }

.v2-footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 56px;
    padding: 44px 0 20px;
    text-align: center;
}

.v2-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px;
    background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, var(--line) 10px 12px);
}

.v2-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.vcard-site-footer-logo {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
}

.vcard-site-footer-logo svg { width: 17px; height: 17px; }

/* The TapNVisit wordmark keeps the landing page footer's own type - it's
   the product's brand, not part of this template's theme. */
.vcard-site-footer-name {
    font-family: 'Inter var', 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.025em;
    color: var(--ink);
}

.vcard-site-footer-tagline {
    max-width: 300px;
    color: var(--ink-2);
    font-family: var(--serif);
    font-size: 17px;
    font-style: italic;
    line-height: 1.4;
}

.vcard-site-footer-login {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    transition: background .3s var(--ease), color .3s var(--ease);
}

.vcard-site-footer-powered {
    margin-top: 6px !important;
    color: var(--muted);
    font-size: 11.5px;
}

.vcard-site-footer-powered a {
    color: var(--ink);
    font-weight: 700;
}

/* A walnut bar floating at the bottom of phones. */
.v2-dock {
    position: fixed;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 6px;
    border-radius: 999px;
    background: var(--grain-dark) 0 0 / 560px 280px, linear-gradient(180deg, #4d2e1a, #36200f);
    box-shadow: inset 0 1px 0 rgba(255, 230, 190, .2), 0 18px 30px -12px rgba(30, 14, 4, .7);
    transform: translate(-50%, calc(100% + 40px));
    transition: transform .6s var(--spring);
}

.v2-dock.is-visible { transform: translate(-50%, 0); }

body.has-dock .v2-shell { padding-bottom: 104px; }

.v2-dock__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 66px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: #f3e3cb;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .4s var(--spring), background .3s var(--ease);
}

.v2-dock__item .v2-ico,
.v2-dock__item > i { width: 19px; height: 19px; font-size: 18px; }
.v2-dock__item:active { transform: scale(.92); }
/* Two lines max for longer (e.g. translated) labels. */
.v2-dock__item > span { max-width: calc(100% - 8px); line-height: 1.1; text-align: center; }

.v2-dock__item--ember {
    width: 88px;
    background: linear-gradient(180deg, #b24d21, #9c3f17);
    color: #fff5e8;
    box-shadow: inset 0 1px 0 rgba(255, 210, 160, .45), 0 0 16px rgba(255, 120, 50, .35);
}

/* Desktop: a soft ember glow follows the pointer. */
.v2-cursor { display: none; }

.has-cursor .v2-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    display: block;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 150, 70, .5), rgba(255, 150, 70, 0) 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease);
}

.has-cursor .v2-cursor.is-on { opacity: 1; }
.has-cursor .v2-cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }

/* Hours sign status: a little lantern, lit while the business is open. */
.v2-sign__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: -4px 0 10px !important;
    padding: 0 4px 12px;
    border-bottom: 1px solid rgba(246, 231, 207, .18);
    color: #cdb89b;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.v2-sign__status.is-open { color: #ffc58f; }

.v2-lantern {
    position: relative;
    flex-shrink: 0;
    width: 14px;
    height: 20px;
    border-radius: 4px 4px 5px 5px;
    background: linear-gradient(180deg, #5c4a3a, #3a2d22);
    box-shadow: inset 0 0 0 1.5px #8d7a64;
}

/* Handle on top. */
.v2-lantern::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 3px;
    width: 8px;
    height: 6px;
    border: 1.5px solid #8d7a64;
    border-bottom: 0;
    border-radius: 5px 5px 0 0;
}

.v2-lantern i {
    position: absolute;
    inset: 4px 3px 3px;
    border-radius: 3px;
    background: #6b5a48;
}

.v2-sign__status.is-open .v2-lantern i {
    background: radial-gradient(circle at 50% 60%, #fff3c4, #ffb05a 55%, #e0701f);
    box-shadow: 0 0 10px 3px rgba(255, 160, 70, .6);
    animation: v2-flicker 2.4s ease-in-out infinite;
}

/* Copy buttons beside contact planks. The plank keeps its own link; the
   button is a sibling laid over its right-hand side. */
.v2-board-wrap { position: relative; }
/* The whole plank is already the link, so the copy button takes the
   arrow's place rather than squeezing the value between the two. */
.v2-board--copy { padding-right: 64px; }
.v2-board--copy .v2-board__go { display: none; }

/* Copy + QR-enlarge only work with the page script, so they only show with it. */
.v2-copy,
.v2-frame__zoom { display: none !important; }
.v2-js .v2-copy { display: grid !important; }
.v2-js .v2-frame__zoom:not([hidden]) { display: block !important; }

.v2-copy {
    position: relative;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color .25s ease, background .25s ease, transform .4s var(--spring);
}

.v2-board-wrap > .v2-copy {
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -22px;
}

.v2-copy .v2-ico { width: 18px; height: 18px; grid-area: 1 / 1; }
.v2-copy__done { opacity: 0; transform: scale(.4); color: var(--ok); stroke-width: 2.4; }
.v2-copy__icon,
.v2-copy__done { transition: opacity .2s ease, transform .35s var(--spring); }
.v2-copy:active { transform: scale(.88); }
.v2-copy.is-copied .v2-copy__icon { opacity: 0; transform: scale(.4); }
.v2-copy.is-copied .v2-copy__done { opacity: 1; transform: none; }

/* A little burned-in "Copied" tag that pops up over the button. */
.v2-copy__tip {
    position: absolute;
    bottom: calc(100% - 2px);
    left: 50%;
    padding: 3px 9px;
    border-radius: 6px;
    background: var(--walnut);
    color: var(--on-walnut);
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 6px);
    transition: opacity .2s ease, transform .35s var(--spring);
}

.v2-copy.is-copied .v2-copy__tip { opacity: 1; transform: translate(-50%, 0); }

/* Drawer rows: link + its copy button side by side. */
.v2-drawer li {
    display: flex;
    align-items: center;
    border-bottom: 1px dashed var(--line-2);
}

.v2-drawer li:last-child { border-bottom: 0; }
.v2-drawer li a { flex: 1; min-width: 0; border-bottom: 0; }

/* Tap the framed QR to enlarge it: the whole frame is the button, with a
   small corner chip saying so. */
.v2-frame__zoom {
    position: absolute;
    inset: 0;
    width: 100%;
    z-index: 2;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    -webkit-tap-highlight-color: transparent;
}

.v2-frame__zoom-chip {
    position: absolute;
    right: 6px;
    bottom: 6px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(58, 35, 21, .85);
    color: #fff4e4;
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .5);
}

.v2-frame__zoom-chip .v2-ico { width: 16px; height: 16px; stroke-width: 2; }

/* The QR view unfolds out of the frame that was tapped (--ox/--oy, set by
   the page script) and folds back into it on close. @starting-style gives
   the entry; allow-discrete keeps it in the top layer long enough to exit. */
.v2-qrzoom {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 24px;
    border: 0;
    background: #fffdf8;
    color: #2a1a10;
    text-align: center;
    opacity: 0;
    transform: scale(.35);
    transform-origin: var(--ox, 50%) var(--oy, 50%);
    transition:
        opacity .3s var(--ease),
        transform .55s var(--spring),
        overlay .55s allow-discrete,
        display .55s allow-discrete;
}

.v2-qrzoom[open] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    opacity: 1;
    transform: none;
}

@starting-style {
    .v2-qrzoom[open] { opacity: 0; transform: scale(.35); }
}

.v2-qrzoom::backdrop {
    background: rgba(20, 10, 4, 0);
    transition: background .35s var(--ease), overlay .55s allow-discrete, display .55s allow-discrete;
}

.v2-qrzoom[open]::backdrop { background: rgba(20, 10, 4, .6); }

@starting-style {
    .v2-qrzoom[open]::backdrop { background: rgba(20, 10, 4, 0); }
}

/* The page behind stays put while the QR is up. */
html:has(.v2-qrzoom[open]) { overflow: hidden; }

.v2-qrzoom__img {
    width: min(86vw, 62vh, 460px);
    height: auto;
    aspect-ratio: 1;
    image-rendering: pixelated;
}

.v2-qrzoom__name {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.v2-qrzoom__hint {
    color: #5a4636;
    font-size: 15px;
    font-weight: 500;
}

.v2-qrzoom__close {
    position: absolute;
    top: calc(14px + env(safe-area-inset-top));
    right: 14px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #efe4d2;
    color: #2a1a10;
    cursor: pointer;
}

.v2-qrzoom__close .v2-ico { width: 22px; height: 22px; stroke-width: 2; }

@media (hover: hover) {
    .v2-copy:hover { color: var(--ember); background: var(--ember-soft); }
    .v2-frame__zoom:hover .v2-frame__zoom-chip { background: var(--ember); }
}

/* 15. Language menu (partials/language_menu.php) =========================== */
.ln [hidden] { display: none !important; }

.ln-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.ln-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 13px 0 11px;
    border: 1px solid rgba(255, 244, 226, .3);
    border-radius: 999px;
    background: rgba(30, 16, 8, .45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff4e4;
    font-family: var(--sans);
    cursor: pointer;
    transition: background .2s ease, transform .45s var(--spring);
}

.ln-trigger:active { transform: scale(.94); }
.ln.is-open .ln-trigger { background: rgba(30, 16, 8, .75); }

.ln-trigger__globe {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    transition: transform .7s var(--ease);
}

.ln.is-open .ln-trigger__globe { transform: rotate(180deg); }

.ln-trigger__text {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1;
}

.ln-trigger__code {
    padding: 3px 6px;
    border-radius: 999px;
    background: #ffb070;
    color: #2a1204;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1;
}

.ln-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: transparent;
}

/* Desktop / tablet: a dropdown pinned under the button. */
.ln-panel {
    position: fixed;
    top: calc(62px + env(safe-area-inset-top));
    right: max(14px, calc(50vw - var(--sbw, 0px) / 2 - 310px + 14px));
    z-index: 1200;
    display: flex;
    flex-direction: column;
    width: 360px;
    max-height: min(72vh, 580px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--grain) 0 0 / 560px 280px, var(--card);
    box-shadow: var(--sh-lg);
    color: var(--ink);
    text-align: left;
    opacity: 0;
    transform: translateY(-10px) scale(.97);
    transform-origin: top right;
    transition: opacity .28s var(--ease), transform .4s var(--spring);
}

.ln.is-shown .ln-panel {
    opacity: 1;
    transform: none;
}

.ln-panel__grip { display: none; }

.ln-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 10px 20px;
}

.ln-panel__title {
    margin: 0;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 600;
    font-variation-settings: 'SOFT' 100, 'opsz' 72;
    line-height: 1.1;
}

.ln-panel__close {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 0;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--ink);
    cursor: pointer;
    transition: transform .4s var(--spring), background .2s ease;
}

.ln-panel__close svg,
.ln-search svg,
.ln-item__tick svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ln-panel__close:active { transform: scale(.9); }

.ln-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 16px 10px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--paper-2);
    color: var(--muted);
    transition: box-shadow .2s ease;
}

.ln-search:focus-within { box-shadow: 0 0 0 2px var(--ember); }

.ln-search input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 500 16px/1.2 var(--sans);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.ln-search input:focus-visible { outline: none; }
.ln-search input::placeholder { color: var(--muted); }
.ln-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.ln-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 6px;
    padding: 2px 10px 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.ln-group {
    grid-column: 1 / -1;
    margin: 0;
    padding: 14px 10px 6px;
    color: var(--ember);
    font-family: var(--serif);
    font-size: 13px;
    font-style: italic;
    font-weight: 600;
}

.ln-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 54px;
    padding: 8px 10px 8px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s ease, transform .3s var(--spring);
}

.ln-item:active { transform: scale(.97); }
.ln-item--original { grid-column: 1 / -1; }

.ln-item__names {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.ln-item__native {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
    unicode-bidi: plaintext;
}

.ln-item__en {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.3;
}

.ln-item__tick {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ember);
    color: #fff5e8;
    opacity: 0;
    transform: scale(.4);
    transition: opacity .2s ease, transform .4s var(--spring);
}

.ln-item__tick svg { width: 13px; height: 13px; stroke-width: 3; }

.ln-item.is-current { background: var(--ember-soft); }
.ln-item.is-current .ln-item__tick { opacity: 1; transform: none; }

.ln-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 18px 10px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.ln-panel__note {
    margin: 0;
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 11.5px;
    text-align: center;
}

@media (hover: hover) {
    .ln-trigger:hover { background: rgba(30, 16, 8, .7); }
    .ln-item:hover { background: var(--paper-2); }
    .ln-item.is-current:hover { background: var(--ember-soft); }
    .ln-panel__close:hover { background: var(--line-2); }
}

/* Phones: a bottom sheet over a dimmed page. */
@media (max-width: 559.98px) {
    .ln-backdrop {
        background: rgba(20, 10, 4, .45);
        opacity: 0;
        transition: opacity .3s var(--ease);
    }

    .ln.is-shown .ln-backdrop { opacity: 1; }

    .ln-panel {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        max-height: 84vh;
        border-width: 1px 0 0;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
        opacity: 1;
        transition: transform .45s var(--ease);
    }

    .ln.is-shown .ln-panel { transform: none; }

    .ln-panel__grip {
        display: block;
        width: 40px;
        height: 4px;
        margin: 10px auto 0;
        border-radius: 4px;
        background: var(--line-2);
    }

    .ln-panel__head { padding-top: 10px; }
}

.ln-lock,
.ln-lock body { overflow: hidden; }

.ln-google {
    position: absolute;
    top: 0;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Google's banner iframe, body offset and hover tooltips don't fit here. */
body > div.skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-tooltip,
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* Entrance & reveal ======================================================== */
/* Hero intro runs on CSS alone, gated on .v2-js (no-JS sees everything). */
.v2-js .v2-canopy { animation: v2-fade 1.2s var(--ease) both; }
.v2-js .v2-slab { animation: v2-slab-in 1.1s var(--ease) .1s both; }
.v2-js .v2-avatar__img { animation: v2-avatar-in 1s var(--spring) .45s both; }
.v2-js .v2-ring { stroke-dashoffset: 1; animation: v2-draw 1.6s var(--ease) both; animation-delay: calc(.35s + var(--r) * .14s); }
.v2-js .v2-rings__bark { animation: v2-fade 1s ease .3s both; }
.v2-js .v2-views { animation: v2-rise .9s var(--ease) .6s both; }
.v2-js .v2-role { animation: v2-rise .9s var(--ease) 1.5s both; }
.v2-js .v2-workdesc { animation: v2-rise .9s var(--ease) 1.6s both; }
.v2-js .v2-social > li { animation: v2-roll .8s var(--spring) both; }
.v2-js .v2-social > li:nth-child(1) { animation-delay: 1.65s; }
.v2-js .v2-social > li:nth-child(2) { animation-delay: 1.72s; }
.v2-js .v2-social > li:nth-child(3) { animation-delay: 1.79s; }
.v2-js .v2-social > li:nth-child(4) { animation-delay: 1.86s; }
.v2-js .v2-actions > .v2-btn { animation: v2-rise .9s var(--ease) 1.75s both; }
.v2-js .v2-quick__item { animation: v2-roll .8s var(--spring) both; }
.v2-js .v2-quick__item:nth-child(1) { animation-delay: 1.85s; }
.v2-js .v2-quick__item:nth-child(2) { animation-delay: 1.92s; }
.v2-js .v2-quick__item:nth-child(3) { animation-delay: 1.99s; }
.v2-js .v2-quick__item:nth-child(4) { animation-delay: 2.06s; }
.v2-js .v2-quick__item:nth-child(5) { animation-delay: 2.13s; }

/* The name is burned in: a hot tip sweeps across, leaving scorched ink. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .v2-js .v2-name__text {
        background: linear-gradient(100deg, var(--ink) 0 44%, #ff8a3d 47%, #ffe6b0 49.5%, rgba(255, 190, 120, .35) 52%, transparent 55%) 100% 0 / 260% 100% no-repeat;
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
        animation: v2-burn 1.9s cubic-bezier(.45, .05, .35, 1) .75s both;
    }

    .v2-js .v2-smoke i { animation: v2-smoke 2.6s ease-out both; }
    .v2-js .v2-smoke i:nth-child(1) { left: -60px; animation-delay: 1.1s; }
    .v2-js .v2-smoke i:nth-child(2) { left: -10px; animation-delay: 1.5s; }
    .v2-js .v2-smoke i:nth-child(3) { left: 40px; animation-delay: 1.9s; }
}

@keyframes v2-burn {
    from { background-position: 100% 0; filter: drop-shadow(0 0 0 rgba(255, 120, 40, 0)); }
    55% { filter: drop-shadow(0 0 10px rgba(255, 120, 40, .55)); }
    to { background-position: 0 0; filter: drop-shadow(0 0 0 rgba(255, 120, 40, 0)); }
}

@keyframes v2-smoke {
    0% { opacity: 0; transform: translate(0, 10px) scale(.6); }
    25% { opacity: 1; }
    100% { opacity: 0; transform: translate(14px, -46px) scale(2.2); }
}

@keyframes v2-fade { from { opacity: 0; } }
@keyframes v2-rise { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }
@keyframes v2-slab-in { from { opacity: 0; transform: translateY(40px); } }
@keyframes v2-avatar-in { from { opacity: 0; transform: scale(.6) rotate(-12deg); } }
@keyframes v2-draw { to { stroke-dashoffset: 0; } }
@keyframes v2-roll { from { opacity: 0; transform: translateY(14px) rotate(-120deg) scale(.6); } }

/* Scroll reveals (the page script adds .is-in). */
.v2-js [data-reveal="item"],
.v2-js [data-reveal=""],
.v2-js .v2-cta[data-reveal],
.v2-js .v2-qr-panels[data-reveal],
.v2-js .v2-paper[data-reveal],
.v2-js .v2-map[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.v2-js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* Heads: title rises, then the blade runs the kerf left to right. */
.v2-js [data-reveal="head"] .v2-head__title > span { transform: translateY(105%); }
.v2-js [data-reveal="head"] .v2-head__kerf { clip-path: inset(0 100% 0 0); }
.v2-js [data-reveal="head"].is-in .v2-head__title > span { transform: none; }
.v2-js [data-reveal="head"].is-in .v2-head__kerf { animation: v2-cut 1.15s cubic-bezier(.5, 0, .3, 1) .25s both; }
.v2-js [data-reveal="head"].is-in .v2-blade { animation: v2-saw 1.15s cubic-bezier(.5, 0, .3, 1) .25s both; }

@keyframes v2-cut { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

@keyframes v2-saw {
    0% { left: -11px; opacity: 0; transform: rotate(0); }
    8% { opacity: 1; }
    88% { opacity: 1; }
    100% { left: calc(100% - 11px); opacity: 0; transform: rotate(1440deg); }
}

/* Prints are pinned up: they drop in and swing to rest on their tack. */
.v2-js [data-reveal="pin"] {
    opacity: 0;
    transform: translateY(-26px) rotate(calc(var(--tilt, 0deg) * -1.6));
}

.v2-js [data-reveal="pin"].is-in {
    opacity: 1;
    transform: rotate(var(--tilt, 0deg));
    animation: v2-pin 1.1s var(--ease) both;
}

@keyframes v2-pin {
    0% { opacity: 0; transform: translateY(-26px) rotate(calc(var(--tilt, 0deg) * -1.6)); }
    45% { opacity: 1; transform: translateY(0) rotate(calc(var(--tilt, 0deg) * 1.8)); }
    70% { transform: rotate(calc(var(--tilt, 0deg) * .4)); }
    100% { opacity: 1; transform: rotate(var(--tilt, 0deg)); }
}

/* The hours sign swings on its chains before it settles. */
.v2-js [data-reveal="sign"] { opacity: 0; transform: rotate(-1.5deg); }
.v2-js [data-reveal="sign"].is-in { opacity: 1; transform: none; animation: v2-swing 1.8s var(--ease) both; }

@keyframes v2-swing {
    0% { opacity: 0; transform: rotate(-1.5deg); }
    25% { opacity: 1; transform: rotate(1.2deg); }
    50% { transform: rotate(-.7deg); }
    75% { transform: rotate(.3deg); }
    100% { opacity: 1; transform: none; }
}

/* Hover-capable pointers only - no sticky hovers on touch screens. */
@media (hover: hover) {
    .v2-theme:hover,
    .ln-trigger:hover { background: rgba(30, 16, 8, .7); }
    .v2-avatar:hover .v2-avatar__img { transform: scale(1.05) rotate(-3deg); }
    .v2-social__link:hover { transform: translateY(-3px) rotate(-30deg); }
    .v2-quick__item:hover .v2-quick__log { transform: translateY(-4px) rotate(-40deg); }
    .v2-btn--wood:hover::before { transform: translateX(100%); }
    .v2-btn--line:hover { background: var(--ink); color: var(--paper); }
    .v2-btn--arrow:hover::after { transform: translateX(5px); }
    .v2-board:not(.v2-board--static):hover { transform: translateX(5px); box-shadow: var(--sh), -5px 0 0 var(--ember); }
    .v2-board:hover .v2-board__go:not(.v2-board__go--chev) { background: var(--ember); border-color: var(--ember); color: #fff5e8; transform: rotate(45deg); }
    .v2-drawer a:hover { color: var(--ember); padding-left: 16px; }
    .v2-svc:hover { transform: translateY(-3px); }
    .v2-svc:hover .v2-svc__media img { transform: scale(1.1) rotate(-4deg); }
    .v2-svc:hover .v2-svc__go { background: var(--ember); border-color: var(--ember); color: #fff5e8; transform: rotate(45deg); }
    .v2-note:hover { transform: translateX(4px); }
    .v2-note:hover .v2-note__media img,
    .v2-tag:hover .v2-tag__media img { transform: scale(1.06); }
    .v2-tag:hover { transform: rotate(-1.6deg); }
    .v2-print:hover,
    .v2-js [data-reveal="pin"].is-in:hover { transform: rotate(0) translateY(-4px) scale(1.03); box-shadow: 0 2px 4px rgba(0, 0, 0, .15), 0 26px 32px -14px rgba(40, 20, 8, .65); animation: none; }
    .v2-link:hover .v2-ico { transform: translate(3px, -2px); }
    .v2-rail-btn:hover { transform: rotate(-30deg); }
    .v2-map:hover iframe { filter: none; transition-delay: 0s; }
    .vcard-site-footer-login:hover { background: var(--ink); color: var(--paper); }
    .v2-dock__item:not(.v2-dock__item--ember):hover { background: rgba(255, 230, 190, .1); }
}

/* Responsive =============================================================== */
@media (max-width: 360px) {
    :root { --gutter: 14px; }
    .v2-quick__item { font-size: 10.5px; }
    .v2-quick__log { width: 50px; height: 50px; }
    .v2-svc { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; }
    .v2-svc__media { width: 52px; height: 52px; }
    .v2-dock__item { width: 60px; }
    .v2-note { grid-template-columns: 76px minmax(0, 1fr); }
    .v2-note__media { width: 76px; height: 76px; }
}

@media (min-width: 520px) {
    .v2-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v2-field--full { grid-column: 1 / -1; }
    .v2-cta:not(.v2-cta--single) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v2-rail--tags { grid-auto-columns: 46%; }
    .v2-rail--quotes { grid-auto-columns: 72%; }
    .v2-actions { max-width: 440px; margin-inline: auto; }
}

@media (min-width: 680px) {
    :root { --gutter: 0px; --canopy-h: 340px; --slab-lift: 84px; }
    .v2-slab { padding-inline: 40px; }
    .v2-prints { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .v2-rail { margin-right: 0; padding-right: 2px; }
}

@media (min-width: 768px) {
    .v2-dock { display: none; }
    body.has-dock .v2-shell { padding-bottom: 24px; }
}

/* Dark: "campfire night" ===================================================
   The visitor picked dark, or their device is dark and they haven't picked
   light. Only tokens change - the two blocks stay in lockstep. */
:root[data-theme="dark"] {
    --paper: #17110c;
    --paper-2: #231a12;
    --card: #211811;
    --slab: #241a12;
    --ink: #f3e7d5;
    --ink-2: #d9c6ad;
    --muted: #ae9780;
    --line: rgba(243, 231, 213, .1);
    --line-2: rgba(243, 231, 213, .22);
    --ember: #f0894c;
    --ember-soft: rgba(240, 137, 76, .14);
    --brass: #caa052;
    --bark: #0b0705;
    --walnut: #0e0906;
    --kraft: #2a1f15;
    --cork: #3b2a1b;
    --cork-flecks: linear-gradient(transparent, transparent);
    --cork-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .03 0 0 0 0 .01 0 0 0 9 -5.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
    --wood-a: #9a5d33;
    --wood-b: #74411f;
    --log-a: #6e4a2e;
    --log-b: #5c3c24;
    --log-ink: #fbead2;
    --danger: #f28b82;
    --ok: #8bc37a;
    --sky-1: #121829;
    --sky-2: #2a2031;
    --sky-3: #5a2f1f;
    --orb: #f3e7d5;
    --orb-glow: rgba(243, 231, 213, .35);
    --ridge-1: #2c2231;
    --ridge-2: #1c1419;
    --ridge-3: #0e0907;
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='280'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0018 .055' numOctaves='4' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.25 -.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    --sh: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 30px -16px rgba(0, 0, 0, .8);
    --sh-lg: 0 30px 60px -22px rgba(0, 0, 0, .85);
    color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --paper: #17110c;
        --paper-2: #231a12;
        --card: #211811;
        --slab: #241a12;
        --ink: #f3e7d5;
        --ink-2: #d9c6ad;
        --muted: #ae9780;
        --line: rgba(243, 231, 213, .1);
        --line-2: rgba(243, 231, 213, .22);
        --ember: #f0894c;
        --ember-soft: rgba(240, 137, 76, .14);
        --brass: #caa052;
        --bark: #0b0705;
        --walnut: #0e0906;
        --kraft: #2a1f15;
        --cork: #3b2a1b;
        --cork-flecks: linear-gradient(transparent, transparent);
        --cork-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .03 0 0 0 0 .01 0 0 0 9 -5.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
    --cork-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .03 0 0 0 0 .01 0 0 0 9 -5.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
    --cork-flecks: linear-gradient(transparent, transparent);
    --cork-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .03 0 0 0 0 .01 0 0 0 9 -5.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
        --wood-a: #9a5d33;
        --wood-b: #74411f;
        --log-a: #6e4a2e;
        --log-b: #5c3c24;
        --log-ink: #fbead2;
        --danger: #f28b82;
        --ok: #8bc37a;
        --sky-1: #121829;
        --sky-2: #2a2031;
        --sky-3: #5a2f1f;
        --orb: #f3e7d5;
        --orb-glow: rgba(243, 231, 213, .35);
        --ridge-1: #2c2231;
        --ridge-2: #1c1419;
        --ridge-3: #0e0907;
        --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='280'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0018 .055' numOctaves='4' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.25 -.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
        --sh: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 30px -16px rgba(0, 0, 0, .8);
        --sh-lg: 0 30px 60px -22px rgba(0, 0, 0, .85);
        color-scheme: dark;
    }
}

/* Theme icon: sun by day, moon by night (same two selectors as the tokens). */
:root[data-theme="dark"] .v2-theme__sun { display: none; }
:root[data-theme="dark"] .v2-theme__moon { display: block; }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .v2-theme__sun { display: none; }
    :root:not([data-theme="light"]) .v2-theme__moon { display: block; }
}

/* Cork and kraft bands read darker at night - their local text tokens
   return to the night palette. */
:root[data-theme="dark"] .v2-section--kraft,
:root[data-theme="dark"] .v2-section--cork { --muted: #b8a18a; --ink-2: #d9c6ad; --card: #241a12; --ember: #f0894c; }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .v2-section--kraft,
    :root:not([data-theme="light"]) .v2-section--cork { --muted: #b8a18a; --ink-2: #d9c6ad; --card: #241a12; --ember: #f0894c; }
}

/* A smooth cross-fade while the theme switches. */
.v2-theming,
.v2-theming * {
    transition: background-color .5s ease, color .5s ease, border-color .5s ease, fill .5s ease !important;
}

/* Reduced motion =========================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .v2-js [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .v2-js [data-reveal="pin"] { transform: rotate(var(--tilt, 0deg)); }
    .v2-js [data-reveal] .v2-head__title > span { transform: none; }
    .v2-js [data-reveal] .v2-head__kerf { clip-path: none; }
    .v2-blade,
    .v2-smoke,
    .v2-tape { display: none; }
    .v2-plank__track { animation: none; }
}

/* Scroll-driven extras off the main thread where supported (the page script
   covers the rest). */
@supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
        .v2-tape__fill {
            animation: v2-tape linear both;
            animation-timeline: scroll(root);
        }

        .v2-canopy__layer {
            animation: v2-parallax linear both;
            animation-timeline: scroll(root);
            animation-range: 0 480px;
        }
    }
}

@keyframes v2-tape { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes v2-parallax { to { transform: translate3d(0, 140px, 0); } }
