/* Petal & Pearl Decor
   "The set table": a quiet editorial system built around real installations.
   Tokens first, then layout, then components. */

:root {
    --ink: #342925;
    --cocoa: #6B4940;
    --cocoa-deep: #5C4038;
    --blush: #E8D2C7;
    --sand: #F6F1EC;
    --line: #E8E0DC;
    --slate: #46586A;
    --white: #FFFFFF;

    --font-display: 'Bodoni Moda', 'Times New Roman', Times, serif;
    --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --step--1: 0.8125rem;
    --step-0: 1.0625rem;
    --step-1: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem);
    --step-2: clamp(1.5rem, 1.25rem + 1vw, 2rem);
    --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
    --step-4: clamp(2.35rem, 1.7rem + 3.2vw, 4.15rem);

    --header-h: 64px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --container: 1160px;
    --gutter: clamp(20px, 4vw, 40px);
    --radius: 2px;
}

@media (min-width: 1051px) {
    :root { --header-h: 76px; }
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding-top: calc(var(--header-h) + var(--safe-top));
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.lightbox-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4 {
    margin: 0 0 0.6em;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    color: var(--cocoa-deep);
}

p { margin: 0 0 1em; }

a {
    color: var(--slate);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover { color: var(--cocoa-deep); }

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

/* Dark surfaces need a light focus ring; slate is nearly invisible there. */
.contact :focus-visible,
.site-footer :focus-visible {
    outline-color: var(--blush);
}

.hero :focus-visible {
    outline-color: var(--white);
}

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

.section { padding: clamp(56px, 8vw, 104px) 0; }

.section-head {
    max-width: 640px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head h2 { font-size: var(--step-3); margin-bottom: 0.35em; }

.section-sub {
    max-width: 60ch;
    color: var(--cocoa);
    font-size: 1.06rem;
}

/* Scroll offset accounts for the fixed header and any notch inset. */
[id] { scroll-margin-top: calc(var(--header-h) + var(--safe-top) + 14px); }

/* ---------- Buttons and links ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.85em 1.6em;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: var(--cocoa);
    color: var(--white);
    border-color: var(--cocoa);
}

.btn-primary:hover {
    background: var(--cocoa-deep);
    border-color: var(--cocoa-deep);
    color: var(--white);
}

.btn-light {
    background: var(--blush);
    color: var(--cocoa-deep);
    border-color: var(--blush);
}

.btn-light:hover {
    background: var(--white);
    color: var(--cocoa-deep);
    border-color: var(--white);
}

.btn:active { opacity: 0.9; }

.btn-primary:active {
    background: var(--cocoa-deep);
    border-color: var(--cocoa-deep);
}

.btn-light:active,
.contact .submit-button:active {
    background: var(--white);
    border-color: var(--white);
    color: var(--cocoa-deep);
}

.link-quiet {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 2px;
    font-weight: 600;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.link-quiet:active { opacity: 0.75; }

/* ---------- Skip link ---------- */

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 300;
    padding: 10px 16px;
    font-weight: 600;
    color: var(--cocoa-deep);
    background: var(--white);
    border: 1px solid var(--cocoa);
    border-radius: var(--radius);
    text-decoration: none;
    transform: translateY(-200%);
}

.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: calc(var(--header-h) + var(--safe-top));
    padding-top: var(--safe-top);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    z-index: 100;
}

.site-header .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
}

.logo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 2px 0;
    text-decoration: none;
}

.logo img { height: 52px; width: auto; }

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    touch-action: manipulation;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:active { color: var(--cocoa-deep); }

.nav-cta { display: none; }

.nav-links a:hover {
    color: var(--cocoa-deep);
    border-bottom-color: var(--cocoa);
}

.nav-links a[aria-current="page"] {
    color: var(--cocoa-deep);
    border-bottom-color: var(--cocoa);
}

.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--cocoa-deep);
    cursor: pointer;
}

.hamburger svg { width: 26px; height: 26px; }
.hamburger .icon-close { display: none; }
.hamburger[aria-expanded="true"] .icon-open { display: none; }
.hamburger[aria-expanded="true"] .icon-close { display: block; }

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

.hero {
    display: flex;
    align-items: flex-end;
    min-height: min(86vh, 760px);
    min-height: min(86svh, 760px);
    padding: clamp(48px, 9vw, 96px) 0;
    color: var(--white);
    background-color: var(--cocoa-deep);
    background-image:
        linear-gradient(180deg, rgba(52, 41, 37, 0.28) 0%, rgba(52, 41, 37, 0.74) 80%),
        url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?w=1600&q=80&auto=format');
    background-size: cover;
    background-position: center;
}

