/* Nigny Pigna — gallery-minimal design system */

:root {
    --bg: #F4F0EA;
    --surface: #E8E1D6;
    --text: #211D1A;
    --muted: #6E665E;
    --muted-soft: #7B7269;
    --accent: #A2704F;
    --accent-deep: #8A5B3D;
    --sg-accent: #A2704F;
    --font-display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
    --font-body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
    --gutter: clamp(1.25rem, 4vw, 4rem);
    --max: 1440px;
    --section-space: clamp(5rem, 11vw, 11rem);
    --hair: 1px solid rgba(162, 112, 79, 0.55);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* subtle grain */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: .05;
    background-image:
        repeating-radial-gradient(circle at 17% 32%, rgba(33,29,26,.5) 0 1px, transparent 1px 3px),
        repeating-radial-gradient(circle at 71% 64%, rgba(33,29,26,.4) 0 1px, transparent 1px 4px);
    mix-blend-mode: multiply;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

address { font-style: normal; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -0.01em; line-height: 1.05; }
h1 em, h2 em, h3 em { font-style: italic; }

p { margin: 0 0 1em; max-width: 46ch; }

.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 200;
    background: var(--text); color: var(--bg); padding: .6rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.display-xl { font-size: clamp(2.6rem, 6.5vw, 6.5rem); }
.display-lg { font-size: clamp(2.1rem, 4.2vw, 4rem); margin-bottom: 1.5rem; }

.label {
    font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 .6rem; font-weight: 500;
}

.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { margin-bottom: .35rem; }
.plain-list a { text-decoration: none; }
.plain-list a:hover { text-decoration: underline; }

/* signature index device */
.index-line {
    display: flex; align-items: center; gap: .9rem;
    font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 1.6rem; font-weight: 500;
}
.index-line::before {
    content: ""; width: 3.5rem; height: 1px; background: var(--accent);
    transform-origin: left; transition: transform 1.2s var(--ease);
}
.index-line__num { color: var(--accent-deep); font-weight: 600; }
.index-line--light { color: rgba(244,240,234,.92); }
.index-line--light .index-line__num { color: #F1DCCB; }
.index-line--light::before { background: #E8C9B2; }

.reveal .index-line::before { transform: scaleX(0); }
.reveal.is-visible .index-line::before { transform: scaleX(1); }

.rule { display: block; width: 100%; max-width: 22rem; height: 1px; background: var(--accent); margin: 0 0 1.2rem; }

.text-link {
    display: inline-block; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
    text-decoration: none; font-weight: 500; padding-bottom: .3rem;
    background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1px no-repeat;
    transition: background-size .5s var(--ease), color .3s;
}
.text-link:hover { background-size: 40% 1px; color: var(--accent-deep); }

.btn-outline {
    display: inline-block; padding: .95rem 1.8rem; border: 1px solid var(--text);
    font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
    font-weight: 500; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-outline--light { border-color: var(--bg); color: var(--bg); }
.btn-outline--light:hover { background: var(--bg); color: var(--text); }

.section { padding: var(--section-space) var(--gutter); max-width: var(--max); margin: 0 auto; }

figure { margin: 0; }
figcaption {
    font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--muted); margin-top: .9rem;
}

/* header */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    transition: background .5s var(--ease), border-color .5s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(244,240,234,.94); border-color: rgba(162,112,79,.25); }
.site-header__inner {
    max-width: var(--max); margin: 0 auto; padding: 1.2rem var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.wordmark {
    font-family: var(--font-display); font-size: 1.55rem; text-decoration: none; letter-spacing: .01em; line-height: 1;
}
.wordmark em { font-style: italic; color: var(--accent-deep); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.site-nav a {
    text-decoration: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
    display: inline-flex; gap: .45rem; align-items: baseline; padding: .3rem 0; border-bottom: 1px solid transparent;
}
.site-nav__num { font-size: .62rem; color: var(--accent-deep); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.site-nav a:hover { color: var(--accent-deep); }

.nav-toggle {
    display: none; background: none; border: 0; font: inherit; color: inherit; cursor: pointer;
    align-items: center; gap: .7rem; padding: .4rem 0;
    font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
}
.nav-toggle__line { width: 1.8rem; height: 1px; background: var(--text); position: relative; }
.nav-toggle__line::after { content: ""; position: absolute; left: 0; top: 6px; width: 60%; height: 1px; background: var(--text); transition: width .3s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line::after { width: 100%; }

/* hero */
.hero { position: relative; padding-top: 4.6rem; }
.hero__band { width: 100%; height: max(72vh, 56.25vw); max-height: 92vh; overflow: hidden; background: var(--surface); }
.hero__band img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: heroIn 2.2s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
.hero__copy {
    position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
    margin-top: clamp(-15rem, -16vw, -5rem);
}
.hero__copy .index-line { margin-bottom: 1.2rem; }
.hero__title { font-size: clamp(3rem, 9vw, 9.5rem); max-width: 9.5ch; line-height: .98; }
.hero__foot { margin-top: clamp(2rem, 4vw, 3.5rem); max-width: 26rem; }
.hero__lead { color: var(--muted); margin-bottom: 1.4rem; }

/* statement */
.statement { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: start; }
.statement__media { grid-column: 1 / span 7; }
.statement__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.statement__copy { grid-column: 9 / span 4; padding-top: clamp(4rem, 12vw, 12rem); }

/* offer */
.offer { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: start; }
.offer__copy { grid-column: 2 / span 5; padding-top: clamp(2rem, 6vw, 6rem); }
.offer__media { grid-column: 8 / span 5; margin-top: clamp(4rem, 10vw, 10rem); }
.offer__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.inline-contacts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.inline-contacts .text-link { text-transform: none; letter-spacing: .04em; font-size: .95rem; }

/* fullbleed */
.fullbleed { position: relative; width: 100%; height: max(78vh, 56.25vw); max-height: 100vh; overflow: hidden; color: var(--bg); }
.fullbleed--short { height: max(62vh, 42vw); }
.fullbleed img { width: 100%; height: 100%; object-fit: cover; }
.fullbleed::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(33,29,26,.55) 0%, rgba(33,29,26,.15) 45%, rgba(33,29,26,0) 70%);
}
.fullbleed__overlay { position: absolute; left: var(--gutter); bottom: clamp(2.5rem, 7vw, 6rem); z-index: 2; max-width: 44rem; }
.fullbleed__overlay--right { left: auto; right: var(--gutter); }
.fullbleed__overlay h2 { color: var(--bg); margin-bottom: 1.5rem; }

/* craft */
.craft { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; }
.craft__media { grid-column: 1 / span 8; }
.craft__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%; }
.craft__copy { grid-column: 9 / span 4; padding-bottom: 3rem; }
.craft--reverse .craft__media { grid-column: 5 / span 8; grid-row: 1; }
.craft--reverse .craft__copy { grid-column: 1 / span 4; grid-row: 1; }

/* chapters */
.chapters-wrap { width: 100%; }

/* gallery */
.gallery { max-width: none; background: var(--surface); }
.gallery__intro, .gallery__wall { max-width: var(--max); margin: 0 auto; }
.gallery__intro { padding-left: calc(100% / 12); margin-bottom: clamp(3rem, 7vw, 6rem); }
.gallery__intro p { color: var(--muted); }
.gallery__wall { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: start; }
.gallery__frame--tall { grid-column: 2 / span 4; }
.gallery__frame--tall img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 30% 50%; }
.gallery__frame--wide { grid-column: 7 / span 6; margin-top: clamp(6rem, 18vw, 16rem); }
.gallery__frame--wide img { width: 100%; aspect-ratio: 21 / 10; object-fit: cover; object-position: 60% 60%; }

/* questionnaire */
.questionnaire-wrap { max-width: 64rem; }

/* faq */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.faq__head { grid-column: 1 / span 4; }
.faq__list { grid-column: 6 / span 7; border-top: var(--hair); }
.faq__item { border-bottom: var(--hair); }
.faq__item summary {
    cursor: pointer; list-style: none; padding: 1.5rem 2.5rem 1.5rem 0; position: relative;
    font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: ""; position: absolute; right: 0; top: 50%; width: 1rem; height: 1px; background: var(--accent);
    box-shadow: none; transition: transform .4s var(--ease);
}
.faq__item summary::before {
    content: ""; position: absolute; right: calc(.5rem - .5px); top: calc(50% - .5rem); width: 1px; height: 1rem;
    background: var(--accent); transition: transform .4s var(--ease), opacity .4s;
}
.faq__item[open] summary::before { transform: rotate(90deg); opacity: 0; }
.faq__item p { color: var(--muted); padding-bottom: 1.5rem; }

/* cta */
.cta { padding-bottom: var(--section-space); }
.cta__band { position: relative; width: 100%; height: max(76vh, 56.25vw); max-height: 96vh; overflow: hidden; }
.cta__band img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.cta__copy {
    position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
    max-width: 30rem; padding: clamp(1.5rem, 3vw, 3rem); background: rgba(244,240,234,.82);
}
.cta__copy p { color: var(--muted); }
.cta__copy .btn-outline { margin-top: .8rem; }
.cta__details {
    max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--gutter) 0;
    display: grid; grid-template-columns: 1fr 1fr 2fr; gap: var(--gutter);
    border-top: 0;
}
.cta__details > div { border-top: var(--hair); padding-top: 1.2rem; }
.cta__details a, .cta__details address { font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.4rem); text-decoration: none; line-height: 1.4; }

