:root {
    --bg-start: #f8f1e7;
    --bg-mid: #efe5d8;
    --bg-end: #eadfce;
    --shell: rgba(255, 250, 242, 0.52);
    --card: rgba(255, 248, 238, 0.76);
    --overlay-line: rgba(95, 66, 42, 0.03);
    --ink: #2f2218;
    --muted: #6c5847;
    --line: rgba(73, 49, 31, 0.16);
    --gold: #b18a4b;
    --shadow: 0 28px 60px rgba(61, 38, 19, 0.16);
    --hero-top: #2c241e;
    --hero-mid: #4f392a;
    --hero-bottom: #6d5542;
    --hero-glow: rgba(255, 219, 152, 0.92);
    --hero-glow-soft: rgba(255, 219, 152, 0.08);
    --caption: rgba(255, 242, 223, 0.85);
    --button-main-start: #3e2d21;
    --button-main-end: #8b6a45;
    --button-main-text: #fff7ee;
    --button-secondary: rgba(255, 252, 247, 0.55);
    --toggle-bg: rgba(255, 250, 242, 0.8);
    --toggle-thumb: linear-gradient(135deg, #4d3624, #b18a4b);
    --input-bg: rgba(255, 252, 247, 0.75);
}

html[data-theme="dark"] {
    --bg-start: #15110f;
    --bg-mid: #1f1814;
    --bg-end: #261d18;
    --shell: rgba(25, 20, 17, 0.72);
    --card: rgba(44, 34, 28, 0.86);
    --overlay-line: rgba(255, 237, 211, 0.04);
    --ink: #f4ead8;
    --muted: #ccb89a;
    --line: rgba(245, 224, 188, 0.14);
    --gold: #ddb66f;
    --shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
    --hero-top: #0d1015;
    --hero-mid: #2e241d;
    --hero-bottom: #4a382b;
    --hero-glow: rgba(255, 207, 126, 0.72);
    --hero-glow-soft: rgba(255, 207, 126, 0.05);
    --caption: rgba(255, 237, 211, 0.78);
    --button-main-start: #e3c385;
    --button-main-end: #87643d;
    --button-main-text: #1b140f;
    --button-secondary: rgba(63, 49, 40, 0.72);
    --toggle-bg: rgba(44, 34, 28, 0.9);
    --toggle-thumb: linear-gradient(135deg, #f0d49d, #a37742);
    --input-bg: rgba(35, 27, 22, 0.88);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top, rgba(255, 230, 182, 0.2), transparent 32%),
        linear-gradient(180deg, var(--bg-start) 0%, var(--bg-mid) 48%, var(--bg-end) 100%);
    font-family: "Manrope", sans-serif;
    transition: background 220ms ease, color 220ms ease;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
        repeating-linear-gradient(
            90deg,
            var(--overlay-line) 0,
            var(--overlay-line) 1px,
            transparent 1px,
            transparent 120px
        );
}

img {
    max-width: 100%;
    display: block;
}

p,
h1,
h2,
h3 {
    margin-top: 0;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 24px auto;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: var(--shell);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.topbar,
.hero-grid,
.stats,
.card-grid,
.split-section,
.showroom-grid,
.footer,
.footer-form {
    display: grid;
}

.topbar {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-bottom: 22px;
    gap: 16px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand,
.hero h1,
.section h2,
.footer h2,
blockquote {
    font-family: "Cormorant Garamond", serif;
}

.brand {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.topbar-links {
    display: flex;
    gap: 22px;
}

.topbar a,
.button {
    text-decoration: none;
}

.topbar a {
    color: var(--muted);
    font-size: 0.95rem;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px 6px 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--toggle-bg);
    color: var(--ink);
    cursor: pointer;
    transition: background 200ms ease, border-color 200ms ease, transform 180ms ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
}

.theme-toggle-track {
    position: relative;
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: rgba(177, 138, 75, 0.2);
}

.theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--toggle-thumb);
    transition: transform 220ms ease;
}

html[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(20px);
}

.theme-toggle-label {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.hero {
    min-height: 88vh;
    display: flex;
    flex-direction: column;
}

.hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
    flex: 1;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero h1 {
    font-size: clamp(3.6rem, 7vw, 6.4rem);
    line-height: 0.92;
    font-weight: 600;
    max-width: 10ch;
    margin-bottom: 18px;
}

.hero-text,
.section p,
.footer p,
.showroom-grid p,
.info-card p,
.stats span,
.footer-copy p,
.inquiry-form span {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: linear-gradient(135deg, var(--button-main-start), var(--button-main-end));
    color: var(--button-main-text);
    box-shadow: 0 14px 30px rgba(77, 54, 33, 0.24);
}

.button.secondary {
    color: var(--ink);
    border-color: var(--line);
    background: var(--button-secondary);
}

.form-submit {
    width: 100%;
}

.hero-visual {
    position: relative;
    min-height: 580px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at 50% 22%, var(--hero-glow), var(--hero-glow-soft) 22%, transparent 40%),
        linear-gradient(180deg, var(--hero-top) 0%, var(--hero-mid) 42%, var(--hero-bottom) 100%);
}

.chandelier-glow {
    position: absolute;
    inset: 12% 20% auto;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 229, 170, 0.72), rgba(255, 229, 170, 0.04) 62%, transparent 74%);
    filter: blur(10px);
}

