/* ============================================================================
   Graceful Lense — design system
   ----------------------------------------------------------------------------
   Light, warm and quiet on purpose. A photography site is a frame, and a frame
   that competes with what is inside it has failed. Every colour here is a warm
   neutral within a few steps of paper; the one accent is a bronze that borrows
   from print, not from software.

   Committed to a single light theme rather than following the viewer's system
   setting. A dark surround genuinely changes how a photograph reads -- the same
   image looks warmer and lower-contrast against black -- and the photographer
   graded these on a white background. Serving half the audience a different
   rendering than she approved is not a feature.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300&family=Inter:wght@300;400;500;600&display=swap');

:root {
    color-scheme: light;

    --ink: #1c1815;
    --ink-soft: #5c544b;
    --ink-faint: #8d857a;

    --paper: #fbf9f6;
    --paper-warm: #f4efe8;
    --paper-deep: #ebe4da;

    --line: #e3dbd0;
    --line-strong: #cfc4b5;

    --accent: #8a6b47;
    --accent-deep: #6d5336;
    --accent-wash: #f3ece2;

    --danger: #9b3d2e;
    --ok: #4f6b48;

    --display: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --measure: 62ch;
    --page: 1240px;
    --gut: clamp(1.25rem, 4vw, 3rem);

    --r-sm: 2px;
    --r-md: 4px;

    --shadow-lift: 0 1px 2px rgba(28, 24, 21, 0.04), 0 8px 28px rgba(28, 24, 21, 0.07);
    --shadow-deep: 0 2px 8px rgba(28, 24, 21, 0.08), 0 24px 60px rgba(28, 24, 21, 0.14);

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Reset ───────────────────────────────────────────────────────────────── */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
picture,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

/* ── Type ────────────────────────────────────────────────────────────────── */

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
}

h1 {
    font-size: clamp(2.75rem, 7vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h3 {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

p {
    margin: 0 0 1.25em;
    max-width: var(--measure);
}

a {
    color: var(--accent-deep);
    text-decoration-color: var(--line-strong);
    text-underline-offset: 0.25em;
    transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

a:hover {
    color: var(--ink);
    text-decoration-color: currentColor;
}

/* The small caps label that runs above most sections. */
.eyebrow {
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0 0 1.25rem;
}

.lede {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--ink-soft);
    font-weight: 300;
}

.script {
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
}

/* ── Layout ──────────────────────────────────────────────────────────────── */

.wrap {
    width: min(100% - var(--gut) * 2, var(--page));
    margin-inline: auto;
}

.wrap-narrow {
    width: min(100% - var(--gut) * 2, 780px);
    margin-inline: auto;
}

.section {
    padding-block: clamp(4rem, 10vw, 8rem);
}

.section-tight {
    padding-block: clamp(3rem, 6vw, 5rem);
}

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

.rule {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0;
}

.stack > * + * {
    margin-top: 1.25rem;
}

.center {
    text-align: center;
}

.center p {
    margin-inline: auto;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
    --btn-bg: var(--ink);
    --btn-fg: var(--paper);
    --btn-line: var(--ink);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border: 1px solid var(--btn-line);
    border-radius: var(--r-sm);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease),
        border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
    --btn-bg: var(--accent-deep);
    --btn-line: var(--accent-deep);
    color: var(--paper);
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.btn-ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    --btn-line: var(--line-strong);
}

.btn-ghost:hover {
    --btn-bg: var(--ink);
    --btn-line: var(--ink);
}

.btn-small {
    padding: 0.55rem 1.1rem;
    font-size: 0.68rem;
}

/* A text link that behaves like a call to action without the weight of one. */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 0.35rem;
}

.link-arrow svg {
    transition: transform 0.25s var(--ease);
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

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

/* ── Header ──────────────────────────────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--ink);
}

.brand-mark {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1;
}

.brand-sub {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2.25rem);
}

.nav a {
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-soft);
}

.nav a:hover,
.nav a[aria-current='page'] {
    color: var(--ink);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--ink);
}

@media (max-width: 860px) {
    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        inset: 78px 0 auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1rem var(--gut) 2rem;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        transition: transform 0.35s var(--ease);
        box-shadow: var(--shadow-lift);
    }

    .nav[data-open='true'] {
        transform: translateY(0);
    }

    .nav a {
        width: 100%;
        padding: 0.9rem 0;
        border-bottom: 1px solid var(--line);
        font-size: 0.85rem;
    }

    .nav .btn {
        margin-top: 1.25rem;
        width: 100%;
    }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: min(88vh, 820px);
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--paper-deep);
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img,
.hero-media svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Keeps the headline legible over whatever image is eventually dropped in
   behind it, without dimming the whole frame. */
.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(28, 24, 21, 0.62) 0%,
        rgba(28, 24, 21, 0.28) 35%,
        rgba(28, 24, 21, 0.05) 65%,
        transparent 100%
    );
}