.hero-inner { max-width: 660px; }

.hero h1 {
    color: var(--white);
    font-size: var(--step-4);
    margin-bottom: 0.35em;
}

.hero-lead {
    max-width: 52ch;
    font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
    color: rgba(255, 255, 255, 0.94);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 1.5em;
}

.hero .link-quiet { color: var(--white); }

/* ---------- Process showcase ---------- */

.process-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: end;
    margin-bottom: clamp(28px, 4vw, 44px);
    padding-bottom: clamp(20px, 3vw, 32px);
    border-bottom: 1px solid var(--line);
}

.process-head h2 {
    margin: 0;
    font-size: var(--step-3);
}

.process-head p {
    margin: 0;
    max-width: 48ch;
    color: var(--cocoa);
}

.stage-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: clamp(24px, 3vw, 36px);
    border-bottom: 1px solid var(--line);
}

.stage-tab {
    flex: 1 1 0;
    min-width: 150px;
    min-height: 44px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 16px 8px;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--cocoa);
    text-align: left;
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.stage-tab:hover {
    color: var(--cocoa-deep);
}

.stage-tab[aria-selected="true"] {
    color: var(--cocoa-deep);
    border-bottom-color: var(--cocoa-deep);
}

.stage-tab .num {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--cocoa);
}

.stage-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}

.stage-panel[hidden] {
    display: none;
}

.stage-panel:not([hidden]) {
    animation: stage-in 0.35s ease both;
}

@keyframes stage-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

.stage-media {
    margin: 0;
}

.stage-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

.stage-media figcaption {
    margin-top: 0.7em;
    font-size: var(--step--1);
    letter-spacing: 0.02em;
    color: var(--cocoa);
}

.stage-copy h3 {
    font-size: var(--step-2);
    margin-bottom: 0.4em;
}

.stage-copy > p {
    max-width: 52ch;
    color: var(--cocoa);
}

.stage-list {
    margin: 1.4em 0 1.8em;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.stage-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.stage-next {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cocoa-deep);
    text-decoration: none;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--cocoa);
    cursor: pointer;
}

.stage-next:hover {
    color: var(--cocoa-deep);
    border-bottom-color: var(--cocoa-deep);
}

/* ---------- Full-width band ---------- */

.band {
    background: var(--sand);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(36px, 5vw, 56px) 0;
}

.band h2 { font-size: var(--step-2); margin-bottom: 0.25em; }
.band p { max-width: 56ch; margin: 0; color: var(--cocoa); }

/* ---------- About ---------- */

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.about-grid h2 { font-size: var(--step-3); }
.about-grid p { max-width: 62ch; color: var(--cocoa); }

/* ---------- Contact ---------- */

.contact {
    background: var(--cocoa-deep);
    color: var(--white);
}

.contact h2 { color: var(--white); }
.contact .section-sub { color: var(--blush); }

.contact .section-head {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}

.contact-form {
    max-width: 760px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field--full { grid-column: 1 / -1; }

.field label {
    font-size: 0.9rem;
    color: var(--blush);
}

.field .optional {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 0;
    padding: 0.85em 0.1em;
    touch-action: manipulation;
}

.field textarea {
    min-height: 140px;
    padding: 0.7em;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius);
    resize: vertical;
}

.field input[type="date"],
.field input[type="number"] { color-scheme: dark; }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blush);
}

.field select option {
    color: var(--ink);
    background: var(--white);
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.65); }

.field-error {
    min-height: 1em;
    font-size: 0.85rem;
    color: var(--blush);
}

.consent {
    display: flex;
    grid-column: 1 / -1;
    align-items: flex-start;
    gap: 12px;
}

.consent input {
    width: 20px;
    height: 20px;
    margin-top: 0.15em;
    accent-color: var(--blush);
}

.consent span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
}

.form-actions { grid-column: 1 / -1; margin-top: 0.4em; }

.contact .submit-button {
    width: auto;
    background: var(--blush);
    color: var(--cocoa-deep);
    border-color: var(--blush);
}

.contact .submit-button:hover {
    background: var(--white);
    color: var(--cocoa-deep);
    border-color: var(--white);
}

.form-feedback {
    display: none;
    max-width: 760px;
    margin: 0 auto 24px;
    padding: 14px 18px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
}

.form-feedback[data-fs-active] { display: block; }
.form-feedback[data-fs-error] { border-color: var(--blush); }

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    max-width: 760px;
    margin: 2.5em auto 0;
    padding-top: 1.5em;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.faq-toggle-all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 1.1em 1.4em;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--cocoa-deep);
    text-align: left;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
}

