:root {
    --ink: #1c1414;
    --ink-soft: #5c4f4f;
    --body: #5a4e4e;
    --paper: #f7f4ef;
    --paper-2: #efe8df;
    --line: #e2d8cc;
    --brand: #6b1319;
    --brand-2: #8c1a22;
    --brand-dark: #3d0b10;
    --accent: #c4922e;
    --accent-soft: #f4ead2;
    --card: #ffffff;
    --good: #2f6f4e;
    --serif: "Source Serif 4", "Georgia", serif;
    --sans: "Source Sans 3", "Segoe UI", sans-serif;
    --radius: 4px;
    --shadow: 0 1px 2px rgba(28, 20, 20, .06);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--body);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); line-height: 1.12; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); line-height: 1.2; }
p { margin: 0; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.kicker {
    display: inline-block;
    font-family: var(--sans);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
}
.kicker::after { content: ""; display: block; width: 28px; height: 2px; background: var(--accent); margin-top: 8px; }

header.nav {
    position: sticky; top: 0; z-index: 30;
    background: rgba(247, 244, 239, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}
.nav-inner { display: flex; align-items: center; gap: 28px; padding: 12px 24px; max-width: 1120px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo img { height: 44px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 13px; font-weight: 700; color: var(--brand); }
.logo-text span { font-size: 11px; color: var(--ink-soft); }
.logo-fallback { display: inline-flex; align-items: center; padding: 7px 10px; background: var(--brand); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .06em; }
nav.primary { margin-left: auto; }
.i365-menu, nav.primary .nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; }
.i365-menu a, nav.primary .nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 14.5px; font-weight: 600; }
.i365-menu a:hover, nav.primary .nav-links a:hover { color: var(--brand); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); width: 40px; height: 40px; padding: 0; color: var(--ink); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: var(--radius);
    font-family: var(--sans); font-size: 14.5px; font-weight: 650;
    text-decoration: none; border: 1px solid transparent;
    letter-spacing: .01em; transition: background .15s, color .15s, border-color .15s;
    cursor: pointer;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); color: #fff; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-text { background: transparent; border: 0; color: var(--brand); font-weight: 700; padding: 10px 8px; font-size: 14px; }

