/* Stigm Inter — Premium editorial design system */

:root {
    --color-bg: #F5F3EF;
    --color-surface: #EAE6DE;
    --color-text: #1A1A18;
    --color-muted: #6B655C;
    --color-accent: #B0793E;
    --font-display: 'Bodoni Moda', 'Times New Roman', serif;
    --font-body: 'Manrope', -apple-system, sans-serif;
    --edge: clamp(1.5rem, 5vw, 4.5rem);
    --rule: 1px solid rgba(26,26,24,0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: -999px; top: 0;
    background: var(--color-accent); color: #fff;
    padding: 0.8rem 1.2rem; z-index: 200;
}
.skip-link:focus { left: var(--edge); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(245,243,239,0.92);
    backdrop-filter: blur(6px);
    border-bottom: var(--rule);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem var(--edge);
}
.wordmark {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--color-text);
}
.wordmark--footer { font-size: 1.6rem; margin-bottom: 0.4rem; }

.site-nav ul {
    list-style: none; display: flex; gap: 2rem;
    margin: 0; padding: 0;
}
.site-nav a {
    text-decoration: none;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    color: var(--color-muted);
    padding-bottom: 0.3rem;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--color-text);
    border-bottom-color: var(--color-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 0.4rem;
}
.nav-toggle span {
    width: 24px; height: 1.5px; background: var(--color-text); display: block;
}

/* ---------- Section label / signature device ---------- */
.section-label {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 2.2rem;
}
.section-label__num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-accent);
    flex-shrink: 0;
}
.section-label__rule {
    height: 1px; flex: 1;
    background: linear-gradient(to right, var(--color-accent), transparent 85%);
}
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    color: var(--color-muted);
    margin: 0 0 0.6rem;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--color-text);
}
.hero__media {
    position: absolute; inset: 0;
}
.hero__media img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.92;
}
.hero__media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(10,9,7,0.55) 100%);
}
.hero__content {
    position: relative; z-index: 2;
    color: #F5F3EF;
    padding: var(--edge);
    max-width: 640px;
}
.hero__eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E4D9C6;
    margin-bottom: 1rem;
}
.hero h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.12;
    margin: 0 0 1.2rem;
}
.hero p {
    font-size: 1.05rem;
    color: #E9E4DB;
    max-width: 34ch;
    margin: 0 0 1.6rem;
}

/* ---------- Editorial buttons / CTA arrow ---------- */
.text-cta {
    display: inline-flex; align-items: center; gap: 0.6rem;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: inherit;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.15rem;
    transition: gap 0.25s ease, opacity 0.25s ease;
}
.text-cta:hover { gap: 1rem; }
.text-cta__arrow { transition: transform 0.25s ease; }
.text-cta:hover .text-cta__arrow { transform: translateX(3px); }

/* ---------- Generic section rhythm ---------- */
.section {
    padding: clamp(4rem, 9vw, 7.5rem) var(--edge);
}
.section--surface { background: var(--color-surface); }

/* Statement: narrow single column with big margins */
.statement {
    max-width: 640px;
}
.statement__text {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
}

/* Asymmetric split (offer, craft) */
.split {
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
.split--70-30 { grid-template-columns: 1.6fr 1fr; }
.split--30-70 { grid-template-columns: 1fr 1.6fr; }
.split__media img {
    width: 100%; height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.split__media--tall img { aspect-ratio: 4/5; }
.split__copy h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.2;
    margin: 0 0 1.2rem;
}
.split__copy p { color: var(--color-muted); max-width: 46ch; }

/* Offer list */
.offer-list {
    list-style: none; margin: 1.6rem 0 0; padding: 0;
}
.offer-list li {
    display: flex; justify-content: space-between; gap: 1.5rem;
    padding: 1.1rem 0;
    border-top: var(--rule);
}
.offer-list li:last-child { border-bottom: var(--rule); }
.offer-list__name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    flex-shrink: 0;
    width: 40%;
}
.offer-list__desc {
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* Full-bleed section */
.fullbleed {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.fullbleed img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.fullbleed::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(10,9,7,0.5) 0%, rgba(10,9,7,0) 45%);
}
.fullbleed__caption {
    position: relative; z-index: 2;
    color: #F5F3EF;
    padding: var(--edge);
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 30ch;
}