.faq-toggle-all:hover { border-color: var(--cocoa); }
.faq-toggle-all:active { background: var(--sand); }

.faq-toggle-all svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.faq-toggle-all[aria-expanded="true"] svg { transform: rotate(45deg); }

.faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.faq-panel[data-open="true"] { grid-template-rows: 1fr; }

.faq-panel-inner {
    overflow: hidden;
    visibility: hidden;
    transition: visibility 0s 0.35s;
}

.faq-panel[data-open="true"] .faq-panel-inner {
    visibility: visible;
    transition-delay: 0s;
}

.faq-list {
    margin-top: 22px;
    border-top: 1px solid var(--line);
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 1.15em 0.2em;
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ink);
    text-align: left;
    background: none;
    border: 0;
    cursor: pointer;
}

.faq-question:hover { color: var(--cocoa-deep); }
.faq-question:active { background: var(--sand); }

.faq-question svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] svg { transform: rotate(45deg); }

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-answer[data-open="true"] { grid-template-rows: 1fr; }

.faq-answer-inner {
    overflow: hidden;
    visibility: hidden;
    transition: visibility 0s 0.3s;
}

.faq-answer[data-open="true"] .faq-answer-inner {
    visibility: visible;
    transition-delay: 0s;
}

.faq-answer p {
    max-width: 68ch;
    margin: 0;
    padding: 0 0.2em 1.2em;
    color: var(--cocoa);
}

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

.site-footer {
    padding: clamp(40px, 6vw, 64px) 0;
    padding-bottom: calc(clamp(40px, 6vw, 64px) + var(--safe-bottom));
    color: rgba(255, 255, 255, 0.85);
    background: var(--cocoa-deep);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-social span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--blush);
}

.footer-social svg { width: 18px; height: 18px; }

.footer-copy {
    margin-top: 24px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Inner page header ---------- */

.page-header { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 3vw, 40px); }

.page-header h1 {
    max-width: 22ch;
    font-size: var(--step-3);
}

.page-header p {
    max-width: 58ch;
    font-size: 1.08rem;
    color: var(--cocoa);
}

/* ---------- Portfolio categories ---------- */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.4vw, 26px);
}

.category-card {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: var(--radius);
}

.category-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

.category-card:hover img { opacity: 0.94; }

.category-card:focus-visible {
    outline: 2px solid var(--cocoa);
    outline-offset: 4px;
}

.category-card-body { padding-top: 0.9em; }

.category-card h2 {
    margin-bottom: 0.2em;
    font-size: var(--step-1);
}

.category-card p {
    margin: 0;
    color: var(--cocoa);
}

.portfolio-category { margin-top: clamp(24px, 4vw, 48px); }

.portfolio-category > p {
    max-width: 62ch;
    color: var(--cocoa);
}

.back-link {
    display: inline-block;
    margin-bottom: 0.9em;
    color: var(--cocoa);
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover { text-decoration: underline; }

.masonry {
    display: block;
    columns: 3;
    column-gap: clamp(16px, 2.4vw, 26px);
}

.masonry .gallery-item {
    break-inside: avoid;
    margin: 0 0 clamp(16px, 2.4vw, 26px);
}

.masonry.is-single {
    columns: 1;
    max-width: 520px;
    margin-inline: auto;
}

.masonry.is-duo,
.masonry.is-trio {
    columns: 2;
    max-width: 820px;
    margin-inline: auto;
}

.masonry.is-trio .gallery-item.is-portrait .gallery-tile img {
    /* Matches the two stacked landscape tiles in the current three-photo set. */
    height: 520px;
    object-fit: cover;
}

.gallery-tile {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: none;
    border: 0;
    border-radius: var(--radius);
    cursor: zoom-in;
    touch-action: manipulation;
}

.gallery-tile:active img { opacity: 0.92; }

.gallery-tile img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
}

.portfolio-empty {
    max-width: 62ch;
    color: var(--cocoa);
}

/* ---------- Lightbox ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 48px);
    background: rgba(52, 41, 37, 0.94);
}

.lightbox[hidden] { display: none; }

.lightbox img {
    width: auto;
    max-width: min(1100px, 100%);
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: clamp(12px, 3vw, 24px);
    right: clamp(12px, 3vw, 24px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    touch-action: manipulation;
}

.lightbox-close svg { width: 22px; height: 22px; }

.lightbox-close:hover {
    color: var(--cocoa-deep);
    background: var(--white);
}

/* ---------- Services ---------- */

