/* ---------------------------------------------------------
   1. Reset
   --------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, video {
    max-width: 100%;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
ul, ol {
    list-style: none;
}
button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}
input, textarea {
    font: inherit;
    color: inherit;
}

/* ---------------------------------------------------------
   2. Brand tokens
   --------------------------------------------------------- */
:root {
    --wondiro-black: #090908;
    --wondiro-dark:  #11110f;
    --wondiro-cream: #f3efe7;
    --wondiro-muted: #aaa49a;
    --wondiro-gold:  #b39a69;
    --wondiro-gold-soft: rgba(179, 154, 105, 0.35);
    --wondiro-error: #b3654b;
    --wondiro-line: rgba(243, 239, 231, 0.14);

    --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2.5rem;
    --space-6: 4rem;
    --space-7: 6rem;
    --space-8: 9rem;

    --nav-height: 84px;
    --ease-cinematic: cubic-bezier(0.16, 0.84, 0.44, 1);
    --dur-slow: 1100ms;
    --dur-med: 600ms;
    --dur-fast: 280ms;
}

/* ---------------------------------------------------------
   3. Base typography
   --------------------------------------------------------- */
body {
    font-family: var(--font-sans);
    background-color: var(--wondiro-black);
    color: var(--wondiro-cream);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
    color: var(--wondiro-cream);
}
p {
    margin-bottom: var(--space-3);
    max-width: 62ch;
}
em {
    font-style: italic;
    color: var(--wondiro-gold);
}
::selection {
    background: var(--wondiro-gold);
    color: var(--wondiro-black);
}

/* Visible focus state, everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 1px solid var(--wondiro-gold);
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--wondiro-cream);
    color: var(--wondiro-black);
    padding: var(--space-2) var(--space-3);
    z-index: 999;
}
.skip-link:focus {
    left: var(--space-3);
    top: var(--space-3);
}

/* ---------------------------------------------------------
   4. Layout helpers
   --------------------------------------------------------- */
.container-max {
    width: 100%;
    max-width: 1360px;
    margin-inline: auto;
    padding-inline: var(--space-4);
}
section {
    position: relative;
}

/* Eyebrow label — used sparingly, only where it names a category
   (not decorative). Sentence case by design; avoids the tracked
   all-caps eyebrow look. */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
    color: var(--wondiro-muted);
    margin-bottom: var(--space-3);
}
.eyebrow__rule {
    width: 28px;
    height: 1px;
    background: var(--wondiro-gold);
    display: inline-block;
}

/* ---------------------------------------------------------
   5. Buttons
   --------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0.9rem 1.75rem;
    border: 1px solid transparent;
    transition: color var(--dur-fast) var(--ease-cinematic),
                border-color var(--dur-fast) var(--ease-cinematic),
                background-color var(--dur-fast) var(--ease-cinematic),
                transform var(--dur-fast) var(--ease-cinematic);
}
.btn--ghost {
    border-color: var(--wondiro-line);
    color: var(--wondiro-cream);
}
.btn--ghost:hover {
    border-color: var(--wondiro-gold);
    color: var(--wondiro-gold);
    transform: translateY(-2px);
}
.btn--line {
    border-bottom: 1px solid var(--wondiro-gold-soft);
    padding: 0.25rem 0;
    color: var(--wondiro-cream);
}
.btn--line:hover {
    border-color: var(--wondiro-gold);
    color: var(--wondiro-gold);
}
.btn--solid {
    background: var(--wondiro-cream);
    color: var(--wondiro-black);
    border-color: var(--wondiro-cream);
}
.btn--solid:hover {
    background: var(--wondiro-gold);
    border-color: var(--wondiro-gold);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   6. Image placeholder architecture
   --------------------------------------------------------- */
.wondiro-image {
    position: relative;
    background:
        linear-gradient(155deg, rgba(179,154,105,0.16), rgba(9,9,8,0) 55%),
        linear-gradient(var(--wondiro-dark), var(--wondiro-dark));
    border: 1px solid var(--wondiro-line);
    overflow: hidden;
}
.wondiro-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(243,239,231,0.035) 0px,
        rgba(243,239,231,0.035) 1px,
        transparent 1px,
        transparent 14px
    );
}

