:root {
    --bg: #F6F3EE;
    --bg-warm: #EFEAE1;
    --surface: #FFFFFF;
    --ink: #1A1A1A;
    --ink-2: #3C3A36;
    --muted: #7A756D;
    --rule: #E2DCD0;
    --sand: #D4C4AE;
    --terracotta: #B89178;
    --accent-dark: #2A2622;

    --ff-serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
    --ff-sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

    --maxw: 1440px;
    --pad-x: clamp(24px, 4vw, 72px);
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--ff-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; }

  .wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

  /* ============ TOP BAR ============ */
  .topbar {
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
    position: sticky; top: 0; z-index: 20;
    backdrop-filter: blur(6px);
  }
  .topbar .inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 80px;
  }
  .brand {
    display: flex; align-items: center; gap: 10px;
    height: 100%;
  }
  .brand img { height: 34px; width: auto; }
  .nav {
    display: flex; align-items: center; gap: 36px;
    font-size: 14px; letter-spacing: 0.01em;
  }
  .nav a { color: var(--ink-2); }
  .nav a:hover { color: var(--ink); }
  .top-utils {
    display: flex; align-items: center; gap: 20px;
    font-size: 13px; color: var(--muted);
  }
  .top-utils .divider { width: 1px; height: 14px; background: var(--rule); }
  .btn-access {
    background: var(--ink); color: var(--bg);
    padding: 10px 18px; border-radius: 999px;
    font-size: 13px; letter-spacing: 0.02em;
    transition: background .2s ease;
  }
  .btn-access:hover { background: var(--terracotta); }

  /* ============ HERO COMMON ============ */
  .hero { padding-top: 48px; padding-bottom: 96px; }

  /* ---- Variant A (default): split — text left, image right ---- */
  .hero-a .grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 72px;
    align-items: stretch;
    min-height: 620px;
  }
  .hero-a .copy { display: flex; flex-direction: column; justify-content: space-between; padding-top: 32px; padding-bottom: 16px;}
  .hero-a .eyebrow {
    font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted); font-weight: 500;
  }
  .hero-a h1 {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(44px, 6vw, 88px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 28px 0 0;
    color: var(--ink);
  }
  .hero-a h1 em {
    font-style: italic; color: var(--terracotta);
  }
  .hero-a .lede {
    max-width: 480px;
    font-size: 17px; line-height: 1.55;
    color: var(--ink-2);
    margin-top: 40px;
  }
  .hero-a .cta-row {
    display: flex; gap: 14px; margin-top: 40px;
  }
  .btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 26px; border-radius: 999px;
    font-size: 14px; letter-spacing: 0.01em;
    border: 1px solid transparent;
    transition: all .2s ease;
  }
  .btn-primary { background: var(--ink); color: var(--bg); }
  .btn-primary:hover { background: var(--terracotta); }
  .btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
  .btn-secondary:hover { background: var(--ink); color: var(--bg); }
  .btn-primary svg, .btn-secondary svg { width: 14px; height: 14px; }

  .hero-a .visual {
    position: relative; background: var(--sand);
    border-radius: 2px; overflow: hidden;
  }
  .placeholder-img {
    position: relative; width: 100%; height: 100%;
    background:
      repeating-linear-gradient(135deg, rgba(0,0,0,0.025) 0 2px, transparent 2px 14px),
      linear-gradient(180deg, var(--sand), #C2B298);
    display: flex; align-items: flex-end; padding: 20px;
  }
  .placeholder-img .tag {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px; letter-spacing: 0.04em;
    color: rgba(26,26,26,0.75);
    background: rgba(246,243,238,0.85);
    padding: 6px 10px; border-radius: 2px;
  }
  .hero-a .caption {
    position: absolute; bottom: 20px; right: 20px;
    background: rgba(255,255,255,0.9); padding: 14px 18px;
    border-radius: 2px; max-width: 240px;
    font-size: 12px; color: var(--ink-2);
  }
  .hero-a .caption strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; font-size: 13px;}

  .hero-a .ticker {
    display: flex; gap: 48px; align-items: center;
    padding-top: 24px; border-top: 1px solid var(--rule);
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted);
  }
  .hero-a .ticker .dot { width: 4px; height: 4px; background: var(--terracotta); border-radius: 50%; }

  /* ---- Variant B: Editorial — large centered display + image below ---- */
  .hero-b { display: none; }
  .hero-b .meta-row {
    display: grid; grid-template-columns: 1fr auto 1fr;
    gap: 24px; align-items: center; margin-bottom: 48px;
    font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted);
  }
  .hero-b .meta-row .line { height: 1px; background: var(--rule); }
  .hero-b h1 {
    font-family: var(--ff-serif);
    font-weight: 400;
    font-size: clamp(56px, 9vw, 144px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-align: center;
    margin: 0 0 48px;
    color: var(--ink);
  }
  .hero-b h1 .it { font-style: italic; color: var(--terracotta); }
  .hero-b .sub {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 48px; max-width: 920px; margin: 0 auto 56px;
    font-size: 15px; line-height: 1.55; color: var(--ink-2);
  }
  .hero-b .sub .col h5 {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 8px; font-weight: 500;
  }
  .hero-b .visual {
    height: 520px; background: var(--sand);
    border-radius: 2px; overflow: hidden;
  }
  .hero-b .cta-inline {
    display: flex; justify-content: center; gap: 14px; margin-top: 40px;
  }

  /* ---- Variant C: Residential — big number + overlapping image ---- */
  .hero-c { display: none; }
  .hero-c .grid {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    min-height: 680px;
    position: relative;
  }
  .hero-c .left { padding-top: 40px; position: relative; }
  .hero-c .since {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 8px 16px; border: 1px solid var(--rule); border-radius: 999px;
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); background: rgba(255,255,255,0.5);
  }
  .hero-c .since .dot {
    width: 6px; height: 6px; border-radius: 50%; background: #4caf50;
    box-shadow: 0 0 0 4px rgba(76,175,80,0.15);
  }
  .hero-c h1 {
    font-family: var(--ff-serif); font-weight: 400;
    font-size: clamp(52px, 8vw, 124px);
    line-height: 0.98; letter-spacing: -0.025em;
    margin: 24px 0 0; color: var(--ink);
  }
  .hero-c h1 em { font-style: italic; color: var(--terracotta); font-weight: 400; }
  .hero-c .lede {
    max-width: 440px; font-size: 17px; color: var(--ink-2);
    margin-top: 32px;
  }
  .hero-c .cta-row { display: flex; gap: 14px; margin-top: 40px; }
  .hero-c .right { position: relative; }
  .hero-c .image-main {
    position: absolute; right: 0; top: 40px;
    width: 100%; height: 480px;
    background: var(--sand); overflow: hidden;
  }
  .hero-c .image-sub {
    position: absolute; left: -120px; bottom: 0;
    width: 240px; height: 300px;
    background: var(--terracotta); overflow: hidden;
    border: 8px solid var(--bg);
  }
  .hero-c .stat-block {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 40px; margin-top: 80px; padding-top: 40px;
    border-top: 1px solid var(--rule);
  }
  .hero-c .stat .num {
    font-family: var(--ff-serif); font-size: 56px; line-height: 1;
    color: var(--ink); font-weight: 400;
  }
  .hero-c .stat .lbl {
    margin-top: 10px; font-size: 13px; color: var(--muted);
    line-height: 1.45;
  }

  /* ============ MANIFESTO / INTRO ============ */
  .manifesto {
    background: var(--bg-warm);
    padding: 120px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .manifesto .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
  .manifesto .eyebrow {
    font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted); font-weight: 500;
  }
  .manifesto h2 {
    font-family: var(--ff-serif); font-weight: 400;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.08; letter-spacing: -0.015em;
    margin: 20px 0 0;
  }
  .manifesto h2 em { font-style: italic; color: var(--terracotta); }
  .manifesto .body { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
  .manifesto .body p { margin: 0 0 20px; }
  .manifesto .body p:last-child { margin-bottom: 0; }
  .manifesto .sig {
    margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule);
    display: flex; justify-content: space-between;
    font-size: 13px; color: var(--muted);
  }

  /* ============ CATEGORIES ============ */
  .categories { padding: 120px 0; }
  .section-head {
    display: grid; grid-template-columns: auto 1fr auto;
    gap: 32px; align-items: end; margin-bottom: 56px;
  }
  .section-head .num {
    font-family: var(--ff-serif); font-size: 18px; color: var(--muted);
  }
  .section-head h3 {
    font-family: var(--ff-serif); font-weight: 400;
    font-size: clamp(32px, 3.5vw, 48px);
    line-height: 1.05; letter-spacing: -0.015em;
    margin: 0;
  }
  .section-head h3 em { font-style: italic; color: var(--terracotta); }
  .section-head .link {
    font-size: 13px; letter-spacing: 0.04em;
    color: var(--ink); border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
  }

  .cat-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .cat-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: 2px;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease;
  }
  .cat-card:hover { transform: translateY(-4px); border-color: var(--terracotta); }
  .cat-card .img {
    aspect-ratio: 4 / 3; background: var(--sand);
    position: relative; overflow: hidden;
  }
  .cat-card .img .placeholder-img { align-items: center; justify-content: center; }
  .cat-card .body { padding: 24px 24px 28px; }
  .cat-card .kicker {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--muted);
  }
  .cat-card h4 {
    font-family: var(--ff-serif); font-weight: 400;
    font-size: 26px; line-height: 1.15; letter-spacing: -0.01em;
    margin: 10px 0 14px;
  }
  .cat-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
  .cat-card .more {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 20px; font-size: 13px; color: var(--ink);
  }
  .cat-card .more::after {
    content: '→'; transition: transform .2s ease;
  }
  .cat-card:hover .more::after { transform: translateX(4px); }

  /* ============ PROJECTS / REALIZZAZIONI ============ */
  .projects {
    background: var(--accent-dark);
    color: #EFEAE1;
    padding: 120px 0;
  }
  .projects .section-head h3 { color: #F6F3EE; }
  .projects .section-head .num { color: #8A8175; }
  .projects .section-head .link { color: #F6F3EE; border-color: #F6F3EE; }
  .projects .lead {
    grid-column: span 2; max-width: 640px;
    font-size: 16px; color: #BFB9AE; line-height: 1.6;
  }
  .proj-grid {
    display: grid; grid-template-columns: 1.3fr 1fr;
    gap: 24px;
  }
  .proj-card {
    background: #1F1B18; border-radius: 2px; overflow: hidden;
    display: flex; flex-direction: column;
  }
  .proj-card .img {
    aspect-ratio: 16 / 10; background: #3a3530;
    position: relative; overflow: hidden;
  }
  .proj-card.tall .img { aspect-ratio: 4 / 5; }
  .proj-card .meta {
    padding: 24px 28px 28px;
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 16px;
  }
  .proj-card .meta .l .kicker {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: #8A8175;
  }
  .proj-card .meta .l h5 {
    font-family: var(--ff-serif); font-weight: 400;
    font-size: 24px; line-height: 1.15; margin: 8px 0 0; color: #F6F3EE;
  }
  .proj-card .meta .r {
    font-size: 12px; color: #8A8175; white-space: nowrap;
  }

  .proj-double { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }

  /* ============ ARCHITECTS CTA ============ */
  .architects {
    padding: 120px 0;
    background: var(--bg);
  }
  .architects .grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center;
  }
  .architects .visual {
    aspect-ratio: 4 / 5; background: var(--sand);
    border-radius: 2px; overflow: hidden;
  }
  .architects .eyebrow {
    font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted); font-weight: 500;
  }
  .architects h3 {
    font-family: var(--ff-serif); font-weight: 400;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.08; letter-spacing: -0.015em;
    margin: 20px 0 24px;
  }
  .architects h3 em { font-style: italic; color: var(--terracotta); }
  .architects p { font-size: 17px; color: var(--ink-2); max-width: 480px; line-height: 1.65; }

  .services-list {
    margin: 40px 0 0; padding: 0; list-style: none;
    border-top: 1px solid var(--rule);
  }
  .services-list li {
    display: grid; grid-template-columns: 32px 1fr auto;
    gap: 20px; align-items: center;
    padding: 18px 0; border-bottom: 1px solid var(--rule);
    font-size: 15px;
  }
  .services-list li .n { font-family: var(--ff-serif); color: var(--muted); font-size: 14px; }
  .services-list li .t { color: var(--ink); }
  .services-list li .a { color: var(--muted); font-size: 13px; transition: color .2s; }
  .services-list li:hover .a { color: var(--terracotta); }

  .architects .cta-row { margin-top: 40px; }

  /* ============ NEWS ============ */
  .news { padding: 120px 0; border-top: 1px solid var(--rule); }
  .news-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .news-card {
    display: flex; flex-direction: column;
    border-top: 1px solid var(--ink);
    padding-top: 20px;
  }
  .news-card .img {
    aspect-ratio: 4 / 3; background: var(--sand);
    margin-bottom: 20px; overflow: hidden;
  }
  .news-card .date {
    font-size: 12px; letter-spacing: 0.08em; color: var(--muted);
    text-transform: uppercase;
  }
  .news-card h5 {
    font-family: var(--ff-serif); font-weight: 400;
    font-size: 24px; line-height: 1.2; letter-spacing: -0.01em;
    margin: 8px 0 12px;
  }
  .news-card p { font-size: 14px; color: var(--ink-2); margin: 0; }
  .news-card .read {
    margin-top: 16px; font-size: 13px; color: var(--ink);
    display: inline-flex; gap: 6px;
  }
  .news-card .read::after { content: '→'; }

  /* ============ CONTACT BAND ============ */
  .contact-band {
    background: var(--bg-warm);
    padding: 100px 0;
    border-top: 1px solid var(--rule);
  }
  .contact-band .wrap {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center;
  }
  .contact-band h3 {
    font-family: var(--ff-serif); font-weight: 400;
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1.05; letter-spacing: -0.015em;
    margin: 0;
  }
  .contact-band h3 em { font-style: italic; color: var(--terracotta); }
  .contact-band .info {
    display: grid; gap: 24px;
  }
  .contact-band .info .row {
    display: grid; grid-template-columns: 100px 1fr; gap: 16px;
    padding: 18px 0; border-top: 1px solid var(--rule);
    font-size: 15px;
  }
  .contact-band .info .row:last-child { border-bottom: 1px solid var(--rule); }
  .contact-band .info .row .k {
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted); align-self: center;
  }
  .contact-band .info .row .v { color: var(--ink); }
  .contact-band .cta-row { margin-top: 32px; }

  /* ============ FOOTER ============ */
  footer {
    background: var(--accent-dark); color: #BFB9AE;
    padding: 80px 0 32px;
  }
  footer .top {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
    padding-bottom: 56px; border-bottom: 1px solid #3A3530;
  }
  footer .logo-f { font-family: var(--ff-serif); font-size: 32px; color: #F6F3EE; letter-spacing: 0.08em; }
  footer .logo-f .d { display: inline-block; font-size: 14px; letter-spacing: 0.2em; border-top: 1px solid #F6F3EE; padding-top: 4px; margin-top: 4px;}
  footer .company { margin-top: 28px; font-size: 13px; line-height: 1.7; color: #8A8175; }
  footer h6 {
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    color: #8A8175; margin: 0 0 20px; font-weight: 500;
  }
  footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
  footer ul a { color: #EFEAE1; }
  footer ul a:hover { color: var(--terracotta); }
  footer .bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px; font-size: 12px; color: #8A8175;
  }

  /* ============ TWEAKS PANEL ============ */
  #tweaks-panel {
    position: fixed; right: 24px; bottom: 24px; z-index: 100;
    background: #FFFFFF; color: var(--ink);
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 18px 20px 20px;
    min-width: 260px;
    font-family: var(--ff-sans); font-size: 13px;
    box-shadow: 0 20px 60px -20px rgba(26,26,26,0.3);
    display: none;
  }
  #tweaks-panel.on { display: block; }
  #tweaks-panel h4 {
    margin: 0 0 4px; font-size: 11px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--muted); font-weight: 500;
  }
  #tweaks-panel .title {
    font-family: var(--ff-serif); font-size: 22px; margin: 0 0 16px;
    font-weight: 400;
  }
  #tweaks-panel .label {
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 8px;
  }
  #tweaks-panel .opts { display: grid; gap: 8px; }
  #tweaks-panel .opt {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border: 1px solid var(--rule);
    border-radius: 2px; cursor: pointer;
    transition: all .15s ease;
  }
  #tweaks-panel .opt:hover { border-color: var(--ink); }
  #tweaks-panel .opt.active { border-color: var(--ink); background: var(--bg); }
  #tweaks-panel .opt .k {
    font-family: var(--ff-serif); font-size: 18px; width: 24px;
  }
  #tweaks-panel .opt .n { font-size: 13px; color: var(--ink); }
  #tweaks-panel .opt .d { font-size: 11px; color: var(--muted); margin-top: 2px; }

  /* ============ Responsive ============ */
  @media (max-width: 960px) {
    .nav { display: none; }
    .hero-a .grid, .hero-c .grid, .manifesto .wrap, .architects .grid, .contact-band .wrap { grid-template-columns: 1fr; gap: 48px; }
    .cat-grid, .news-grid, .proj-grid, .hero-b .sub { grid-template-columns: 1fr; }
    .hero-c .stat-block { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    footer .top { grid-template-columns: 1fr 1fr; }
  }


/* ================= INNER PAGE SHARED ================= */
.page-hero {
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--rule);
}
.page-hero .crumbs {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 24px;
}
.page-hero .crumbs a { color: var(--muted); }
.page-hero .crumbs a:hover { color: var(--ink); }
.page-hero .crumbs .sep { margin: 0 10px; color: var(--rule); }
.page-hero h1 {
  font-family: var(--ff-serif); font-weight: 400;
  font-size: clamp(48px, 6.5vw, 104px);
  line-height: 0.98; letter-spacing: -0.025em;
  margin: 0;
}
.page-hero h1 em { font-style: italic; color: var(--terracotta); }
.page-hero .grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: end; margin-top: 40px;
}
.page-hero .lede { max-width: 460px; font-size: 17px; color: var(--ink-2); line-height: 1.6; margin: 0; }

