body {
    background:
        radial-gradient(1200px 600px at 90% -10%, rgba(var(--gold-rgb), 0.12), transparent 50%),
        radial-gradient(900px 500px at -10% 40%, rgba(var(--ink-rgb), 0.05), transparent 55%),
        var(--bg);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.035;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.btn {
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
    gap: 10px;
}
.btn-primary::after,
.btn-gold::after,
.btn-outline::after,
.btn-ghost::after {
    content: "→";
    font-size: 14px;
    transition: transform var(--ease);
}
.btn-primary:hover::after,
.btn-gold:hover::after,
.btn-outline:hover::after,
.btn-ghost:hover::after { transform: translateX(3px); }
.btn-primary { box-shadow: 0 10px 30px rgba(var(--ink-rgb), 0.22); }
.btn-gold { box-shadow: 0 10px 24px rgba(var(--gold-rgb), 0.28); }
.site-header .btn::after,
.portal-top .btn::after,
.mobile-nav .btn::after,
[data-copy]::after,
[data-password-toggle]::after,
.menu-toggle::after {
    content: none;
}
.site-header .btn {
    min-height: 40px;
    padding: 0 16px;
    font-size: 11px;
}

.site-header {
    position: sticky;
    top: 14px;
    z-index: 50;
    width: min(var(--container), calc(100% - 48px));
    margin: 14px auto 0;
    background: rgba(246, 245, 241, 0.9);
    border: 1px solid rgba(227, 225, 219, 0.95);
    border-radius: 999px;
    backdrop-filter: blur(18px) saturate(1.2);
    box-shadow: 0 10px 40px rgba(var(--ink-rgb), 0.08);
}
.header-inner {
    width: 100%;
    min-height: 64px;
    padding: 0 10px 0 22px;
}
.brand img { height: 32px; }
.nav-list a {
    font-size: 13px;
    letter-spacing: 0.04em;
    border-radius: 999px;
    padding: 8px 14px;
}
.nav-list a.is-active {
    background: var(--green);
    color: #fff;
}
.site-header:has(.mobile-nav.is-open) {
    border-radius: 24px;
}
.menu-toggle {
    border-radius: 999px;
    width: 44px;
    height: 44px;
    background: #fff;
}

.hero {
    align-items: end;
    padding: 48px 0 40px;
    gap: 40px;
}
.hero h1 {
    font-size: clamp(48px, 7.2vw, 92px);
    line-height: 0.92;
    font-weight: 600;
    letter-spacing: -0.04em;
}
.hero .lead { font-size: 18px; max-width: 46ch; }
.hero-portrait { min-height: 0; }
.hero-portrait img {
    height: 680px;
    border-radius: 28px 8px 28px 8px;
    filter: none;
    box-shadow: 24px 24px 0 0 var(--green);
}
.hero-quote {
    left: auto;
    right: -16px;
    bottom: 28px;
    max-width: 240px;
    border-radius: 18px 4px 18px 18px;
    background: rgba(var(--ink-rgb), 0.92);
    backdrop-filter: blur(10px);
}

.marquee {
    overflow: hidden;
    border-block: 1px solid var(--border);
    background: var(--green);
    color: var(--gold-soft);
    margin: 8px 0 48px;
}
.marquee-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: marquee 28s linear infinite;
    padding: 14px 0;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.marquee span { white-space: nowrap; }
.marquee span::before {
    content: "◆";
    margin-right: 48px;
    color: var(--gold);
}

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

.metrics {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 12px;
    padding: 0 0 24px;
}
.metric {
    border-radius: 20px;
    padding: 28px 24px;
    background: #fff;
}
.metric:first-child {
    background: var(--green);
    color: #fff;
}
.metric:first-child span { color: var(--gold-soft); }
.metric:first-child strong { color: #fff; font-size: 48px; }
.metric strong { font-size: 40px; letter-spacing: -0.04em; }

.section { padding: 96px 0; }
.section-head h2 {
    font-size: clamp(36px, 5vw, 58px);
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.portrait-frame { position: relative; }
.portrait-frame::after {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1px solid var(--gold);
    border-radius: 24px;
    pointer-events: none;
}
.portrait-frame img {
    border-radius: 24px 24px 8px 24px;
    height: 560px;
}

.expertise-list,
.service-list { display: grid; gap: 0; }
.expertise-row,
.service-row {
    display: grid;
    grid-template-columns: 80px 1fr 1.4fr;
    gap: 24px;
    align-items: baseline;
    padding: 28px 8px;
    border-top: 1px solid var(--border);
    transition: background var(--ease), padding-left var(--ease);
}
.expertise-row:last-child,
.service-row:last-child { border-bottom: 1px solid var(--border); }
.expertise-row:hover,
.service-row:hover {
    background: rgba(255,255,255,.55);
    padding-left: 16px;
}
.expertise-row .idx,
.service-row .idx,
.timeline-item .idx {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--gold);
}
.expertise-row h3,
.service-row h3 { margin: 0; font-size: 28px; }
.expertise-row p,
.service-row p { margin: 0; color: var(--muted); }

.product-grid, .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.product-card, .project-card {
    border: 0;
    border-radius: 24px;
    background: var(--surface, #fff);
    position: relative;
    overflow: hidden;
    min-height: 0;
    max-height: 420px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(var(--ink-rgb), .08);
}
.product-card img, .project-card img {
    height: 200px;
    max-height: 200px;
    width: 100%;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 400ms ease;
    filter: none;
}
.product-card:hover img,
.project-card:hover img { transform: scale(1.06); }
.product-card .card-body,
.project-card .card-body {
    position: static;
    padding: 18px 20px 20px;
    background: transparent;
    color: inherit;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-card h3,
.project-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 22px;
}
.product-card .price {
    color: var(--green);
    font-weight: 700;
}
.product-card p,
.project-card p {
    margin: 0;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .chip {
    background: rgba(var(--gold-rgb), .18);
    color: var(--green);
}
.product-card .btn-outline,
.product-card .btn-ghost,
.project-card .btn-outline,
.project-card .btn-ghost {
    align-self: flex-start;
    margin-top: auto;
}
.product-card .btn-outline:hover,
.product-card .btn-ghost:hover,
.project-card .btn-outline:hover,
.project-card .btn-ghost:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
.product-card .card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}
.product-card .card-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
}

.product-hero img {
    border-radius: 28px 8px 28px 8px;
    box-shadow: 18px 18px 0 0 var(--green);
    height: 560px;
}
.buy-box h1 {
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.04em;
    line-height: 0.95;
}
.buy-box .price { color: var(--gold); letter-spacing: -0.03em; }
.tabs button { border-radius: 0; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }

.team-photo img {
    max-height: 620px;
    border-radius: 28px;
    filter: saturate(0.95);
}

.cta-band {
    margin: 0 20px;
    border-radius: 32px;
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -80px;
    top: -80px;
    background: radial-gradient(circle, rgba(var(--gold-rgb), .4), transparent 65%);
}
.cta-band h2 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -0.04em; }

.page-hero { padding: 64px 0 40px; }
.page-hero h1 {
    font-size: clamp(44px, 7vw, 80px);
    letter-spacing: -0.04em;
    line-height: 0.95;
    max-width: 16ch;
}
.page-hero::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    background: var(--gold);
    margin-top: 28px;
}