/* ---------------------------------------------------------
   7. Header / navigation
   --------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color var(--dur-med) var(--ease-cinematic),
                border-color var(--dur-med) var(--ease-cinematic);
}
.site-header.is-scrolled {
    background: rgba(9, 9, 8, 0.92);
    border-bottom-color: var(--wondiro-line);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand-mark {
    display: flex;
    align-items: center;
}
.brand-mark__logo {
    height: 64px;
    width: auto;
    max-width: 100%;
    display: block;
    transition: opacity var(--dur-fast) var(--ease-cinematic);
}
.brand-mark:hover .brand-mark__logo {
    opacity: 0.85;
}

.primary-nav__list {
    display: flex;
    gap: var(--space-6);
}
.primary-nav__list a {
    font-size: 0.9375rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}
.primary-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--wondiro-gold);
    transition: right var(--dur-fast) var(--ease-cinematic);
}
.primary-nav__list a:hover::after,
.primary-nav__list a:focus-visible::after {
    right: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
}
.nav-toggle__bar {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--wondiro-cream);
    transition: transform var(--dur-fast) var(--ease-cinematic),
                opacity var(--dur-fast) var(--ease-cinematic);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---------------------------------------------------------
   8. Mobile navigation overlay
   --------------------------------------------------------- */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--wondiro-black);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-med) var(--ease-cinematic),
                visibility var(--dur-med) var(--ease-cinematic);
}
.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
}
.mobile-nav__list {
    text-align: center;
}
.mobile-nav__list li {
    overflow: hidden;
}
.mobile-nav__list a {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 8vw, 3rem);
    padding: 0.5rem 0;
    color: var(--wondiro-cream);
    transform: translateY(110%);
    opacity: 0;
    transition: transform var(--dur-med) var(--ease-cinematic),
                opacity var(--dur-med) var(--ease-cinematic);
    transition-delay: calc(var(--i, 0) * 60ms);
}
.mobile-nav.is-open .mobile-nav__list a {
    transform: translateY(0);
    opacity: 1;
}
.mobile-nav__list a:hover {
    color: var(--wondiro-gold);
}

/* ---------------------------------------------------------
   9. Hero
   --------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hero__image {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center center;
    animation: heroZoom 24s var(--ease-cinematic) infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(9,9,8,0.95) 0%, rgba(9,9,8,0.35) 55%, rgba(9,9,8,0.55) 100%);
}
.hero__content {
    position: relative;
    z-index: 2;
    padding-bottom: var(--space-8);
    padding-top: calc(var(--nav-height) + var(--space-6));
}
.hero__logo {
    height: clamp(64px, 9vw, 108px);
    width: auto;
    max-width: 100%;
    margin-bottom: var(--space-5);
}
.hero__headline {
    font-size: clamp(2.75rem, 4vw + 1.75rem, 6rem);
    max-width: 15ch;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-4);
}
.hero__statement {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    color: var(--wondiro-muted);
    max-width: 46ch;
    margin-bottom: var(--space-5);
}
.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: var(--space-4);
    transform: translateX(-50%);
    z-index: 2;
    width: 1px;
    height: 56px;
}
.hero__scroll-line {
    display: block;
    width: 1px;
    height: 100%;
    background: linear-gradient(var(--wondiro-gold), transparent);
    animation: scrollLine 2.4s var(--ease-cinematic) infinite;
    transform-origin: top;
}
@keyframes scrollLine {
    0%   { transform: scaleY(0); opacity: 0; }
    40%  { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

/* ---------------------------------------------------------
   10. About — asymmetric editorial composition
   --------------------------------------------------------- */
.about {
    padding: var(--space-7) 0 var(--space-6);
    background: var(--wondiro-black);
}
.about__inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    grid-template-areas:
        "intro story"
        "visual visual";
    gap: var(--space-7);
    align-items: start;
    margin-bottom: var(--space-6);
}
.about__intro {
    grid-area: intro;
}
.about__story {
    grid-area: story;
}
.about__heading {
    font-size: clamp(2.25rem, 3vw + 1rem, 3.5rem);
}
.about__story p {
    font-size: 1.0625rem;
    color: var(--wondiro-cream);
}
.about__story p:last-of-type {
    color: var(--wondiro-muted);
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1.25rem;
}
/* The signature and the photo deliberately share the same grid area
   ("visual") so they overlap — the photo fills it, and the signature,
   sized to its own content instead of stretched full-width, centers
   on top of it like a stamp/seal. z-index controls which one paints
   on top, independent of their order in the markup. */