/* ---- PRODUCTS CATALOG ---- */
.catalog { padding: 80px 0 120px; }
.catalog .layout {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 64px; align-items: start;
}
.filters { position: sticky; top: 104px; }
.filters h4 {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px; font-weight: 500;
}
.filters ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 2px; }
.filters li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; font-size: 14px; color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
}
.filters li a:hover { color: var(--ink); }
.filters li a.active { color: var(--ink); font-weight: 500; }
.filters li a.active::after { content: '●'; color: var(--terracotta); font-size: 8px; }
.filters li a .c { color: var(--muted); font-size: 12px; }

.catalog .tools {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 40px; padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px; color: var(--muted);
}
.catalog .tools .sort select {
  font: inherit; border: 1px solid var(--rule); background: var(--surface);
  padding: 8px 12px; border-radius: 2px; color: var(--ink);
}

.prod-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}
.prod-card {
  display: block;
  transition: transform .25s ease;
}
.prod-card:hover { transform: translateY(-3px); }
.prod-card .img {
  aspect-ratio: 4 / 5; background: var(--sand);
  position: relative; overflow: hidden; margin-bottom: 16px;
}
.prod-card .tag-new {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: var(--bg);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 2px;
}
.prod-card .kicker {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.prod-card h5 {
  font-family: var(--ff-serif); font-weight: 400;
  font-size: 22px; line-height: 1.2; letter-spacing: -0.01em;
  margin: 8px 0 6px; color: var(--ink);
}
.prod-card .ref { font-size: 12px; color: var(--muted); }

.catalog .pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 64px;
}
.catalog .pagination a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--rule); border-radius: 2px;
  font-size: 13px; color: var(--ink-2);
}
.catalog .pagination a.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.catalog .pagination a:hover { border-color: var(--ink); }

