:root {
    --ink: #12161d;
    --ink-soft: #1a2029;
    --ink-elevated: #232b36;
    --paper: #f5f1ea;
    --paper-warm: #e9e0d2;
    --text: #f8f6f2;
    --text-dark: #0f1218;
    --muted: #a6acb6;
    --muted-dark: #5c6675;
    --line: rgba(255, 255, 255, 0.12);
    --line-dark: rgba(18, 22, 29, 0.12);
    --accent: #f28a1b;
    --accent-deep: #c96500;
    --accent-soft: #ffbf6d;
    --steel: #6a7687;
    --shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --wrap: min(1220px, calc(100vw - 40px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text-dark);
    font-family: "Instrument Sans", system-ui, sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

p,
ul,
ol {
    margin-top: 0;
}

.wrap {
    width: var(--wrap);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 90;
    background: #fff;
    padding: 10px 14px;
    border-radius: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(18, 22, 29, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    min-height: 88px;
}

.brand,
.site-nav,
.nav-actions,
.hero-actions,
.contact-actions {
    display: flex;
    align-items: center;
}

.brand {
    gap: 14px;
    color: var(--text);
}

.brand-logo,
.footer-logo,
.factory-logo {
    width: auto;
    object-fit: contain;
}

.brand-logo {
    height: 54px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-kicker {
    font-family: "Syne", sans-serif;
    font-size: 1.35rem;
    line-height: 1;
}

.brand-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
}

.site-nav {
    justify-content: center;
    gap: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.96rem;
    font-weight: 600;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
    color: #fff;
}

.nav-actions {
    gap: 12px;
}

.menu-toggle {
    display: none;
    appearance: none;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 700;
}

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

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

.button-primary {
    background: linear-gradient(135deg, var(--accent), #ffb04c);
    color: #1a1205;
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(242, 138, 27, 0.24);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.button-light {
    background: #fff;
    color: var(--ink);
}

.button-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.button-arrow::after {
    content: "\2192";
    margin-left: 10px;
}

.hero,
.section,
.page-hero {
    padding: 88px 0;
}

.hero-turntech {
    position: relative;
    overflow: hidden;
    color: var(--text);
    background:
        linear-gradient(90deg, rgba(18, 22, 29, 0.94) 0%, rgba(18, 22, 29, 0.76) 48%, rgba(18, 22, 29, 0.78) 100%),
        url("../images/turntech-hero.jpg") center/cover no-repeat;
}

.hero-turntech::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 20%, rgba(242, 138, 27, 0.18), transparent 24%),
        linear-gradient(180deg, transparent, rgba(18, 22, 29, 0.76));
    pointer-events: none;
}

.hero-grid,
.gallery-grid,
.factory-grid,
.cta-grid,
.split-grid,
.content-grid,
.notice-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px;
    align-items: center;
}

.hero-copy h1,
.section-head h2,
.gallery-copy h2,
.content-block h2,
.factory-card h2,
.cta-copy h2,
.page-hero-shell h1,
.content-card h2,
.notice-card h2 {
    margin: 0 0 18px;
    font-family: "Syne", sans-serif;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.section-head h2,
.gallery-copy h2,
.content-block h2,
.factory-card h2,
.cta-copy h2,
.page-hero-shell h1,
.content-card h2,
.notice-card h2 {
    font-size: clamp(2.4rem, 4vw, 4.1rem);
}

.eyebrow,
.feature-index,
.metric-label {
    color: var(--accent-soft);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.hero-copy .lede,
.section-head p,
.gallery-copy p,
.content-block p,
.factory-card p,
.cta-copy p,
.page-hero-shell p,
.hero-card p,
.feature-card p,
.content-card p,
.content-card li,
.notice-card p,
.contact-panel p,
.footer-grid p,
.footer-meta,
.spec-item span {
    font-size: 1.03rem;
}

.hero-copy .lede,
.hero-points li,
.hero-card p,
.cta-copy p,
.button-ghost,
.button-secondary,
.footer-grid p,
.footer-grid a,
.footer-meta {
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions,
.contact-actions {
    gap: 14px;
    flex-wrap: wrap;
    margin: 28px 0;
}

.hero-points,
.detail-list {
    padding-left: 18px;
}

.hero-points li + li,
.detail-list li + li {
    margin-top: 10px;
}

.hero-panel {
    display: grid;
    gap: 18px;
}

.hero-card,
.feature-card,
.media-card,
.factory-card,
.factory-panel,
.contact-panel,
.content-card,
.notice-card,
.notice-panel,
.data-table,
.spec-sheet {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-card,
.feature-card,
.factory-card,
.factory-panel,
.contact-panel,
.content-card,
.notice-card,
.notice-panel {
    padding: 28px;
}

.hero-card,
.factory-panel,
.contact-panel,
.notice-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-strong {
    background: linear-gradient(145deg, rgba(242, 138, 27, 0.16), rgba(255, 255, 255, 0.08));
}

.hero-card strong {
    display: block;
    margin: 10px 0 12px;
    font-size: 2rem;
    line-height: 1.05;
}

.hero-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.metric {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.section-band {
    background: linear-gradient(180deg, var(--paper-warm), #eee6db);
}

.section-dark,
.cta-band,
.site-footer {
    background: linear-gradient(180deg, #171d25 0%, #11161d 100%);
    color: var(--text);
}

.section-head,
.page-hero-shell {
    max-width: 860px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-head-left {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

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

.feature-card {
    background: #fff;
    border: 1px solid var(--line-dark);
}

.feature-card-highlight {
    background: linear-gradient(145deg, #fff3df, #ffffff);
}

.feature-card h3,
.content-card h2,
.factory-card h2,
.notice-card h2 {
    color: var(--text-dark);
}

.feature-card p,
.content-card p,
.content-card li,
.factory-card p,
.notice-card p,
.spec-item span,
.data-row span {
    color: var(--muted-dark);
}

.gallery-stack {
    display: grid;
    gap: 18px;
}

.media-card {
    overflow: hidden;
    background: #fff;
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-card-large {
    min-height: 380px;
}

.media-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.spec-sheet,
.data-table {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.spec-item,
.data-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-item:last-child,
.data-row:last-child {
    border-bottom: 0;
}

.spec-item strong,
.data-row strong {
    color: #fff;
    font-size: 1rem;
    text-align: right;
}

.factory-card {
    background: #fff;
    border: 1px solid var(--line-dark);
}

.factory-panel {
    display: grid;
    gap: 20px;
    text-align: left;
}

.factory-logo {
    height: 92px;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    padding: 0 22px;
}

.faq-item summary {
    cursor: pointer;
    padding: 22px 0;
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding-bottom: 22px;
    color: var(--muted-dark);
}

.cta-grid {
    align-items: start;
}

.contact-panel {
    display: grid;
    gap: 18px;
}

.contact-method {
    display: grid;
    gap: 6px;
}

.contact-method span {
    color: var(--accent-soft);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.contact-method a {
    color: #fff;
    font-size: 1.12rem;
    font-weight: 600;
}

.page-hero {
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(18, 22, 29, 0.95), rgba(18, 22, 29, 0.92)),
        url("../images/turntech-driveway.jpg") center/cover no-repeat;
}

.content-grid {
    align-items: stretch;
}

.content-card {
    background: #fff;
    border: 1px solid var(--line-dark);
}

.ordered {
    padding-left: 22px;
}

.table-shell {
    display: grid;
    gap: 28px;
}

.notice-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 34px;
    padding: 64px 0 28px;
}

.footer-logo {
    height: 62px;
    margin-bottom: 16px;
}

.footer-grid h3 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.footer-grid a {
    display: block;
    margin-bottom: 10px;
}

.footer-grid a:hover,
.footer-meta a:hover {
    color: #fff;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hide-mobile {
    display: inline-flex;
}

@media (max-width: 1100px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .site-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-shell.is-open {
        grid-template-columns: 1fr;
        align-items: stretch;
        padding: 18px 0 24px;
    }

    .nav-shell.is-open .site-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-shell.is-open .nav-actions {
        justify-content: flex-start;
        padding-top: 8px;
    }

    .hero-grid,
    .gallery-grid,
    .factory-grid,
    .cta-grid,
    .split-grid,
    .content-grid,
    .notice-grid {
        grid-template-columns: 1fr;
    }

    .hero-card-grid,
    .media-row {
        grid-template-columns: 1fr 1fr;
    }

    .hero-copy h1,
    .section-head h2,
    .gallery-copy h2,
    .content-block h2,
    .factory-card h2,
    .cta-copy h2,
    .page-hero-shell h1,
    .content-card h2,
    .notice-card h2 {
        font-size: clamp(2.5rem, 9vw, 4rem);
    }
}

@media (max-width: 640px) {
    :root {
        --wrap: min(100vw - 28px, 100vw - 28px);
    }

    .feature-grid,
    .hero-card-grid,
    .media-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero,
    .section,
    .page-hero {
        padding: 72px 0;
    }

    .brand-logo {
        height: 46px;
    }

    .hide-mobile {
        display: none;
    }

    .footer-meta {
        flex-direction: column;
    }

    .spec-item,
    .data-row {
        flex-direction: column;
    }

    .spec-item strong,
    .data-row strong {
        text-align: left;
    }
}