/* inner page hero */
.page-hero { position: relative; padding-top: 4.6rem; }
.page-hero__band { height: max(72vh, 50vw); max-height: 88vh; overflow: hidden; }
.page-hero__band img { width: 100%; height: 100%; object-fit: cover; animation: heroIn 2s var(--ease) both; }
.page-hero__copy { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); margin-top: clamp(-9rem, -10vw, -3.5rem); position: relative; }
.page-hero__copy h1 { max-width: 12ch; }

.page-hero--portrait {
    display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
    max-width: var(--max); margin: 0 auto; padding: 8rem var(--gutter) 0; align-items: end; min-height: 80vh;
}
.page-hero__copy--side { grid-column: 1 / span 6; margin: 0; padding: 0 0 4rem; }
.page-hero__copy--side .lead { color: var(--muted); margin-top: 2rem; font-size: 1.1rem; }
.page-hero__portrait { grid-column: 8 / span 5; }
.page-hero__portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; animation: heroIn 2s var(--ease) both; }

/* split */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.split__narrow { grid-column: 1 / span 5; }
.split__text { grid-column: 7 / span 5; padding-top: clamp(1rem, 5vw, 5rem); }
.split__text p { color: var(--muted); }

.hairline-list { list-style: none; margin: 0; padding: 0; border-top: var(--hair); }
.hairline-list li { padding: 1.2rem 0; border-bottom: var(--hair); color: var(--muted); }
.hairline-list strong { color: var(--text); font-weight: 600; }

