/* Shared foundation; unused homepage selectors omitted. */
:root {
--paper: #efe9dc;
--paper-2: #e6dfcd;
--ink: #2c46a8;
--ink-2: rgba(44, 70, 168, 0.74);
--ink-3: rgba(44, 70, 168, 0.5);
--rule: rgba(44, 70, 168, 0.26);
--wash: rgba(44, 70, 168, 0.06);
--red: #c8452f;
--veil: rgba(239, 233, 220, 0.6);
--grain: none;
--hatch: none;
--hatch-light: none;
--scribble: none;
--serif: "Instrument Serif", Georgia, serif;
--mono: "DM Mono", ui-monospace, monospace;
--hand: Caveat, "Segoe Print", cursive;
--ease-enter: cubic-bezier(.2, .8, .2, 1);
--ease-exit: cubic-bezier(.4, 0, .6, 1);
--gutter: clamp(16px, 4vw, 44px);
color-scheme: light;
}
:root[data-paper="night"] { color-scheme: dark; --paper: #17181c; --paper-2: #1f2126; --ink: #e9e4d6; --ink-2: rgba(233, 228, 214, 0.74); --ink-3: rgba(233, 228, 214, 0.5); --rule: rgba(233, 228, 214, 0.3); --wash: rgba(233, 228, 214, 0.07); --red: #ff7d62; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { background-color: var(--paper); }
body {
margin: 0; overflow-x: hidden;
background-image: var(--grain);
color: var(--ink); font: 14.5px/1.65 var(--mono);
-webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px dashed var(--ink); outline-offset: 4px; border-radius: 6px; }
section[id] { scroll-margin-top: 84px; }
.lbl{ font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.pen { position: relative; }
.pen::before { content: ""; position: absolute; inset: 0; border: 1.4px solid currentColor; border-radius: inherit; filter: url(#wob); pointer-events: none; }
.pen.soft::before { opacity: 0.38; }
.ic { display: block; width: 22px; height: 22px; flex: none; }
.link { text-decoration: underline wavy var(--ink-3) 1px; text-underline-offset: 5px; }
.link:hover { text-decoration-color: var(--ink); }
.stamp {
display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 2px solid currentColor; border-radius: 5px;
outline: 1px solid currentColor; outline-offset: 2px; transform: rotate(-4deg); filter: url(#wob-hard);
font: 500 11px/1.2 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.9; white-space: nowrap;
}
.stamp.dashed { border-style: dashed; outline: 0; }
canvas[data-art="sea"], canvas[data-art="horizon"] { touch-action: pan-y; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(40px, 5.2vw, 76px); line-height: 0.98; letter-spacing: -0.02em; }
h2 em, h1 em { font-style: italic; }
h3 { font-size: clamp(25px, 2.3vw, 31px); line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.nav { position: sticky; top: 0; z-index: 50; background-color: var(--paper); background-image: var(--grain); }
.nav::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1.4px; background: var(--rule); filter: url(#wob); opacity: 0; transition: opacity 200ms; }
.nav.scrolled::after { opacity: 1; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark-box { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.brand .mark-box canvas { width: 32px; height: 32px; }
.brand span { font: 30px/1 var(--serif); letter-spacing: -0.01em; }
.nav-links { display: flex; gap: clamp(14px, 2vw, 28px); font-size: 13px; }
.nav-links a { text-decoration: none; color: var(--ink-2); position: relative; padding-block: 6px; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 8px; background: var(--scribble) left center / auto 100% repeat-x; clip-path: inset(0 100% 0 0); transition: clip-path 260ms var(--ease-enter); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { clip-path: inset(0 0 0 0); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.icon-btn { all: unset; position: relative; cursor: pointer; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--ink); }
.icon-btn::before { opacity: 0.4; }
.icon-btn:hover { background: var(--wash); }
.paper-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; color: var(--ink); }
.paper-switch button { all: unset; cursor: pointer; position: relative; font: 12px/1 var(--mono); padding: 8px 12px; border-radius: 999px; color: var(--ink-2); transition: background-color 160ms var(--ease-exit), color 160ms var(--ease-exit); }
.paper-switch button:hover { color: var(--ink); background: var(--wash); }
.paper-switch button[aria-pressed="true"] { background-color: var(--ink); background-image: var(--hatch); color: var(--paper); }
.paper-switch button:focus-visible { outline: 2px dashed var(--ink); outline-offset: 2px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; width: 260px; padding: 16px 18px; border-radius: 18px; background-color: var(--paper); background-image: var(--grain); display: grid; gap: 4px; box-shadow: 8px 10px 0 var(--wash); }
.menu-panel a { text-decoration: none; padding: 8px 0; border-bottom: 1px dotted var(--ink-3); }
.menu-panel a.sub { padding-left: 14px; color: var(--ink-2); font-size: 13px; }
.menu-panel a:last-child { border-bottom: 0; }
.drop { position: relative; display: flex; }
.drop-panel { position: absolute; left: -18px; top: 100%; width: 290px; padding: 14px 18px; border-radius: 18px; background-color: var(--paper); background-image: var(--grain); display: grid; gap: 2px; box-shadow: 8px 10px 0 var(--wash); opacity: 0; visibility: hidden; translate: 0 -4px; transition: opacity 160ms var(--ease-exit), translate 160ms var(--ease-exit), visibility 160ms; }
.drop:hover .drop-panel, .drop:focus-within .drop-panel { opacity: 1; visibility: visible; translate: none; }
.drop-panel::before { opacity: 0.38; }
.drop-panel a { padding: 7px 0; border-bottom: 1px dotted var(--ink-3); font-size: 13px; }
.drop-panel a:last-child { border-bottom: 0; }
.drop-panel a::after { display: none; }
.crew { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.mate { position: relative; border-radius: 26px; padding: clamp(20px, 2.6vw, 28px); display: grid; gap: 10px; align-content: start; }
.mate::before { opacity: 0.45; }
.portrait { position: relative; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--paper); }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: none; mix-blend-mode: normal; }
:root[data-paper="night"] .portrait img { filter: none; mix-blend-mode: normal; opacity: 1; }
.mate .role { font: 24px/1 var(--hand); color: var(--ink-2); }
.mate p { color: var(--ink-2); font-size: 13px; }
.footer { background-color: var(--ink); background-image: var(--hatch); color: var(--paper); padding-block: clamp(56px, 7vw, 88px) 34px; }
.footer a { text-decoration: none; opacity: 0.82; }
.footer a:hover { opacity: 1; text-decoration: underline wavy currentColor 1px; text-underline-offset: 5px; }
.fcols { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.fcols h4 { margin: 0 0 14px; font: 400 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; }
.fcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; }
.fbrand { display: grid; gap: 14px; align-content: start; }
.fbrand .word { font: 400 clamp(52px, 5.4vw, 74px)/0.9 var(--serif); letter-spacing: -0.03em; }
.fbrand p { opacity: 0.75; font-size: 13px; max-width: 32ch; }
.pens { display: grid; gap: 10px; margin-top: 6px; }
.pens .row { display: flex; gap: 6px; flex-wrap: wrap; }
.pens button { all: unset; cursor: pointer; position: relative; font: 12px/1 var(--mono); padding: 7px 12px; border-radius: 999px; color: var(--paper); }
.pens button::before { opacity: 0.5; }
.pens button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.pens button[aria-pressed="true"]::before { opacity: 0; }
.pens button:focus-visible { outline-color: var(--paper); }
.fbottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 56px; padding-top: 22px; font-size: 12px; opacity: 0.85; position: relative; }
.fbottom::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.4px; background: currentColor; opacity: 0.4; filter: url(#wob); }
.fbottom .stamp { color: var(--paper); }
@media (max-width: 1180px) {
}
@media (max-width: 980px) {
.nav-links { display: none; }
.menu { display: block; } .crew { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
.fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fbrand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
body { font-size: 14px; }
.nav .wrap { height: 66px; }
.nav-end .btn { display: none; }
}