.about__signature {
    grid-area: visual;
    z-index: 2;
    justify-self: center;
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
    width: auto;
    margin-top: 0;
    opacity: 0.9;
}
.about__signature img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.about__visual {
    grid-area: visual;
    z-index: 1;
    padding-inline: var(--space-4);
}
.about-image {
    position: relative;
    height: clamp(320px, 42vw, 560px);
    max-width: 1360px;
    margin-inline: auto;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border: 1px solid var(--wondiro-gold-soft);
    overflow: hidden;
}
/* Darkens the photo — most where the signature stamp sits, easing
   off toward the edges — so the logo reads clearly against busy
   photo detail instead of blending into it. Sits below the signature
   (which stays at z-index: 2) since it's just part of the photo's
   own layer, not a separate stacked element. */
.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(9, 9, 8, 0.6) 0%, rgba(9, 9, 8, 0.18) 55%, rgba(9, 9, 8, 0) 75%);
    pointer-events: none;
}

/* ---------------------------------------------------------
   11. Launch / countdown
   --------------------------------------------------------- */
.launch {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: var(--space-6) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: #0b0b0b;
}

.launch::before {
    content: "";
    position: absolute;
    inset: -25px;
    background: url("../images/launch-bg.png") center / cover no-repeat;
    transform: scale(1.05);
    z-index: -2;
}

.launch::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.68);
    z-index: -1;
}
.launch__pre {
    text-align: center;
}
.launch__heading {
    font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem);
    max-width: 24ch;
    margin-inline: auto;
    margin-bottom: var(--space-5);
}
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    flex-wrap: wrap;
}
.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 84px;
}
.countdown__number {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5.5vw, 5rem);
    line-height: 1;
    color: var(--wondiro-cream);
    font-variant-numeric: tabular-nums;
}
.countdown__label {
    margin-top: var(--space-3);
    font-size: 0.8125rem;
    color: var(--wondiro-muted);
    letter-spacing: 0.03em;
}
.countdown__divider {
    width: 1px;
    height: 52px;
    background: var(--wondiro-gold-soft);
}

.countdown__number {
    color: #f1eee8;
}

.countdown__label {
    color: rgba(241, 238, 232, 0.68);
}

.countdown__item + .countdown__item {
    border-left-color: rgba(241, 238, 232, 0.18);
}

.launch__banner {
    margin-top: var(--space-7);
    border: 1px solid var(--wondiro-line);
}
.launch__banner[hidden] {
    display: none;
}
.launch__banner img {
    width: 100%;
    height: auto;
    display: block;
}

.launch__live {
    text-align: center;
}
.launch__live-statement {
    font-size: 1.0625rem;
    color: var(--wondiro-muted);
    max-width: 46ch;
    margin: 0 auto var(--space-7);
}
.launch__subhead {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--wondiro-muted);
    margin: 0;
}
.launch__empty {
    color: var(--wondiro-muted);
    text-align: left;
    font-size: 0.9375rem;
}

/* Sits above each carousel: the subhead on the left, prev/next
   controls on the right — replaces the subhead's own margin (it's
   always wrapped in this now, whether or not the controls render). */
.carousel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
    text-align: left;
    margin: var(--space-7) 0 var(--space-5);
}
.carousel-head:first-of-type {
    margin-top: var(--space-6);
}
.carousel__controls {
    display: flex;
    gap: var(--space-2);
    flex-shrink: 0;
}
.carousel__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--wondiro-gold-soft);
    background: transparent;
    color: var(--wondiro-cream);
    transition: border-color var(--dur-fast) var(--ease-cinematic),
                color var(--dur-fast) var(--ease-cinematic);
}
.carousel__nav:hover:not(:disabled) {
    border-color: var(--wondiro-gold);
    color: var(--wondiro-gold);
}
.carousel__nav:disabled {
    opacity: 0.35;
    cursor: default;
}
.carousel__nav svg {
    width: 16px;
    height: 16px;
    display: block;
}

.launch__youtube-grid {
    display: flex;
    gap: var(--space-6);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    text-align: left;
    padding-bottom: 2px;
}
.launch__youtube-grid::-webkit-scrollbar {
    display: none;
}
.launch__youtube-grid:focus-visible {
    outline: 1px solid var(--wondiro-gold);
    outline-offset: 4px;
}
.launch__youtube-grid > .feature {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 2 * var(--space-6)) / 3);
    min-width: 240px;
}