/* principles / steps */
.principles__head, .steps__head { margin-bottom: clamp(2.5rem, 6vw, 5rem); max-width: 40rem; }
.principles__list, .steps__list {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
}
.principles__list li:nth-child(2), .steps__list li:nth-child(2) { margin-top: 4rem; }
.principles__list li:nth-child(3), .steps__list li:nth-child(3) { margin-top: 8rem; }
.principles__list li, .steps__list li { border-top: var(--hair); padding-top: 1.4rem; }
.principles__num, .steps__num { font-family: var(--font-display); font-style: italic; color: var(--accent-deep); font-size: 1.1rem; }
.principles__list h3, .steps__list h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: .8rem 0; }
.principles__list p, .steps__list p { color: var(--muted); }

/* closing strip */
.closing-strip { background: var(--surface); max-width: none; }
.closing-strip__inner { max-width: var(--max); margin: 0 auto; padding-left: calc(100% / 12); }
.closing-strip__inner p:not(.index-line) { color: var(--muted); }

/* contact */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.contact__intro { grid-column: 1 / span 5; }
.contact__intro p { color: var(--muted); }
.contact__list { grid-column: 7 / span 6; margin: 0; }
.contact__list > div { border-top: var(--hair); padding: 1.3rem 0; display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; }
.contact__list dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: .35rem; }
.contact__list dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.45; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

