
    :root {
      --bg: #070707;
      --bg-2: #0d0d0f;
      --panel: rgba(255,255,255,.045);
      --panel-strong: rgba(255,255,255,.075);
      --line: rgba(255,255,255,.11);
      --text: #f3f3f3;
      --muted: #a9a9ac;
      --gold: #d8b45b;
      --gold-2: #f4dc90;
      --silver: #c7c9ce;
      --shadow: 0 24px 80px rgba(0,0,0,.42);
      --radius: 22px;
      --max: 1180px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background:
        radial-gradient(circle at 15% 10%, rgba(216,180,91,.08), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(199,201,206,.06), transparent 27%),
        linear-gradient(180deg, #050505 0%, #0a0a0b 45%, #060606 100%);
      color: var(--text);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.5;
      min-height: 100vh;
    }

    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    button, input, textarea, select { font: inherit; }

    .shell { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(16px);
      background: rgba(0,0,0,.94);
      border-bottom: 1px solid rgba(255,255,255,.07);
    }

    .nav {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .brand img { width: 48px; height: 48px; object-fit: contain; }
    .brand-text { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .84rem; white-space: nowrap; }

    .nav-links { display: flex; align-items: center; gap: 26px; color: #cfcfd2; font-size: .95rem; }
    .nav-links a:hover { color: var(--gold-2); }

    .nav-cta, .btn-primary, .btn-secondary {
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      font-weight: 800;
      transition: transform .2s ease, border-color .2s ease, background .2s ease;
      cursor: pointer;
    }

    .nav-cta, .btn-primary {
      color: #0b0b0b;
      background: linear-gradient(135deg, var(--gold-2), var(--gold));
      box-shadow: 0 10px 32px rgba(216,180,91,.18);
      border: 1px solid rgba(255,255,255,.24);
    }
    .nav-cta { padding: 11px 18px; }
    .btn-primary { padding: 14px 20px; }
    .btn-secondary {
      padding: 14px 20px;
      color: white;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.045);
    }
    .nav-cta:hover, .btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); }

    .hero { padding: 76px 0 58px; position: relative; overflow: hidden; background: #000; }
    .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 52px; }

    .eyebrow {
      color: var(--gold-2);
      text-transform: uppercase;
      letter-spacing: .18em;
      font-weight: 800;
      font-size: .76rem;
      margin-bottom: 14px;
    }

    h1 {
      margin: 0;
      font-size: clamp(3.1rem, 7vw, 6.4rem);
      line-height: .93;
      letter-spacing: -.055em;
      max-width: 760px;
    }
    .metal {
      background: linear-gradient(100deg, #fff 5%, #b9bbc0 32%, #f4dc90 60%, #c69b3f 95%);
      -webkit-background-clip: text;
      color: transparent;
    }
    .hero-copy p {
      max-width: 670px;
      color: #b8b8bb;
      font-size: 1.12rem;
      margin: 24px 0 28px;
    }
    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

    .hero-note {
      display: flex;
      gap: 18px;
      margin-top: 30px;
      color: #8e8e92;
      font-size: .9rem;
      flex-wrap: wrap;
    }
    .hero-note span::before { content: "•"; color: var(--gold); margin-right: 8px; }

    .logo-stage {
      min-height: 500px;
      display: grid;
      place-items: center;
      position: relative;
    }
    .logo-stage::before { content: none; }
.logo-stage::after { content: none; }
    .logo-stage img {
      width: min(560px, 94%);
      position: relative;
      z-index: 2;
      display: block;
      image-rendering: auto;
    }

    section { padding: 78px 0; }
    .section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
    .section-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.035em; }
    .section-head p { color: var(--muted); max-width: 560px; margin: 0; }

    .services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .card {
      position: relative;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
      border-radius: var(--radius);
      padding: 24px;
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    .card::after {
      content: "";
      position: absolute;
      inset: auto -25% -45% 35%;
      height: 150px;
      background: radial-gradient(circle, rgba(216,180,91,.12), transparent 65%);
      pointer-events: none;
    }
    .icon {
      width: 48px; height: 48px;
      border-radius: 14px;
      display: grid; place-items: center;
      margin-bottom: 28px;
      border: 1px solid rgba(244,220,144,.2);
      background: linear-gradient(135deg, rgba(216,180,91,.15), rgba(255,255,255,.03));
      color: var(--gold-2);
      font-weight: 900;
    }
    .card h3 { margin: 0 0 10px; font-size: 1.25rem; }
    .card p { margin: 0; color: var(--muted); font-size: .95rem; }

    .feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .feature {
      min-height: 360px;
      border: 1px solid var(--line);
      border-radius: 28px;
      padding: 34px;
      display: flex;
      flex-direction: column;
      justify-content: end;
      background:
        linear-gradient(180deg, transparent 25%, rgba(0,0,0,.84) 100%),
        radial-gradient(circle at 20% 18%, rgba(216,180,91,.16), transparent 40%),
        #101012;
      overflow: hidden;
      position: relative;
    }
    .feature:nth-child(2) { background:
      linear-gradient(180deg, transparent 25%, rgba(0,0,0,.84) 100%),
      radial-gradient(circle at 75% 10%, rgba(210,213,220,.16), transparent 38%),
      #101012;
    }
    .feature::before {
      content: "";
      position: absolute;
      inset: 16px;
      border: 1px solid rgba(255,255,255,.06);
      border-radius: 20px;
    }
    .feature small { color: var(--gold-2); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
    .feature h3 { font-size: 2rem; margin: 8px 0 8px; }
    .feature p { color: #b7b7bb; max-width: 520px; margin: 0; }

    .process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
    .step { counter-increment: step; padding: 24px; border-top: 1px solid rgba(255,255,255,.12); }
    .step::before { content: "0" counter(step); color: var(--gold); font-weight: 900; letter-spacing: .08em; }
    .step h3 { margin: 14px 0 8px; }
    .step p { color: var(--muted); margin: 0; font-size: .94rem; }

    .gallery { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-auto-rows: 210px; gap: 14px; }
    .gallery-tile {
      border-radius: 22px;
      border: 1px solid rgba(255,255,255,.09);
      background:
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.015)),
        radial-gradient(circle at 25% 20%, rgba(216,180,91,.16), transparent 40%),
        #0f0f11;
      padding: 22px;
      display: flex;
      align-items: end;
      position: relative;
      overflow: hidden;
    }
    .gallery-tile:first-child { grid-row: span 2; }
    .gallery-tile:nth-child(4) { grid-column: span 2; }
    .gallery-label { position: relative; z-index: 2; }
    .gallery-label strong { display: block; font-size: 1.05rem; }
    .gallery-label span { color: var(--muted); font-size: .88rem; }
    .gallery-tile::after {
      content:"";
      position:absolute;
      width:180px; height:180px; border-radius:50%;
      border:1px solid rgba(255,255,255,.07);
      right:-46px; top:-36px;
    }

    .cta {
      border: 1px solid rgba(244,220,144,.18);
      background:
        radial-gradient(circle at 80% 20%, rgba(216,180,91,.18), transparent 35%),
        linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
      border-radius: 30px;
      padding: 44px;
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 34px;
      align-items: center;
    }
    .cta h2 { font-size: clamp(2rem, 4vw, 3.7rem); margin: 0 0 12px; letter-spacing: -.04em; }
    .cta p { color: var(--muted); margin: 0; max-width: 620px; }

    .contact-card {
      border: 1px solid rgba(255,255,255,.10);
      background: rgba(0,0,0,.28);
      border-radius: 22px;
      padding: 22px;
    }
    .field { display: grid; gap: 7px; margin-bottom: 12px; }
    label { font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: #aaa; font-weight: 800; }
    input, textarea, select {
      width: 100%; border-radius: 13px; border: 1px solid rgba(255,255,255,.11);
      background: rgba(255,255,255,.045); color: white; padding: 13px 14px; outline: none;
    }
    textarea { resize: vertical; min-height: 105px; }
    input:focus, textarea:focus, select:focus { border-color: rgba(244,220,144,.48); }
    select option { color: #111; }
    .contact-card button { width: 100%; border: 0; }
    .form-note { color: #85858a; font-size: .78rem; margin: 10px 0 0; }

    footer { padding: 34px 0 44px; color: #85858a; }
    .footer-row { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
    .footer-brand { color: #d5d5d8; font-weight: 800; }

    @media (max-width: 980px) {
      .nav-links { display: none; }
      .hero-grid, .cta { grid-template-columns: 1fr; }
      .logo-stage { min-height: 390px; order: -1; }
      .logo-stage img { width: min(440px, 86%); }
      .services { grid-template-columns: repeat(2, 1fr); }
      .process { grid-template-columns: repeat(2, 1fr); }
      .gallery { grid-template-columns: 1fr 1fr; }
      .gallery-tile:first-child { grid-row: span 1; }
      .gallery-tile:nth-child(4) { grid-column: span 1; }
    }

    @media (max-width: 620px) {
      .shell { width: min(100% - 24px, var(--max)); }
      .nav { min-height: 66px; }
      .brand-text { display: none; }
      .nav-cta { padding: 9px 13px; font-size: .86rem; }
      .hero { padding-top: 42px; }
      h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
      .logo-stage { min-height: 300px; }
      .hero-copy p { font-size: 1rem; }
      section { padding: 58px 0; }
      .section-head { display: block; }
      .section-head p { margin-top: 12px; }
      .services, .feature-grid, .process, .gallery { grid-template-columns: 1fr; }
      .feature { min-height: 290px; }
      .cta { padding: 28px 20px; }
    }
  

/* Multi-page additions — intentionally matched to the original Matterforge visual system */
.page-hero { padding: 92px 0 42px; background:#000; border-bottom:1px solid rgba(255,255,255,.06); }
.page-hero .eyebrow { margin-bottom:12px; }
.page-hero h1 { font-size:clamp(3rem,6vw,5.8rem); max-width:900px; }
.page-hero p { color:var(--muted); font-size:1.08rem; max-width:720px; margin:22px 0 0; }
.page-nav-active { color:var(--gold-2)!important; }

.gallery-groups { display:grid; gap:72px; }
.gallery-group { scroll-margin-top:100px; }
.gallery-group-head { display:flex; justify-content:space-between; gap:24px; align-items:end; margin-bottom:22px; }
.gallery-group-head h2 { margin:0; font-size:clamp(2rem,4vw,3.1rem); letter-spacing:-.035em; }
.gallery-group-head p { margin:0; color:var(--muted); max-width:500px; }
.gallery-grid { display:grid; grid-template-columns:repeat(12,1fr); gap:16px; }
.gallery-tile { min-height:340px; border-radius:26px; border:1px solid var(--line); overflow:hidden; position:relative; background:#111; display:flex; align-items:end; box-shadow:var(--shadow); }
.gallery-tile.large { grid-column:span 8; }
.gallery-tile.small { grid-column:span 4; }
.gallery-tile.half { grid-column:span 6; }
.gallery-tile::before { content:""; position:absolute; inset:0; background:
 radial-gradient(circle at 18% 15%, rgba(244,220,144,.16), transparent 34%),
 linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.gallery-tile.silver::before { background:radial-gradient(circle at 20% 20%, rgba(199,201,206,.14), transparent 35%),linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.015)); }
.gallery-tile .tile-copy { position:relative; z-index:2; width:100%; padding:28px; background:linear-gradient(180deg,transparent,rgba(0,0,0,.9)); }
.gallery-tile h3 { margin:0 0 6px; font-size:1.45rem; }
.gallery-tile p { margin:0; color:#b8b8bb; max-width:540px; }
.gallery-label { display:inline-block; margin-bottom:10px; color:var(--gold-2); font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.15em; }

.category-jump { display:flex; gap:10px; flex-wrap:wrap; margin-top:30px; }
.category-jump a { border:1px solid var(--line); padding:10px 14px; border-radius:999px; color:#d0d0d2; background:rgba(255,255,255,.035); }
.category-jump a:hover { color:var(--gold-2); border-color:rgba(244,220,144,.35); }

.shop-toolbar { display:flex; justify-content:space-between; gap:18px; align-items:center; margin-bottom:26px; flex-wrap:wrap; }
.shop-filter { display:flex; gap:10px; flex-wrap:wrap; }
.shop-filter button { border:1px solid var(--line); color:#d6d6d8; background:rgba(255,255,255,.035); border-radius:999px; padding:10px 14px; cursor:pointer; }
.shop-filter button.active { color:#111; background:linear-gradient(135deg,var(--gold-2),var(--gold)); border-color:transparent; font-weight:800; }
.product-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.product-card { border:1px solid var(--line); border-radius:24px; overflow:hidden; background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02)); box-shadow:var(--shadow); }
.product-visual { height:230px; position:relative; background:radial-gradient(circle at 25% 20%,rgba(216,180,91,.16),transparent 35%),#101012; }
.product-visual.silver { background:radial-gradient(circle at 25% 20%,rgba(199,201,206,.15),transparent 35%),#101012; }
.product-visual::after { content:""; position:absolute; inset:22% 20%; border:1px solid rgba(255,255,255,.09); border-radius:20px; transform:rotate(8deg); }
.product-body { padding:22px; }
.product-top { display:flex; justify-content:space-between; gap:15px; align-items:start; }
.product-card h3 { margin:0; font-size:1.18rem; }
.product-price { color:var(--gold-2); font-weight:800; white-space:nowrap; }
.product-card p { color:var(--muted); font-size:.93rem; margin:10px 0 18px; }
.product-meta { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.product-meta span { font-size:.75rem; padding:6px 9px; border:1px solid var(--line); border-radius:999px; color:#b9b9bc; }
.product-card .btn-primary { width:100%; }

.buy-intro { display:grid; grid-template-columns:1.15fr .85fr; gap:18px; margin-bottom:30px; }
.buy-note { border:1px solid var(--line); border-radius:24px; padding:28px; background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02)); }
.buy-note h3 { margin:0 0 10px; }
.buy-note p { margin:0; color:var(--muted); }

@media(max-width:900px){
  .gallery-tile.large,.gallery-tile.small,.gallery-tile.half{grid-column:span 12;}
  .product-grid{grid-template-columns:1fr 1fr;}
  .buy-intro{grid-template-columns:1fr;}
}
@media(max-width:620px){
  .product-grid{grid-template-columns:1fr;}
  .gallery-tile{min-height:280px;}
}


/* Real project photography */
.project-photo { width:100%; height:100%; object-fit:cover; display:block; }
.gallery-tile.photo { background:#0d0d0f; }
.gallery-tile.photo::before { content:none; }
.gallery-tile.photo .project-photo { position:absolute; inset:0; }
.gallery-tile.photo .tile-copy { position:relative; z-index:2; }
.feature.photo-feature { padding:0; overflow:hidden; background:#0d0d0f; }
.feature.photo-feature::before { content:none; }
.feature.photo-feature .project-photo { position:absolute; inset:0; }
.feature.photo-feature .feature-copy { position:relative; z-index:2; padding:34px; width:100%; background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.92) 100%); }
.product-visual.photo { background:#0d0d0f; }
.product-visual.photo::after { content:none; }
.product-visual.photo img { width:100%; height:100%; object-fit:cover; display:block; }
.recipe-pair { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:10px; background:#0b0b0c; }
.recipe-pair img { width:100%; height:100%; object-fit:cover; border-radius:12px; }
.contact-email { margin-top:12px; color:var(--gold-2); font-weight:800; }
.contact-email a { color:inherit; }
@media (max-width: 700px) { .recipe-pair { grid-template-columns:1fr; } }


/* ===== Matterforge v6: hierarchical gallery ===== */
.page-hero.compact { padding-bottom: 42px; }
.breadcrumbs { display:flex; gap:8px; flex-wrap:wrap; align-items:center; color:#8f8f94; font-size:.88rem; margin-bottom:20px; }
.breadcrumbs a:hover { color:var(--gold-2); }
.breadcrumbs .sep { color:#56565b; }

.category-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.category-card { min-height:340px; border:1px solid var(--line); border-radius:28px; overflow:hidden; position:relative; display:flex; align-items:flex-end; padding:28px; background:#0e0e10; box-shadow:var(--shadow); isolation:isolate; }
.category-card.wide { grid-column:span 2; min-height:300px; }
.category-card .category-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transition:transform .45s ease; }
.category-card::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(0,0,0,.06) 18%,rgba(0,0,0,.90) 92%); }
.category-card.no-photo::before { background:radial-gradient(circle at 72% 20%,rgba(216,180,91,.17),transparent 34%), linear-gradient(140deg,#121214,#080809); }
.category-card.silver::before { background:radial-gradient(circle at 72% 20%,rgba(199,201,206,.15),transparent 34%), linear-gradient(140deg,#121214,#080809); }
.category-card:hover .category-bg { transform:scale(1.035); }
.category-card:hover { border-color:rgba(244,220,144,.3); }
.category-copy { max-width:520px; }
.category-kicker { color:var(--gold-2); font-size:.75rem; text-transform:uppercase; letter-spacing:.16em; font-weight:800; }
.category-copy h2,.category-copy h3 { margin:7px 0 8px; }
.category-copy h2 { font-size:clamp(2rem,4vw,3rem); }
.category-copy h3 { font-size:1.65rem; }
.category-copy p { margin:0; color:#b9b9bd; }
.category-arrow { margin-top:20px; font-weight:800; color:#f3d989; }

.subcategory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.subcategory-card { min-height:285px; border:1px solid var(--line); border-radius:24px; overflow:hidden; position:relative; display:flex; align-items:flex-end; padding:22px; background:#101012; box-shadow:var(--shadow); isolation:isolate; }
.subcategory-card .category-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transition:transform .4s ease; }
.subcategory-card::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.90)); }
.subcategory-card.no-photo::before { background:radial-gradient(circle at 75% 15%,rgba(216,180,91,.14),transparent 34%),linear-gradient(145deg,#141416,#09090a); }
.subcategory-card:hover .category-bg { transform:scale(1.04); }
.subcategory-card h3 { margin:5px 0 5px; font-size:1.35rem; }
.subcategory-card p { color:#aaaab0; margin:0; font-size:.92rem; }

.project-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.project-card { border:1px solid var(--line); border-radius:26px; overflow:hidden; background:rgba(255,255,255,.025); box-shadow:var(--shadow); }
.project-image { aspect-ratio:4/3; background:#000; overflow:hidden; display:grid; place-items:center; }
.project-image.portrait { aspect-ratio:4/3; }
.project-image img { width:100%; height:100%; object-fit:cover; }
.project-image.contain img { object-fit:contain; background:#050505; }
.project-body { padding:22px; }
.project-body h3 { margin:0 0 7px; font-size:1.35rem; }
.project-body p { margin:0; color:var(--muted); }
.project-tags { display:flex; flex-wrap:wrap; gap:7px; margin-top:14px; }
.project-tags span { border:1px solid rgba(255,255,255,.1); color:#c8c8cc; border-radius:999px; padding:6px 9px; font-size:.75rem; }

.dual-project { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.dual-project .project-image { border-radius:18px; border:1px solid rgba(255,255,255,.08); }

.gallery-intro { display:grid; grid-template-columns:1fr auto; align-items:end; gap:24px; margin-bottom:28px; }
.gallery-intro h2 { margin:0; font-size:clamp(2rem,4vw,3.3rem); }
.gallery-intro p { color:var(--muted); max-width:640px; margin:8px 0 0; }
.count-badge { border:1px solid rgba(244,220,144,.22); border-radius:999px; padding:8px 12px; color:var(--gold-2); white-space:nowrap; font-size:.82rem; font-weight:800; }

.empty-portfolio { border:1px dashed rgba(255,255,255,.16); border-radius:24px; padding:34px; background:rgba(255,255,255,.025); color:var(--muted); }
.empty-portfolio strong { display:block; color:white; font-size:1.15rem; margin-bottom:8px; }

.home-paths { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.home-path { border:1px solid var(--line); border-radius:20px; padding:20px; background:rgba(255,255,255,.025); transition:.2s ease; }
.home-path:hover { transform:translateY(-2px); border-color:rgba(244,220,144,.28); }
.home-path strong { display:block; margin-bottom:6px; }
.home-path span { color:var(--muted); font-size:.9rem; }

@media (max-width:900px){ .category-grid,.project-grid{grid-template-columns:1fr;} .category-card.wide{grid-column:auto;} .subcategory-grid{grid-template-columns:repeat(2,1fr);} .home-paths{grid-template-columns:repeat(2,1fr);} }
@media (max-width:620px){ .subcategory-grid,.dual-project,.home-paths{grid-template-columns:1fr;} .category-card{min-height:290px;} .gallery-intro{grid-template-columns:1fr;} }


/* v6 polish */
.card, .feature { color:inherit; text-decoration:none; }
.card:hover { border-color:rgba(244,220,144,.28); transform:translateY(-2px); }
.feature:hover { border-color:rgba(244,220,144,.28); }
.card { transition:transform .2s ease,border-color .2s ease; }
.feature { transition:border-color .2s ease; }

@media (max-width:980px){
  .nav { flex-wrap:wrap; padding:10px 0; gap:10px 16px; }
  .nav-links { display:flex; order:3; width:100%; overflow-x:auto; gap:18px; padding:5px 0 2px; scrollbar-width:none; }
  .nav-links::-webkit-scrollbar { display:none; }
  .nav-links a { white-space:nowrap; }
}
@media (max-width:620px){
  .nav-cta { display:none; }
  .brand-text { display:block; font-size:.76rem; }
  .brand img { width:42px; height:42px; }
}


/* ===== v7 targeted refinements ===== */

/* Home featured-work slideshow */
.work-showcase {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: #09090a;
  box-shadow: var(--shadow);
}
.work-slides {
  position: relative;
  min-height: 520px;
}
.work-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  display: block;
  background: #000;
}
.work-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.work-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.work-slide-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 72px 34px 30px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.94) 68%);
}
.work-slide-copy small {
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
}
.work-slide-copy h3 {
  margin: 7px 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}
.work-slide-copy p {
  margin: 0;
  color: #b9b9bd;
  max-width: 620px;
}
.work-controls {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 20px;
  display: flex;
  gap: 8px;
}
.work-control {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(0,0,0,.70);
  color: white;
  cursor: pointer;
  font-size: 1.1rem;
}
.work-control:hover { border-color: rgba(244,220,144,.55); color: var(--gold-2); }
.work-dots {
  position: absolute;
  z-index: 4;
  left: 32px;
  top: 24px;
  display: flex;
  gap: 8px;
}
.work-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
  padding: 0;
  cursor: pointer;
}
.work-dot.active { background: var(--gold-2); }

/* Project/detail pages should show the whole object, never an arbitrary crop. */
.project-image {
  background: #050505;
}
.project-image img,
.dual-project .project-image img {
  object-fit: contain;
}

/* Clickable full-image affordance without changing the photography itself. */
.project-image img,
.recipe-pair img,
.product-visual.photo img {
  cursor: zoom-in;
}
.project-card,
.subcategory-card,
.category-card,
.product-card {
  transition: transform .2s ease, border-color .2s ease;
}
.project-card:hover,
.subcategory-card:hover,
.category-card:hover,
.product-card:hover {
  border-color: rgba(244,220,144,.24);
}

/* Full image lightbox */
.mf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.94);
  backdrop-filter: blur(8px);
}
.mf-lightbox.open { display: flex; }
.mf-lightbox img {
  max-width: min(94vw, 1500px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 90px rgba(0,0,0,.65);
}
.mf-lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  color: white;
  background: rgba(20,20,20,.82);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
.mf-lightbox-caption {
  position: fixed;
  left: 20px;
  right: 76px;
  bottom: 18px;
  color: #d8d8da;
  font-size: .9rem;
  text-align: center;
  pointer-events: none;
}

/* Slightly calmer detail-page spacing. */
.gallery-intro { margin-bottom: 24px; }
.project-body p { line-height: 1.6; }

@media (max-width: 700px) {
  .work-slides { min-height: 410px; }
  .work-slide-copy { padding: 62px 20px 22px; }
  .work-controls { right: 12px; bottom: 14px; }
  .work-dots { left: 20px; top: 18px; }
  .mf-lightbox { padding: 12px; }
  .mf-lightbox img { max-width: 96vw; max-height: 86vh; }
}

/* v8: simpler portfolio cards */
.project-body { padding: 18px 20px 20px; }
.project-body h3 { margin: 0; }
.subcategory-card > div { padding-bottom: 22px; }
.subcategory-card h3 { margin-bottom: 0; }
.work-slide-copy { padding-bottom: 28px; }
.work-slide-copy h3 { margin: 0; }
.product-body { gap: 16px; }

/* v9: gallery hierarchy back navigation */
.page-back-wrap {
  padding-top: 24px;
  margin-bottom: -10px;
}
.page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cfcfd2;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.page-back:hover {
  color: var(--gold-2);
}
@media (max-width: 700px) {
  .page-back-wrap { padding-top: 18px; }
}

/* v10: reliable click-to-enlarge project images */
.zoomable-image {
  cursor: zoom-in !important;
}

.mf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0,0,0,.95);
}

.mf-lightbox.open {
  display: flex;
}

.mf-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 94vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,.65);
}

.mf-lightbox-close {
  position: fixed;
  right: 20px;
  top: 18px;
  z-index: 10001;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(18,18,18,.9);
  color: #fff;
  font-size: 1.55rem;
  cursor: pointer;
}

.mf-lightbox-close:hover {
  color: var(--gold-2);
  border-color: rgba(244,220,144,.5);
}

@media (max-width: 700px) {
  .mf-lightbox { padding: 12px; }
  .mf-lightbox img {
    max-width: 96vw;
    max-height: 86vh;
  }
}
