:root {
    --ink: #171717;
    --paper: #f7f4ed;
    --accent: #F77A00;
    --muted: #e9e3d8;
    --line: rgba(23, 23, 23, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
}
a { color: inherit; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(17,17,17,.94);
    color: white;
    backdrop-filter: blur(16px);
}
.site-nav {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand-mark {
    color: white;
    text-decoration: none;
    flex: 0 0 auto;
}
.brand-lockup {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}
.brand-lockup-primary {
    font-size: .98rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.brand-lockup-secondary {
    color: rgba(255,255,255,.56);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
    font-size: .92rem;
    font-weight: 700;
}
.primary-nav a,
.nav-button {
    color: rgba(255,255,255,.82);
    text-decoration: none;
}
.primary-nav a:hover,
.nav-button:hover { color: white; }
.nav-form { margin: 0; }
.nav-button {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}
.nav-operator-link {
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
}

.hero,
.page-header {
    background:
        radial-gradient(circle at 78% 22%, rgba(247,122,0,.13), transparent 30%),
        linear-gradient(135deg, #111111 0%, #211d19 100%);
    color: white;
}
.hero {
    min-height: 74vh;
    display: grid;
    align-items: center;
    padding: 76px 0 84px;
}
.hero-shell { display: grid; }
.hero-copy { max-width: 980px; }
.compact-hero { min-height: 100vh; }
.page-header { padding: 68px 0 76px; }

.eyebrow {
    margin: 0 0 16px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--accent);
}

h1, h2, h3 { margin-top: 0; }
h1, h2 {
    margin-bottom: 0;
    max-width: 900px;
    line-height: .96;
    letter-spacing: -.045em;
}
h1 {
    max-width: 850px;
    font-size: clamp(3rem, 7.2vw, 6.35rem);
    text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 5vw, 4.1rem); }
h3 { font-size: 1.25rem; line-height: 1.2; }

.lede,
.section-intro,
.section > .shell > p:not(.eyebrow):not(.empty-state),
.detail-lede {
    max-width: 720px;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.6;
}
.hero .lede { margin: 26px 0 0; }

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}
.hero-actions {
    align-items: center;
    margin-top: 18px;
}
.text-action {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    font-weight: 800;
}
.text-action:hover { color: white; }

.button {
    display: inline-block;
    padding: 14px 20px;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}
.button.primary { background: var(--accent); color: #111; }
.button.secondary { border: 1px solid rgba(255,255,255,.35); color: white; }

.hero-search {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(170px, .42fr) auto;
    gap: 10px;
    max-width: 860px;
    margin-top: 32px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: rgba(255,255,255,.07);
    box-shadow: 0 22px 50px rgba(0,0,0,.16);
    backdrop-filter: blur(12px);
}
.hero-search input,
.hero-search select {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    outline: none;
    background: rgba(255,255,255,.96);
    color: #171717;
    font: inherit;
}
.hero-search input:focus,
.hero-search select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(247,122,0,.17);
}
.hero-search .button {
    min-height: 50px;
    border-radius: 14px;
}
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 28px;
    color: rgba(255,255,255,.58);
    font-size: .83rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.hero-proof span::before {
    content: "•";
    margin-right: 9px;
    color: var(--accent);
}

.section { padding: 96px 0; }
.section.muted { background: var(--muted); }
.dark-section { background: #171717; color: white; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
}
.compact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.62);
}
.card p {
    margin-bottom: 0;
    font-size: .98rem;
    line-height: 1.55;
}
.media-card {
    overflow: hidden;
    padding: 0;
}
.card-image {
    width: 100%;
    height: 210px;
    display: block;
    object-fit: cover;
    background: #d9d3c8;
}
.card-body { padding: 24px; }
.category-card { min-height: 150px; }
.category-card .card-image { height: 150px; }
.experience-card { display: flex; flex-direction: column; }
.experience-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.operator-card {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
}
.operator-card .card-image { height: 220px; }

.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    color: rgba(23,23,23,.65);
    font-size: .82rem;
}
.bottom-row {
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 22px;
}

.verified-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(247,122,0,.16);
    color: #ff9a58;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.empty-state {
    margin-top: 34px;
    padding: 18px 0;
    color: rgba(23,23,23,.58);
    font-size: 1rem;
}
.empty-state.light { color: rgba(255,255,255,.58); }

.discovery-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px auto;
    gap: 12px;
    margin-top: 36px;
}
.discovery-form input,
.discovery-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    font: inherit;
}

.detail-shell { max-width: 860px; }
.text-link {
    display: inline-block;
    margin-bottom: 38px;
    font-weight: 700;
    text-decoration: none;
}
.light-link { color: rgba(255,255,255,.78); }
.detail-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 36px 0;
}
.detail-meta span,
.operator-panel {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.55);
}
.operator-panel { margin-top: 42px; }

.form-shell { max-width: 780px; }
.application-form {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,.65);
}
.field { margin-bottom: 24px; }
.field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
}
.field input:not([type="checkbox"]),
.field textarea,
.field select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    font: inherit;
}
.field textarea { resize: vertical; }
.help-text,
.privacy-note,
.error-text {
    font-size: .9rem;
    line-height: 1.45;
}
.help-text,
.privacy-note { color: rgba(23,23,23,.62); }
.error-text { color: #a23021; }
.reference-box {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    word-break: break-all;
}

.site-footer {
    padding: 52px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    background: #101010;
    color: white;
}
.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, .7fr);
    gap: 48px;
    align-items: end;
}
.footer-statement {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 1.05rem;
    line-height: 1.6;
}
.footer-nav {
    display: grid;
    gap: 10px;
    justify-items: start;
}
.footer-nav a {
    color: rgba(255,255,255,.72);
    text-decoration: none;
    font-weight: 700;
}
.footer-nav a:hover { color: white; }

@media (max-width: 900px) {
    h1 { max-width: 760px; font-size: clamp(3.3rem, 8vw, 5.4rem); }
    .card-grid,
    .compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .discovery-form { grid-template-columns: 1fr 1fr; }
    .discovery-form .button { grid-column: 1 / -1; }
    .primary-nav { gap: 10px 14px; font-size: .86rem; }
    .hero-search { grid-template-columns: minmax(0, 1fr) 180px; }
    .hero-search .button { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .site-nav {
        min-height: auto;
        padding: 10px 0;
        align-items: center;
    }
    .primary-nav {
        justify-content: flex-end;
        flex-wrap: wrap;
        font-size: .8rem;
    }
    .brand-lockup-secondary { display: none; }
    .site-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero { padding-top: 58px; }
}

@media (max-width: 640px) {
    .shell { width: min(100% - 28px, 1120px); }
    .hero { min-height: 68vh; padding: 52px 0 64px; }
    .hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); line-height: .98; }
    .hero-search { grid-template-columns: 1fr; padding: 8px; border-radius: 18px; }
    .hero-search .button { grid-column: auto; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .hero-proof { display: grid; gap: 8px; }
    .page-header { padding: 46px 0 54px; }
    .section { padding: 70px 0; }
    .application-form { padding: 22px; }
    .card-grid,
    .compact-grid,
    .detail-meta,
    .discovery-form { grid-template-columns: 1fr; }
    .brand-mark { padding-top: 0; }
    .brand-lockup-primary { font-size: .82rem; letter-spacing: .08em; }
}