.about-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: end;
    padding: 48px 0 32px;
}
.about-hero .page-hero { padding: 0; }
.about-hero .portrait-frame img { height: 560px; }
.about-copy {
    max-width: 72ch;
    color: var(--muted);
}
.about-copy p { font-size: 18px; }

.timeline { gap: 0; }
.timeline-item {
    grid-template-columns: 72px 160px 1fr;
    align-items: baseline;
    padding: 32px 8px;
    border-top: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: 1px solid var(--border); }
.timeline-item h3 { font-size: 28px; }
.chips span {
    background: transparent;
    border-color: var(--gold-soft);
    color: var(--green);
    padding: 10px 16px;
    letter-spacing: 0.04em;
}

.form-card, .panel {
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: none;
}
.field input:not([type="checkbox"]):not([type="radio"]),
.field textarea, .field select, .search-input {
    border-radius: 14px;
    background: #fff;
}
.field-check {
    padding: 10px 0 4px;
}
.field-check + .field-check {
    margin-top: -4px;
}

.auth-shell { background: var(--bg); }
.auth-visual {
    position: relative;
    overflow: hidden;
    padding: 40px;
    border-radius: 0 32px 32px 0;
}
.auth-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 10%, rgba(var(--gold-rgb), .4), transparent 50%);
}
.auth-visual > * { position: relative; }
.auth-visual img,
.portal-sidebar .brand img {
    filter: brightness(0) invert(1);
    height: 36px;
    width: auto;
}
.auth-visual h1 {
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.04em;
    line-height: 0.95;
}
.auth-card h2 {
    font-size: clamp(36px, 4vw, 48px);
    letter-spacing: -0.04em;
    margin: 8px 0 24px;
}

