/* Sea Food Restaurant — core theme
   Dark editorial palette, warm accent, unhurried motion. */

:root {
    --bg: #0f0f0f;
    --bg-2: #151412;
    --bg-3: #1d1b18;
    --panel: #191715;
    --text: #f5f3ef;
    --text-2: #c9c4bc;
    --muted: #a79f93;
    --accent: #b9a07e;
    --accent-2: #d9c3a3;
    --border: rgba(185, 160, 126, 0.25);
    --border-2: rgba(245, 243, 239, 0.08);
    --shadow: 0 40px 80px -60px rgba(185, 160, 126, 0.45);
    --radius: 14px;
    --radius-lg: 18px;
    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --max-width: 1180px;
    --nav-height: 84px;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: radial-gradient(circle at top, rgba(185, 160, 126, 0.08), transparent 55%), var(--bg);
    color: var(--text);
    line-height: 1.8;
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 220ms var(--ease);
}

a:hover {
    color: var(--accent-2);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

p {
    margin: 0 0 1.2rem;
    color: var(--text-2);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--text);
}

h1 { font-size: clamp(3rem, 8vw, 6.4rem); line-height: 0.98; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; }
h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h4 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

/* ---------- Layout helpers ---------- */

.container {
    width: min(var(--max-width), calc(100% - 2.4rem));
    margin: 0 auto;
}

.main {
    padding-top: var(--nav-height);
}

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

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

.section-header {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: clamp(2rem, 6vw, 4rem);
}

.section-header--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.6rem;
    flex-wrap: wrap;
}

.kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-size: 0.78rem;
    color: var(--accent);
}

.eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0 0 0.4rem;
}

.lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-2);
    max-width: 720px;
}

.divider {
    width: 100%;
    height: 1px;
    margin: 1.4rem 0;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border-radius: 999px;
    padding: 0.9rem 2.2rem;
    border: 1px solid transparent;
    background: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    cursor: pointer;
    transition: transform 220ms var(--ease), background 220ms var(--ease),
        border-color 220ms var(--ease), color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #151210;
    box-shadow: var(--shadow);
}

.btn--primary:hover {
    filter: brightness(1.05);
    color: #151210;
}

.btn--ghost {
    border-color: var(--border);
    color: var(--text);
}

.btn--ghost:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(185, 160, 126, 0.35);
}

.btn--glass {
    border-color: rgba(245, 243, 239, 0.28);
    background: rgba(245, 243, 239, 0.06);
    backdrop-filter: blur(12px);
}

.btn--glass:hover {
    border-color: var(--accent);
    color: var(--accent-2);
}

.btn--link {
    padding: 0;
    border-radius: 0;
    color: var(--accent);
    letter-spacing: 0.28em;
}

.btn--link:hover {
    transform: none;
    color: var(--accent-2);
}

/* ---------- Header & navigation ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.98), rgba(15, 15, 15, 0.78));
    border-bottom: 1px solid var(--border-2);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    padding: 0.8rem 2rem;
    position: relative;
    flex-wrap: nowrap;
}

.nav__logo {
    font-family: var(--font-display);
    /* Sized so "SEA FOOD RESTAURANT SURKHET" sits on one line beside the six
       nav links inside the 1180px container. */
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav__links {
    display: flex;
    align-items: center;
    /* Capped at 2rem: the longer brand name needs the reclaimed width to stay
       on a single row at desktop sizes. */
    gap: clamp(1rem, 4vw, 2rem);
}

.nav__link {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.78rem;
    color: var(--text-2);
    position: relative;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.6rem;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms var(--ease);
}

.nav__link:hover::after,
.nav__link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav__icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(245, 243, 239, 0.4);
    background: transparent;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 200ms ease;
}

.nav__icon-btn:hover {
    border-color: var(--accent);
}

.nav__icon {
    width: 20px;
    height: 20px;
}

.nav__icon-slash {
    display: none;
}

.nav__icon-btn.is-muted .nav__icon-waves {
    display: none;
}

.nav__icon-btn.is-muted .nav__icon-slash {
    display: block;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
}

.nav__toggle-bar {
    width: 24px;
    height: 1px;
    background: var(--text);
}

.nav__drawer {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    transform: translateY(-100%);
    transition: transform 320ms var(--ease);
}

.nav__drawer.is-open {
    transform: translateY(0);
}

.nav__drawer-link {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 3.6rem);
}

.nav__drawer .btn {
    margin-top: 1rem;
}

/* ---------- Hero (cinematic) ---------- */

.hero {
    position: relative;
    min-height: calc(100svh - var(--nav-height));
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero--cinematic {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    transition: opacity 900ms ease;
}

.hero__video.is-inactive {
    opacity: 0;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(185, 160, 126, 0.12), transparent 55%);
    filter: contrast(1.02);
    z-index: 0;
}