/* ---- SINGLE PRODUCT ---- */
.pdp { padding: 40px 0 120px; }
.pdp .crumbs {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 32px;
}
.pdp .main {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 64px; align-items: start;
}
.pdp .gallery { position: sticky; top: 104px; display: grid; gap: 12px; }
.pdp .gallery .main-img {
  aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden;
}
.pdp .gallery .thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.pdp .gallery .thumb {
  aspect-ratio: 1/1; background: var(--sand);
  overflow: hidden; cursor: pointer;
  border: 1px solid transparent;
}
.pdp .gallery .thumb.active { border-color: var(--ink); }

.pdp .info .kicker {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 500;
}
.pdp .info h1 {
  font-family: var(--ff-serif); font-weight: 400;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.02; letter-spacing: -0.02em;
  margin: 12px 0 8px;
}
.pdp .info .ref {
  font-size: 13px; color: var(--muted); margin-bottom: 28px;
  display: flex; gap: 16px; align-items: center;
}
.pdp .info .ref .dot { color: var(--rule); }
.pdp .info .lede { font-size: 17px; color: var(--ink-2); line-height: 1.6; }

.pdp .variants { margin-top: 36px; }
.pdp .variants h5 {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px; font-weight: 500;
}
.pdp .swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp .swatches .sw {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--rule); cursor: pointer;
  position: relative;
  transition: transform .15s ease;
}
.pdp .swatches .sw:hover { transform: scale(1.05); }
.pdp .swatches .sw.active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--bg);
}