/* footer */
.site-footer { background: var(--text); color: var(--bg); padding: clamp(4rem, 8vw, 7rem) var(--gutter) 2rem; }
.site-footer a { color: var(--bg); text-decoration-color: #D7B49B; }
.site-footer a:hover { color: #EBD2C0; }
.site-footer .label { color: #C9BFB4; }
.site-footer__top, .site-footer__grid, .site-footer__bottom { max-width: var(--max); margin: 0 auto; }
.site-footer__mark { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 5rem); margin: 0; line-height: 1; max-width: none; }
.site-footer__mark em { color: #D7B49B; }
.site-footer__line { color: #C9BFB4; margin-top: 1rem; }
.site-footer__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter);
    margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid rgba(215,180,155,.35);
    font-size: .95rem;
}
.site-footer__small { color: #C9BFB4; margin-top: .8rem; font-size: .88rem; }
.site-footer__bottom {
    display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem;
    font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #C9BFB4;
}
.site-footer__bottom p { margin: 0; }

/* reveal motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1024px) {
    .statement__media { grid-column: 1 / span 8; }
    .statement__copy { grid-column: 7 / span 6; padding-top: 0; margin-top: -3rem; background: var(--bg); padding: 2rem 0 0 2rem; grid-row: 2; }
    .offer__copy { grid-column: 1 / span 6; }
    .offer__media { grid-column: 7 / span 6; }
    .craft__media, .craft--reverse .craft__media { grid-column: 1 / -1; grid-row: auto; }
    .craft__copy, .craft--reverse .craft__copy { grid-column: 4 / span 9; grid-row: auto; padding-bottom: 0; }
    .faq__head { grid-column: 1 / -1; }
    .faq__list { grid-column: 2 / -1; }
    .cta__details { grid-template-columns: 1fr 1fr; }
    .cta__details > div:last-child { grid-column: 1 / -1; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0; background: var(--bg);
        border-bottom: var(--hair); padding: 1rem var(--gutter) 2rem;
        display: none;
    }
    .site-nav.is-open { display: block; }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav a { padding: .9rem 0; font-size: .9rem; width: 100%; border-bottom: 1px solid rgba(162,112,79,.2); }
    .site-header { background: rgba(244,240,234,.95); }

    .hero__band { height: 72vh; }
    .hero__band img { object-position: 72% 50%; }
    .hero__copy { margin-top: -6.5rem; }
    .hero__title { font-size: clamp(2.7rem, 13vw, 4.2rem); }

    .statement, .offer, .craft, .faq, .split, .contact, .gallery__wall, .page-hero--portrait { grid-template-columns: 1fr; }
    .statement > *, .offer > *, .craft > *, .faq > *, .split > *, .contact > *, .gallery__wall > *, .page-hero--portrait > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
    .statement__media { margin-right: calc(var(--gutter) * -1); }
    .statement__copy { margin: -2.5rem 0 0 2.5rem; padding: 1.6rem 0 0 1.6rem; }
    .offer__media { margin: 0 0 0 20%; order: -1; }
    .offer__copy { padding-top: 0; }
    .craft__media { margin-left: calc(var(--gutter) * -1); }
    .craft__copy { padding-left: 15%; }
    .gallery__intro { padding-left: 0; }
    .gallery__frame--tall { margin-right: 22%; }
    .gallery__frame--wide { margin: 0 0 0 10%; }

    .fullbleed, .fullbleed--short { height: 78vh; }
    .fullbleed__overlay--right { left: var(--gutter); right: var(--gutter); }

    .cta__band { height: auto; overflow: visible; }
    .cta__band img { height: 60vh; }
    .cta__copy { position: relative; right: auto; top: auto; transform: none; margin: -4rem var(--gutter) 0 calc(var(--gutter) + 12%); background: var(--bg); }
    .cta__details { grid-template-columns: 1fr; }

    .page-hero--portrait { padding-top: 6.5rem; min-height: 0; }
    .page-hero__copy--side { padding-bottom: 0; }
    .page-hero__portrait { margin-left: 18%; }

    .principles__list, .steps__list { grid-template-columns: 1fr; }
    .principles__list li:nth-child(n), .steps__list li:nth-child(n) { margin-top: 0; }
    .principles__list li:nth-child(2), .steps__list li:nth-child(2) { margin-left: 12%; }
    .principles__list li:nth-child(3), .steps__list li:nth-child(3) { margin-left: 24%; }

    .closing-strip__inner { padding-left: 0; }
    .contact__list > div { grid-template-columns: 1fr; gap: .3rem; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .site-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .reveal .index-line::before { transform: none; }
}
/* STD GEN generated brand lockup */
.lf-brand-lockup{display:inline-flex;align-items:center;text-decoration:none;flex:0 0 auto}.lf-brand-lockup img{display:block;width:auto;height:44px;max-width:min(260px,48vw);object-fit:contain}@media(max-width:700px){.lf-brand-lockup img{height:36px;max-width:54vw}}