.hero__grad,
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(15, 15, 15, 0.55), rgba(15, 15, 15, 0.86) 65%, var(--bg)),
        radial-gradient(circle at 20% 10%, transparent, rgba(15, 15, 15, 0.9));
}

.hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.6rem;
}

.hero__content--cinematic {
    align-items: center;
}

.hero__text {
    grid-column: 1 / span 8;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.hero__text--wide {
    grid-column: 1 / span 9;
    max-width: 900px;
}

.hero__title {
    max-width: 100%;
    text-wrap: balance;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.hero__title-shimmer {
    display: inline-block;
    max-width: 100%;
    color: var(--text);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero__title-shimmer {
        background-image: linear-gradient(
            105deg,
            #f5f3ef 0%,
            #d9c3a3 18%,
            #b9a07e 34%,
            #e8f2ef 50%,
            #f5f3ef 58%,
            #d9c3a3 76%,
            #b9a07e 92%,
            #f5f3ef 100%
        );
        background-size: 200% auto;
        background-position: 0% 50%;
        background-repeat: no-repeat;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        animation: heroShimmer 12s ease-in-out 1.2s infinite alternate;
    }
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.4rem;
}

.stat-pill {
    display: inline-flex;
}

.stat-pill .tag {
    background: rgba(245, 243, 239, 0.05);
    backdrop-filter: blur(8px);
}

/* ---------- Grids, cards ---------- */

.grid {
    display: grid;
    gap: clamp(1.6rem, 4vw, 2.6rem);
}

.grid--two {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.grid--cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(185, 160, 126, 0.08), transparent);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 400ms var(--ease), border-color 400ms var(--ease), box-shadow 400ms var(--ease);
}

.card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--ease);
}

.card:hover .card__media img {
    transform: scale(1.04);
}

.card__body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: clamp(1.6rem, 4vw, 2.2rem);
}

.card__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.card__price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    white-space: nowrap;
}

.card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-2);
    white-space: nowrap;
}

/* ---------- Feature sections ---------- */

.featured {
    position: relative;
}

.featured::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(185, 160, 126, 0.1), transparent 60%);
    pointer-events: none;
}

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

.split-grid__text {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.split-grid__media img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-2);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ---------- Carousel (chef's recommendations) ---------- */

.carousel {
    display: flex;
    gap: clamp(1.2rem, 3vw, 2rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.6rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel__item {
    flex: 0 0 auto;
    width: min(320px, 78vw);
    scroll-snap-align: start;
}

/* ---------- Mosaic (atmosphere) ---------- */

.mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(0.8rem, 2vw, 1.2rem);
}

.mosaic__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 16 / 10;
    margin: 0;
}

.mosaic__item--wide { grid-column: span 6; aspect-ratio: 16 / 9; }
.mosaic__item--narrow { grid-column: span 3; aspect-ratio: 3 / 4; }
.mosaic__item--tall { aspect-ratio: 3 / 4; }

.mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--ease);
}

.mosaic__item:hover img {
    transform: scale(1.05);
}

/* ---------- CTA ---------- */

.cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}

.cta .hero__actions {
    justify-content: center;
}

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

.site-footer {
    margin-top: clamp(3rem, 8vw, 6rem);
    border-top: 1px solid var(--border-2);
    background: linear-gradient(180deg, transparent, rgba(185, 160, 126, 0.08));
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(2rem, 6vw, 4rem);
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 1.2rem;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    color: var(--text-2);
}

.footer__list li a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    color: var(--text-2);
}

.footer__list li a:hover {
    color: var(--accent-2);
}

.footer__list strong {
    color: var(--text);
    font-weight: 600;
}

.footer__bottom {
    border-top: 1px solid var(--border-2);
    padding: 1.2rem 0;
    text-align: center;
    color: var(--muted);
}

.footer__credit {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
}

.footer__credit a {
    color: var(--accent-2);
    text-decoration: none;
    transition: color 220ms var(--ease);
}

.footer__credit a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* ---------- Page hero ---------- */

.page-hero {
    position: relative;
    padding: clamp(5rem, 12vw, 9rem) 0 clamp(2.5rem, 7vw, 4rem);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(185, 160, 126, 0.12), transparent 70%);
    pointer-events: none;
}

.page-hero__content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ---------- Menu (base) ---------- */

.menu-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: clamp(2rem, 6vw, 4rem);
}

.filter-btn {
    border-radius: 999px;
    border: 1px solid var(--border);
    background: none;
    color: var(--text-2);
    padding: 0.7rem 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 220ms var(--ease);
}

.filter-btn:hover {
    color: var(--text);
    border-color: var(--accent);
}

.filter-btn.is-active {
    border-color: var(--accent);
    background: rgba(185, 160, 126, 0.12);
    color: var(--text);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.6rem, 4vw, 2.4rem);
}

.menu-item {
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    padding: 1.2rem;
}

/* ---------- Forms ---------- */

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

