:root {
    --paper: #f5f5f1;
    --surface: #ffffff;
    --surface-soft: #f9f9f6;
    --ink: #171b1d;
    --graphite: #252b2d;
    --muted: #667174;
    --line: #dde1df;
    --line-strong: #c8cecb;
    --gold: #b5a06a;
    --gold-dark: #806f47;
    --gold-soft: #f3efe4;
    --shadow: 0 22px 55px rgba(23, 27, 29, 0.08);
    --shadow-soft: 0 10px 30px rgba(23, 27, 29, 0.06);
    --radius: 22px;
    --radius-sm: 14px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }

.site-shell { min-height: 100vh; overflow: hidden; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(221, 225, 223, 0.92);
}
.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand-link { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand-link img { width: 124px; height: auto; display: block; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
.site-nav a {
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #4d5759;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: #f3f4f2; }
.site-nav .login-link {
    margin-left: 8px;
    padding-inline: 17px;
    color: #fff;
    background: var(--ink);
    border: 1px solid var(--ink);
}
.site-nav .login-link:hover { color: #fff; background: #303638; transform: translateY(-1px); }

.hero {
    position: relative;
    background:
        linear-gradient(rgba(181,160,106,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(181,160,106,.08) 1px, transparent 1px),
        linear-gradient(135deg, #fff 0%, #fbfbf8 55%, #f4f1e9 100%);
    background-size: 42px 42px, 42px 42px, auto;
    border-bottom: 1px solid var(--line);
}
.hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -165px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(181,160,106,.30);
    border-radius: 50%;
    box-shadow:
        0 0 0 74px rgba(181,160,106,.045),
        0 0 0 146px rgba(181,160,106,.025);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; min-height: 650px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 70px; align-items: center; padding: 92px 0; }
.hero-copy { max-width: 760px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(50px, 6vw, 82px); max-width: 820px; font-weight: 650; }
h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 650; }
h3 { font-size: 21px; font-weight: 750; }
.hero-lead { margin: 28px 0 0; max-width: 680px; color: #596467; font-size: 20px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 19px;
    border-radius: 11px;
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.button.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.button.gold { background: var(--gold); border-color: var(--gold); color: #171b1d; }
.button.quiet { box-shadow: none; background: transparent; }

.hero-visual { position: relative; min-height: 360px; display: grid; place-items: center; }
.instrument-card {
    width: min(100%, 390px);
    aspect-ratio: 1 / 1;
    position: relative;
    border: 1px solid rgba(23,27,29,.14);
    background: rgba(255,255,255,.72);
    border-radius: 30px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.instrument-card::before, .instrument-card::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}
.instrument-card::before { width: 220px; height: 220px; border: 1px solid rgba(23,27,29,.24); box-shadow: 0 0 0 42px rgba(181,160,106,.07); }
.instrument-card::after { width: 9px; height: 9px; background: var(--gold); box-shadow: 0 0 0 6px #fff, 0 0 0 7px rgba(23,27,29,.25); }
.crosshair-h, .crosshair-v { position: absolute; background: rgba(23,27,29,.18); }
.crosshair-h { left: 40px; right: 40px; top: 50%; height: 1px; }
.crosshair-v { top: 40px; bottom: 40px; left: 50%; width: 1px; }
.measure-label { position: absolute; padding: 7px 9px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: #5c6668; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--shadow-soft); }
.measure-label.one { left: 24px; top: 26px; }
.measure-label.two { right: 24px; bottom: 26px; }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 23px 28px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; padding-right: 0; }
.trust-item strong { display: block; font-size: 14px; }
.trust-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }

.section { padding: 96px 0; }
.section.compact { padding: 72px 0; }
.section.white { background: #fff; }
.section.dark { background: #1c2123; color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: #b9c0c2; }
.section-head { display: grid; grid-template-columns: minmax(0, .75fr) minmax(320px, 1.25fr); gap: 70px; align-items: end; margin-bottom: 40px; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.section-kicker { margin-bottom: 12px; color: var(--gold-dark); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card {
    position: relative;
    min-height: 220px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.info-card::before { content: ""; position: absolute; left: 28px; top: 0; width: 42px; height: 3px; background: var(--gold); }
.info-card .card-number { color: #9b8a60; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.info-card h3 { margin-top: 26px; }
.info-card p { margin: 14px 0 0; color: var(--muted); }
.info-card a { display: inline-flex; margin-top: 18px; color: var(--gold-dark); text-decoration: none; font-weight: 800; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value-card { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.value-mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 40px; border: 1px solid #d4cab0; color: var(--gold-dark); font-weight: 900; }
.value-card p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.method-system {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 26px;
    align-items: center;
}
.method-panel {
    min-height: 360px;
    padding: 38px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.045);
}
.method-panel.gold-panel { background: #f0eadb; border-color: #d8caa7; color: var(--ink); }
.method-panel.gold-panel h3, .method-panel.gold-panel p { color: var(--ink); }
.method-index { color: var(--gold); font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.gold-panel .method-index { color: var(--gold-dark); }
.method-panel h3 { margin-top: 70px; font-size: 34px; }
.method-panel p { margin: 18px 0 0; font-size: 16px; }
.method-panel .method-label { display: inline-block; margin-top: 28px; padding-top: 13px; border-top: 1px solid currentColor; font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; opacity: .72; }
.method-connector { text-align: center; color: #9da5a7; }
.method-connector span { display: block; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.method-connector b { display: block; margin: 12px 0; color: var(--gold); font-size: 38px; line-height: 1; font-weight: 400; }

.process-line { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 42px; border-top: 1px solid var(--line-strong); }
.process-step { position: relative; padding: 28px 28px 0 0; }
.process-step::before { content: ""; position: absolute; width: 11px; height: 11px; left: 0; top: -6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--paper); }
.process-step .step-no { display: block; margin-bottom: 11px; color: var(--gold-dark); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.process-step p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }

.story-teaser { display: grid; grid-template-columns: .78fr 1.22fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); }
.story-side { min-height: 390px; padding: 42px; background: #202628; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.story-side .initials { width: 92px; height: 92px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.30); border-radius: 50%; color: #d9c99e; font-size: 28px; font-weight: 650; }
.story-side small { color: #aeb7b9; letter-spacing: .08em; text-transform: uppercase; }
.story-body { padding: 48px; }
.story-body p { color: var(--muted); }
.story-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.story-meta div { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.story-meta strong { display: block; font-size: 14px; }
.story-meta span { color: var(--muted); font-size: 13px; }

.page-hero { padding: 94px 0 72px; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero .page-copy { max-width: 840px; }
.page-hero h1 { font-size: clamp(44px, 6vw, 72px); }
.page-hero p { margin: 24px 0 0; color: var(--muted); font-size: 19px; max-width: 760px; }

.theory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.theory-card { min-height: 275px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.theory-card .theory-no { display: inline-flex; color: var(--gold-dark); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.theory-card h3 { margin-top: 34px; font-size: 23px; }
.theory-card p { margin: 14px 0 0; color: var(--muted); }
.theory-card .public-scope { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); color: #727d80; font-size: 12px; }
.protected-note { margin-top: 20px; padding: 34px; display: grid; grid-template-columns: 62px 1fr; gap: 24px; align-items: start; border: 1px solid #d7c9a7; border-radius: var(--radius-sm); background: var(--gold-soft); }
.protected-symbol { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #cabb95; font-size: 21px; }
.protected-note h3 { margin-bottom: 8px; }
.protected-note p { margin: 0; color: #675e4c; }

.about-origin { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }
.origin-marker { position: sticky; top: 126px; min-height: 350px; padding: 36px; border-radius: var(--radius); background: #202628; color: #fff; }
.origin-marker .portrait-placeholder { width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #ddcca0; font-size: 32px; }
.origin-marker h2 { margin-top: 54px; color: #fff; font-size: 34px; }
.origin-marker p { color: #b7c0c2; }
.about-copy h2 { font-size: 44px; }
.about-copy > p { color: var(--muted); font-size: 18px; }
.draft-note { margin: 26px 0; padding: 16px 18px; border-left: 3px solid var(--gold); background: var(--gold-soft); color: #685f4d; font-size: 13px; }
.about-box { margin-top: 16px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.about-box h3 { margin-bottom: 12px; }
.about-box p { margin: 0; color: var(--muted); }
.role-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.role-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.role-card .role-tag { color: var(--gold-dark); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.role-card h3 { margin-top: 28px; font-size: 28px; }
.role-card p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-card { min-height: 215px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.contact-card .contact-label { color: var(--gold-dark); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-card h3 { margin-top: 28px; font-size: 24px; }
.contact-card p { margin: 12px 0 0; color: var(--muted); }
.placeholder { display: inline-block; margin-top: 18px; padding: 8px 10px; border: 1px dashed #c7b98e; border-radius: 8px; background: #faf7ef; color: #776946; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }

.cta-band { padding: 72px 0; background: #202628; color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { color: #fff; font-size: 38px; max-width: 720px; }
.cta-inner p { margin: 12px 0 0; color: #b8c0c2; }
.cta-inner .button { flex: 0 0 auto; }

.site-footer { background: #15191b; color: #c8cecf; border-top: 1px solid #2a3032; }
.footer-inner { padding: 42px 0 32px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
.footer-brand img { width: 110px; filter: brightness(0) invert(1); opacity: .90; }
.footer-brand p { margin: 16px 0 0; max-width: 480px; color: #8f999b; font-size: 13px; }
.footer-links { display: flex; justify-content: flex-end; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: #c8cecf; text-decoration: none; font-size: 13px; font-weight: 700; }
.footer-bottom { padding: 16px 0 26px; border-top: 1px solid #292f31; color: #778184; font-size: 12px; }

@media (max-width: 980px) {
    .header-inner { min-height: 82px; align-items: flex-start; padding: 10px 0; flex-direction: column; gap: 5px; }
    .site-nav { justify-content: flex-start; width: 100%; overflow-x: auto; padding-bottom: 4px; flex-wrap: nowrap; }
    .site-nav a { white-space: nowrap; }
    .site-nav .login-link { margin-left: 2px; }
    .hero-inner { grid-template-columns: 1fr; min-height: auto; padding: 75px 0; }
    .hero-visual { display: none; }
    .section-head { grid-template-columns: 1fr; gap: 20px; }
    .card-grid { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .method-system { grid-template-columns: 1fr; }
    .method-connector { transform: rotate(90deg); padding: 5px 0; }
    .process-line { grid-template-columns: repeat(2, 1fr); row-gap: 25px; }
    .story-teaser { grid-template-columns: 1fr; }
    .about-origin { grid-template-columns: 1fr; gap: 34px; }
    .origin-marker { position: static; min-height: auto; }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--max)); }
    .brand-link img { width: 104px; }
    .site-nav a { padding: 8px 9px; font-size: 13px; }
    .hero-inner { padding: 60px 0; }
    h1 { font-size: 46px; }
    .hero-lead { font-size: 17px; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item, .trust-item:first-child, .trust-item:last-child { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-item:last-child { border-bottom: 0; }
    .section { padding: 68px 0; }
    .value-grid, .theory-grid, .role-grid, .contact-grid { grid-template-columns: 1fr; }
    .method-panel { min-height: auto; padding: 28px; }
    .method-panel h3 { margin-top: 45px; }
    .process-line { grid-template-columns: 1fr; border-top: 0; }
    .process-step { padding: 0 0 0 28px; border-left: 1px solid var(--line-strong); }
    .process-step::before { left: -6px; top: 5px; box-shadow: 0 0 0 5px var(--paper); }
    .story-body, .story-side { padding: 30px; }
    .story-meta { grid-template-columns: 1fr; }
    .page-hero { padding: 66px 0 54px; }
    .page-hero h1 { font-size: 44px; }
    .protected-note { grid-template-columns: 1fr; }
    .cta-inner, .footer-inner { flex-direction: column; display: flex; align-items: flex-start; }
    .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