.feature {
    display: flex;
    flex-direction: column;
}
.feature__thumb {
    position: relative;
    height: 380px;
    margin-bottom: var(--space-4);
    overflow: hidden;
}
.feature__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--dur-slow) var(--ease-cinematic);
}
.feature:hover .feature__thumb img {
    transform: scale(1.04);
}
.feature__play {
    position: absolute;
    left: var(--space-4);
    bottom: var(--space-4);
    width: 46px;
    height: 46px;
    border: 1px solid var(--wondiro-gold);
    border-radius: 50%;
    background: rgba(9, 9, 8, 0.55);
    transition: background-color var(--dur-fast) var(--ease-cinematic),
                border-color var(--dur-fast) var(--ease-cinematic);
}
.feature:hover .feature__play {
    background: var(--wondiro-gold);
}
.feature__play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent var(--wondiro-gold);
    transition: border-color var(--dur-fast) var(--ease-cinematic);
}
.feature:hover .feature__play::after {
    border-color: transparent transparent transparent var(--wondiro-black);
}
.feature__title {
    font-size: 1.75rem;
    margin-bottom: var(--space-3);
}
.feature__desc {
    color: var(--wondiro-muted);
    font-size: 0.9375rem;
    margin-bottom: var(--space-3);
}

.launch__instagram-grid {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}
.launch__instagram-grid::-webkit-scrollbar {
    display: none;
}
.launch__instagram-grid:focus-visible {
    outline: 1px solid var(--wondiro-gold);
    outline-offset: 4px;
}
.launch__instagram-grid > .instagram-tile {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 3 * var(--space-4)) / 4);
    min-width: 140px;
}
.instagram-tile {
    display: block;
    transition: transform var(--dur-fast) var(--ease-cinematic);
}
.instagram-tile:hover {
    transform: translateY(-3px);
}
.instagram-tile__image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--wondiro-line);
}
.instagram-tile__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity var(--dur-fast) var(--ease-cinematic);
}
.instagram-tile:hover .instagram-tile__image img {
    opacity: 0.82;
}
.instagram-tile__caption {
    display: block;
    margin-top: var(--space-2);
    font-size: 0.875rem;
    color: var(--wondiro-muted);
}
.instagram-tile:hover .instagram-tile__caption {
    color: var(--wondiro-gold);
}

/* ---------------------------------------------------------
   12. Contact & Feedback — shared side-by-side layout
   --------------------------------------------------------- */
.contact-feedback {
    padding: 0;
    background: var(--wondiro-black);
    border-top: 1px solid var(--wondiro-line);
}

.contact-feedback__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.contact,
.feedback {
    padding: var(--space-7) clamp(var(--space-4), 5vw, var(--space-7));
}

.contact {
    background: var(--wondiro-black);
}

.feedback {
    background: var(--wondiro-dark);
    border-left: 1px solid var(--wondiro-line);
}

.contact__inner,
.feedback__inner {
    max-width: 680px;
    margin-inline: auto;
}

.contact__intro,
.feedback__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: var(--space-5);
}

.contact__heading,
.feedback__heading {
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
    margin-bottom: var(--space-3);
}

.contact__sub,
.feedback__intro > p {
    color: var(--wondiro-muted);
    max-width: 46ch;
}

.w-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5) var(--space-4);
    text-align: left;
    margin-top: var(--space-2);
}

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

.w-field {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
}

.w-field input,
.w-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--wondiro-line);
    padding: 0.75rem 0.125rem;
    color: var(--wondiro-cream);
    resize: vertical;
    transition: border-color var(--dur-fast) var(--ease-cinematic);
}

.w-field input:focus,
.w-field textarea:focus {
    border-color: var(--wondiro-gold);
    outline: none;
}

.w-field label {
    font-size: 0.9375rem;
    color: var(--wondiro-muted);
    margin-bottom: var(--space-1);
}

.w-field__optional {
    color: var(--wondiro-muted);
    font-size: 0.8125rem;
}

.req-mark {
    color: var(--wondiro-gold);
    margin-left: 2px;
}

.w-form .btn {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: var(--space-2);
    padding: 1rem 2.25rem;
    letter-spacing: 0.02em;
}