.form__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form__label {
    text-transform: uppercase;
    letter-spacing: 0.26em;
    font-size: 0.78rem;
    color: var(--muted);
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    background: rgba(245, 243, 239, 0.03);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    color-scheme: dark;
    transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(245, 243, 239, 0.05);
    box-shadow: 0 0 0 3px rgba(185, 160, 126, 0.18);
}

.form__textarea {
    min-height: 150px;
    resize: vertical;
}

/* ---------- Alerts ---------- */

.alert {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1rem 1.4rem;
    margin-bottom: 1.4rem;
    color: var(--text-2);
}

.alert--success {
    border-color: rgba(140, 200, 150, 0.4);
    color: #d7f5e0;
}

.alert--error {
    border-color: rgba(220, 140, 140, 0.4);
    color: #f5d7d7;
}

/* ---------- Gallery ---------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.gallery-grid__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    margin: 0;
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--ease);
}

.gallery-grid__item:hover img {
    transform: scale(1.06);
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.gallery-preview__item {
    grid-column: span 6;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 16 / 9;
    margin: 0;
}

.gallery-preview__item--tall {
    grid-column: span 6;
    aspect-ratio: 4 / 5;
}

.gallery-preview__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(10, 10, 10, 0.96);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.is-open {
    display: flex;
}

.lightbox__image {
    max-height: 90vh;
    max-width: 90vw;
    border-radius: var(--radius);
}

.lightbox__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
}

/* ---------- Modal (dish details) ---------- */

.modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(6px);
}

.modal.is-open {
    display: flex;
}

.modal__close {
    position: absolute;
    top: 1.6rem;
    right: 1.8rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
}

.modal__card {
    position: relative;
    width: min(920px, 100%);
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-2);
    background: radial-gradient(circle at top, rgba(185, 160, 126, 0.16), transparent 60%), #161616;
    box-shadow: 0 100px 200px -100px rgba(185, 160, 126, 0.5);
}

.modal__media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(185, 160, 126, 0.12), transparent 70%);
    min-height: 280px;
}

.modal__img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    padding: 2.4rem;
}

.modal__body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: clamp(2rem, 6vw, 3rem);
}

.modal__desc {
    color: var(--text-2);
}

/* ---------- Motion ---------- */

@keyframes heroTextIn {
    from { opacity: 0; transform: translate3d(0, 24px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes heroShimmer {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero__text--wide > * {
    animation: heroTextIn 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__text--wide > .kicker { animation-delay: 80ms; }
.hero__text--wide > .hero__title { animation-delay: 200ms; }
.hero__text--wide > .hero__subtitle { animation-delay: 340ms; }
.hero__text--wide > .hero__actions { animation-delay: 480ms; }
.hero__text--wide > .stats-bar { animation-delay: 620ms; }

@media (prefers-reduced-motion: reduce) {
    .hero__text--wide > * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .hero__title-shimmer {
        animation: none !important;
        background-position: 50% 50%;
    }
}

@media (forced-colors: active) {
    .hero__title-shimmer {
        background: none;
        color: CanvasText;
        -webkit-text-fill-color: currentColor;
        animation: none;
    }
}

.main {
    animation: fadeIn 500ms ease-out both;
}

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

@media (max-width: 1080px) {
    .nav__links {
        display: none;
    }
    .nav__toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none !important;
    }
    .nav__toggle {
        display: flex !important;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }
    .nav {
        padding: 0.6rem 1rem;
    }
    .nav__logo span {
        font-size: 1rem;
    }
    .nav__logo img {
        width: 38px;
        height: 38px;
    }
    .hero__text,
    .hero__text--wide {
        grid-column: 1 / span 12;
    }
    .split-grid {
        grid-template-columns: 1fr;
    }
    .gallery-preview__item,
    .gallery-preview__item--tall {
        grid-column: span 12;
    }
    .mosaic__item--wide,
    .mosaic__item--narrow {
        grid-column: span 6;
    }
}

@media (max-width: 680px) {
    html, body {
        overflow-x: hidden;
    }
    .site-header {
        padding: 10px 0;
    }
    .nav {
        gap: 0.6rem;
    }
    .nav__logo {
        font-size: 1.2rem;
        letter-spacing: 0.06em;
    }
    .nav__icon-btn {
        width: 38px;
        height: 38px;
    }
    .nav__icon {
        width: 18px;
        height: 18px;
    }
    .container {
        width: min(var(--max-width), calc(100% - 1.6rem));
    }
    h1 {
        font-size: clamp(2.6rem, 12vw, 4.2rem);
    }
    h2 {
        font-size: clamp(2rem, 9vw, 3rem);
    }
    .section-header--split {
        flex-direction: column;
        align-items: flex-start;
    }
    .mosaic__item--wide,
    .mosaic__item--narrow {
        grid-column: span 12;
    }
    .cta .hero__actions,
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .modal__img {
        padding: 1.2rem;
    }
}

@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;
    }
}