.kpi {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.kpi::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
}
.kpi:first-child {
    background: var(--green);
    color: #fff;
}
.kpi:first-child span { color: var(--gold-soft); }
.kpi:first-child strong { color: #fff; }
.kpi:first-child::before { background: var(--gold-soft); }
.kpi strong { font-size: 34px; letter-spacing: -0.04em; }

.portal-body { background:
    radial-gradient(900px 400px at 100% 0, rgba(var(--gold-rgb), .1), transparent 50%),
    var(--bg-portal);
}
.portal-sidebar {
    margin: 12px;
    height: calc(100vh - 24px);
    border-radius: 24px;
}
.portal-nav a { border-radius: 999px; }
.portal-nav a.is-active {
    background: #fff;
    color: var(--green);
}
.portal-top {
    background: transparent;
    border: 0;
    padding: 28px 32px 8px;
}
.portal-top h1 { font-family: var(--font-serif); letter-spacing: -0.03em; }
.portal-content { padding: 8px 32px 48px; }

.site-footer {
    margin: 40px 20px 20px;
    border-radius: 32px;
    padding: 72px 0 28px;
}
.footer-mark {
    font-family: var(--font-serif);
    font-size: clamp(42px, 8vw, 96px);
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: #fff;
    margin: 0 0 16px;
}

.mobile-nav {
    margin: 0 12px 12px;
    border: 0;
    border-radius: 24px;
    background: var(--green);
    color: #fff;
}
.mobile-nav a { border-color: rgba(255,255,255,.1); color: #fff; }

.success-screen h1 {
    font-size: clamp(40px, 6vw, 72px);
    letter-spacing: -0.04em;
}
.success-mark {
    background: var(--green);
    color: var(--gold-soft);
}

.empty {
    border-radius: 24px;
    background: transparent;
    border-style: solid;
    padding: 80px 24px;
}

@media (max-width: 1100px) {
    .site-header { width: calc(100% - 24px); border-radius: 24px; }
    .header-inner { width: 100%; }
    .hero-portrait img { box-shadow: 12px 12px 0 0 var(--green); height: 460px; }
    .about-hero { grid-template-columns: 1fr; gap: 32px; }
    .about-hero .portrait-frame img { height: 420px; }
    .expertise-row, .service-row { grid-template-columns: 56px 1fr; }
    .expertise-row p, .service-row p { grid-column: 2; }
    .timeline-item { grid-template-columns: 48px 1fr; }
    .timeline-item .eyebrow,
    .timeline-item > :last-child { grid-column: 2; }
    .metrics { grid-template-columns: 1fr 1fr; }
    .product-grid, .project-grid { grid-template-columns: 1fr; }
    .portal-sidebar { margin: 0; height: auto; border-radius: 0; }
    .cta-band, .site-footer { margin-inline: 12px; }
    .auth-visual { border-radius: 0; }
    .product-hero img { box-shadow: 10px 10px 0 0 var(--green); height: 420px; }
}

@media (max-width: 720px) {
    .hero-quote { right: 12px; left: 12px; max-width: none; }
    .metric:first-child strong { font-size: 36px; }
    .page-hero h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}
