:root {
    --bg:    #fdfcfb;
    --ink:   #111111;
    --rule:  #e0e0e0;
    --nav-h: 70px;
    --font:  'Inter', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    transition: box-shadow 0.3s;
}

#site-header.scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.header-left, .header-right {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.header-right { justify-content: flex-end; }

.logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: opacity 0.2s;
}
.nav-link:hover { opacity: 0.6; }

.text-logo {
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    text-transform: lowercase;
    text-decoration: none;
    color: var(--ink);
}

.get-started-btn {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    color: #fff;
    background: var(--ink);
    padding: 0.65rem 1.4rem;
    border: 1px solid var(--ink);
    transition: opacity 0.2s;
    display: inline-block;
}
.get-started-btn:hover { opacity: 0.8; }

body.solid-header #site-header { background: var(--bg); border-bottom-color: var(--rule); }
body.solid-header .nav-link    { color: var(--ink); }
body.solid-header .text-logo   { color: var(--ink); }
body.solid-header .get-started-btn { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    position: relative;
    margin-top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 10.5rem;
}

.hero-headline {
    font-size: clamp(2rem, 3.5vw, 4rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.08;
    color: var(--ink);
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: clamp(0.85rem, 1.2vw, 1.05rem);
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

.hero-btn {
    display: inline-block;
    background: var(--ink);
    color: #fff;
    padding: 1.1rem 3rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.hero-btn:hover { opacity: 0.85; transform: scale(1.02); }

/* ============================================================
   MARQUEE — static, no scroll
   ============================================================ */
.marquee-strip {
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    padding: 1.1rem 2rem;
    border-bottom: 1px solid #000;
}

.marquee-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.marquee-track span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    flex-shrink: 0;
}
.marquee-track .dot { opacity: 0.3; }

/* ============================================================
   GALLERY — 3 equal columns
   ============================================================ */
.gallery-section {
    border-bottom: 1px solid var(--rule);
    line-height: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.g-img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
}

/* Product shot (white bg) — contain so full hat shows */
.g-img-product {
    object-fit: contain;
    background: #fff;
    padding: 1.5rem;
}

/* Gallery link cell — dark black, same height as images */
.gallery-link-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 480px;
    background: #0a0a0a;
    text-decoration: none;
    transition: background 0.2s;
}
.gallery-link-cell:hover { background: #1a1a1a; }

.gallery-link-label {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
}

/* ============================================================
   PILLARS
   ============================================================ */
.pillars-section {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
}

.pillar { padding: 5rem 7%; }

.pillar-rule {
    width: 1px;
    background: var(--rule);
    align-self: stretch;
}

.pillar-number {
    display: block;
    font-size: clamp(4rem, 8vw, 8.5rem);
    font-weight: 900;
    letter-spacing: -5px;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 2rem;
}
.pillar-number sup { font-size: 0.42em; letter-spacing: -1px; vertical-align: super; }

.pillar-title {
    font-size: clamp(1.5rem, 2.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.pillar-desc {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.65;
    max-width: 270px;
}

/* ============================================================
   FEATURE IMAGE
   ============================================================ */
.feature-section {
    border-bottom: 1px solid var(--rule);
    line-height: 0;
}
.feature-img { display: block; width: 100%; height: auto; }

/* ============================================================
   PRICING — image left, accordion right
   ============================================================ */
.pricing-interactive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
    align-items: stretch;
}

.pricing-side-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.pricing-img-col {
    overflow: hidden;
    max-height: 700px;
}

.accordion-col {
    padding: 2.5rem 6%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.accordion-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.accordion-subtitle {
    font-size: 1rem;
    color: #888;
    margin-bottom: 2.5rem;
}

.accordion {
    width: 100%;
    max-width: 620px;
    text-align: left;
    border-top: 1px solid var(--rule);
}

.accordion-item { border-bottom: 1px solid var(--rule); }

.accordion-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: padding 0.15s;
}
.accordion-btn:hover { padding-left: 0.5rem; }

.tier-range {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink);
}

.tier-price {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--ink);
    white-space: nowrap;
}
.tier-unit { font-size: 0.7rem; font-weight: 500; color: #aaa; }

.accordion-icon {
    font-size: 1.2rem;
    font-weight: 300;
    color: #bbb;
    width: 24px;
    text-align: center;
    transition: transform 0.25s, color 0.2s;
    flex-shrink: 0;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); color: var(--ink); }

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.accordion-item.open .accordion-body { max-height: 300px; padding-bottom: 1.25rem; }

.accordion-body ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }

