/* First visual implementation; final brand assets remain replaceable. */
:root {
    color-scheme: dark;
    --color-background: #17191b;
    --color-surface: #24272a;
    --color-text: #f3f1eb;
    --color-muted: #b5b1a9;
    --color-accent: #d7c7a0;
    --color-line: #4a4f54;
    --color-control: #8d949b;
    --color-focus: #eaddbf;
    --content-width: 90rem;
    --page-gutter: clamp(1.25rem, 4vw, 4rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; color: var(--color-text); background: var(--color-background); font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; height: auto; }
iframe { max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .3em; }
button { color: inherit; }
button:not(:disabled), summary { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -.045em; word-break: keep-all; }
h1 { font-size: clamp(2.5rem, 5.5vw, 5.4rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 3.2vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 500; }
::selection { background: var(--color-accent); color: var(--color-background); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 5px; }
.skip-link { position: fixed; left: 1rem; top: -10rem; z-index: 1000; padding: .75rem 1rem; background: var(--color-accent); color: var(--color-background); }
.skip-link:focus { top: 1rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.container { width: min(100%, var(--content-width)); margin-inline: auto; padding-inline: var(--page-gutter); }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.5rem; color: var(--color-accent); font-size: .7rem; line-height: 1.5; font-weight: 600; letter-spacing: .18em; }
.eyebrow-line { width: 2.3rem; height: 1px; background: currentColor; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.5rem; min-height: 3.4rem; padding: .85rem 1.4rem; border: 1px solid var(--color-accent); background: var(--color-accent); color: var(--color-background); font-size: .88rem; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.button:hover { background: var(--color-text); border-color: var(--color-text); }
.button-outline { color: var(--color-text); background: transparent; border-color: var(--color-control); }
.button-outline:hover { background: var(--color-text); color: var(--color-background); }
.button-small { min-height: 2.8rem; gap: 1.75rem; padding: .5rem 1rem; font-size: .8rem; }
.text-link { display: inline-flex; align-items: center; gap: 2rem; min-height: 2.75rem; font-size: .9rem; text-decoration: none; border-bottom: 1px solid var(--color-control); }
.text-link:hover { color: var(--color-accent); }
.link-arrow { position: relative; display: inline-block; flex-shrink: 0; width: 1rem; height: 1rem; vertical-align: middle; }
.link-arrow::before { content: ''; position: absolute; top: 1px; right: 1px; width: .6rem; height: .6rem; border-top: 1px solid currentColor; border-right: 1px solid currentColor; }
.link-arrow::after { content: ''; position: absolute; top: .46rem; left: 0; width: 1.1rem; height: 1px; background: currentColor; transform: rotate(-45deg); }
.icon-button { display: inline-grid; place-items: center; width: 3rem; height: 3rem; padding: 0; background: transparent; border: 1px solid var(--color-control); font-size: 1.3rem; }
.icon-button:hover:not(:disabled) { background: var(--color-accent); color: var(--color-background); }
.icon-button:disabled { opacity: .35; cursor: default; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