.w-form .btn[disabled] {
    opacity: 0.6;
    cursor: default;
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Form feedback messages */
.form-message {
    margin-bottom: var(--space-5);
    padding: var(--space-3) var(--space-4);
    border-left: 2px solid var(--wondiro-gold);
    font-size: 0.9375rem;
    text-align: left;
}

.form-message--success {
    color: var(--wondiro-cream);
}

.form-message--error {
    border-left-color: var(--wondiro-error);
}

.form-message__title {
    font-weight: 500;
    color: var(--wondiro-cream);
    margin-bottom: var(--space-2);
}

.form-message--error ul {
    list-style: disc;
    padding-left: 1.2rem;
}

.form-message--error li {
    color: var(--wondiro-muted);
    margin-bottom: var(--space-1);
}

/* Rating selector */
.rating {
    grid-column: 1 / -1;
    border: none;
}

.rating legend {
    font-size: 0.9375rem;
    color: var(--wondiro-muted);
    margin-bottom: var(--space-3);
}

.rating__scale {
    display: flex;
    gap: var(--space-3);
}

.rating__scale input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.rating__scale label {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wondiro-line);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--wondiro-muted);
    transition: border-color var(--dur-fast) var(--ease-cinematic),
                color var(--dur-fast) var(--ease-cinematic),
                background-color var(--dur-fast) var(--ease-cinematic);
}

.rating__scale input:hover + label,
.rating__scale input:checked + label {
    border-color: var(--wondiro-gold);
    color: var(--wondiro-black);
    background: var(--wondiro-gold);
}

.rating__scale input:focus-visible + label {
    outline: 1px solid var(--wondiro-gold);
    outline-offset: 3px;
}

/* ---------------------------------------------------------
   13. Footer
   --------------------------------------------------------- */
.site-footer {
    background: var(--wondiro-black);
    border-top: 1px solid var(--wondiro-line);
    padding-top: var(--space-6);
}
.site-footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: var(--space-6);
    padding-bottom: var(--space-6);
}
.footer-logo {
    height: 50px;
    width: auto;
}
.site-footer__brand p {
    color: var(--wondiro-muted);
    font-size: 0.9375rem;
    margin-top: var(--space-3);
    max-width: 34ch;
}
.site-footer__nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.site-footer__nav a,
.site-footer__social a {
    color: var(--wondiro-muted);
    font-size: 0.9375rem;
}
.site-footer__nav a:hover,
.site-footer__social a:hover {
    color: var(--wondiro-gold);
}
.site-footer__social {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    align-items: flex-start;
}
.site-footer__base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--wondiro-line);
    padding-block: var(--space-4);
    font-size: 0.8125rem;
    color: var(--wondiro-muted);
}
.site-footer__legal {
    display: flex;
    gap: var(--space-4);
}
.site-footer__legal a:hover {
    color: var(--wondiro-gold);
}

/* ---------------------------------------------------------
   14. Scroll reveal
   --------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity var(--dur-slow) var(--ease-cinematic),
                transform var(--dur-slow) var(--ease-cinematic);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------------------------------
   15. Responsive
   --------------------------------------------------------- */
@media (max-width: 1024px) {
    .about__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "intro"
            "story"
            "visual";
        gap: var(--space-5);
    }
    /* Once the About layout goes single-column, the photo (still using
       the desktop clamp(320px, 42vw, 560px) height here) can dip as
       low as ~320px — shorter than the desktop-sized 350px stamp, which
       would then poke past its top/bottom edges. Sized to stay safely
       inside that range; narrower breakpoints below shrink it further
       as the photo itself gets shorter still. */
    .about__signature {
        height: 300px;
    }
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
    .site-footer__brand {
        grid-column: 1 / -1;
    }
    .launch__youtube-grid > .feature {
        flex-basis: calc((100% - 1 * var(--space-6)) / 2);
    }
    .launch__instagram-grid > .instagram-tile {
        flex-basis: calc((100% - 2 * var(--space-4)) / 3);
    }
}