.chandelier-frame {
    position: absolute;
    top: 16%;
    left: 50%;
    width: 280px;
    height: 300px;
    transform: translateX(-50%);
}

.chandelier-frame::before {
    content: "";
    position: absolute;
    top: -70px;
    left: 50%;
    width: 3px;
    height: 90px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #ecd6a8, #8b6a45);
}

.chandelier-frame::after {
    content: "";
    position: absolute;
    inset: 64px 18px auto;
    height: 120px;
    border: 3px solid rgba(231, 205, 156, 0.88);
    border-top: none;
    border-radius: 0 0 160px 160px;
}

.lamp {
    position: absolute;
    bottom: 90px;
    width: 72px;
    height: 110px;
    border-radius: 40px 40px 16px 16px;
    background: linear-gradient(180deg, rgba(255, 244, 224, 0.96), rgba(242, 203, 132, 0.95));
    box-shadow: 0 0 36px rgba(245, 213, 145, 0.45);
}

.lamp::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -24px;
    width: 3px;
    height: 26px;
    transform: translateX(-50%);
    background: #c6a167;
}

.lamp-left {
    left: 22px;
    transform: rotate(-10deg);
}

.lamp-center {
    left: 50%;
    transform: translateX(-50%);
}

.lamp-right {
    right: 22px;
    transform: rotate(10deg);
}