.hero-body {
    position: relative;
    padding-block: clamp(3rem, 8vw, 6rem);
    color: #fff;
}

.hero-body h1 {
    color: #fff;
    max-width: 16ch;
    margin-bottom: 0.35em;
}

.hero-body .lede {
    color: rgba(255, 255, 255, 0.86);
    max-width: 46ch;
}

.hero-body .eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.hero-body .btn-ghost {
    --btn-fg: #fff;
    --btn-line: rgba(255, 255, 255, 0.5);
}

.hero-body .btn-ghost:hover {
    --btn-bg: #fff;
    --btn-fg: var(--ink);
    --btn-line: #fff;
}

/* ── Image grids ─────────────────────────────────────────────────────────── */

.grid {
    display: grid;
    gap: clamp(0.5rem, 1.4vw, 1.25rem);
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}

.frame {
    position: relative;
    overflow: hidden;
    background: var(--paper-deep);
    aspect-ratio: 4 / 5;
}

.frame img,
.frame svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.frame-wide {
    aspect-ratio: 3 / 2;
}

.frame-tall {
    aspect-ratio: 2 / 3;
}

a.frame:hover img,
a.frame:hover svg {
    transform: scale(1.035);
}

.frame-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 2.5rem 1.25rem 1.1rem;
    background: linear-gradient(to top, rgba(28, 24, 21, 0.72), transparent);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* ── Cards ───────────────────────────────────────────────────────────────── */

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.card h3 {
    margin-bottom: 0.4em;
}

.card p:last-child {
    margin-bottom: 0;
}

.price {
    font-family: var(--display);
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--ink);
    line-height: 1;
    margin: 0.25em 0 0.75em;
}

.price small {
    display: block;
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-top: 0.6rem;
}

.ticks {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.ticks li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.94rem;
    color: var(--ink-soft);
}

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

/* ── Quote ───────────────────────────────────────────────────────────────── */

.quote {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3.4vw, 2.5rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.35;
    color: var(--ink);
    max-width: 24ch;
    margin: 0 auto 1.5rem;
    text-wrap: balance;
}

.quote-by {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

/* ── Forms ───────────────────────────────────────────────────────────────── */

.field {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1.15rem;
}

.field label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    background: var(--paper);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    font-size: 0.98rem;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-wash);
}

.field textarea {
    min-height: 9rem;
    resize: vertical;
}

.field-row {
    display: grid;
    gap: 0 1.15rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

/* Honeypot. Off-screen rather than display:none, because some bots skip
   hidden fields but happily fill in ones that are merely out of view. */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-note {
    font-size: 0.85rem;
    color: var(--ink-faint);
}

.notice {
    padding: 0.85rem 1.1rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--line-strong);
    background: var(--paper-warm);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

.notice-bad {
    border-color: color-mix(in srgb, var(--danger) 40%, var(--line));
    background: color-mix(in srgb, var(--danger) 7%, var(--paper));
    color: var(--danger);
}

.notice-good {
    border-color: color-mix(in srgb, var(--ok) 40%, var(--line));
    background: color-mix(in srgb, var(--ok) 8%, var(--paper));
    color: var(--ok);
}

[hidden] {
    display: none !important;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
    background: var(--ink);
    color: rgba(251, 249, 246, 0.72);
    padding-block: clamp(3rem, 6vw, 4.5rem);
    font-size: 0.9rem;
}

.site-footer a {
    color: rgba(251, 249, 246, 0.86);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    margin-bottom: 3rem;
}

.footer-grid h4 {
    font-family: var(--body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(251, 249, 246, 0.5);
    margin-bottom: 1rem;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.site-footer .brand,
.site-footer .brand-mark {
    color: var(--paper);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(251, 249, 246, 0.14);
    font-size: 0.8rem;
    color: rgba(251, 249, 246, 0.5);
}

/* ── Placeholder marker ──────────────────────────────────────────────────── */
/* Every stand-in on the site carries this so nothing fake ships by accident.
   Delete the rule and the class together once real assets are in. */

.placeholder {
    position: relative;
}

.placeholder::before {
    content: 'placeholder';
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 2;
    padding: 0.2rem 0.5rem;
    background: rgba(28, 24, 21, 0.62);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: var(--r-sm);
    pointer-events: none;
}

/* ── Reveal on scroll ────────────────────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
