
/* =========================================
   IBEX WALLCOVERING INSTALLATIONS
   Complete Website Stylesheet
   ========================================= */

/* FONTS */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600&display=swap');


/* COLOURS */

:root {
    --charcoal: #252622;
    --dark: #1b1c19;
    --ivory: #f7f5f0;
    --taupe: #a79b88;
    --orange: #e87716;
    --text: #45443e;
}


/* GENERAL RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--ivory);
    color: var(--text);
    line-height: 1.7;
}

img {
    max-width: 100%;
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
    position: relative;
    width: 100%;
    min-height: 100px;

    background: var(--charcoal);

    padding: 12px 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* LOGO */

.site-header .brand {
    display: block;
    flex: 0 1 500px;
    width: 500px;
    max-width: 100%;
    line-height: 0;
}

.site-header .site-logo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    object-position: left center;
}


/* NAVIGATION */

.site-header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 28px;
}

.site-header nav a {
    color: #f7f5f0;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}

.site-header nav a:hover {
    color: var(--orange);
}


/* =========================================
   HERO SECTION
   ========================================= */

.hero {
    min-height: 720px;

    display: flex;
    align-items: center;

    padding: 100px 10%;

    color: white;

    background:
        linear-gradient(
            90deg,
            rgba(20, 20, 18, 0.80),
            rgba(20, 20, 18, 0.05)
        ),
        url('images/hero.webp') center top / cover no-repeat;

    background-color: #77746d;
}

.hero-content {
    max-width: 680px;
}


/* =========================================
   TYPOGRAPHY
   ========================================= */

.eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--taupe);
    margin-bottom: 22px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

h1 {
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.15;
    margin-bottom: 28px;
}

.hero-content > p:not(.eyebrow) {
    max-width: 500px;
    font-size: 17px;
    margin-bottom: 35px;
}


/* =========================================
   BUTTONS
   ========================================= */

.button {
    display: inline-block;

    padding: 14px 30px;

    background: var(--orange);
    color: white;

    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;

    transition: background 0.2s ease;
}

.button:hover {
    background: #c9610c;
}


/* =========================================
   GENERAL SECTIONS
   ========================================= */

.section {
    padding: 110px 10%;
    text-align: center;
}

.section h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.3;
    margin-bottom: 25px;
    color: var(--charcoal);
}


/* =========================================
   ABOUT SECTION
   ========================================= */

.intro > p:last-child {
    max-width: 740px;
    margin: auto;
}


/* =========================================
   SERVICES
   ========================================= */

.services {
    background: #eeebe5;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 55px;
}

.service-card {
    background: var(--ivory);
    padding: 45px 30px;
    text-align: left;
}

.service-card h3 {
    font-size: 25px;
    margin-bottom: 18px;
}

.service-card p {
    font-size: 15px;
}


/* =========================================
   PORTFOLIO
   ========================================= */

.portfolio-placeholder {
    margin-top: 45px;
    min-height: 280px;

    background: #e5e0d8;

    display: grid;
    place-items: center;

    color: #777169;
    letter-spacing: 1px;
}


/* =========================================
   CONTACT
   ========================================= */

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

.contact h2 {
    color: white;
}

.contact > p:not(.eyebrow) {
    margin-bottom: 30px;
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    padding: 35px 20px;
    text-align: center;

    background: var(--dark);
    color: #b7b4ae;

    font-size: 12px;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 950px) {

    .site-header {
        gap: 20px;
    }

    .site-header .brand {
        flex-basis: 320px;
        width: 320px;
    }

    .site-header nav {
        gap: 16px;
    }

    .hero {
        min-height: 620px;
        padding: 90px 7%;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .site-header {
        flex-direction: column;
        min-height: auto;
        gap: 15px;
        padding: 18px 5%;
    }

    .site-header .brand {
        flex: 0 1 auto;
        width: 300px;
        max-width: 100%;
    }

    .site-header .site-logo {
        max-height: 65px;
    }

    .site-header nav {
        justify-content: center;
        gap: 15px;
    }

    .site-header nav a {
        font-size: 12px;
    }

    .hero {
        min-height: 560px;
        padding: 80px 7%;

        background-position: center, 65% top;
    }

    .hero-content {
        max-width: 100%;
    }

    .section {
        padding: 75px 7%;
    }

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

    .service-card {
        padding: 35px 25px;
    }

}
/* =====================================
   IBEX - REFINED HOMEPAGE DESIGN
   ===================================== */

/* Transparent grey header over photograph */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;

    width: 100%;
    min-height: 150px;
    padding: 18px 5%;

    background: rgba(65, 65, 65, 0.28);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* Logo area */

.site-header .brand {
    display: block;
    flex: 0 1 500px;
    width: 500px;
    max-width: 100%;
    line-height: 0;
}

.site-header .site-logo {
    display: block;
    width: 100%;
    max-height: 175px;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

/* Navigation */

.site-header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 30px;
}

.site-header nav a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-decoration: none;
}

