/* ==========================================================================
   MAHALOI PHOTOGRAPHY STUDIO
   Plain CSS, no build step. Colours, fonts and spacing live under "Tokens".
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --ink: #16121A;
    --ink-2: #221A27;
    --plum: #2E2238;
    --ivory: #FBF7F0;
    --paper: #F4EEE4;
    --white: #FFFFFF;
    --champagne: #C9A46A;
    --champagne-soft: #E8D6B4;
    --champagne-ink: #87652B;     /* champagne dark enough for text on light backgrounds */
    --rose: #A8566B;
    --rose-soft: #F3E3E6;
    --text: #3D3540;
    --muted: #6B6170;
    --line: #E6DDD0;
    --line-dark: rgba(255, 255, 255, .12);

    --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 16px 40px -18px rgba(22, 18, 26, .28);
    --shadow-lg: 0 30px 70px -24px rgba(22, 18, 26, .45);

    --header-h: 78px;
    --gutter: 24px;
    --section-y: clamp(76px, 10vw, 128px);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 8px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.08;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
}
h1 { font-size: clamp(3rem, 7.4vw, 5.9rem); font-weight: 500; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 500; }
h3 { font-size: 1.7rem; }
h1 em, h2 em { font-style: italic; color: var(--champagne-ink); }

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: middle; }

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

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 300;
    padding: 10px 16px; font-weight: 600;
    color: var(--ink); background: var(--champagne); border-radius: var(--radius-sm);
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, .72); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark h2 em { color: var(--champagne); }