footer.site { background: var(--brand-dark); color: #d7c9c2; padding: 36px 0 22px; margin-top: 0; }
.foot-brand { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-brand a { color: inherit; text-decoration: none; }
.foot-brand a:hover { color: #fff; }
.foot-brand small { color: #b5a49c; font-size: 13px; }
.foot-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.foot-credit a { color: var(--accent); font-weight: 700; }
.foot-credit a:hover { color: #fff; }
.foot-heart { display: inline; }

/* Hero — photographic banner */
.hero {
    position: relative;
    overflow: hidden;
    color: #f4ece6;
    min-height: 640px;
    display: flex;
    align-items: stretch;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent);
    z-index: 3;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(40, 8, 12, .18) 0%, rgba(61, 11, 16, .42) 42%, rgba(40, 8, 12, .88) 68%, rgba(28, 6, 9, .96) 100%),
        linear-gradient(180deg, rgba(61, 11, 16, .12) 0%, rgba(28, 6, 9, .55) 100%);
}
.hero-people {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    top: 0;
    width: min(58%, 720px);
    pointer-events: none;
}
.hero-people img {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 108%;
    width: auto;
    max-width: none;
    object-fit: cover;
    object-position: center 18%;
    -webkit-mask-image: radial-gradient(ellipse 72% 92% at 38% 68%, #000 42%, transparent 78%);
    mask-image: radial-gradient(ellipse 72% 92% at 38% 68%, #000 42%, transparent 78%);
    filter: saturate(1.05) contrast(1.04);
}
.hero .wrap { position: relative; z-index: 2; max-width: 1180px; width: 100%; }
.hero-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 24px;
    align-items: center;
    min-height: 640px;
    padding: 56px 0 48px;
}
.hero-copy { display: flex; flex-direction: column; gap: 14px; max-width: 560px; justify-self: end; }
.hero-wordmark {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(3.4rem, 8.4vw, 6.4rem);
    line-height: .88;
    letter-spacing: -0.045em;
    color: #fff;
    margin: 0 0 4px;
    text-shadow: 0 10px 36px rgba(0, 0, 0, .35);
}
.hero-eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { color: #fff; font-size: clamp(1.55rem, 2.8vw, 2.15rem); line-height: 1.18; }
.hero h1 em { font-style: italic; font-weight: 500; color: #f0d48a; }
.hero-sub { font-size: 16.5px; color: rgba(244, 236, 230, .88); max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 8px; align-items: center; }
.btn-hero {
    background: var(--accent);
    color: var(--brand-dark);
    border-radius: 999px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 800;
    padding: 15px 32px;
    box-shadow: 0 12px 28px rgba(196, 146, 46, .38);
}
.btn-hero:hover { background: #d4a03b; color: var(--brand-dark); }
.hero-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.38); border-radius: 999px; }
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-meta div { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(244,236,230,.68); }
.hero-meta b { color: #fff; font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: 0; text-transform: none; }

section.block { padding: 88px 0; }
.what-intro, .how-layout, .faq-layout, .section-split {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}
.what-heading .lead, .how-title .lead {
    display: block;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 6px;
}
.what-heading .brand, .how-title .brand, .faq-heading .lead {
    display: block;
    font-family: var(--serif);
    font-weight: 600;
    color: var(--ink);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    text-transform: none;
    letter-spacing: -0.02em;
}
.what-body { font-size: 17px; max-width: 58ch; }
.what-body b { color: var(--ink); font-weight: 650; }
.what-body p + p { margin-top: 12px; }

.what-features { padding: 0 0 88px; }
.what-features-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.wf-image-inner { background: var(--card); border: 1px solid var(--line); padding: 8px; }
.wf-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; }
.wf-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.wf-ico { width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; color: var(--brand); display: grid; place-items: center; font-family: var(--serif); font-size: 15px; font-weight: 600; }
.wf-txt h4 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.wf-txt p { color: var(--body); font-size: 15px; line-height: 1.55; }

.how-wrap { padding: 72px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-card { background: var(--paper); border-top: 3px solid var(--brand); padding: 28px 22px 24px; }
.how-card .num { display: block; font-family: var(--serif); color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; margin-bottom: 10px; }
.how-card h3 { font-family: var(--sans); font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.how-card p { font-size: 14.5px; color: var(--ink-soft); }

.tips-banner { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); padding: 28px 32px; }
.tips-title { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); margin-bottom: 18px; }
.tips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tip-item { display: flex; gap: 14px; align-items: flex-start; }
.tip-item .ico { flex-shrink: 0; width: 28px; height: 28px; color: var(--brand); margin-top: 2px; }
.tip-item p { color: var(--body); font-size: 15px; }

.faq-pills { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-pills details { background: transparent; border-bottom: 1px solid var(--line); }
.faq-pills summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 16px; color: var(--ink); font-weight: 650; }
.faq-pills summary::-webkit-details-marker { display: none; }
.faq-pills summary::after { content: "+"; font-weight: 400; color: var(--brand); font-size: 20px; line-height: 1; }
.faq-pills details[open] summary::after { content: "–"; }
.faq-pills details > div { padding: 0 0 18px; color: var(--body); font-size: 15px; max-width: 62ch; }

.careers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.career-card { background: #fff; border: 1px solid var(--line); padding: 16px 18px; }
.career-card h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 700; }
.career-card small { display: block; color: var(--ink-soft); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }

.testimonial { padding: 72px 0; background: #fff; border-top: 1px solid var(--line); }
.testimonial-card { max-width: 680px; }
.testimonial-card blockquote { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: var(--ink); line-height: 1.4; }
.testimonial-card cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }

.final { padding: 80px 0; text-align: center; background: var(--brand); color: #f4ece6; }
.final h2 { color: #fff; margin: 10px 0 12px; }
.final p { color: rgba(244,236,230,.82); margin: 0 auto 24px; max-width: 46ch; }
.final .btn-primary { background: #fff; color: var(--brand); }
.final .btn-primary:hover { background: var(--accent-soft); }
.final .kicker, .final .eyebrow { color: var(--accent); justify-content: center; }

.modal-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(28, 20, 20, .62); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.open { display: flex; }
.modal { width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: hidden; background: var(--card); display: grid; grid-template-columns: 280px 1fr; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.modal-side { background: var(--brand-dark); display: flex; align-items: flex-end; padding: 28px; color: #fff; }
.modal-side .quote { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.4; }
.modal-side .quote small { display: block; font-family: var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; color: var(--accent); margin-top: 12px; }
.modal-main { padding: 32px 36px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-head h2 { font-size: 1.45rem; }
.modal-close { background: transparent; border: 0; color: var(--ink-soft); width: 32px; height: 32px; font-size: 22px; }
.modal-body { display: flex; flex-direction: column; gap: 12px; min-height: 260px; }
.step { display: none; flex-direction: column; gap: 12px; }
.step.active { display: flex; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 700; color: var(--ink-soft); letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font-family: var(--sans); font-size: 15px; width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.terms { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.form-error { color: var(--brand); font-size: 13.5px; padding: 10px 12px; background: #f8e9e9; }
.otp-lead { font-size: 15px; color: var(--ink); }
.otp { display: grid; grid-template-columns: repeat(var(--otp-digits, 4), 1fr); gap: 10px; max-width: 280px; }
.otp input { width: 100%; text-align: center; font-family: var(--serif); font-size: 26px; padding: 10px 0; border: 0; border-bottom: 2px solid var(--line); background: transparent; }
.otp input:focus { outline: none; border-bottom-color: var(--brand); }
.otp-status { font-size: 13.5px; font-weight: 650; min-height: 18px; }
.otp-status.ok { color: var(--good); }
.otp-status.err { color: var(--brand); }
.resend { font-size: 14px; }
.resend a { color: var(--brand); font-weight: 650; }
.modal-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); }
.step-count { font-family: var(--serif); font-size: 18px; color: var(--ink-soft); }
.step-count b { color: var(--ink); }
.required-note { font-size: 12.5px; color: var(--ink-soft); }

.vt-flow { min-height: 60vh; }
.page-default { background: var(--paper); }

@media (max-width: 900px) {
    .hero-grid, .section-split, .what-features-grid, .how-layout, .faq-layout, .what-intro { grid-template-columns: 1fr; gap: 28px; }
    .how-cards, .careers-grid, .tips-grid { grid-template-columns: 1fr; }
    nav.primary { display: none; }
    nav.primary.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 24px 18px; }
    nav.primary.is-open .nav-links, nav.primary.is-open .i365-menu { flex-direction: column; align-items: flex-start; gap: 12px; }
    .nav-toggle { display: grid; place-items: center; }
    .nav-inner { position: relative; }
    .hero { min-height: 0; }
    .hero-grid { grid-template-columns: 1fr; min-height: 0; padding: 48px 0 40px; }
    .hero-spacer { display: none; }
    .hero-copy { justify-self: stretch; max-width: 36rem; }
    .hero-people { width: 100%; opacity: .42; }
    .hero-people img { left: -8%; height: 100%; }
    .hero-wordmark { font-size: clamp(2.8rem, 14vw, 4.4rem); }
    .hero-meta { grid-template-columns: repeat(2, 1fr); }
    .modal { grid-template-columns: 1fr; }
    .modal-side { display: none; }
    .modal-main { padding: 24px; }
    section.block, .what-features, .how-wrap, .testimonial, .final { padding: 56px 0; }
}
@media (max-width: 560px) {
    .field-row { grid-template-columns: 1fr; }
    .logo-text { display: none; }
}
