/* Lantern Quay Brewing Co. — shared tokens and chrome (Tileio showcase).
   Tokens: marquee-hero's "Ember" palette, tuned browner. Fonts: Dela Gothic One + Rubik (marquee-hero). */
:root { --bg: #150c07; --fg: #f7e9dc; --accent: #f5a23d; --accent-2: #f2d06b; --muted: color-mix(in oklab, var(--fg) 70%, var(--bg)); --accent-ink: color-mix(in oklab, var(--accent) 76%, var(--fg)); --accent-2-ink: color-mix(in oklab, var(--accent-2) 76%, var(--fg)); --on-accent: #1a0f08; --on-accent-2: #1a0f08; --line: color-mix(in oklab, var(--fg) 14%, transparent); --card: color-mix(in oklab, var(--fg) 5%, var(--bg)); --font-display: "Dela Gothic One"; --font-body: "Rubik"; }
/* base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
html, body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body), system-ui, sans-serif; -webkit-font-smoothing: antialiased; font-synthesis: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; }
a, button, [role=tab], [role=slider] { touch-action: manipulation; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: 12px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; transform: translateY(-160%); }
.skip:focus { transform: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; --v-stroke: var(--fg); --v-accent: var(--accent); }

/* navigation (pill-nav section; the bar-to-pill morph runs on clip-path and transform only) */
#navigation { position: sticky; top: 0; z-index: 50; height: 68px; }
#navigation .pn-bar { position: relative; height: 68px; display: flex; align-items: center; padding: 0 28px; }
#navigation .pn-plate { position: absolute; inset: 0; background: var(--bg); box-shadow: inset 0 -1px 0 var(--line); clip-path: inset(0 0 0 0 round 0px); transition: clip-path 420ms cubic-bezier(.2,.8,.2,1), background-color 420ms, box-shadow 420ms; }
#navigation.pill .pn-plate { clip-path: inset(14px var(--side, 0px) 2px var(--side, 0px) round 26px); background: color-mix(in oklab, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 999px color-mix(in oklab, var(--fg) 4%, transparent); }
#navigation .pn-l, #navigation .pn-r { position: relative; display: flex; align-items: center; gap: 10px; transition: transform 420ms cubic-bezier(.2,.8,.2,1); }
#navigation .pn-r { margin-left: auto; }
#navigation.pill .pn-l { transform: translate(var(--lx, 0px), 6px); } #navigation.pill .pn-r { transform: translate(calc(-1 * var(--rx, 0px)), 6px); }
#navigation .pn-logo { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-family: var(--font-display); font-size: 17px; letter-spacing: -0.01em; color: var(--fg); text-decoration: none; white-space: nowrap; }
#navigation .pn-logo svg { width: 20px; height: 20px; transform: rotate(-90deg); }
#navigation .pn-logo circle { fill: none; stroke-width: 2.5; }
#navigation .pn-logo .track { stroke: var(--line); }
#navigation .pn-logo .bar { stroke: var(--accent); stroke-dasharray: 44; stroke-dashoffset: 44; stroke-linecap: round; }
#navigation .pn-logo .wick { fill: var(--accent); stroke: none; }
#navigation nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform 420ms cubic-bezier(.2,.8,.2,1); }
#navigation.pill nav { transform: translate(-50%, calc(-50% + 6px)); }
#navigation .pn-links { position: relative; display: flex; margin: 0; padding: 0; list-style: none; }
#navigation .pn-links a { position: relative; z-index: 1; display: flex; align-items: center; min-height: 40px; padding: 0 14px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color 200ms; }
#navigation .pn-links a:hover, #navigation .pn-links a:focus-visible, #navigation .pn-links a[aria-current="page"] { color: var(--fg); }
#navigation .pn-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 999px; }
#navigation .pn-hl { position: absolute; top: 2px; bottom: 2px; left: 0; width: 100px; border-radius: 999px; background: color-mix(in oklab, var(--fg) 9%, transparent); opacity: 0; transform-origin: 0 50%; transition: transform 260ms cubic-bezier(.2,.8,.2,1), opacity 200ms; }
#navigation .pn-links:hover .pn-hl, #navigation .pn-links:focus-within .pn-hl { opacity: 1; }
#navigation .pn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
#navigation .pn-cta svg { width: 14px; height: 14px; flex: none; }
#navigation.pill .pn-cta { padding: 0; width: 40px; }
#navigation.pill .pn-cta span { display: none; }
/* menu button: hamburger-morph-nav element (three lines that turn into an X) */
#navigation .burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: color-mix(in oklab, var(--fg) 9%, transparent); color: var(--fg); place-items: center; cursor: pointer; }
#navigation .burger svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
#navigation .burger line { transform-origin: 12px 12px; transition: transform 0.3s cubic-bezier(.2,.8,.2,1), opacity 0.2s; }
#navigation .burger line:nth-child(1) { transform: translateY(-6px); } #navigation .burger line:nth-child(3) { transform: translateY(6px); }
#navigation.open .burger line:nth-child(1) { transform: rotate(45deg); } #navigation.open .burger line:nth-child(3) { transform: rotate(-45deg); } #navigation.open .burger line:nth-child(2) { transform: scaleX(0); opacity: 0; }
#navigation .sheet { position: absolute; left: 12px; right: 12px; top: calc(100% + 10px); padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); box-shadow: 0 24px 48px -20px #000c; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s, transform 0.3s cubic-bezier(.2,.8,.2,1), visibility 0s 0.3s; }
#navigation .sheet ul { list-style: none; margin: 0; padding: 0; }
#navigation .sheet li { transform: translateX(12px); opacity: 0; transition: transform 0.3s, opacity 0.3s; }
#navigation .sheet a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; font-family: var(--font-display); font-size: 20px; text-decoration: none; }
#navigation .sheet a:hover, #navigation .sheet a[aria-current="page"] { background: color-mix(in oklab, var(--fg) 8%, transparent); }
#navigation.open .sheet { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s, transform 0.3s cubic-bezier(.2,.8,.2,1), visibility 0s; }
#navigation.open .sheet li { transform: none; opacity: 1; transition-delay: calc(var(--i) * 40ms + 0.08s); }
@media (max-width: 860px) { #navigation .pn-bar { padding: 0 16px; } #navigation nav { display: none; } #navigation .burger { display: grid; } #navigation .pn-cta span { display: none; } #navigation .pn-cta { width: 44px; height: 44px; padding: 0; } }
@media (prefers-reduced-motion: reduce) { #navigation .pn-plate, #navigation .pn-l, #navigation .pn-r, #navigation nav, #navigation .pn-links a, #navigation .pn-hl, #navigation .burger line, #navigation .sheet, #navigation .sheet li { transition: none !important; } }

/* shared pause control (WCAG 2.2.2) */
.pz { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--fg) 26%, transparent); background: color-mix(in oklab, var(--bg) 82%, transparent); color: var(--fg); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pz svg { width: 14px; height: 14px; fill: currentColor; } .pz[aria-pressed=true] .i-pa, .pz:not([aria-pressed=true]) .i-pl { display: none; } .pz:hover { border-color: var(--fg); }
@media (prefers-reduced-motion: reduce) { .pz { display: none !important; } }

/* footer (wordmark-footer section) */
#footer { position: relative; overflow: hidden; margin-top: 40px; background: var(--bg); color: var(--fg); border-top: 1px solid var(--line); }
#footer .row { max-width: 1120px; margin: 0 auto; padding: 36px 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
#footer nav { display: flex; gap: 4px 22px; flex-wrap: wrap; } #footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 15px; transition: color 150ms; } #footer nav a:hover { color: var(--fg); }
#footer .cap { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
#footer .info { max-width: 1120px; margin: 0 auto; padding: 18px 24px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 32px; font-size: 14px; line-height: 1.6; color: var(--muted); }
#footer .info h2 { margin: 0 0 4px; font: 600 13px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); }
#footer .info p { margin: 0; } #footer .info a { color: var(--fg); text-underline-offset: 3px; }
#footer .fine { max-width: 1120px; margin: 0 auto; padding: 24px 24px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 13px; color: var(--muted); }
#footer .fine p { margin: 0; } #footer .fine a { color: var(--fg); text-underline-offset: 3px; }
#footer .tileio-made { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg); font-size: 13px; font-weight: 500; text-decoration: none; }
#footer .tileio-made:hover { border-color: var(--accent); }
#footer .mark { margin: 28px 0 -0.22em; font-family: var(--font-display); font-size: clamp(56px, 14vw, 250px); line-height: 0.75; letter-spacing: -0.03em; text-transform: uppercase; white-space: nowrap; text-align: center; color: var(--accent); transform: translateY(40%); will-change: transform; user-select: none; }
@media (max-width: 760px) { #footer .info { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { #footer .mark { transform: none !important; } }