.site-header nav a:hover {
    color: #e5c078;
}

/* Homepage photograph */

.hero {
    min-height: 900px;
    padding: 260px 5% 110px;

    display: flex;
    align-items: flex-start;

    background:
        linear-gradient(
            90deg,
            rgba(42, 39, 37, 0.60) 0%,
            rgba(42, 39, 37, 0.36) 34%,
            rgba(42, 39, 37, 0) 60%
        ),
        url('images/hero.webp')
        center center / cover no-repeat;

    color: #ffffff;
}

.hero-content {
    max-width: 590px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 4.3vw, 66px);
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 28px;
}

/* Gold detail */

.hero h1::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    margin-top: 30px;
    background: #e5b75d;
}

.hero-content > p:not(.eyebrow) {
    max-width: 480px;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* Elegant outlined button */

.hero .button {
    display: inline-block;
    padding: 14px 30px;

    background: rgba(30, 30, 30, 0.18);
    border: 2px solid #e5b75d;

    color: #ffffff;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-decoration: none;
}

.hero .button:hover {
    background: #e5b75d;
    color: #252622;
}

/* Tablet */

@media (max-width: 950px) {
    .site-header {
        min-height: 120px;
    }

    .site-header .brand {
        flex-basis: 340px;
        width: 340px;
    }

    .hero {
        padding-top: 210px;
    }
}

/* Mobile */

@media (max-width: 700px) {
    .site-header {
        position: relative;
        min-height: auto;
        flex-direction: column;
        padding: 16px 5%;
        gap: 15px;
        background: rgba(65, 65, 65, 0.85);
    }

    .site-header .brand {
        flex: 0 1 auto;
        width: 300px;
    }

    .site-header .site-logo {
        max-height: 110px;
    }

    .site-header nav {
        justify-content: center;
        gap: 16px;
    }

    .hero {
        min-height: 650px;
        padding: 90px 7%;
        background-position: center, center;
    }

    .hero-content {
        max-width: 100%;
    }
}/* ABOUT IBEX - TWO COLUMN LAYOUT */

.intro {
    background: #f4f0e9;
    text-align: left;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image img {
    display: block;
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center;
}

.about-text h2 {
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    max-width: 560px;
}

.about-text .eyebrow {
    color: #b58b4e;
}

/* TABLET AND MOBILE */

@media (max-width: 900px) {

    .about-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-image img {
        height: auto;
        max-height: 550px;
    }

}
.about-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
}

/* Keep mobile layout in one column */

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}
/* PORTFOLIO: COMPACT THUMBNAIL GRID */
.portfolio { background: #fff; }
.portfolio-heading { max-width: 700px; margin: 0 auto 55px; text-align: center; }
.portfolio-heading > p:last-child { line-height: 1.8; }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}
.portfolio-item { min-width: 0; }
.portfolio-link { display: block; overflow: hidden; border-radius: 12px; cursor: zoom-in; }
.portfolio-link img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform .3s ease;
}
.portfolio-link:hover img { transform: scale(1.04); }
.portfolio-caption { padding: 14px 2px 0; }
.portfolio-caption h3 { font-size: 19px; color: #302c27; margin-bottom: 8px; }
.portfolio-caption p { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #a77c40; }

/* FULL-SCREEN PORTFOLIO VIEWER */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15,15,15,.95);
    align-items: center;
    justify-content: center;
    padding: 60px 65px;
}
.lightbox.active { display: flex; }
.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox button {
    position: absolute;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 32px;
    padding: 12px;
}
.lightbox button:hover, .lightbox button:focus-visible { color: #e5b75d; }
.lightbox-close { top: 15px; right: 25px; }
.lightbox-prev { left: 15px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 15px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
    .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-link img { height: 240px; }
    .lightbox { padding: 65px 45px; }
    .lightbox-prev { left: 0; }
    .lightbox-next { right: 0; }
}


/* V2 — editorial direction. Portfolio rules remain unchanged. */
:root { --gold: #d6b47a; }
body { overflow-x: clip; }
.site-header { position: fixed; min-height: 0; padding: 12px 5%; background: linear-gradient(180deg,rgba(20,21,18,.65),transparent); transition: background .4s, padding .4s; }
.site-header .brand { flex: 0 1 420px; width: 420px; }
.site-header .site-logo { max-height: 140px; transition: max-height .4s; }
.site-header.scrolled { background: rgba(25,26,23,.97); padding-block: 8px; }
.site-header.scrolled .site-logo { max-height: 76px; }
.site-header nav a { position: relative; }
.site-header nav a::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: scaleX(1); }
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; z-index: 11; pointer-events: none; }
section[id] { scroll-margin-top: 110px; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #414039; min-height: max(760px, 100svh); padding: 220px 7% 105px; align-items: center; }
.hero-photo { position: absolute; inset: 0; z-index: -2; background: url('images/hero.webp') center / cover no-repeat; animation: cinematic 18s ease-out both; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(23,24,21,.82),rgba(23,24,21,.46) 45%,rgba(23,24,21,.05) 85%); }
.hero-content { max-width: 780px; }
.hero-kicker { color: var(--gold); font-size: 11px !important; letter-spacing: .26em; font-weight: 600; }
.hero h1 { font-size: clamp(45px,6.3vw,100px); line-height: 1.04; letter-spacing: -.045em; }
.hero h1::after { transform-origin: left; animation: goldline 1.2s .6s both; }
.hero-content > * { animation: arrival 1s both; }
.hero-content > :nth-child(2) { animation-delay: .18s; }
.hero-content > :nth-child(3) { animation-delay: .35s; }
.hero-content > :nth-child(4) { animation-delay: .5s; }
.hero .button { transition: background .3s,color .3s; }
.discover { display: block; width: fit-content; margin-top: 35px; color: white; text-decoration: none; font-size: 12px; letter-spacing: .12em; }
.discover span { color: var(--gold); display: inline-block; margin-left: 12px; animation: drift 2s infinite; }
.signature-strip { display: flex; justify-content: space-evenly; gap: 20px; flex-wrap: wrap; padding: 25px 5%; background: #22231f; color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .19em; }
.intro { padding-block: clamp(75px,10vw,165px); }
.about-layout { gap: clamp(35px,6vw,100px); }
.about-image { position: relative; }
.about-image::before { content: ''; position: absolute; inset: -15px 15px 15px -15px; border: 1px solid #b49a71; border-radius: 16px; pointer-events: none; }
.about-image img { position: relative; }
.intro h2 { font-size: clamp(36px,4.6vw,67px); letter-spacing: -.035em; }
.services { background: #242622; color: #e9e4d9; padding-block: 110px; }
.services h2 { color: #f7f3ea; font-size: clamp(38px,5vw,75px); letter-spacing: -.04em; }
.services .eyebrow { color: var(--gold); }
.service-grid { gap: 1px; background: #5a5549; border: 1px solid #5a5549; }
.service-card { background: #242622; padding: 40px 28px; transition: background .35s; }
.service-card:hover { background: #35362f; }
.service-number { display: block; margin-bottom: 34px; font-family: 'Playfair Display',serif; font-size: 46px; color: var(--gold); line-height: 1; }
.service-card h3 { color: #f6f1e6; font-size: 30px; line-height: 1.25; }
.service-card p + p { margin-top: 15px; }
.contact { background: radial-gradient(ellipse at 50% 0%,#48443a,#22231f 70%); padding-block: 135px; }
.contact h2 { font-size: clamp(42px,6vw,86px); letter-spacing: -.04em; }
.contact > p:not(.eyebrow) { max-width: 650px; margin-inline: auto; }
.contact .button { background: transparent; border: 1px solid var(--gold); color: var(--gold); margin-bottom: 28px; }
.contact .button:hover { background: var(--gold); color: #222; }
.contact a:not(.button) { color: var(--gold); }
.motion-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s ease, transform .85s cubic-bezier(.2,.7,.2,1); }
.motion-ready .reveal.visible, .motion-ready .reveal:focus-within { opacity: 1; transform: none; }
.service-card:nth-child(2) { transition-delay: .09s; }
.service-card:nth-child(3) { transition-delay: .18s; }
@keyframes cinematic { from { transform: scale(1.075); } to { transform: scale(1); } }
@keyframes arrival { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes goldline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media(max-width: 900px) { .site-header .brand { width: 280px; flex-basis: 280px; } .service-card { padding: 30px 20px; } }
@media(max-width: 700px) { .site-header { position: relative; background: #242622; flex-direction: column; gap: 12px; } .site-header .brand { flex: 0 1 auto; width: 260px; } .site-header .site-logo { max-height: 95px; } .hero { min-height: 650px; padding: 85px 7%; } .hero::before { background: linear-gradient(90deg,rgba(23,24,21,.82),rgba(23,24,21,.35)); } .signature-strip { justify-content: flex-start; gap: 12px 25px; } .service-grid { grid-template-columns: 1fr; } .contact { padding-block: 85px; } section[id] { scroll-margin-top: 15px; } }
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .motion-ready .reveal { opacity: 1; transform: none; } }

/* V3 — cinematic dark editorial direction */
:root { --ink: #171916; --ivory: #f2ede2; --gold: #d6b47a; }
body { background: var(--ink); color: var(--ivory); }
.opening { display:none; }
.motion-v3 .opening { display:flex; position:fixed; inset:0; z-index:10000; background:#151714; flex-direction:column; align-items:center; justify-content:center; gap:24px; pointer-events:none; animation:opening-exit .85s 1.15s cubic-bezier(.76,0,.24,1) forwards; }
.opening img { width:min(65vw,420px); animation:opening-logo .9s both; }
.opening-line { width: min(45vw,250px); height:1px; background:var(--gold); animation:goldline .9s both; }
.opening-label { font-size:10px; letter-spacing:.32em; color:var(--gold); }
@keyframes opening-exit { to { transform:translateY(-102%); visibility:hidden; } }
@keyframes opening-logo { from { opacity:0; transform:scale(.88); } to { opacity:1; transform:scale(1); } }
.hero { align-items:center; }
.hero-photo { animation:none; transform:translate3d(0,var(--hero-y,0px),0) scale(1.23); }
.motion-v3 .hero-photo { animation:v3-zoom 2.9s cubic-bezier(.18,.65,.25,1) both; }
@keyframes v3-zoom { from { scale:1.2; } to { scale:1; } }
.hero h1 { font-size:clamp(48px,7.3vw,112px); line-height:.99; }
.hero-content > h1 { animation:none; }
.headline-mask { display:block; overflow:hidden; padding-bottom:.09em; }
.headline-mask > span { display:block; }
.motion-v3 .headline-mask > span { animation:headline-rise 1.15s cubic-bezier(.19,1,.22,1) both; animation-delay:1.3s; }
.motion-v3 .headline-mask:nth-child(2)>span { animation-delay:1.48s; }
.motion-v3 .headline-mask:nth-child(3)>span { animation-delay:1.66s; }
@keyframes headline-rise { from { transform:translateY(110%); } to { transform:translateY(0); } }
.motion-v3 .hero-content > :not(h1) { animation-delay:1.85s; }
.motion-v3 .hero-content > .hero-kicker { animation-delay:1.25s; }
.motion-v3 .hero-content > .discover { animation-delay:2.05s; }
.signature-strip { padding-block:34px; border-bottom:1px solid #504536; background:#1c1e1a; }
.intro,.services,.contact { position:relative; isolation:isolate; overflow:hidden; }
.intro { background:#191b18; color:var(--ivory); padding-block:clamp(95px,13vw,200px); }
.intro h2,.intro .about-text h2 { color:var(--ivory); }
.intro .about-text p:not(.eyebrow) { color:#d1cbbf; }
.intro .eyebrow { color:var(--gold); }
.ghost-word { position:absolute; left:0; top:10px; z-index:-1; font-family:Georgia,serif; font-size:clamp(95px,21vw,320px); line-height:1; letter-spacing:-.07em; color:rgba(214,180,122,.065); white-space:nowrap; pointer-events:none; transform:translate3d(var(--ghost-x,0px),0,0); }
.about-image { border-radius:0; }
.about-image img { border-radius:0; }
.about-image::before { border-radius:0; inset:-18px 18px 18px -18px; }
.motion-v3 .about-image { opacity:1; transform:none; }
.motion-v3 .about-image img { clip-path:inset(0 100% 0 0); transition:clip-path 1.6s cubic-bezier(.76,0,.24,1); }
.motion-v3 .about-image.visible img { clip-path:inset(0); }
.motion-v3 .about-image::before { transform:scaleX(0); transform-origin:left; transition:transform 1.5s .2s; }
.motion-v3 .about-image.visible::before { transform:scaleX(1); }
.motion-v3 .reveal:not(.about-image) { transform:translateY(85px); transition:opacity 1.1s ease,transform 1.3s cubic-bezier(.16,1,.3,1); }
.motion-v3 .reveal.visible:not(.about-image),.motion-v3 .reveal:focus-within { transform:none; opacity:1; }
.intro .eyebrow::after,.services > .eyebrow::after,.contact .eyebrow::after { content:''; display:block; height:1px; width:95px; background:var(--gold); margin:18px auto; transform-origin:left; }
.intro .eyebrow::after { margin-left:0; }
.motion-v3 section:not(.entered) .eyebrow::after { transform:scaleX(0); }
.motion-v3 section .eyebrow::after { transition:transform 1.6s .2s; }
.services { background:#20221e; padding-block:clamp(90px,12vw,180px); }
.service-card { position:relative; isolation:isolate; overflow:hidden; min-height:340px; }
.service-card::before { content:''; position:absolute; inset:0; z-index:-1; background:radial-gradient(circle at var(--mx,50%) var(--my,50%),#5b5039 0%,transparent 65%); opacity:0; transition:opacity .4s; }
.service-card:hover::before,.service-card:focus-within::before { opacity:.85; }
.service-card .service-number { transition:transform .55s cubic-bezier(.2,.8,.2,1); }
.service-card:hover .service-number { transform:translateX(18px) scale(1.15); }
.motion-v3 .service-card:nth-child(2) { transition-delay:.18s; }
.motion-v3 .service-card:nth-child(3) { transition-delay:.36s; }
.contact { background:radial-gradient(ellipse at 50% 20%,#39342a,#141613 72%); padding-block:clamp(100px,14vw,210px); }
.contact .ghost-word { left:50%; translate:-50% 0; font-size:clamp(150px,35vw,540px); }
@media(max-width:700px) { .hero h1 { font-size:clamp(42px,10vw,70px); } .hero { min-height:650px; } .ghost-word { font-size:24vw; } .service-card { min-height:0; } .about-image::before { inset:-9px 9px 9px -9px; } }
@media(prefers-reduced-motion:reduce) { .opening { display:none!important; } .hero-photo,.ghost-word { transform:none!important; scale:1!important; } .motion-v3 .about-image img { clip-path:none; } .motion-v3 .reveal { opacity:1!important; transform:none!important; } .motion-v3 .headline-mask > span { transform:none!important; } }

/* V4: independent scenes, with woven transitional interlude */
.scene-transition {display:none;}
.scene-mode .site-header {position:fixed;top:0;left:0;width:100%;z-index:100;min-height:0;background:#191b18f5;padding:8px 5%;}
.scene-mode .site-header .site-logo {max-height:82px;}
.site-header nav a[aria-current="page"] {color:var(--gold);}
.site-header nav a[aria-current="page"]::after {transform:scaleX(1);}
.scene-mode .scene-stage {position:fixed;inset:var(--header-height,100px) 0 0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;background:#171916;}
.scene-mode .scene-stage > [hidden] {display:none!important;}
.scene-mode .scene-stage > section {min-height:100%;scroll-margin:0;box-sizing:border-box;}
.scene-mode .scene-stage > .hero {padding:55px 7%;}
.scene-mode .hero h1 {font-size:clamp(48px, min(7.3vw, 12vh),112px);}
.scene-mode .intro,.scene-mode .services,.scene-mode .contact {padding-block:clamp(55px,8vh,100px);}
.scene-mode .signature-strip {display:none;}
.scene-mode .scene-stage > section.scene-leave {animation:scene-out .55s cubic-bezier(.65,0,.35,1) both;}
.scene-mode .scene-stage > section.scene-arrive {animation:scene-in .65s cubic-bezier(.2,.75,.25,1) both;}
.scene-mode .scene-transition {display:block;position:fixed;inset:var(--header-height,100px) 0 0;z-index:90;overflow:hidden;pointer-events:none;visibility:hidden;background-color:#1b1c19;background-image:repeating-linear-gradient(0deg,#08090855 0 1px,transparent 1px 4px,#cdb88a12 4px 5px,transparent 5px 7px),repeating-linear-gradient(90deg,#090a0955 0 1px,transparent 1px 3px,#cdb88a16 3px 4px,transparent 4px 6px);}
.scene-mode .scene-transition.active {visibility:visible;}
.weave-light {position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,#d6b47a30 48%,#f4dca53b 50%,transparent 75%);transform:translateX(-100%);mix-blend-mode:screen;}
.scene-transition.active .weave-light {animation:weave-sweep .95s ease-in-out both;}
.scene-line {position:absolute;top:50%;left:15%;width:70%;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);transform:scaleX(0);}
.scene-transition.active .scene-line {animation:scene-gold .95s ease-in-out both;}
.scene-label {position:absolute;top:calc(50% + 28px);width:100%;text-align:center;text-transform:uppercase;font-size:11px;letter-spacing:.4em;color:var(--gold);opacity:0;}
.scene-transition.active .scene-label {animation:scene-word .95s both;}
@keyframes scene-out {to{transform:translateY(var(--exit-y,-105%));opacity:0;}}
@keyframes scene-in {from{transform:translateY(var(--enter-y,100%));opacity:0;}to{transform:translateY(0);opacity:1;}}
@keyframes weave-sweep {to{transform:translateX(100%);}}
@keyframes scene-gold {0%,100%{transform:scaleX(0);}45%,60%{transform:scaleX(1);}}
@keyframes scene-word {0%,100%{opacity:0;}35%,65%{opacity:1;}}
@media(prefers-reduced-motion:reduce){.scene-transition{display:none!important;}}

/* V5: layered exit and arrival, with a narrow textile sweep. */
.scene-mode .scene-transition {background:none; visibility:hidden; z-index:90;}
.scene-mode .scene-transition.active {visibility:visible;}
.scene-mode .weave-light {inset:-10% auto -10% 0;width:32%;background:repeating-linear-gradient(0deg,transparent 0 2px,#b8a17b38 2px 3px,transparent 3px 5px),repeating-linear-gradient(90deg,#17191655 0 1px,transparent 1px 4px),linear-gradient(90deg,transparent,#9b876340,transparent);mask-image:linear-gradient(90deg,transparent,#000 30%,#000 65%,transparent);mix-blend-mode:normal;transform:none;opacity:0;}
.scene-mode .scene-transition.active .weave-light {animation:v5-textile 1.1s ease-in-out both;}
@keyframes v5-textile {0%{translate:calc(-110% * var(--sweep-direction,1) + (1 - var(--sweep-direction,1))*210%) 0;opacity:0;}30%{opacity:.65;}70%{opacity:.45;}100%{translate:calc(420% * var(--sweep-direction,1) + (1 - var(--sweep-direction,1))*210%) 0;opacity:0;}}
.scene-mode .lingering-word {position:fixed;z-index:89;pointer-events:none;color:rgba(214,180,122,.12);}


/* V7 launch: balanced About layout, retaining the original photograph scale */
@media (min-width: 901px) {
  #about.intro { padding-left: 6%; padding-right: 6%; }
  #about .about-layout { grid-template-columns: 1fr 1fr; gap: 55px; max-width: 1500px; width: 100%; }
  #about .about-text { min-width: 0; max-width: none; }
  #about .about-text p { max-width: none; }
  #about .about-text p:not(.eyebrow) { margin-bottom: 15px; line-height: 1.65; }
}

/* V8 contact options */
#contact .contact-options { display:flex; flex-wrap:wrap; justify-content:center; gap:28px 48px; margin:32px auto 0; }
#contact .contact-option { display:flex; flex-direction:column; align-items:center; gap:12px; min-width:0; }
#contact .contact-option .button { margin:0; min-width:200px; }
#contact .contact-detail { color:var(--ivory); overflow-wrap:anywhere; }
@media(max-width:600px) { #contact .contact-options { flex-direction:column; gap:24px; } }
/* Contact page and footer positioning */

.scene-mode .scene-stage > #contact {
    min-height: 75%;
    padding-block: 40px;
}

.scene-mode footer {
    padding: 15px 20px;
}

.scene-mode footer p {
    margin: 4px 0;
    line-height: 1.5;
}
/* Fully transparent desktop header */

.scene-mode .site-header,
.scene-mode .site-header.scrolled {
    background: transparent !important;
    box-shadow: none;
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.scene-mode .scene-stage:has(#home:not([hidden])) {
    top: 0;
}

.scene-mode .scene-stage > #home {
    padding-top: calc(var(--header-height, 100px) + 55px);
}
/* Privacy policy footer link */

.privacy-link {
    color: #d6b47a;
    font-size: 12px;
    text-decoration: none;
}

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

/* Keyboard focus visibility */
a:focus-visible, button:focus-visible { outline: 2px solid #d6b47a; outline-offset: 4px; }
