/* ============================================================
   MINAWA GROUP - site.css (2026 redesign)
   Ink + stone + brick. Space Grotesk display, Inter body.
   ============================================================ */

:root {
    --ink: #161B1F;
    --ink-2: #3A4248;
    --stone: #F3F0EA;
    --paper: #FFFFFF;
    --sand: #E4DED4;
    --line: #D9D3C9;
    --brick: #9C4A24;
    --brick-dark: #6E3317;
    --brick-light: #E3A782;
    --body: #3A4045;
    --muted: #565B5F;
    --on-ink: #C9CDD0;
    --on-ink-muted: #B7BCC0;
    --green: #2F6B3F;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --gutter: clamp(20px, 5vw, 64px);
    --section: clamp(72px, 9vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--stone);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.menu-open, body.lightbox-open, body.pmodal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
picture > source { display: none; }
a { color: var(--brick); }
a:hover { color: var(--brick-dark); }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: inherit; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--stone); padding: 10px 16px; }
.skip-link:focus { left: 8px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.on-ink { background: var(--ink); color: var(--stone); }
.on-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Type ---------- */
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brick); }
.on-ink .eyebrow { color: var(--brick-light); }
.display { font-weight: 800; font-size: clamp(44px, 6.2vw, 92px); line-height: 0.98; letter-spacing: -0.025em; }
.h2 { font-weight: 700; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
.h2-sm { font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.lead { font-size: 19px; max-width: 560px; }
.muted { color: var(--muted); }
.body-copy { color: var(--body); display: flex; flex-direction: column; gap: 20px; }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-brick { background: var(--brick); color: #fff; }
.btn-brick:hover { background: var(--brick-dark); color: #fff; }
.btn-ink { background: var(--ink); color: var(--stone); }
.btn-ink:hover { background: #000; color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--stone); color: var(--ink); }
.btn-ghost { border-color: #5A6268; color: var(--stone); background: transparent; }
.btn-ghost:hover { border-color: var(--stone); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; color: var(--brick); cursor: pointer; }
.link-arrow::after { content: "\2192"; margin-left: 6px; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.on-ink .link-arrow { color: var(--brick-light); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--stone); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(22, 27, 31, 0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 10px; }
.brand img { height: 64px; width: auto; mix-blend-mode: multiply; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; box-shadow: inset 0 -2px 0 transparent; }
.nav-links a:hover { color: var(--brick); }
.nav-links a[aria-current="page"] { color: var(--brick); font-weight: 600; box-shadow: inset 0 -2px 0 var(--brick); }
.nav-call { min-height: 44px; padding: 0 20px; font-size: 15px; }
.nav-links .nav-call-mobile { display: none; }
.hamburger { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-overlay { display: none; }

@media (max-width: 960px) {
    .brand img { height: 52px; }
    .hamburger { display: flex; }
    .nav-call { display: none; }
    .nav-links { position: fixed; top: 0; right: 0; bottom: 0; width: min(84vw, 340px); flex-direction: column; gap: 0; padding: 88px 28px 28px; background: var(--stone); transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; z-index: 60; overflow-y: auto; }
    .nav-links.active { transform: translateX(0); visibility: visible; transition: transform .25s ease; box-shadow: -12px 0 32px rgba(0,0,0,.18); }
    .nav-links li { border-bottom: 1px solid var(--line); }
    .nav-links a { min-height: 56px; font-size: 18px; width: 100%; box-shadow: none; }
    .nav-links a[aria-current="page"] { box-shadow: none; }
    .nav-links .nav-call-mobile { display: block; border: 0; margin-top: 24px; }
    .nav-links .nav-call-mobile a { justify-content: center; color: var(--stone); font-size: 16px; }
    .hamburger { position: relative; z-index: 70; }
    .mobile-overlay { display: block; position: fixed; inset: 0; background: rgba(16,20,23,.5); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 45; }
    .mobile-overlay.active { opacity: 1; pointer-events: auto; }
}

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--stone); }
.hero-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); }
.hero-copy { padding: clamp(56px, 8vw, 128px) clamp(20px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 32px; }
.hero-copy .lead { color: var(--on-ink); }
.hero-media { position: relative; min-height: 560px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-tags { position: absolute; left: clamp(16px, 3vw, 40px); right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
/* Hero: the 1990 award as a turning seal, tucked beside the buttons so the hero keeps its height */
.hero-copy { position: relative; }
.hero-award { display: inline-flex; align-items: center; gap: 18px; align-self: flex-start; margin-top: 52px; color: var(--stone); text-decoration: none; }
.hero-seal { position: relative; flex: none; width: 150px; height: 150px; display: grid; place-items: center; }
.hero-seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: seal-turn 40s linear infinite; }
.hero-seal-ring circle { fill: none; stroke: rgba(227, 167, 130, .4); stroke-width: 1; }
.hero-seal-ring circle + circle { stroke: rgba(227, 167, 130, .18); stroke-dasharray: 2 5; }
.hero-seal-ring text { fill: var(--brick-light); font: 600 12.5px var(--font-display), sans-serif; text-transform: uppercase; letter-spacing: .5px; }
.hero-award-img { position: absolute; left: 50%; bottom: 8%; height: 132%; width: auto; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .6)); transform: translateX(-50%) rotate(-4deg); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hero-award-tag { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.hero-award-year { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -.02em; background: linear-gradient(180deg, #F4D9B5 0%, #E3A782 45%, #B8743F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-award-go { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--brick-light); transition: transform .3s ease; }
.hero-award:hover .hero-award-img, .hero-award:focus-visible .hero-award-img { transform: translateX(-50%) rotate(0deg) translateY(-6px) scale(1.04); }
.hero-award:hover .hero-seal-ring { animation-duration: 12s; }
.hero-award:hover .hero-award-go { transform: translateX(4px); }
.hero-award:focus-visible { outline: 2px solid var(--brick-light); outline-offset: 6px; }
@keyframes seal-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-seal-ring { animation: none; } }
/* Laptops (two columns, narrower panel): the seal sits in the empty top-right corner beside the headline */
@media (min-width: 1080px) and (max-width: 1359px) {
    .hero-award { position: absolute; right: clamp(20px, 2.5vw, 36px); top: 104px; margin-top: 0; flex-direction: column; gap: 10px; align-items: center; }
    .hero-seal { width: 136px; height: 136px; }
    .hero-award-tag { align-items: center; text-align: center; }
    .hero-award-year { font-size: 26px; }
}
/* Wide screens: the seal floats in the free corner of the dark panel, adding no height */
@media (min-width: 1360px) {
    .hero-copy .lead { max-width: 380px; }
    .hero-award { position: absolute; right: clamp(24px, 3vw, 56px); bottom: clamp(36px, 4.5vw, 64px); flex-direction: column; gap: 12px; align-items: center; margin-top: 0; }
    .hero-seal { width: clamp(160px, 13vw, 190px); height: clamp(160px, 13vw, 190px); }
    .hero-award-tag { align-items: center; text-align: center; }
    .hero-award-year { font-size: 30px; }
}
.photo-tag { background: var(--ink); color: var(--stone); padding: 8px 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Stats ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat { padding: 40px 24px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1; }
.stat-num.brick { color: var(--brick); }
.stat p:last-child { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 520px) { .stat { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

/* ---------- Places ribbon ---------- */
.places .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px clamp(16px, 2.2vw, 36px); padding-block: 28px; }
.places .label { color: var(--brick-light); letter-spacing: 0.16em; }
.places strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.01em; }
.places i { width: 8px; height: 8px; background: var(--brick); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.top { align-items: start; }
.collage { position: relative; height: clamp(440px, 46vw, 620px); }
.collage .c1 { position: absolute; left: 0; top: 0; width: 72%; height: 82%; object-fit: cover; }
.collage .c2 { position: absolute; right: 0; bottom: 0; width: 52%; height: 56%; object-fit: cover; border: 10px solid var(--stone); }
.stamp { position: absolute; left: 0; bottom: 0; background: var(--brick); color: #fff; padding: 18px 22px; display: flex; flex-direction: column; }
.stamp small { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #F6E3D8; }
.stamp strong { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1.05; }

/* ---------- Pillars ---------- */
.pillars-img { width: 100%; height: clamp(320px, 36vw, 520px); object-fit: cover; margin-top: 12px; }
.pillar { display: flex; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.pillar:first-child { padding-top: 0; }
.pillar-num { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--brick); min-width: 64px; }
.pillar h3 { font-size: 22px; line-height: 1.25; margin-bottom: 6px; }
.pillar p { color: var(--muted); font-size: 16px; }

/* ---------- Promise band ---------- */
.promise { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.promise img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promise::before { content: ""; position: absolute; inset: 0; background: rgba(16, 20, 23, 0.62); z-index: 1; }
.promise .wrap { position: relative; z-index: 2; width: 100%; padding-block: clamp(72px, 9vw, 120px); display: flex; flex-direction: column; gap: 28px; }
.promise .eyebrow { color: #F0C3A6; }
.promise blockquote { margin: 0; max-width: 980px; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.025em; }
.promise p { font-size: 18px; color: #E4E6E8; }

/* ---------- Project cards (home) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 48px 28px; }
.pcard { display: flex; flex-direction: column; gap: 18px; }
.pcard-media { position: relative; height: 400px; overflow: hidden; background: var(--sand); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard-media img { transform: scale(1.03); }
.num-tag { position: absolute; top: 0; left: 0; z-index: 2; background: var(--ink); color: var(--stone); font-family: var(--font-display); font-weight: 700; font-size: 18px; padding: 10px 16px; }
.pcard-meta { display: flex; justify-content: space-between; gap: 12px; }
.delivered { color: var(--green); }
.pcard h3 { font-size: 24px; line-height: 1.2; }
.pcard p { color: var(--muted); font-size: 15px; }
.pcard-body { display: flex; flex-direction: column; gap: 6px; }
.ph { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 28px; background: var(--sand); overflow: hidden; }
.ph svg { position: absolute; right: -20px; top: 24px; width: 260px; height: 260px; }
.ph strong { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1.1; }
.ph span { position: relative; font-size: 14px; color: var(--muted); }

/* ---------- Mosaic ---------- */
/* Fixed 4 columns (2 on phones) so the big/tall tiles always pack with no holes. */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 240px); grid-auto-flow: dense; gap: 12px; }
@media (max-width: 760px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; } }
.mosaic > * { position: relative; overflow: hidden; min-height: 0; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.span-2 { grid-column: span 2; }
.tall { grid-row: span 2; }
.big { grid-column: span 2; grid-row: span 2; }
.mosaic-stat { container-type: inline-size; background: var(--ink); color: var(--stone); padding: clamp(16px, 2vw, 24px); display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
/* Sized to the tile's own width so "100%" can never spill out of it. */
.mosaic-stat strong { font-family: var(--font-display); font-weight: 800; font-size: min(64px, 30cqi); line-height: .9; white-space: nowrap; letter-spacing: -0.02em; }
.mosaic-stat .label { font-size: min(13px, 7cqi); }
.mosaic-stat .label { color: var(--brick-light); letter-spacing: .14em; }
.mosaic-stat span:last-child { font-size: 14px; color: var(--on-ink); }

/* ---------- Testimonials ---------- */
.quotes-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; }
.quote-line { margin: 0; display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--ink-2); padding-top: 28px; }
.quote-line blockquote { margin: 0; font-size: 20px; line-height: 1.5; }
.quote-line figcaption { font-size: 15px; color: var(--on-ink-muted); }
.quote-line strong { color: var(--stone); font-weight: 600; }
.qcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.qcard { margin: 0; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.qcard img { width: 100%; height: 180px; object-fit: cover; }
.qcard-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.qmark { font-family: var(--font-display); font-weight: 800; font-size: 72px; line-height: .6; color: var(--brick); height: 32px; }
.qcard blockquote { margin: 0; font-size: 18px; line-height: 1.55; flex-grow: 1; }
.qcard figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.initials { width: 44px; height: 44px; flex-shrink: 0; background: var(--ink); color: var(--stone); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.qcard figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.qcard figcaption small { font-size: 14px; color: var(--muted); }
.feature-quote { margin: 0; display: flex; flex-direction: column; gap: 28px; }
.feature-quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.25; letter-spacing: -0.01em; }
.feature-quote figcaption { color: var(--on-ink-muted); }
.feature-quote strong { color: var(--stone); font-weight: 600; }
.feature-img { width: 100%; height: 480px; object-fit: cover; }

/* ---------- Visit + CTA ---------- */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 28px; }
.panel { background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 28px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.facts dt { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; overflow-wrap: anywhere; }
.facts a { text-decoration: none; }
.cta-brick { background: var(--brick); color: #fff; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.cta-brick h2 { font-weight: 800; font-size: clamp(34px, 3.8vw, 52px); line-height: 1.02; letter-spacing: -0.02em; }
.cta-brick p { color: #F6E3D8; }
.cta-strip { padding: clamp(36px, 5vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.cta-strip h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; margin-bottom: 10px; }
.cta-strip.brick { background: var(--brick); color: #fff; }
.cta-strip.brick p { color: #F6E3D8; }
.cta-strip.ink { background: var(--ink); color: var(--stone); }
.cta-strip.ink p { color: var(--on-ink); }
.cta-strip.paper { background: var(--paper); border: 1px solid var(--line); }
.cta-strip.paper p { color: var(--muted); }
.cta-wrap { max-width: 1152px; margin: 0 auto; }

/* ---------- Page intro ---------- */
.intro { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(48px, 6vw, 80px); }
.intro .display { font-size: clamp(44px, 6vw, 88px); max-width: 1000px; }
.wide-img { width: 100%; height: clamp(320px, 42vw, 600px); object-fit: cover; }

/* ---------- About ---------- */
.stats-paper .stat-num { font-size: 64px; }
.award-band .split { align-items: center; }
.award-year { font-family: var(--font-display); font-weight: 800; font-size: clamp(96px, 16vw, 220px); line-height: .85; letter-spacing: -0.04em; color: var(--brick-light); }
.award-band p { color: var(--on-ink); }
/* 1990 award: turnable bronze sculpture (real photos, backgrounds removed) */
.award-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .award-grid { grid-template-columns: 1fr; } }
.award-stage { position: relative; display: flex; flex-direction: column; align-items: center; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; outline: none; }
.award-stage.dragging { cursor: grabbing; }
.award-frames { position: relative; width: min(100%, 420px); aspect-ratio: 2 / 3; }
.award-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.985); transition: opacity .45s ease, transform .6s ease; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); pointer-events: none; }
.award-frame.is-active { opacity: 1; transform: none; }
.award-floor { width: 62%; max-width: 280px; height: 26px; margin-top: -30px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55) 0%, transparent 70%); pointer-events: none; }
.award-controls { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
.award-views { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid rgba(227, 167, 130, .35); border-radius: 999px; background: rgba(243, 240, 234, .04); }
.award-view { min-height: 40px; min-width: 64px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--on-ink); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.award-view:hover { color: #fff; }
.award-view.active { background: var(--brick); color: #fff; }
@media (prefers-reduced-motion: reduce) { .award-frame { transition: none; } }
.award-model { width: min(100%, 460px); height: clamp(440px, 62vw, 640px); background: transparent; --poster-color: transparent; --progress-bar-height: 0px; outline: none; position: relative; z-index: 1; cursor: grab; }
.award-model:focus-visible { outline: 2px solid var(--brick-light); outline-offset: 4px; }
.award-hint { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-muted); }
.award-reset { position: absolute; top: 12px; right: 12px; z-index: 2; min-height: 40px; padding: 0 16px; font: 600 13px var(--font-body, Inter, system-ui, sans-serif); letter-spacing: .04em; color: var(--stone, #F3F0EA); background: rgba(22, 27, 31, .75); border: 1px solid var(--brick-light); cursor: pointer; }
.award-reset:hover { background: var(--brick); }
.award-reset[hidden] { display: none; }
.award-copy .award-year { font-size: clamp(80px, 11vw, 160px); }

/* Founder memorial (top of About) */
.founder { background: var(--ink); color: var(--stone); padding-block: clamp(56px, 7vw, 104px); overflow: hidden; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.founder-portrait { position: relative; margin: 0 18px 18px 0; max-width: 420px; }
.founder-portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(227, 167, 130, 0.55); }
.founder-portrait img { position: relative; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 56% 35%; filter: grayscale(1) contrast(1.04); }
.founder-text { display: flex; flex-direction: column; gap: 18px; max-width: 600px; }
.founder-text > p:not(.eyebrow):not(.founder-role):not(.founder-rip) { color: var(--on-ink); font-size: 18px; line-height: 1.7; }
.founder-name { font-weight: 800; font-size: clamp(44px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.025em; }
.founder-role { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); margin-top: -4px; }
.founder-rule { display: block; width: 64px; height: 3px; background: var(--brick); margin: 8px 0; }
.founder-rip { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--brick-light); }
@media (max-width: 860px) {
    .founder-grid { grid-template-columns: 1fr; }
    .founder-portrait { max-width: min(420px, calc(100% - 18px)); }
}
.pull { margin: 12px 0 0; padding: 4px 0 4px 24px; box-shadow: inset 3px 0 0 var(--brick); font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.3; color: var(--ink); }
.grid-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 12px; }
.grid-collage img { width: 100%; height: 100%; object-fit: cover; }
.ink-tile { background: var(--ink); color: var(--stone); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.ink-tile strong { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; }
.ink-tile span { font-size: 14px; color: var(--on-ink); }
.pillar-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 32px; }
.pillar-col { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.pillar-col span { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--brick); }
.pillar-col h3 { font-size: 20px; line-height: 1.25; }
.pillar-col p { color: var(--muted); font-size: 15px; }
.thumb-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.thumb-link { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.thumb-link img { width: 100%; height: 300px; object-fit: cover; margin-bottom: 8px; }
.thumb-link strong { font-family: var(--font-display); font-size: 20px; }
.thumb-link small { font-size: 14px; color: var(--muted); }
.on-ink .thumb-link { color: var(--stone); }
.on-ink .thumb-link img { height: 240px; }
.thumb-link:hover strong { color: var(--brick); }
.on-ink .thumb-link:hover strong { color: var(--brick-light); }

/* ---------- Projects page ---------- */
.regions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.region { padding: 36px 24px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); }
.region:first-child { border-left: 0; padding-left: 0; }
.region strong { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--brick); }
.region strong.ink { color: var(--ink); }
.region b { font-weight: 600; }
.region span { font-size: 14px; color: var(--muted); }
@media (max-width: 520px) { .region { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.chip { min-height: 44px; padding: 0 20px; font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid #C9C2B6; background: transparent; color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--stone); }
.prows { display: flex; flex-direction: column; gap: 64px; padding-top: 48px; }
.prow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(24px, 4vw, 64px); align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 64px; }
.prow.hide { display: none; }
.prow-media { position: relative; display: flex; flex-direction: column; gap: 12px; }
.prow-main { width: 100%; height: 440px; object-fit: cover; }
.prow-main.solo { height: 572px; }
@media (max-width: 600px) { .prow-main.solo { height: 380px; } }
.prow-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.prow-thumbs img { width: 100%; height: 120px; object-fit: cover; }
.prow .ph { height: 572px; }
.prow .ph svg { width: 400px; height: 400px; right: -30px; top: 30px; }
.prow-media .num-tag { font-size: 20px; padding: 12px 18px; }
.prow-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.prow h2 { font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.015em; }
.prow p { color: var(--body); max-width: 520px; }
.prow .btn-row { margin-top: 8px; }
@media (max-width: 600px) { .prow-main { height: 320px; } .prow-thumbs img { height: 84px; } .prow .ph { height: 380px; } }

/* ---------- Gallery ---------- */
.featured { position: relative; height: clamp(380px, 46vw, 620px); overflow: hidden; }
.featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.featured-stats { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--stone); padding: clamp(20px, 3vw, 36px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.featured-stats div { display: flex; flex-direction: column; }
.featured-stats strong { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; }
.featured-stats strong.brick { color: var(--brick-light); }
.featured-stats span { font-size: 13px; color: var(--on-ink-muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(50% - 6px, 240px), 1fr)); grid-auto-rows: clamp(140px, 18vw, 260px); grid-auto-flow: dense; gap: 12px; }
.gallery-item { position: relative; overflow: hidden; cursor: zoom-in; background: var(--sand); }
.gallery-item.hide { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .cap { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--stone); font-size: 13px; font-weight: 500; padding: 6px 12px; }
.gallery-empty { display: none; padding: 48px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.badge i { width: 8px; height: 8px; background: var(--green); }
.badge i.brick { background: var(--brick); }
.intro-img { position: relative; height: clamp(300px, 32vw, 440px); }
.intro-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro-img .photo-tag { position: absolute; right: 0; bottom: 0; }
.big-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 32px; text-decoration: none; }
.ig-btn { display: inline-flex; align-items: center; gap: 14px; align-self: center; justify-self: start; text-decoration: none; color: var(--ink); }
.ig-icon { width: 52px; height: 52px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--brick); color: #fff; transition: background .2s, transform .2s; }
.ig-icon svg { width: 26px; height: 26px; }
.ig-text { display: flex; flex-direction: column; font-weight: 600; line-height: 1.3; }
.ig-text small { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ig-btn:hover { color: var(--brick); }
.ig-btn:hover .ig-icon { background: var(--brick-dark); transform: translateY(-2px); }
.contact-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; }
.contact-duo .big-link { padding: clamp(28px, 4vw, 48px); min-height: 180px; }
.big-link em { font-style: normal; font-size: 15px; opacity: .8; margin-top: 4px; }
.big-link span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.big-link small { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.big-link strong { font-family: var(--font-display); font-weight: 700; overflow-wrap: anywhere; }
.big-link svg { width: 24px; height: 24px; flex-shrink: 0; transition: transform .2s; }
.big-link:hover svg { transform: translateX(4px); }
.big-link.ink { background: var(--ink); color: var(--stone); }
.big-link.ink small { color: var(--on-ink-muted); }
.big-link.ink strong { font-size: 30px; }
.big-link.paper { background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.big-link.paper small { color: var(--muted); }
.big-link.paper strong { font-size: 20px; }
.info-card { padding: 28px 32px; background: var(--paper); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.info-card p + p { margin-top: 6px; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p { color: var(--body); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink); font-size: 15px; }
.site-footer .wrap { padding-block: 80px 48px; display: flex; flex-direction: column; gap: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; }
.footer-logo { height: 84px; width: auto; filter: invert(1); mix-blend-mode: screen; margin-bottom: 20px; }
.footer-grid h4 { font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.footer-grid li a { display: inline-flex; align-items: center; min-height: 34px; color: var(--on-ink); text-decoration: none; }
.footer-grid li a:hover { color: #fff; }
.footer-grid .accent { color: var(--brick-light); text-decoration: none; }
.footer-grid .accent:hover { color: #fff; }
/* Powered by Phalanx Systems: our studio credit, in Minawa's colours */
.phx-band { --phx-accent: #E3A782; --phx-line: rgba(227,167,130,0.65); --phx-halo: rgba(227,167,130,.12); --phx-glow: rgba(227,167,130,0.55); --phx-ink: var(--stone); --phx-muted: var(--on-ink-muted); display: flex; justify-content: center; margin-top: -20px; }
.phx-band .phx-credit { display: grid; justify-items: center; gap: 14px; width: min(620px, 100%); margin: 0; padding: 0; border: 0; background: none; color: var(--phx-ink); text-decoration: none; }
.phx-credit .phx-rule { display: flex; align-items: center; gap: 20px; width: 100%; }
.phx-credit .phx-rule i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--phx-line)); }
.phx-credit .phx-rule i:last-child { background: linear-gradient(270deg, transparent, var(--phx-line)); }
.phx-credit .phx-rule img { display: block; width: 44px; height: 44px; max-width: none; margin: 0; border-radius: 50%; box-shadow: 0 0 0 1px var(--phx-accent), 0 0 0 6px var(--phx-halo), 0 0 34px -4px var(--phx-glow); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.phx-credit .phx-name { display: grid; justify-items: center; gap: 7px; line-height: 1; }
.phx-credit .phx-name small { font-size: 10px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; color: var(--phx-muted); padding-left: .42em; opacity: 1; }
.phx-credit .phx-name b { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 2.2vw, 22px); letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; padding-left: .26em; color: var(--phx-ink); transition: color .35s; }
.phx-credit .phx-name em { font-style: normal; font-weight: 600; font-size: 9px; letter-spacing: .7em; text-transform: uppercase; color: var(--phx-accent); padding-left: .7em; }
.phx-credit:hover .phx-rule img { transform: rotate(360deg); }
.phx-credit:hover .phx-name b { color: var(--phx-accent); }
.phx-credit:focus-visible { outline: 2px solid var(--phx-accent); outline-offset: 8px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .phx-credit .phx-rule img, .phx-credit .phx-name b { transition: none; } }
@media (max-width: 760px) { .footer-bottom { flex-direction: column; text-align: center; } }
@media (max-width: 760px) { .site-footer .wrap { padding-bottom: 88px; } }

/* Instagram button in the header */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-ig { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--brick); color: #fff; transition: background .2s, transform .2s; }
.nav-ig svg { width: 22px; height: 22px; }
.nav-ig:hover { background: var(--brick-dark); color: #fff; transform: translateY(-2px); }
@media (max-width: 960px) { .nav-actions { margin-left: auto; } .site-header .wrap { gap: 10px; } }

.footer-bottom { border-top: 1px solid var(--ink-2); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #A4AAAF; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { color: #A4AAAF; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Scroll top ---------- */
.scroll-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border: 0; background: var(--brick); color: #fff; font-size: 20px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
.scroll-top.visible { opacity: 1; pointer-events: auto; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(12, 15, 17, .95); display: none; align-items: center; justify-content: center; flex-direction: column; gap: 16px; padding: 64px 24px 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 78vh; object-fit: contain; }
.lightbox-caption { color: var(--on-ink); font-size: 15px; text-align: center; }
.lightbox-caption small { display: block; color: var(--brick-light); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.lightbox-btn { position: absolute; width: 52px; height: 52px; border: 1px solid #5A6268; background: rgba(22,27,31,.6); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-btn:hover { border-color: #fff; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Project modal ---------- */
.pmodal { position: fixed; inset: 0; z-index: 250; background: rgba(12, 15, 17, .78); display: none; align-items: center; justify-content: center; padding: 24px; }
.pmodal.open { display: flex; }
.pmodal-card { position: relative; width: min(980px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; background: var(--stone); }
.pmodal-close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 48px; height: 48px; border: 0; background: var(--ink); color: #fff; font-size: 28px; cursor: pointer; }
.pcarousel { position: relative; overflow: hidden; background: var(--ink); }
.pcarousel-track { display: flex; transition: transform .45s ease; }
.pcarousel-slide { flex: 0 0 100%; height: clamp(280px, 55vh, 560px); }
.pcarousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.pcarousel-slide .ph { height: 100%; }
.pcarousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; background: rgba(22,27,31,.75); color: #fff; font-size: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pcarousel-prev { left: 12px; }
.pcarousel-next { right: 12px; }
.pcarousel-count { position: absolute; left: 12px; bottom: 12px; background: var(--ink); color: var(--stone); font-size: 13px; padding: 6px 10px; }
.pcarousel-dots { position: absolute; right: 12px; bottom: 16px; display: flex; gap: 2px; }
.pcarousel-dot { width: 24px; height: 24px; border: 0; background: transparent; cursor: pointer; position: relative; }
.pcarousel-dot::after { content: ""; position: absolute; inset: 9px; background: rgba(255,255,255,.5); }
.pcarousel-dot.active::after { background: #fff; }
.pmodal-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.pmodal-badges .tag { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.pmodal-title { font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.pmodal-loc { color: var(--muted); font-weight: 500; }
.pmodal-desc { display: flex; flex-direction: column; gap: 12px; color: var(--body); }
.pmodal-features { display: flex; flex-wrap: wrap; gap: 8px; }
.pmodal-features span { border: 1px solid var(--line); background: var(--paper); padding: 6px 12px; font-size: 14px; }
.pmodal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.pmodal-actions .btn { min-height: 48px; }