.services-list {
    margin-top: 2em;
    border-top: 1px solid var(--line);
}

.service {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 2fr;
    gap: clamp(16px, 4vw, 56px);
    padding: clamp(28px, 4vw, 44px) 0;
    border-bottom: 1px solid var(--line);
}

.service h2 { margin: 0; font-size: var(--step-1); }

.service p { max-width: 62ch; color: var(--cocoa); }

.service ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 1em 0 0;
    padding: 0;
    list-style: none;
}

.service li {
    position: relative;
    padding-left: 1em;
    font-size: 0.95rem;
    color: var(--cocoa);
}

.service li::before {
    content: "";
    position: absolute;
    top: 0.62em;
    left: 0;
    width: 5px;
    height: 5px;
    background: var(--blush);
    border-radius: 50%;
}

.corporate {
    padding: clamp(36px, 5vw, 56px) 0;
    background: var(--sand);
}

.corporate h2 { font-size: var(--step-2); }
.corporate p { max-width: 62ch; color: var(--cocoa); }

/* ---------- Packages ---------- */

.packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px);
    margin-top: 2.4em;
    align-items: start;
}

.package {
    display: flex;
    flex-direction: column;
    padding-top: 1.6em;
    border-top: 2px solid var(--cocoa);
}

.package h2 { margin-bottom: 0.2em; font-size: var(--step-1); }

.package .price {
    font-family: var(--font-display);
    font-size: var(--step-2);
    color: var(--cocoa-deep);
}

.package .price-note {
    margin: 0.2em 0 1.2em;
    font-size: 0.92rem;
    color: var(--cocoa);
}

.package ul { margin: 0 0 1.6em; padding: 0; list-style: none; }

.package li {
    padding: 0.55em 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--line);
}

.package .btn { align-self: flex-start; margin-top: auto; }

.closing-cta {
    margin-top: clamp(36px, 5vw, 56px);
    margin-bottom: clamp(56px, 8vw, 104px);
    text-align: center;
}
.closing-cta p { margin-bottom: 1em; color: var(--cocoa); }

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

@media (max-width: 1050px) {
    .hamburger { display: inline-flex; }
    .header-cta { display: none; }

    .nav-links {
        position: fixed;
        top: calc(var(--header-h) + var(--safe-top));
        right: 0;
        left: 0;
        height: calc(100vh - var(--header-h) - var(--safe-top));
        height: calc(100svh - var(--header-h) - var(--safe-top));
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px var(--gutter) calc(32px + var(--safe-bottom));
        background: var(--white);
        transform: translateX(100%);
        visibility: hidden;
        overscroll-behavior: contain;
        transition: transform 0.3s ease, visibility 0s linear 0.3s;
        overflow-y: auto;
        z-index: 90;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.3s ease, visibility 0s linear 0s;
    }

    .nav-links li { border-bottom: 1px solid var(--line); }

    .nav-links a {
        display: block;
        padding: 1.05em 0;
        font-size: 1.15rem;
    }

    .nav-cta {
        display: list-item;
        position: sticky;
        bottom: 0;
        margin-top: auto;
        padding-top: 16px;
        background: var(--white);
        border-bottom: none;
    }

    .nav-links .nav-cta .btn,
    .nav-links .nav-cta .btn:hover,
    .nav-links .nav-cta .btn:active {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 0.9em 1.2em;
        color: var(--white);
        border-bottom: 0;
    }

    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .process-head,
    .stage-panel {
        grid-template-columns: 1fr;
    }

    .category-grid { grid-template-columns: 1fr; }
    .masonry { columns: 2; }
    .masonry.is-single,
    .masonry.is-duo,
    .masonry.is-trio { columns: 1; max-width: 520px; margin-inline: auto; }
    .masonry.is-trio .gallery-item.is-portrait .gallery-tile img {
        height: auto;
    }
    .packages { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .service { grid-template-columns: 1fr; gap: 0.6em; }
}

@media (max-width: 620px) {
    .form-grid { grid-template-columns: 1fr; }
    .stage-tab {
        flex: 1 1 30%;
        min-width: 0;
        padding: 12px 4px;
        font-size: 0.9rem;
    }
    .stage-tab .num { font-size: 1rem; }
    .logo img { height: 44px; }

    .hero-actions .btn,
    .band .btn,
    .closing-cta .btn { width: 100%; }
}

@media (max-width: 380px) {
    .masonry { columns: 1; }
    .stage-tab { flex: 1 1 45%; }
}

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

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