/* ==========================================================================
   Lumen — offer page for wedding photographers.

   Deliberately not styled like the rest of this site. The audience here is a
   bride's photographer, not a developer, so: warm neutrals, an editorial
   serif, photographs doing the talking, and no dark mode. Not one successful
   photographer site in this market has a dark mode, and it doubles the design
   surface for nothing.
   ========================================================================== */

:root {
    --paper:  #faf7f2;
    --tint:   #f2ede4;
    --ink:    #2a2622;
    --muted:  #6b6259;
    --rule:   #e2dace;
    --accent: #8a5539;

    --serif: 'Fraunces', ui-serif, Georgia, 'Times New Roman', serif;
    --sans:  ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --wrap: 68rem;
    --gutter: clamp(1.25rem, 5vw, 3rem);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 2rem; -webkit-text-size-adjust: 100%; }

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.narrow { max-width: 44rem; }

.skip-link {
    position: absolute; left: 50%; top: 0;
    translate: -50% -150%;
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: var(--accent); color: #fff;
    font-size: 0.8125rem; text-decoration: none;
}

.skip-link:focus-visible { translate: -50% 0; }

/* --- Type ----------------------------------------------------------------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }

h1 {
    font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
    line-height: 1.08;
    max-width: 20ch;
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.25rem);
    line-height: 1.18;
    max-width: 24ch;
    margin-bottom: 1.5rem;
}

.narrow-h2 { max-width: 28ch; }

h3 { font-size: 1.1875rem; line-height: 1.3; }

.label {
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.875rem;
}

p { max-width: 62ch; }
p + p { margin-top: 1rem; }

.section p { color: var(--muted); }

/* --- Buttons -------------------------------------------------------------- */

.btn {
    display: inline-block;
    padding: 0.95rem 2rem;
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    border-radius: 2px;
    font: inherit;
    font-size: 0.9375rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s var(--ease);
}

.btn:hover { background: #6f432c; border-color: #6f432c; }

.btn--ghost { background: none; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

/* --- Hero ----------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(32rem, 92svh, 50rem);
    background: var(--ink);
    overflow: hidden;
}

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

/* Keeps the headline readable over the photograph without washing it out. */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 24, 20, 0.15) 0%, rgba(28, 24, 20, 0.82) 72%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-block: clamp(3rem, 8vw, 5rem);
}

.hero .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.hero__lede {
    margin-top: 1.5rem;
    max-width: 52ch;
    font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
    opacity: 0.94;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-top: 2.25rem;
}

/* --- Sections ------------------------------------------------------------- */

.section { padding-block: clamp(3.5rem, 9vw, 6rem); }
.section--tint { background: var(--tint); }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 4.5rem);
    align-items: center;
}

.split__image { width: 100%; object-fit: cover; border-radius: 2px; }

/* --- Ticks ---------------------------------------------------------------- */

.ticks { list-style: none; padding: 0; margin-top: 1.5rem; }

.ticks li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--muted);
}

.ticks li + li { margin-top: 0.6rem; }

.ticks li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.62em;
    width: 0.5rem; height: 0.28rem;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    rotate: -45deg;
}

.ticks--tight { margin-top: 1rem; font-size: 0.9375rem; }

/* --- Cards ---------------------------------------------------------------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.card {
    padding: 1.5rem 1.5rem 1.75rem;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 2px;
}

.section--tint .card { background: var(--paper); }

.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.9375rem; }

/* --- Steps ---------------------------------------------------------------- */

.steps { list-style: none; counter-reset: step; padding: 0; }

.steps li {
    counter-increment: step;
    position: relative;
    padding-left: 3.25rem;
}

.steps li + li { margin-top: 2rem; }

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: 0;
    display: grid;
    place-items: center;
    width: 2.25rem; height: 2.25rem;
    border: 1px solid var(--accent);
    border-radius: 50%;
    font-family: var(--serif);
    color: var(--accent);
}

.steps h3 { margin-bottom: 0.4rem; }
.steps p { font-size: 0.9375rem; }

/* --- Pricing -------------------------------------------------------------- */

.prices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
    align-items: start;
}

.price {
    padding: 1.75rem 1.5rem 2rem;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 2px;
}

.price--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.price__flag {
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.price h3 { font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--sans); }

.price__amount {
    font-family: var(--serif);
    font-size: 2.5rem;
    line-height: 1.1;
    margin-block: 0.5rem 0.75rem;
    color: var(--ink);
}

.price__amount span { font-family: var(--sans); font-size: 0.875rem; color: var(--muted); }

.price > p:last-child { font-size: 0.9375rem; }

.fineprint {
    margin-top: 2rem;
    max-width: 54ch;
    font-size: 0.9375rem;
    color: var(--muted);
}

/* --- FAQ ------------------------------------------------------------------ */

.faq { border-top: 1px solid var(--rule); }

.faq > div { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }

.faq dt { font-family: var(--serif); font-size: 1.125rem; margin-bottom: 0.5rem; }

.faq dd { margin: 0; color: var(--muted); max-width: 62ch; }

/* --- Enquire -------------------------------------------------------------- */

.enquire {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 4.5rem);
    align-items: start;
}

.enquire__direct { margin-top: 1.5rem; font-size: 0.9375rem; }
.enquire__direct a { color: var(--accent); }

.form { display: grid; gap: 1.125rem; }

.field { display: grid; gap: 0.4rem; }

.field label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.field label span { text-transform: none; letter-spacing: 0; opacity: 0.75; }

.field input,
.field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 2px;
    color: var(--ink);
    font: inherit;
    transition: border-color 0.2s var(--ease);
}

.section--tint .field input,
.section--tint .field textarea { background: #fff; }

.field textarea { resize: vertical; }

.field input:hover, .field textarea:hover { border-color: var(--muted); }

.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(138, 85, 57, 0.14);
}

.field input:user-invalid, .field textarea:user-invalid { border-color: var(--accent); }

.form .btn { justify-self: start; margin-top: 0.25rem; }

.hp {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* --- Terms ---------------------------------------------------------------- */

.terms { padding-block: clamp(2.5rem, 7vw, 4.5rem); }

.back-link {
    display: inline-block;
    margin-bottom: 2.5rem;
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: none;
}

.back-link:hover { color: var(--accent); }

.terms__title { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); max-width: none; }

.terms__lede { margin-top: 1rem; color: var(--muted); }

.terms__body { margin-top: 3rem; }

.terms__body h2 {
    font-size: 1.3125rem;
    max-width: none;
    margin-bottom: 0.75rem;
}

.terms__body > h2:not(:first-child) { margin-top: 2.75rem; }

.terms__body p { color: var(--muted); }

.terms__body .ticks { margin-top: 1rem; }

.terms__body a { color: var(--accent); }

/* --- Footer --------------------------------------------------------------- */

.footer {
    background: var(--ink);
    color: #d9d1c7;
    padding-block: 2.5rem;
    font-size: 0.875rem;
}

.footer__inner { display: grid; gap: 0.75rem; }
.footer p { max-width: 60ch; }
.footer a { color: #fff; text-underline-offset: 3px; }
.footer__note { color: #a49a8e; font-size: 0.8125rem; }

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 52rem) {
    .split, .enquire { grid-template-columns: 1fr; }
    .split__image { order: -1; max-height: 24rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