/* ---------- Type helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    margin: 0 0 20px;
    font-size: .76rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
    color: var(--champagne-ink);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-dark .eyebrow, .hero .eyebrow { color: var(--champagne); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--muted); line-height: 1.75; }

.section-head { max-width: 700px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--ink); --fg: var(--white); --bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 12px 26px;
    font: 600 .95rem/1.2 var(--sans); letter-spacing: .02em;
    color: var(--fg); background: var(--bg);
    border: 1px solid var(--bd); border-radius: 999px;
    cursor: pointer;
    transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon-move { transform: translateX(3px); }
.btn-gold { --bg: var(--champagne); --fg: var(--ink); box-shadow: 0 12px 26px -12px rgba(201, 164, 106, .8); }
.btn-gold:hover { --bg: #D6B57E; }
.btn-ghost { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, .3); }
.btn-ghost:hover { --bd: var(--champagne); --fg: var(--champagne); }
.btn-dark:hover { --bg: var(--plum); box-shadow: var(--shadow); }
.btn-outline { --bg: transparent; --fg: var(--ink); --bd: #CFC4B4; }
.btn-outline:hover { --bd: var(--ink); }
.btn-wa { --bg: #1F8F4E; --fg: #fff; }
.btn-wa:hover { --bg: #187A41; box-shadow: 0 12px 26px -12px rgba(31, 143, 78, .7); }
.btn-sm { min-height: 44px; padding: 9px 20px; font-size: .88rem; }

.link-line {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: .92rem; color: var(--ink);
    padding-bottom: 3px; border-bottom: 1px solid var(--champagne);
    background: none; border-top: 0; border-left: 0; border-right: 0;
    cursor: pointer; font-family: inherit;
}
.link-line .icon { transition: transform .25s var(--ease); }
.link-line:hover .icon { transform: translateX(4px); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: grid; line-height: 1; }
.brand-text b { font: 600 1.45rem/1 var(--serif); letter-spacing: .02em; }
.brand-text small { margin-top: 5px; font-size: .62rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--champagne); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled, .site-header.is-open {
    background: rgba(22, 18, 26, .9);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    backdrop-filter: saturate(150%) blur(14px);
    border-bottom-color: var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.nav-list { display: flex; gap: 4px; }
.nav-list a {
    position: relative; display: inline-flex; padding: 10px 14px;
    font-size: .92rem; font-weight: 500; color: rgba(255, 255, 255, .76);
    transition: color .2s var(--ease);
}
.nav-list a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
    background: var(--champagne); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-list a:hover, .nav-list a.is-active { color: var(--white); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
    display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
    color: var(--white); background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.site-header.is-open .icon-open { display: none; }
.site-header.is-open .icon-close { display: inline-block; }

/* ---------- Hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: min(100svh, 940px);
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 48px) 0 88px;
    color: rgba(255, 255, 255, .74);
    background:
        radial-gradient(700px 520px at 78% 30%, rgba(168, 86, 107, .28), transparent 65%),
        radial-gradient(600px 420px at 10% 90%, rgba(201, 164, 106, .14), transparent 60%),
        linear-gradient(170deg, #120E16, var(--ink) 50%, var(--plum));
}
.hero::after {                      /* subtle film grain */
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 26px; }
.hero h1 em { color: var(--champagne); }
.hero .lead { color: rgba(255, 255, 255, .7); max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.collage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.02; margin-inline: auto; }
.print {
    position: absolute; margin: 0;
    padding: 10px 10px 34px;
    background: #FBF7F0;
    box-shadow: var(--shadow-lg);
    transition: transform .6s var(--ease);
}
.print img { width: 100%; height: 100%; object-fit: cover; }
.print figcaption {
    position: absolute; left: 12px; right: 12px; bottom: 9px;
    font: italic 500 .95rem/1 var(--serif); color: #6B6170;
}
.print-a { width: 52%; height: 72%; left: 24%; top: 2%; transform: rotate(-2deg); z-index: 2; }
.print-b { width: 40%; height: 46%; left: 0; bottom: 2%; transform: rotate(-7deg); z-index: 3; }
.print-c { width: 46%; height: 40%; right: 0; bottom: 8%; transform: rotate(6deg); z-index: 1; }
.collage:hover .print-a { transform: rotate(0) translateY(-6px); }
.collage:hover .print-b { transform: rotate(-4deg) translateX(-6px); }
.collage:hover .print-c { transform: rotate(3deg) translateX(6px); }
.collage-badge {
    position: absolute; right: 4%; top: 6%; z-index: 4;
    width: 96px; height: 96px; display: grid; place-items: center;
    color: var(--ink); background: var(--champagne); border-radius: 50%;
    box-shadow: var(--shadow);
}
.collage-badge .icon { width: 34px; height: 34px; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee band ---------- */
.band { overflow: hidden; background: var(--ink); border-top: 1px solid var(--line-dark); padding: 22px 0; }
.band-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.band ul { display: flex; flex: none; }
.band li {
    display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
    font: italic 500 clamp(1.3rem, 2.4vw, 1.8rem)/1 var(--serif); color: rgba(255, 255, 255, .82); white-space: nowrap;
}
.band li::after { content: "✦"; font-style: normal; font-size: .8rem; color: var(--champagne); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.intro-grid .lead { margin-bottom: 0; }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value {
    padding: 26px 24px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value .v-icon {
    width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px;
    color: var(--rose); background: var(--rose-soft); border-radius: 50%;
}
.value .v-icon .icon { width: 22px; height: 22px; }
.value h3 { font-size: 1.4rem; margin-bottom: 6px; }
.value p { margin: 0; font-size: .93rem; color: var(--muted); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service {
    display: flex; flex-direction: column;
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.service:hover, .service:focus-within { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--ink); }
.service-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service:hover .service-media img { transform: scale(1.06); }
.service-num {
    position: absolute; left: 16px; top: 16px;
    min-width: 46px; padding: 8px 12px 9px; text-align: center;
    font: italic 500 1.3rem/1 var(--serif); color: var(--champagne-soft);
    background: rgba(22, 18, 26, .72);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border-radius: 999px;
}
.service-body { flex: 1; display: flex; flex-direction: column; padding: 26px 26px 28px; }
.service-body h3 { margin-bottom: 10px; }
.service-body p { color: var(--muted); font-size: .96rem; }
.service-body .link-line { margin-top: auto; align-self: flex-start; }

/* ---------- Edit & print ---------- */
.craft-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.compare {
    --pos: 50%;
    position: relative; aspect-ratio: 8 / 5; overflow: hidden;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    border: 8px solid #FBF7F0;
    user-select: none;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .before { filter: grayscale(.75) contrast(.78) brightness(.92); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line {
    position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
    background: #FBF7F0; pointer-events: none;
}
.compare-handle {
    position: absolute; top: 50%; left: var(--pos);
    width: 46px; height: 46px; margin: -23px 0 0 -23px;
    display: grid; place-items: center;
    color: var(--ink); background: #FBF7F0; border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35); pointer-events: none;
}
.compare-label {
    position: absolute; top: 14px; padding: 5px 12px;
    font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: #fff; background: rgba(22, 18, 26, .6); border-radius: 999px; pointer-events: none;
}
.compare-label.l { left: 14px; }
.compare-label.r { right: 14px; }
.compare input[type="range"] {
    position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
    opacity: 0; cursor: ew-resize;
}
.compare:has(input:focus-visible) { outline: 3px solid var(--champagne); outline-offset: 4px; }
.compare-hint { margin: 14px 0 0; font-size: .82rem; color: rgba(255, 255, 255, .5); text-align: center; }

.craft-list { display: grid; gap: 18px; margin-top: 30px; }
.craft-item {
    display: flex; gap: 18px; padding: 22px;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); border-radius: var(--radius);
}
.craft-item .c-icon {
    width: 48px; height: 48px; flex: none; display: grid; place-items: center;
    color: var(--champagne); background: rgba(201, 164, 106, .12); border-radius: 50%;
}
.craft-item h3 { font-size: 1.45rem; margin-bottom: 4px; }
.craft-item p { margin: 0; font-size: .94rem; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before {
    content: ""; position: absolute; left: 4%; right: 4%; top: 34px; height: 1px;
    background: repeating-linear-gradient(90deg, #CDBFA9 0 6px, transparent 6px 12px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
    position: relative; width: 68px; height: 68px; margin: 0 auto 22px;
    display: grid; place-items: center;
    font: italic 500 1.8rem/1 var(--serif); color: var(--champagne-ink);
    background: var(--ivory); border: 1px solid var(--champagne-soft); border-radius: 50%;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}
.step:hover .step-num { background: var(--ink); color: var(--champagne); }
.step h3 { font-size: 1.45rem; margin-bottom: 8px; }
.step p { margin: 0; font-size: .94rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-card {
    position: relative; overflow: hidden;
    padding: clamp(28px, 4vw, 44px);
    color: rgba(255, 255, 255, .72);
    background:
        radial-gradient(420px 260px at 100% 0%, rgba(168, 86, 107, .3), transparent 70%),
        linear-gradient(160deg, var(--ink), var(--plum));
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.contact-card h3 { color: var(--white); font-size: 2rem; }
.contact-lines { display: grid; gap: 14px; margin: 26px 0 30px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .c-icon {
    width: 42px; height: 42px; flex: none; display: grid; place-items: center;
    color: var(--champagne); background: rgba(201, 164, 106, .12); border-radius: 50%;
}
.contact-line strong { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); font-weight: 600; }
.contact-line a, .contact-line address { display: block; color: var(--white); overflow-wrap: anywhere; }
.contact-line a:hover { color: var(--champagne); }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-actions .btn { width: 100%; }

.form-card {
    padding: clamp(28px, 4vw, 44px);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.form-card h3 { font-size: 2rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.req { color: #B42318; margin-left: 2px; }
.opt { font-weight: 400; color: var(--muted); font-size: .8rem; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 15px;
    font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--ivory); border: 1px solid #DDD3C5; border-radius: 10px;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field select {
    appearance: none; -webkit-appearance: none; padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6170' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #A39AA6; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; background-color: var(--white); border-color: var(--rose); box-shadow: 0 0 0 4px rgba(168, 86, 107, .14);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #D92D20; background-color: #FFFBFA; }
.field-error { display: none; align-items: center; gap: 6px; margin: 0; font-size: .84rem; color: #B42318; }
.field.has-error .field-error { display: flex; }
.field-error .icon { width: 15px; height: 15px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form-hint { margin: 16px 0 0; font-size: .84rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .6); padding-top: clamp(64px, 8vw, 96px); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr 1.3fr; gap: 40px; padding-bottom: 52px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 340px; }
.site-footer h2 {
    margin-bottom: 18px; font: 600 .76rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--white);
}
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-links span { display: inline-flex; align-items: flex-start; gap: 8px; color: rgba(255, 255, 255, .7); overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--champagne); }
.footer-links .icon { width: 14px; height: 14px; margin-top: 5px; color: var(--champagne); }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    padding-block: 24px; font-size: .84rem; border-top: 1px solid var(--line-dark);
}
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--champagne); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 90;
    width: 56px; height: 56px; display: grid; place-items: center;
    color: #fff; background: #1F8F4E; border-radius: 50%;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
    transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 28px; height: 28px; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* [hidden] must win over display rules above */
[hidden] { display: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
    .hero { min-height: 0; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero .lead { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero .eyebrow { justify-content: center; }
    .collage { max-width: 500px; }
    .intro-grid, .craft-grid, .contact-grid { grid-template-columns: 1fr; }
    .services { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
    .steps::before { display: none; }
}

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0;
        max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
        flex-direction: column; align-items: stretch; gap: 16px;
        padding: 12px var(--gutter) 28px;
        background: var(--ink); border-bottom: 1px solid var(--line-dark);
        box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
    }
    .site-header.is-open { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .site-header.is-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s; }
    .nav-list { flex-direction: column; }
    .nav-list a { padding: 16px 4px; font-size: 1.08rem; border-bottom: 1px solid var(--line-dark); }
    .nav-list a::after { display: none; }
    .nav-list a.is-active { color: var(--champagne); }
    .site-nav .btn { width: 100%; }

    html:not(.js) .site-nav { position: static; opacity: 1; visibility: visible; transform: none; }
    html:not(.js) .site-header { position: relative; height: auto; background: var(--ink); }
    html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 12px; }
    html:not(.js) .nav-toggle { display: none; }
}

@media (max-width: 767px) {
    :root { --gutter: 18px; --header-h: 70px; }
    .brand-mark { width: 38px; height: 38px; }
    .brand-text b { font-size: 1.3rem; }
    .brand-text small { font-size: .56rem; letter-spacing: .24em; }
    .hero { padding-bottom: 64px; }
    .hero-actions .btn { width: 100%; }
    .collage { aspect-ratio: 1 / 1.1; }
    .print { padding: 7px 7px 26px; }
    .print figcaption { font-size: .8rem; bottom: 7px; left: 9px; }
    .collage-badge { width: 70px; height: 70px; }
    .collage-badge .icon { width: 26px; height: 26px; }
    .values, .services { grid-template-columns: 1fr; }
    .service-media { aspect-ratio: 4 / 3; }
    .steps { grid-template-columns: 1fr; row-gap: 36px; }
    .compare { border-width: 5px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-actions .btn { width: 100%; }
    .contact-actions { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { flex-direction: column; padding-bottom: 92px; }
    .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .band-track { animation: none; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Form status (appended) ---------- */
.form-status {
    display: flex; gap: 12px; align-items: flex-start;
    margin-top: 18px; padding: 16px 18px;
    color: #05603A; background: #ECFDF3; border: 1px solid #ABEFC6; border-radius: var(--radius);
    animation: rise .4s var(--ease);
}
.form-status .icon { width: 22px; height: 22px; margin-top: 1px; }
.form-status p { margin: 0; font-size: .93rem; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
