/* =========================================================
   SIVARRA — layout.css
   Structural layout: containers, section spacing, grid
   systems, and section-specific layouts (hero, about,
   services grid, gallery masonry, reels/moments strip,
   testimonials grid, location grid, CTA strip).
   ========================================================= */

/* ----- Container & Section ----- */
.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
}

section {
    position: relative;
    padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.hairline {
    height: 1px;
    width: 100%;
    background: var(--hairline);
    border: 0;
}

.section-head {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-head .eyebrow {
    display: block;
    margin-bottom: 1.25rem;
}

.section-head h2 {
    font-size: clamp(1.9rem, 5vw, 3rem);
    margin-bottom: 1.25rem;
}

.section-head .lead {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 5rem;
}

@supports not (min-height: 100svh) {
    .hero {
        min-height: 100vh;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at center, #161616 0%, #0A0A0A 70%);
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.45) 50%, rgba(10, 10, 10, 0.95) 100%),
        radial-gradient(ellipse at center, transparent 25%, rgba(10, 10, 10, 0.55) 100%);
}

/* faint concentric gold rings, echoing the monogram */
.hero-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(95vw, 820px);
    max-width: 100%;
    aspect-ratio: 1;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

/* rotating brand seal — top right of hero, desktop only */
.hero-seal {
    position: absolute;
    top: 18%;
    right: 6%;
    width: 120px;
    height: 120px;
    z-index: 2;
    opacity: 0.85;
}

@media (max-width: 920px) {
    .hero-seal {
        display: none;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 920px;
    padding: 0 1rem;
}

.hero-eyebrow {
    font-family: var(--sans);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.5em;
    color: var(--gold-2);
    text-transform: uppercase;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-left: 0.5em;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold-1);
    opacity: 0.6;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 11vw, 8rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    padding-left: 0.14em;
}

.hero-tagline {
    font-family: var(--sans);
    font-size: clamp(0.72rem, 1.4vw, 0.86rem);
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--off-white);
    text-transform: uppercase;
    margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
    padding-left: 0.4em;
    opacity: 0.88;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--sans);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(201, 162, 75, 0.4);
    position: relative;
    overflow: hidden;
}

/* =========================================================
   ABOUT / BRAND STORY
   ========================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.about-text .eyebrow {
    display: block;
    margin-bottom: 1.5rem;
}

.about-text h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.about-text p {
    color: var(--off-white);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-text p:last-of-type {
    color: var(--muted);
}

.about-meta {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--hairline);
    flex-wrap: wrap;
}

.meta-item .num {
    font-family: var(--serif);
    font-size: 2.2rem;
    color: var(--gold-2);
    font-weight: 500;
    letter-spacing: 0.04em;
    display: block;
    line-height: 1;
}

.meta-item .label {
    margin-top: 0.5rem;
    font-size: 0.58rem;
    letter-spacing: 0.3em;
    color: var(--muted);
}

/* portrait/interior with concentric frames */
.about-image {
    position: relative;
    aspect-ratio: 4/5;
    max-width: 480px;
    margin-left: auto;
    border: 1px solid var(--hairline-strong);
}

.about-image .placeholder {
    position: absolute;
    inset: 16px;
}

.about-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image .ring-deco {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 90px;
    height: 90px;
    border: 1px solid var(--gold-1);
    border-radius: 50% !important;
    z-index: 2;
    background: var(--black);
    overflow: hidden !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.about-image .ring-deco::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid var(--hairline);
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
}

.ring-deco .ring-deco-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% !important;
    transform: scale(1.42);
    transform-origin: center center;
    z-index: 1;
    display: block;
}

@media (max-width: 880px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .about-image .ring-deco {
        top: -15px;
        right: -10px;
        width: 76px;
        height: 76px;
    }
}

/* ----- placeholder visual block (used throughout) ----- */
.placeholder {
    background: var(--black-soft);
    border: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--gold-2);
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(201, 162, 75, 0.08) 0%, transparent 70%);
}

.placeholder .ph-label {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-2);
    position: relative;
}

.placeholder .ph-path {
    font-family: var(--sans);
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: var(--muted);
    text-transform: lowercase;
    position: relative;
}

.placeholder .ph-ring {
    width: 32px;
    height: 32px;
    border: 1px solid var(--gold-1);
    border-radius: 50%;
    margin-bottom: 0.4rem;
    position: relative;
}

.placeholder .ph-ring::after {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid var(--hairline);
    border-radius: 50%;
}

/* =========================================================
   SERVICES — 5 editorial cards responsive grid
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

@media (min-width: 640px) and (max-width: 999px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) and (max-width: 1399px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* =========================================================
   GALLERY — masonry via CSS columns
   ========================================================= */
.gallery-grid {
    columns: 2;
    column-gap: 1.25rem;
}

@media (min-width: 880px) {
    .gallery-grid {
        columns: 3;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        columns: 1;
    }
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hairline);
    aspect-ratio: 4/5;
}

.gallery-item:nth-child(2n) {
    aspect-ratio: 1/1;
}

.gallery-item:nth-child(3n) {
    aspect-ratio: 3/4;
}

.gallery-item:nth-child(4n) {
    aspect-ratio: 4/5;
}

.gallery-item:nth-child(5n) {
    aspect-ratio: 1/1;
}

.gallery-item:nth-child(6n) {
    aspect-ratio: 3/4;
}

/* gallery real images */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================
   MOMENTS (REELS) — horizontal scrollable 9:16 strip
   ========================================================= */
.reels-strip-wrap {
    position: relative;
    width: 100%;
}

.reels-strip {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.5rem 0 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-color: var(--gold-1) transparent;
    scrollbar-width: thin;
}

.reels-strip::-webkit-scrollbar {
    height: 3px;
}

.reels-strip::-webkit-scrollbar-track {
    background: transparent;
}

.reels-strip::-webkit-scrollbar-thumb {
    background: var(--gold-1);
}

.reel-card {
    flex: 0 0 auto;
    width: clamp(220px, 70vw, 280px);
    aspect-ratio: 9/16;
    position: relative;
    border: 1px solid var(--hairline);
    overflow: hidden;
    scroll-snap-align: start;
    background: var(--black-soft);
}

.reel-card.documentary-card {
    width: clamp(260px, 80vw, 320px);
    border-color: var(--hairline-strong);
}

.reel-card .placeholder {
    position: absolute;
    inset: 0;
    padding: 1rem;
}

.reel-card .placeholder .ph-ring {
    width: 36px;
    height: 36px;
}

/* reel card real videos */
.reel-card > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reels-nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.reels-hint {
    text-align: center;
    font-family: var(--sans);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.5rem;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 880px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   LOCATION
   ========================================================= */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: stretch;
}

@media (max-width: 880px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* =========================================================
   CTA STRIP — final Reserve Your Chair call
   ========================================================= */
.cta-strip {
    text-align: center;
    position: relative;
    padding: clamp(5rem, 10vw, 8rem) 0;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content .eyebrow {
    display: block;
    margin-bottom: 1.5rem;
}

.cta-content h2 {
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    margin-bottom: 1.5rem;
}

.cta-content .lead {
    max-width: 560px;
    margin: 0 auto 2.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