.pdp .size-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 36px;
}
.pdp .size-row .sz {
  padding: 14px 10px; border: 1px solid var(--rule); border-radius: 2px;
  font-size: 13px; text-align: center; cursor: pointer; background: var(--surface);
}
.pdp .size-row .sz.active { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.pdp .size-row .sz .l { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.pdp .size-row .sz.active .l { color: rgba(246,243,238,0.6); }

.pdp .actions {
  display: flex; gap: 12px; margin-top: 40px;
  padding-top: 32px; border-top: 1px solid var(--rule);
}

.pdp .specs { margin-top: 48px; }
.pdp .specs h5 {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px; font-weight: 500;
}
.pdp .specs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pdp .specs tr { border-bottom: 1px solid var(--rule); }
.pdp .specs td { padding: 14px 0; vertical-align: top; }
.pdp .specs td.k { color: var(--muted); width: 40%; text-transform: none; font-size: 13px; }
.pdp .specs td.v { color: var(--ink); }

.pdp .download-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px;
}
.pdp .download-row a {
  padding: 14px 18px; border: 1px solid var(--rule); border-radius: 2px;
  font-size: 13px; display: flex; justify-content: space-between;
  background: var(--surface); color: var(--ink);
}
.pdp .download-row a:hover { border-color: var(--ink); }
.pdp .download-row a .ext { color: var(--muted); font-size: 11px; letter-spacing: 0.1em; }

.pdp-section { padding: 96px 0; border-top: 1px solid var(--rule); }
.pdp-section h3 {
  font-family: var(--ff-serif); font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 40px; letter-spacing: -0.01em;
}
.pdp-section h3 em { font-style: italic; color: var(--terracotta); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.features-grid .f .n {
  font-family: var(--ff-serif); font-size: 14px; color: var(--muted);
}
.features-grid .f h4 {
  font-family: var(--ff-serif); font-weight: 400; font-size: 22px;
  margin: 10px 0 10px; letter-spacing: -0.01em;
}
.features-grid .f p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.6; }

/* ---- NEWS ARCHIVE ---- */
.news-archive { padding: 80px 0 120px; }
.news-archive .chips {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px;
}
.news-archive .chip {
  padding: 8px 16px; border: 1px solid var(--rule); border-radius: 999px;
  font-size: 13px; color: var(--ink-2); cursor: pointer;
  background: var(--surface);
}
.news-archive .chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.news-archive .chip:hover { border-color: var(--ink); }

.news-feature {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
  margin-bottom: 72px; padding-bottom: 72px;
  border-bottom: 1px solid var(--rule); align-items: center;
}
.news-feature .img {
  aspect-ratio: 16/10; background: var(--sand); overflow: hidden;
}
.news-feature .kicker {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.news-feature h2 {
  font-family: var(--ff-serif); font-weight: 400;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
.news-feature h2 em { font-style: italic; color: var(--terracotta); }
.news-feature p { font-size: 17px; color: var(--ink-2); line-height: 1.6; margin: 0 0 24px; max-width: 460px; }

.news-archive-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px;
}

/* ---- CONTACTS ---- */
.contact-page { padding: 80px 0 120px; }
.contact-page .layout {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 96px; align-items: start;
}
.contact-page form { display: grid; gap: 20px; }
.contact-page .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-page label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); display: block; margin-bottom: 10px;
}
.contact-page input, .contact-page select, .contact-page textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--rule); background: var(--surface);
  border-radius: 2px; font: inherit; color: var(--ink);
  transition: border-color .2s ease;
}
.contact-page input:focus, .contact-page select:focus, .contact-page textarea:focus {
  outline: none; border-color: var(--ink);
}
.contact-page textarea { min-height: 140px; resize: vertical; }