.accordion-body ul li {
    font-size: 0.88rem;
    color: #666;
    padding-left: 1rem;
    position: relative;
}
.accordion-body ul li::before { content: '–'; position: absolute; left: 0; color: #ccc; }
.accordion-body ul li a { color: var(--ink); font-weight: 700; }

/* Pricing footnotes */
.pricing-notes {
    width: 100%;
    max-width: 620px;
    margin-top: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pricing-notes p {
    font-size: 0.78rem;
    color: #999;
    line-height: 1.5;
}

.pricing-notes a {
    color: var(--ink);
    font-weight: 700;
}

/* ============================================================
   PROCESS — centered small header above image
   ============================================================ */
.process-section {
    padding: 4rem 5%;
    border-bottom: 1px solid var(--rule);
    background: #fff;
    text-align: center;
}

.process-header {
    margin-bottom: 2rem;
}

.process-title {
    font-size: clamp(2.4rem, 3.6vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 0.6rem;
}

.process-sub {
    font-size: 0.88rem;
    color: #999;
}

.process-img {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
}

/* ============================================================
   SPECS STRIP
   ============================================================ */
.specs-strip {
    border-bottom: 1px solid var(--rule);
    background: #f7f7f5;
    padding: 1.5rem 5%;
}

.specs-strip-inner { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }

.specs-strip-title {
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #bbb;
    white-space: nowrap;
    flex-shrink: 0;
}

.specs-strip-items { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; flex: 1; }

.spec-strip-item { display: flex; flex-direction: column; gap: 0.15rem; }
.spec-strip-item strong { font-size: 0.78rem; font-weight: 700; color: var(--ink); }
.spec-strip-item span   { font-size: 0.75rem; color: #777; }

.spec-strip-divider { width: 1px; height: 30px; background: var(--rule); flex-shrink: 0; }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 65vh;
    border-bottom: 1px solid var(--rule);
}

.cta-content {
    position: relative;
    background: url('cta-background.png') center center / cover no-repeat;
    color: var(--ink);
    padding: 6rem 7%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
}

.cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.45);
    z-index: 0;
}

.cta-content > * {
    position: relative;
    z-index: 1;
}

.cta-headline {
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 0.9;
    color: var(--ink);
}

.cta-sub { font-size: 1rem; opacity: 0.65; max-width: 320px; line-height: 1.65; color: var(--ink); }

.cta-btn {
    display: inline-block;
    background: var(--ink);
    color: #fff;
    padding: 1rem 2.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
}
.cta-btn:hover { background: #333; }

.cta-img-wrap { overflow: hidden; }
.cta-img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    padding: 2.5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--rule);
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.footer-brand { font-size: 1.35rem; font-weight: 900; letter-spacing: -1px; color: var(--ink); margin: 0; }
.footer-socials {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.footer-socials a {
    color: var(--ink);
    opacity: 0.6;
    transition: opacity 0.2s, color 0.2s;
    display: inline-flex;
}
.footer-socials a:hover {
    opacity: 1;
}
.footer-legal { font-size: 0.72rem; color: #bbb; text-transform: uppercase; letter-spacing: 1px; }

/* ============================================================
   GET STARTED PAGE — split layout
   ============================================================ */
.gs-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.gs-photo {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.gs-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.gs-form-panel {
    background: var(--bg);
    padding: calc(var(--nav-h) + 3rem) 7% 4rem;
    overflow-y: auto;
}

.gs-back {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
    margin-bottom: 2.5rem;
    transition: color 0.2s;
}
.gs-back:hover { color: var(--ink); }

.gs-form-title {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 0.5rem;
    line-height: 1.05;
}

.gs-form-sub {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.gs-divider {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bbb;
    border-top: 1px solid var(--rule);
    padding-top: 1.5rem;
    margin: 1rem 0 0.5rem;
}

.order-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1.5px solid #ddd;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    outline: none;
    border-radius: 0;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--ink); }

.form-group textarea { resize: vertical; min-height: 80px; }

.submit-btn {
    background: var(--ink);
    color: #fff;
    border: none;
    padding: 1.1rem;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
    transition: background 0.2s;
}
.submit-btn:hover { background: #333; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .pillars-section { grid-template-columns: 1fr; }
    .pillar-rule { width: 100%; height: 1px; align-self: auto; }
    .pricing-interactive { grid-template-columns: 1fr; }
    .pricing-img-col { height: 40vh; }
    .cta-section { grid-template-columns: 1fr; }
    .cta-img-wrap { min-height: 40vh; }
    .gs-layout { grid-template-columns: 1fr; }
    .gs-photo { display: none; }
    .gs-form-panel { padding-top: 3rem; }
}

@media (max-width: 768px) {
    /* NAV — keep gallery link visible on mobile */
    .nav-link[href="gallery.html"] { display: inline; }

    /* HERO — crop to show center white space, no empty bars */
    .hero-section {
        height: 56vw;
        min-height: 260px;
        max-height: 420px;
    }
    .hero-bg-img {
        object-fit: cover;
        object-position: center 48%;
    }
    .hero-content { padding-top: 0; margin-top: 9%; }
    .hero-headline { font-size: 2.6vw !important; letter-spacing: 0; line-height: 1.15; margin-bottom: 0.35rem; }
    .hero-tagline { display: none; }
    .hero-btn { padding: 0.45rem 1.1rem !important; font-size: 0.58rem !important; letter-spacing: 1.2px; border-radius: 30px; }

    /* MARQUEE */
    .marquee-track { gap: 1rem; }
    .marquee-track span { font-size: 0.62rem; letter-spacing: 1.5px; }

    /* GALLERY */
    .gallery-grid { grid-template-columns: 1fr; }
    .g-img { height: 280px; }

    /* PILLARS */
    .pillar { padding: 3rem 6%; }
    .pillar-number { font-size: clamp(3rem, 14vw, 6rem); letter-spacing: -3px; margin-bottom: 1rem; }
    .pillar-title { font-size: clamp(1.2rem, 5vw, 1.8rem); }

    /* PRICING */
    .accordion-col { padding: 3rem 6%; }
    .accordion-title { font-size: clamp(2rem, 8vw, 3rem); }
    .tier-range { font-size: 0.82rem; }
    .tier-price { font-size: 0.95rem; }

    /* PROCESS */
    .process-section { padding: 3rem 5%; }
    .process-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }

    /* SPECS */
    .specs-strip-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .specs-strip-items { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .spec-strip-divider { width: 100%; height: 1px; }

    /* CTA */
    .cta-headline { font-size: clamp(2rem, 9vw, 3.5rem); letter-spacing: -2px; }
    .cta-content { padding: 4rem 6%; }
    .cta-img-wrap { min-height: 300px; }

    /* FOOTER */
    footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
    /* NAV */
    .text-logo { font-size: 1.4rem; }
    .get-started-btn { padding: 0.5rem 0.8rem; font-size: 0.65rem; letter-spacing: 1px; }
    .header-left { gap: 1rem; }
    .nav-link { font-size: 0.65rem; letter-spacing: 1px; }

    /* HERO */
    .hero-headline { font-size: clamp(1.5rem, 9vw, 2.5rem); }

    /* FORM */
    .form-row { grid-template-columns: 1fr; }
    .gs-form-panel { padding: 2rem 5%; }
    .gs-form-title { font-size: clamp(2rem, 10vw, 3rem); }

    /* GALLERY PAGE */
    .gallery-page-title { font-size: clamp(2.5rem, 12vw, 5rem); }
    .g-row { flex-direction: column; }
    .g-row > .g-cell { height: 260px; }
}