.visual-caption {
    position: absolute;
    left: 28px;
    bottom: 24px;
    color: var(--caption);
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section {
    padding: 72px 0;
}

.stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.stats article,
.info-card,
.material-panel,
.quote-panel,
.showroom,
.footer,
.footer-form,
.inquiry-form {
    border: 1px solid var(--line);
    background: var(--card);
}

.stats article {
    padding: 28px;
    border-radius: 22px;
}

.stats strong {
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
    color: var(--ink);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section h2,
.footer h2 {
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1;
    font-weight: 600;
    margin-bottom: 0;
}

.card-grid,
.showroom-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.info-card {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    overflow: hidden;
}

.card-tone {
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border-radius: 22px;
    border: 1px solid rgba(84, 58, 32, 0.12);
}

.tone-amber {
    background: linear-gradient(135deg, #f8d99f, #8a6034);
}

.tone-ivory {
    background: linear-gradient(135deg, #f6efe0, #b7a180);
}

.tone-bronze {
    background: linear-gradient(135deg, #b48a5c, #473223);
}

.info-card h3,
.showroom-grid h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.split-section {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 20px;
}

.material-panel,
.quote-panel,
.showroom,
.footer,
.footer-form {
    padding: 34px;
    border-radius: 28px;
}

blockquote {
    margin: 0 0 18px;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.04;
}

.showroom {
    background:
        linear-gradient(180deg, rgba(255, 250, 244, 0.92), rgba(243, 235, 222, 0.78)),
        radial-gradient(circle at top right, rgba(242, 212, 154, 0.35), transparent 28%);
}

html[data-theme="dark"] .showroom {
    background:
        linear-gradient(180deg, rgba(56, 43, 35, 0.92), rgba(41, 31, 26, 0.82)),
        radial-gradient(circle at top right, rgba(190, 147, 82, 0.16), transparent 28%);
}

.footer-form {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    align-items: start;
    gap: 28px;
    margin: 12px 0 6px;
}

.footer-copy {
    max-width: 540px;
}

.inquiry-form {
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: 24px;
}

.inquiry-form label {
    display: grid;
    gap: 8px;
}

.inquiry-form span {
    font-size: 0.92rem;
    font-weight: 700;
}

.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--input-bg);
    color: var(--ink);
    font: inherit;
    outline: none;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
    color: var(--muted);
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(177, 138, 75, 0.12);
}

.inquiry-form textarea {
    resize: vertical;
    min-height: 140px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .hero-grid,
    .split-section,
    .card-grid,
    .showroom-grid,
    .stats,
    .footer,
    .footer-form {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-visual {
        min-height: 460px;
    }

    .topbar {
        grid-template-columns: 1fr;
    }

    .topbar-actions {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .topbar-links {
        flex-wrap: wrap;
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100% - 16px, 100%);
        margin: 8px auto;
        padding: 18px;
        border-radius: 24px;
    }

    .hero h1 {
        max-width: none;
    }

    .hero-visual {
        min-height: 380px;
    }

    .chandelier-frame {
        width: 220px;
        height: 240px;
    }

    .lamp {
        width: 58px;
        height: 92px;
    }

    .material-panel,
    .quote-panel,
    .showroom,
    .footer,
    .footer-form,
    .stats article,
    .info-card,
    .inquiry-form {
        padding: 24px;
    }

    .topbar-actions {
        align-items: stretch;
    }
}

/* Typography refresh inspired by editorial luxury lighting references */
.brand {
    font-family: "Marcellus", serif;
    font-size: 1.42rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.topbar a,
.theme-toggle-label,
.button,
.inquiry-form,
.stats span,
.hero-text,
.section p,
.footer p,
.showroom-grid p,
.info-card p,
.footer-copy p,
.inquiry-form span {
    font-family: "Manrope", sans-serif;
}

.hero h1,
.section h2,
.footer h2,
blockquote {
    font-family: "Bodoni Moda", serif;
    letter-spacing: 0.01em;
}

.hero-title {
    display: grid;
    gap: 0.18em;
    max-width: 12ch;
    margin-bottom: 22px;
}

.headline-line {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

.headline-line::after {
    content: "";
    flex: 1 1 auto;
    min-width: 54px;
    border-top: 1px solid rgba(177, 138, 75, 0.45);
    transform: translateY(0.08em);
}

.headline-line.accent {
    padding-left: 1.3ch;
}

.headline-line.accent::before {
    content: "";
    width: 28px;
    border-top: 1px solid rgba(177, 138, 75, 0.28);
    transform: translateY(0.08em);
}

.headline-line.accent::after {
    border-top-color: rgba(177, 138, 75, 0.65);
}

.eyebrow {
    font-family: "Manrope", sans-serif;
    letter-spacing: 0.3em;
}

.section h2,
.footer h2 {
    max-width: 14ch;
    line-height: 0.96;
    letter-spacing: 0.015em;
}

.info-card h3,
.showroom-grid h3 {
    font-family: "Marcellus", serif;
    font-size: 1.34rem;
    letter-spacing: 0.03em;
    font-weight: 400;
}

blockquote {
    font-style: italic;
    letter-spacing: 0.02em;
}

@media (max-width: 640px) {
    .hero-title {
        max-width: none;
        gap: 0.22em;
    }

    .headline-line {
        gap: 12px;
        white-space: normal;
    }

    .headline-line::after,
    .headline-line.accent::before {
        min-width: 22px;
    }

    .headline-line.accent {
        padding-left: 0.6ch;
    }
}