@media (max-width: 900px) {
    .primary-nav,
    .header-inner .primary-nav__list {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .brand-mark__logo {
        height: 56px;
    }
}

@media (max-width: 900px) {
    .contact-feedback__grid {
        grid-template-columns: 1fr;
    }

    .feedback {
        border-left: none;
        border-top: 1px solid var(--wondiro-line);
    }

    .contact,
    .feedback {
        padding-block: var(--space-6);
    }
}

@media (max-width: 767px) {
    /* Hero: the desktop 100vh feels taller than it needs to on mobile,
       pushing the headline down further than intended. svh (small
       viewport height) accounts for mobile browser chrome better than
       vh; the px value above it is a fallback for browsers that don't
       support svh yet — both lines are intentional, not a duplicate. */
    .hero {
        min-height: 600px;
        min-height: 78svh;
    }
    /* Starting composition value per the brief — shifts the visible
       crop right-of-center so a wide cinematic hero photo keeps its
       right-side subject (camera/photographs) in frame while the left
       side, where the headline sits, stays clearer. NOTE: no real
       assets/images/hero.jpg exists in this project yet (still the
       placeholder gradient below), so this value is a documented
       starting point only — revisit it once the real photo is in
       place and this can be checked against the actual composition. */
    .hero__image {
        background-position: 60% center;
    }

    /* Small editorial labels (eyebrows, countdown units) sit at the
       smallest end of the type scale — nudged up slightly on mobile
       for legibility. Body copy, headings and buttons are unchanged. */
    .eyebrow,
    .countdown__label {
        font-size: 0.875rem;
    }

    /* Carousels: one card visible, with a deliberate partial peek of
       the next one so it reads as "swipe for more" rather than a
       single full-bleed slide. The YouTube carousel's gap is large
       (desktop-tuned) — shrunk here too, otherwise the reserved
       "peek" space is entirely consumed by the gap itself and shows
       none of the next card. */
    .launch__youtube-grid {
        gap: var(--space-4);
    }
    .launch__youtube-grid > .feature {
        flex-basis: 82%;
        min-width: 0;
    }
    .launch__instagram-grid > .instagram-tile {
        flex-basis: 74%;
        min-width: 0;
    }

    /* The About image is wide/cinematic (~1877×838). The desktop rule's
       fixed clamp() height assumes a wide container to crop against —
       on a narrow mobile viewport that same fixed height leaves a tall
       gap of empty space below the image once the container gets this
       narrow. Switching to aspect-ratio makes the container's height
       track the image's real proportions instead, so it stays exactly
       full at any mobile width with no gap and no distortion. */
    .about-image {
        height: auto;
        aspect-ratio: 1877 / 838;
    }

    /* The signature now overlays the photo as a centered stamp (see
       .about__signature's grid-area rule above). On mobile the photo
       itself is much shorter (aspect-ratio-driven, not the desktop's
       320–560px clamp), so the desktop-sized stamp would spill past
       its top/bottom edges — scaled down here to stay inside it. */
    .about__signature {
        height: 160px;
    }
}

@media (max-width: 640px) {
    .container-max {
        padding-inline: var(--space-3);
    }
    .hero__content {
        padding-bottom: var(--space-6);
    }
    .hero__headline {
        max-width: none;
    }
    .brand-mark__logo {
        height: 50px;
    }
    .about__signature {
        height: 110px;
    }
    .footer-logo {
        height: 44px;
    }
    .about {
        padding: var(--space-6) 0;
    }
    .about__visual {
        padding-inline: var(--space-3);
    }
    .launch {
        padding: var(--space-6) 0;
    }
    .countdown {
        gap: var(--space-4);
    }
    .countdown__unit {
        min-width: 64px;
    }
    .countdown__number {
        font-size: 2.75rem;
    }
    .countdown__divider {
        height: 34px;
    }
    .carousel-head {
        margin-top: var(--space-6);
    }
    .w-form {
        grid-template-columns: 1fr;
    }
    .rating__scale {
        gap: var(--space-2);
    }
    .rating__scale label {
        width: 46px;
        height: 46px;
        font-size: 1.125rem;
    }
    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    .site-footer__base {
        flex-direction: column;
        gap: var(--space-2);
        align-items: flex-start;
    }
}

/* ---------------------------------------------------------
   16. Reduced motion
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .hero__image {
        animation: none;
    }
    .hero__scroll-line {
        animation: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .mobile-nav__list a {
        transition: none;
        transform: none;
        opacity: 1;
    }
    .instagram-tile {
        transition: none;
    }
    .instagram-tile:hover {
        transform: none;
    }
    .feature__thumb img {
        transition: none;
    }
    .feature:hover .feature__thumb img {
        transform: none;
    }
    * {
        scroll-behavior: auto !important;
    }
}