/* ---------- Gallery wall (museum grid, no fixed small heights) ---------- */
.gallery-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--color-text);
}
.gallery-wall__item {
    position: relative;
    background: var(--color-surface);
    overflow: hidden;
}
.gallery-wall__item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 3/4;
    transition: transform 0.6s ease;
}
.gallery-wall__item:hover img { transform: scale(1.03); }
.gallery-wall__item--wide { grid-column: span 2; }
.gallery-wall__item--wide img { aspect-ratio: 16/10; }
.gallery-wall__item--tall img { aspect-ratio: 3/4.6; }
.gallery-wall__num {
    position: absolute; top: 1rem; left: 1rem;
    font-family: var(--font-display);
    font-style: italic;
    color: #F5F3EF;
    font-size: 1.1rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.gallery-wall__caption {
    padding: 0.9rem 1rem 1.4rem;
    font-size: 0.85rem;
    color: var(--color-muted);
    background: var(--color-surface);
}

@media (max-width: 900px) {
    .gallery-wall { grid-template-columns: repeat(2, 1fr); }
    .gallery-wall__item--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
    .gallery-wall { grid-template-columns: 1fr; }
    .gallery-wall__item--wide { grid-column: span 1; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; }
.faq-item {
    border-top: var(--rule);
    padding: 1.6rem 0;
}
.faq-item:last-child { border-bottom: var(--rule); }
.faq-item h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.15rem;
    margin: 0 0 0.6rem;
}
.faq-item p { color: var(--color-muted); margin: 0; max-width: 60ch; }

/* ---------- CTA closing ---------- */
.cta-close {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: var(--color-text);
    color: #F5F3EF;
}
.cta-close__media { position: relative; overflow: hidden; min-height: 460px; }
.cta-close__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-close__copy {
    padding: clamp(2.5rem, 6vw, 5rem);
    display: flex; flex-direction: column; justify-content: center;
}
.cta-close__copy h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.2;
    margin: 0 0 1.4rem;
}
.cta-close__copy p { color: #D8D2C6; margin: 0 0 0.6rem; max-width: 40ch; }
.cta-close .text-cta { color: #F5F3EF; margin-top: 1.4rem; }

@media (max-width: 800px) {
    .cta-close { grid-template-columns: 1fr; }
    .cta-close__media { min-height: 320px; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
    padding: clamp(6rem, 12vw, 9rem) var(--edge) clamp(3rem, 6vw, 4rem);
    max-width: 780px;
}
.page-hero__eyebrow {
    text-transform: uppercase; letter-spacing: 0.16em;
    font-size: 0.8rem; color: var(--color-accent);
    margin-bottom: 1rem;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 4.4vw, 3rem);
    line-height: 1.15;
    margin: 0 0 1.2rem;
}
.page-hero p { color: var(--color-muted); font-size: 1.05rem; max-width: 56ch; }

/* ---------- Simple content blocks ---------- */
.content-block { max-width: 720px; }
.content-block h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    margin: 0 0 1.1rem;
}
.content-block p { color: var(--color-muted); margin: 0 0 1.1rem; }

.two-col {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}
@media (max-width: 720px) {
    .two-col { grid-template-columns: 1fr; }
}

/* Process steps */
.process-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process-step {
    display: grid; grid-template-columns: 90px 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: var(--rule);
}
.process-step:last-child { border-bottom: var(--rule); }
.process-step__num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.8rem;
    color: var(--color-accent);
}
.process-step h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
}
.process-step p { color: var(--color-muted); margin: 0; max-width: 58ch; }

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
}
.contact-card {
    background: var(--color-surface);
    padding: clamp(1.8rem, 3vw, 2.6rem);
}
.contact-card dt {
    text-transform: uppercase; font-size: 0.75rem;
    letter-spacing: 0.1em; color: var(--color-muted);
    margin-top: 1.1rem;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 0.3rem 0 0; font-size: 1.05rem; }
.contact-card a { text-decoration: none; border-bottom: 1px solid var(--color-accent); }

@media (max-width: 780px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* Gallery page grid for gallery.php */
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--color-text);
}
.gallery-page-grid figure {
    margin: 0; position: relative; background: var(--color-surface);
    overflow: hidden;
}
.gallery-page-grid img {
    width: 100%; height: auto; object-fit: cover;
    aspect-ratio: 4/5;
}
.gallery-page-grid figcaption {
    padding: 1rem 1.2rem 1.6rem;
    background: var(--color-surface);
    font-size: 0.9rem; color: var(--color-muted);
}
.gallery-page-grid figcaption strong {
    display: block; font-family: var(--font-display);
    font-style: italic; color: var(--color-accent);
    font-size: 1rem; margin-bottom: 0.3rem;
}
@media (max-width: 700px) {
    .gallery-page-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
    background: var(--color-surface);
    border-top: var(--rule);
    padding: clamp(3rem, 6vw, 4.5rem) var(--edge) 2rem;
}
.site-footer__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.site-footer p { margin: 0.35rem 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); }
.footer-links { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.footer-links li { margin: 0.3rem 0; }
.muted { color: var(--color-muted); }
.site-footer__bottom {
    display: flex; justify-content: space-between;
    border-top: var(--rule); padding-top: 1.4rem;
    font-size: 0.85rem;
}
@media (max-width: 820px) {
    .site-footer__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .site-footer__inner { grid-template-columns: 1fr; }
    .site-footer__bottom { flex-direction: column; gap: 0.5rem; }
}

/* ---------- Responsive nav ---------- */
@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--color-bg);
        border-bottom: var(--rule);
        max-height: 0; overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .site-nav.is-open { max-height: 400px; }
    .site-nav ul { flex-direction: column; gap: 0; padding: 1rem var(--edge) 1.5rem; }
    .site-nav a { display: block; padding: 0.7rem 0; }
    .split--70-30, .split--30-70 { grid-template-columns: 1fr; }
    .split__media { order: -1; }
}

/* Fade-in reveal */
.reveal {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Landing Factory 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}}