.contact-page .role-picker {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.contact-page .role-picker .r {
  padding: 14px; border: 1px solid var(--rule); border-radius: 2px;
  text-align: center; cursor: pointer; font-size: 13px;
  background: var(--surface);
}
.contact-page .role-picker .r.active { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.contact-page .consent {
  display: flex; gap: 10px; align-items: start; font-size: 13px;
  color: var(--ink-2); line-height: 1.5;
}
.contact-page .consent input { width: auto; margin-top: 3px; }

.contact-page .submit-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--rule);
}

.contact-side .card {
  background: var(--surface); border: 1px solid var(--rule);
  padding: 32px; border-radius: 2px; margin-bottom: 16px;
}
.contact-side h5 {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px; font-weight: 500;
}
.contact-side .card p { margin: 0 0 12px; }
.contact-side .card a { color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 1px; }
.contact-side .card a:hover { border-color: var(--terracotta); color: var(--terracotta); }
.contact-side .big {
  font-family: var(--ff-serif); font-size: 28px; line-height: 1.15;
  color: var(--ink); letter-spacing: -0.01em;
}
.contact-side .hours {
  display: grid; grid-template-columns: auto 1fr; gap: 14px 24px;
  font-size: 14px; color: var(--ink-2);
}
.contact-side .hours .d { color: var(--muted); }

.map {
  margin-top: 16px;
  aspect-ratio: 16/10; background: var(--sand);
  position: relative; overflow: hidden;
}
.map .pin {
  position: absolute; left: 48%; top: 46%;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 6px rgba(26,26,26,0.15), 0 0 0 14px rgba(26,26,26,0.08);
}
.map .label {
  position: absolute; left: 48%; top: 46%;
  transform: translate(-50%, -140%);
  background: var(--ink); color: var(--bg);
  padding: 6px 10px; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; white-space: nowrap; border-radius: 2px;
}

@media (max-width: 960px) {
  .catalog .layout, .pdp .main, .contact-page .layout, .news-feature, .page-hero .grid {
    grid-template-columns: 1fr; gap: 40px;
  }
  .prod-grid, .news-archive-grid, .features-grid { grid-template-columns: 1fr 1fr; }
  .filters { position: static; }
}


/* === Heading override: Montserrat === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif !important;
}
