/*
Theme Name: Astor
Description: Egyedi WordPress téma az Astor Bútor (butorstudio & lapszabászat) weboldalhoz, a meglévő statikus HTML/CSS/JS alapján, funkció- és stílushű átültetéssel.
Author: Astor Bútor
Version: 1.0.5
Text Domain: astor
*/

  /* ---------- tokens ---------- */
  :root{
    --bg: #ECE5D6;
    --bg-alt: #E1D6BE;
    --surface: #F6F1E6;
    --surface-2: #D9CBA9;
    --ink: #221F19;
    --ink-soft: #4D413A;
    --ink-strong: #1C1713;
    --line: rgba(34,31,25,.16);
    --charcoal: #24211E;
    --charcoal-2: #38332E;
    --cream-on-dark: #ECE5D6;
    --header-accent: #C29854;
    --brass: #7E5D30;
    --brass-soft: #C29854;
    --brass-bright: #C28A4A;
    --accent-glow: rgba(126,93,48,.22);
    --shadow: rgba(24,21,14,.28);

    --font-display: 'Iowan Old Style','Palatino Linotype','URW Palladio L','P052',Georgia,'Times New Roman',serif;
    --font-mono: 'Cascadia Code','Consolas','SFMono-Regular',ui-monospace,Menlo,monospace;
    --font-body: 'Segoe UI','Helvetica Neue',Arial,sans-serif;

    --step-display: clamp(2.5rem, 1.6rem + 3.6vw, 4.4rem);
    --step-h2: clamp(1.9rem, 1.5rem + 1.6vw, 2.7rem);
    --step-h3: clamp(1.15rem, 1.05rem + .5vw, 1.35rem);
  }
  *,*::before,*::after{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font-family:var(--font-body);
    font-size:16px;
    line-height:1.7;
    font-weight:600;
    letter-spacing:-.01em;
    -webkit-font-smoothing:antialiased;
  }
  img,svg{ display:block; max-width:100%; }
  a{ color:inherit; }
  h1,h2,h3{ font-family:var(--font-display); font-weight:600; margin:0; text-wrap:balance; color:var(--ink); }
  p{ margin:0; font-weight:600; }
  ul,ol{ margin:0; padding:0; list-style:none; }
  button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
  :focus-visible{ outline:2px solid var(--brass); outline-offset:3px; }

  .kicker{
    font-family:var(--font-mono);
    font-size:.72rem;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:var(--brass);
    margin:0 0 .9rem;
  }
  .lede{ max-width:62ch; color:var(--ink-strong); font-size:1.12rem; font-weight:600; }

  /* ---------- header ---------- */
  .site-header{
    position:fixed; inset:0 0 auto 0; z-index:50;
    background:rgba(36,33,30,0);
    backdrop-filter:blur(0);
    -webkit-backdrop-filter:blur(0);
    color:var(--cream-on-dark);
    border-bottom:1px solid rgba(236,229,214,0);
    opacity:0;
    visibility:hidden;
    transform:translateY(-14px);
    transition:background .28s ease, backdrop-filter .28s ease, border-color .28s ease, opacity .28s ease, visibility .28s ease, transform .28s ease;
  }
  .site-header.is-visible{
    background:rgba(36,33,30,.82);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    border-bottom:1px solid rgba(236,229,214,.08);
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }
  .header-inner{
    max-width:1180px; margin:0 auto; padding:24px 1.5rem;
    display:flex; align-items:center; gap:1.5rem;
  }
  .wordmark{
    text-decoration:none; display:flex; align-items:center;
    margin-right:auto;
  }
  .wordmark-logo{
    display:block; height:42px; width:auto; max-width:180px; object-fit:contain;
  }
  .nav{ display:flex; gap:2rem; }
  .nav a{
    text-decoration:none; font-size:.88rem; letter-spacing:.02em;
    color:rgba(236,229,214,.78); position:relative; padding:.3rem 0;
    transition:color .2s ease;
  }
  .nav a:hover, .nav a.active{ color:var(--cream-on-dark); }
  .nav a.active::after{
    content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--header-accent);
  }
    .nav a[href="tortenetunk.html"]{ display:none; }
  .header-phone{
    text-decoration:none; font-family:var(--font-mono); font-size:.85rem;
    font-variant-numeric:tabular-nums; border:1px solid #38332E;
    padding:.5rem .9rem; border-radius:2px; white-space:nowrap;
    margin-left:auto; align-self:center;
    transition:border-color .2s ease, background .2s ease;
  }
  .header-phone:hover{ border-color:var(--brass-soft); background:rgba(236,229,214,.06); }
  .nav-toggle{ display:none; width:34px; height:34px; position:relative; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
    content:""; position:absolute; left:6px; right:6px; height:2px; background:var(--cream-on-dark);
    top:50%; transform:translateY(-50%); transition:transform .2s ease, opacity .2s ease;
  }
  .nav-toggle span::before{ top:-8px; transform:none; }
  .nav-toggle span::after{ top:8px; transform:none; }
  .nav-toggle[aria-expanded="true"] span{ background:transparent; }
  .nav-toggle[aria-expanded="true"] span::before{ top:0; transform:rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after{ top:0; transform:rotate(-45deg); }

  /* ---------- layout helpers ---------- */
  .section{ padding:6rem 1.5rem; }
  .section.alt{ background:var(--bg-alt); }
  .section-inner{ max-width:1180px; margin:0 auto; }
  .two-col{ display:grid; grid-template-columns:1fr 1.2fr; gap:4rem; align-items:start; }
  .section-heading{ margin-bottom:2rem; }
  .section-heading h2{ font-size:var(--step-h2); }
  .gateway-section{ padding-top:4.5rem; padding-bottom:4.5rem; }
  .content-stack{ display:grid; gap:2rem; }
  .audience-gate{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
  .audience-card{ display:flex; flex-direction:column; min-height:230px; padding:2rem; background:var(--surface); text-decoration:none; transition:background .2s ease, transform .2s ease; }
  .audience-card:hover{ background:var(--surface-2); transform:translateY(-3px); }
  .audience-card h3{ font-size:1.55rem; margin-bottom:.65rem; }
  .audience-card p{ max-width:38ch; color:var(--ink-strong); font-size:.98rem; }
  .audience-link{ margin-top:auto; padding-top:1.5rem; color:var(--brass); font-family:var(--font-mono); font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
  .story-content{ display:grid; gap:2.5rem; }
  .story-block{ padding:2rem 0; border-top:1px solid var(--line); }
  .story-block:last-child{ border-bottom:1px solid var(--line); }
  .story-block h2{ margin-bottom:.8rem; }

  /* ---------- story timeline ---------- */
  .page-intro{
    padding:7.5rem 1.5rem 4rem;
    background:var(--charcoal);
    color:var(--cream-on-dark);
  }
  .page-intro-inner{ max-width:1180px; margin:0 auto; }
  .page-intro .kicker{ color:var(--brass-soft); }
  .page-intro h1{
    max-width:760px; color:var(--cream-on-dark);
    font-size:var(--step-display); line-height:1.06;
  }
  .page-intro-lead{ max-width:58ch; margin-top:1.5rem; color:rgba(236,229,214,.82); font-size:1.12rem; font-weight:400; }
  .timeline{
    position:relative; display:grid; gap:2.5rem;
    padding:1rem 0 2rem;
  }
  .timeline::before{
    content:""; position:absolute; top:0; bottom:0; left:50%;
    width:1px; background:var(--line); transform:translateX(-50%);
  }
  .timeline-item{
    position:relative; display:flex; width:50%;
  }
  .timeline-item.left{ justify-content:flex-end; padding-right:3.5rem; }
  .timeline-item.right{ justify-content:flex-start; margin-left:50%; padding-left:3.5rem; }
  .timeline-dot{
    position:absolute; top:2rem; width:12px; height:12px;
    border:2px solid var(--brass); border-radius:50%; background:var(--bg);
    box-shadow:0 0 0 5px var(--bg);
  }
  .timeline-item.left .timeline-dot{ right:-6px; }
  .timeline-item.right .timeline-dot{ left:-6px; }
  .timeline-card{
    width:min(100%,470px); padding:1.7rem; border:1px solid var(--line);
    background:var(--surface); box-shadow:0 14px 28px rgba(24,21,14,.1);
  }
  .timeline-date{
    margin-bottom:.55rem; color:var(--brass); font-family:var(--font-mono);
    font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  }
  .timeline-card h3{ font-size:1.45rem; margin-bottom:.65rem; }
  .timeline-text{ color:var(--ink-strong); font-size:1rem; font-weight:600; }
  .timeline-photo{
    min-height:150px; margin:-.2rem -.2rem 1.4rem; display:grid; place-items:center;
    border:1px solid #C7B89D; background:
      repeating-linear-gradient(102deg, rgba(98,65,35,.08) 0 1px, transparent 1px 18px),
      var(--surface-2); color:var(--brass); text-align:center;
    font-family:var(--font-mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase;
  }
  .story-back{ margin-top:1rem; }
  .story-link{ color:var(--brass); font-weight:700; text-decoration:none; }
  .story-link:hover{ color:var(--ink); }

  .feature-list{ display:grid; gap:1.25rem; }
  .feature-list > div{ display:grid; grid-template-columns:2.5rem 1fr; column-gap:1rem; padding-top:1.25rem; border-top:1px solid var(--line); }
  .feature-list .step{ grid-row:span 2; color:var(--brass); font-family:var(--font-mono); font-size:.8rem; }
  .feature-list h3{ font-size:1.15rem; margin-bottom:.25rem; }
  .feature-list p{ color:var(--ink-strong); font-size:.95rem; }
  .cta-band{ display:flex; align-items:center; justify-content:space-between; gap:2rem; }
  .feature-grid{ margin-top:2.6rem; }
  .material-list{ border-top:1px solid var(--line); }
  .material-item{ display:grid; grid-template-columns:10rem 1fr; gap:2rem; padding:2rem 0; border-bottom:1px solid var(--line); }
  .material-item .mono{ color:var(--brass); font-family:var(--font-mono); font-size:.75rem; font-weight:700; }
  .material-item h2{ font-size:var(--step-h2); margin-bottom:.6rem; }
  .materials-overview{ max-width:820px; }
  .material-detail{ padding:2.2rem 0; border-top:1px solid var(--line); }
  .material-detail:last-child{ border-bottom:1px solid var(--line); }
  .material-detail h2{ margin-bottom:1rem; font-size:var(--step-h2); }
  .material-detail p:not(.material-label){ max-width:68ch; color:var(--ink-strong); font-size:1.05rem; }
  .material-label{
    margin:1.7rem 0 .65rem;
    color:var(--brass);
    font-family:var(--font-mono);
    font-size:.72rem;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
  }
  .material-brands{ display:flex; flex-wrap:wrap; gap:.55rem .75rem; }
  .material-brands li{
    padding:.25rem 0;
    color:var(--ink-strong);
    font-family:var(--font-display);
    font-size:1.35rem;
    line-height:1.2;
  }
    .material-brands a{ text-decoration:none; }
    .material-brands a:hover{ color:var(--brass); }
  .material-brands li:not(:last-child)::after{ content:"/"; margin-left:.75rem; color:var(--brass-soft); }
  .gallery-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:1.75rem; }
  .gallery-photo{
    position:relative;
    aspect-ratio:4 / 3;
    overflow:hidden;
    background:var(--surface-2);
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .gallery-photo img{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover;
    display:block;
  }

  .reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
  .reveal.in{ opacity:1; transform:none; }
    .gallery-photo.reveal.in:hover{
      transform:translateY(-8px) scale(1.015);
      box-shadow:0 18px 30px var(--shadow);
    }
  @media (prefers-reduced-motion:reduce){
    .reveal{ opacity:1; transform:none; transition:none; }
    html{ scroll-behavior:auto; }
  }

  /* ---------- hero ---------- */
  .hero{
    position:relative; padding:12px 1.5rem 5rem; overflow:hidden;
      background:#2a2521;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
    .hero-slideshow,
    .hero-slide{ position:absolute; inset:0; }
    .hero-slideshow{
      inset:-12px;
      background:linear-gradient(135deg, #2a2521 0%, #5c4d3d 42%, #c9b69a 100%);
      transform:scale(var(--hero-scroll-scale, 1));
      will-change:transform;
    }
    .hero-slide{
      background-position:center;
      background-size:cover;
      filter:blur(2px);
      opacity:0;
      transform:scale(1.06);
      transition:opacity 1.2s ease, transform 7s ease;
    }
    .hero-slide::after{
      content:""; position:absolute; inset:0;
      background:linear-gradient(90deg, rgba(17,15,13,.84) 0%, rgba(17,15,13,.62) 38%, rgba(17,15,13,.3) 100%);
    }
    .hero-slide.is-active{ opacity:1; transform:scale(1.02); }
  .hero::before{
    content:""; position:absolute; inset:0;
    background:
      repeating-linear-gradient(120deg, rgba(255,255,255,.04) 0 2px, transparent 2px 28px),
      repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px);
    mix-blend-mode:screen; opacity:.8;
    animation:heroShift 18s ease-in-out infinite alternate;
  }
  @keyframes heroShift {
    0% { transform:scale(1.02) translate3d(-1%, 0, 0); }
    100% { transform:scale(1.08) translate3d(1.5%, 1.5%, 0); }
  }
  @media (prefers-reduced-motion:reduce){
    .hero-slideshow{ transform:none; }
    .hero-slide{ transition:none; transform:none; }
  }
  .story-page .hero{ padding-top:4rem; }
  .hero-inner{
    position:relative; z-index:1; max-width:1180px; margin:0 auto; min-height:520px;
    display:flex; align-items:center;
  }
  .hero-copy{
    width:min(100%, 760px); padding:4.5rem 0 3.5rem;
  }
  .story-inner{ grid-template-columns:1fr; }
  .eyebrow{
    font-family:var(--font-mono); font-size:.75rem; letter-spacing:.18em;
    text-transform:uppercase; color:rgba(236,229,214,.85); margin:0 0 16px;
    font-weight:700;
  }
  .hero h1{
    font-size:clamp(3.2rem, 2.2rem + 3vw, 5.2rem); line-height:1.02; letter-spacing:.01em;
    color:var(--cream-on-dark); text-shadow:0 10px 24px rgba(0,0,0,.18);
  }
  .hero-lead{ margin-top:1.6rem; max-width:52ch; color:rgba(236,229,214,.92); font-size:1.12rem; font-weight:400; line-height:1.6; }
  .hero-actions{ display:flex; gap:16px; margin-top:2.4rem; flex-wrap:wrap; }
  .hero-cta{ min-width:250px; justify-content:center; padding:1.15rem 2.25rem; font-size:1rem; letter-spacing:.04em; box-shadow:0 14px 28px rgba(0,0,0,.18); }
  .hero-cta.btn-primary{
    box-shadow:
      0 0 18px 4px rgba(194,152,84,.35),
      0 0 42px 14px rgba(194,152,84,.22),
      0 14px 28px rgba(0,0,0,.18);
    animation:heroCtaGlow 3.2s ease-in-out infinite;
  }
  .hero-cta.btn-primary:hover{
    animation-play-state:paused;
    box-shadow:
      0 0 22px 6px rgba(194,152,84,.45),
      0 0 50px 18px rgba(194,152,84,.28),
      0 16px 28px rgba(0,0,0,.18);
  }
  @keyframes heroCtaGlow{
    0%, 100%{
      box-shadow:
        0 0 18px 4px rgba(194,152,84,.35),
        0 0 42px 14px rgba(194,152,84,.22),
        0 14px 28px rgba(0,0,0,.18);
    }
    50%{
      box-shadow:
        0 0 24px 7px rgba(194,152,84,.48),
        0 0 54px 20px rgba(194,152,84,.3),
        0 14px 28px rgba(0,0,0,.18);
    }
  }
  @media (prefers-reduced-motion:reduce){
    .hero-cta.btn-primary{ animation:none; }
  }
  .btn{
    display:inline-flex; align-items:center; gap:.5rem; text-decoration:none;
    padding:.85rem 1.5rem; font-size:.92rem; letter-spacing:.02em; border-radius:999px;
    border:1px solid transparent; position:relative; overflow:hidden;
    transition:transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    box-shadow:0 8px 18px rgba(34,31,25,.08);
    font-weight:700;
  }
  .btn::before{
    content:""; position:absolute; inset:0; background:linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,0));
    opacity:0; transition:opacity .2s ease;
  }
  .btn:hover::before{ opacity:1; }
  .btn:hover{
    transform:translateY(-3px) scale(1.03);
    box-shadow:0 16px 28px var(--accent-glow);
  }
  .btn-primary{ background:linear-gradient(135deg, var(--charcoal), #3A312B); color:var(--cream-on-dark); }
  .btn-primary:hover{ background:linear-gradient(135deg, var(--brass), var(--brass-bright)); }
  .btn-ghost{ border:1.5px solid #1A1917; background:transparent; color:#1A1917; }
  .btn-ghost::before{ display:none; }
  .btn-ghost:hover{ border-color:#1A1917; color:#FFFFFF; background:#1A1917; }

  /* ---------- process (Rólunk) ---------- */
  .col-heading h2{ font-size:var(--step-h2); margin-bottom:1.2rem; }
  .col-heading p{ margin-top:1.2rem; }
  .process{ display:flex; flex-direction:column; }
  .process li{
    display:grid; grid-template-columns:3.2rem 1fr; gap:1.2rem;
    padding:1.5rem 0; border-top:1px solid var(--line);
  }
  .process li:last-child{ border-bottom:1px solid var(--line); }
  .process .step{
    font-family:var(--font-mono); font-size:.85rem; color:var(--brass);
    font-variant-numeric:tabular-nums; padding-top:.2rem;
  }
  .process h3{ font-size:var(--step-h3); margin-bottom:.4rem; }
  .process p{ color:var(--ink-strong); max-width:52ch; font-size:1rem; font-weight:700; }
  .why-copy{ max-width:1180px; }
  .why-copy h2{ max-width:30ch; margin-bottom:1.25rem; font-size:var(--step-h2); }
  .why-copy > p:last-child{ max-width:68ch; color:var(--ink-strong); font-size:1.08rem; }

  /* ---------- services ---------- */
  .service-grid{
    margin-top:2.6rem; display:grid;
    grid-template-columns:repeat(3,1fr); gap:1px;
    background:var(--line); border:1px solid var(--line);
  }
    .service-grid-two{ grid-template-columns:repeat(2,1fr); }
  .service{ background:var(--bg-alt); padding:2rem 1.7rem; min-height:190px; display:flex; flex-direction:column; }
  .section:not(.alt) .service{ background:var(--surface); }
  .service-code{
    font-family:var(--font-mono); font-size:.68rem; letter-spacing:.14em;
    color:var(--brass); text-transform:uppercase; margin-bottom:1rem;
  }
  .service h3{ font-size:1.05rem; margin-bottom:.6rem; }
  .service p{ color:var(--ink-strong); font-size:.96rem; font-weight:700; }

  /* ---------- materials spec sheet ---------- */
  .spec-sheet{ margin-top:2.6rem; border-top:1px solid var(--line); }
  .spec-row{
    display:grid; grid-template-columns:1.4fr .9fr 2fr; gap:1.5rem;
    padding:1.15rem 0; border-bottom:1px solid var(--line); align-items:baseline;
  }
  .spec-row.spec-head{
    font-family:var(--font-mono); font-size:.7rem; letter-spacing:.12em;
    text-transform:uppercase; color:var(--ink-strong);
    font-weight:700;
  }
  .spec-row:not(.spec-head) span:first-child{ font-family:var(--font-display); font-size:1.05rem; }
  .spec-row .mono{ font-family:var(--font-mono); font-size:.85rem; color:var(--brass); font-variant-numeric:tabular-nums; }
  .spec-row span:last-child{ color:var(--ink-strong); font-size:.96rem; font-weight:700; }

  /* ---------- room showcase ---------- */
  .room-showcase{ background:var(--surface); }
  .room-showcase .section-heading{ margin-bottom:2.4rem; }
  .room-showcase-stack{
    display:flex; flex-direction:column; gap:2rem;
  }
  .room-feature{
    display:grid; grid-template-columns:0.88fr 1.12fr; align-items:center; gap:2rem;
    padding:1.5rem 0; text-decoration:none; border-top:1px solid var(--line);
    transition:opacity .2s ease;
  }
  .room-feature:last-child{ border-bottom:1px solid var(--line); }
  .room-feature:hover{ opacity:.96; }
  .room-feature-reverse{ grid-template-columns:1.12fr 0.88fr; }
  .room-feature-reverse .room-feature-copy{ order:2; }
  .room-feature-reverse .room-feature-visual{ order:1; }
  .room-feature-copy{
    padding:0.5rem 0;
  }
  .room-type{
    display:block; margin:0 0 .55rem; font-family:var(--font-display);
    font-size:clamp(2rem, 1.6rem + 1vw, 3rem); line-height:1.08; color:#9f7841;
    text-transform:none; font-weight:600;
  }
  .room-title{
    margin:0 0 1rem; color:var(--ink-strong); max-width:42ch; font-size:1rem; font-weight:600;
  }
  .room-link{
    display:inline-flex; align-items:center; gap:.4rem; color:#9f7841;
    font-family:var(--font-mono); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; font-weight:700;
  }
  .room-feature-visual{ position:relative; height:320px; }
  .room-photo{
    position:absolute; display:grid; place-items:end center; overflow:hidden; border:1px solid rgba(255,255,255,.35);
    box-shadow:0 20px 34px rgba(24,21,14,.14); text-transform:uppercase; letter-spacing:.12em;
    font-family:var(--font-mono); font-size:.62rem; font-weight:700; color:rgba(255,255,255,.82);
  }
    .room-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
  .room-photo-main{
    inset:0 20% 0 0; background:linear-gradient(135deg, rgba(26,23,20,.18), rgba(26,23,20,.32));
  }
  .room-photo-thumb{
    right:0; bottom:18px; width:40%; height:46%; background:linear-gradient(135deg, rgba(26,23,20,.16), rgba(26,23,20,.26));
  }
  .room-photo span{ position:relative; z-index:1; padding:.5rem .75rem; background:rgba(26,23,20,.32); }
  .kitchen-main{ background-color:#bca483; }
  .kitchen-thumb{ background-color:#d4bd96; }
  .living-main{ background-color:#a0704e; }
  .living-thumb{ background-color:#d9c2a2; }
  .bedroom-main{ background-color:#9a8f80; }
  .bedroom-thumb{ background-color:#d4c4aa; }
  .bath-main{ background-color:#b8bab7; }
  .bath-thumb{ background-color:#d9d5cc; }

  @media (max-width:900px){
    .room-feature,
    .room-feature-reverse{ grid-template-columns:1fr; }
    .room-feature-reverse .room-feature-copy,
    .room-feature-reverse .room-feature-visual{ order:initial; }
    .room-feature-visual{ height:260px; }
  }

  /* ---------- contact ---------- */
  .contact-grid{
    margin-top:2.6rem; display:grid; grid-template-columns:repeat(2,1fr); gap:1px;
    background:var(--line); border:1px solid var(--line);
  }
  .contact-tile{
    background:var(--surface); text-decoration:none; padding:1.8rem 1.7rem;
    display:flex; align-items:center; gap:1rem; transition:background .2s ease;
  }
  .contact-tile:hover{ background:var(--surface-2); }
  .contact-tile svg{ flex:none; width:22px; height:22px; stroke:var(--brass); }
  .contact-tile .t-label{ font-family:var(--font-mono); font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-strong); display:block; margin-bottom:.25rem; font-weight:700; }
  .contact-tile .t-value{ font-size:1.06rem; font-weight:800; font-variant-numeric:tabular-nums; color:var(--ink-strong); }
  .contact-tile.wide{ grid-column:1 / -1; }

  /* ---------- footer ---------- */
  .site-footer{ background:var(--charcoal); color:var(--cream-on-dark); }
  .footer-inner{
    max-width:1180px; margin:0 auto; padding:2.2rem 1.5rem;
    display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap;
  }
  .footer-inner p{ font-size:.85rem; color:rgba(236,229,214,.82); }
  .footer-socials{ display:flex; gap:1rem; }
  .footer-socials a{ display:flex; }
  .footer-socials svg{ width:19px; height:19px; stroke:rgba(236,229,214,.8); transition:stroke .2s ease; }
  .footer-socials a:hover svg{ stroke:var(--brass-soft); }
    .footer-credit{
      color:rgba(236,229,214,.65);
      font-family:var(--font-mono);
      font-size:.68rem;
      letter-spacing:.08em;
      text-decoration:none;
      text-transform:uppercase;
      transition:color .2s ease;
    }
    .footer-credit:hover{ color:var(--brass-soft); }

  section[id]{ scroll-margin-top:80px; }

  @media (max-width:900px){
    .nav{
      position:absolute; top:100%; left:0; right:0; background:var(--charcoal);
      flex-direction:column; gap:0; max-height:0; overflow:hidden;
      transition:max-height .25s ease;
    }
    .nav.open{ max-height:420px; }
    .nav a{ padding:1rem 1.5rem; border-top:1px solid rgba(236,229,214,.1); }
    .nav-toggle{ display:block; }
    .header-phone{ display:none; }
    .hero-inner{ grid-template-columns:1fr; }
    .hero-media{ height:260px; order:-1; }
    .two-col{ grid-template-columns:1fr; }
    .audience-gate{ grid-template-columns:1fr; }
    .service-grid{ grid-template-columns:1fr 1fr; }
    .contact-grid{ grid-template-columns:1fr; }
    .spec-row{ grid-template-columns:1.2fr .8fr; }
    .spec-row span:last-child{ grid-column:1 / -1; }
    .timeline::before{ left:8px; }
    .timeline-item,
    .timeline-item.right{ width:100%; margin-left:0; padding-left:2.5rem; padding-right:0; justify-content:flex-start; }
    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot{ left:2px; right:auto; }
    .cta-band{ align-items:flex-start; flex-direction:column; }
    .material-item{ grid-template-columns:1fr; gap:.6rem; }
    .gallery-grid{ grid-template-columns:repeat(2, 1fr); gap:1.25rem; }
  }
  @media (max-width:560px){
    .service-grid{ grid-template-columns:1fr; }
    .section{ padding:4.5rem 1.25rem; }
    .gateway-section{ padding-top:3.5rem; padding-bottom:3.5rem; }
      .gallery-grid{ grid-template-columns:1fr; }
  }

  /* ---------- legal / privacy policy page ---------- */
  .legal-content{ max-width:820px; }
  .legal-content h2{ margin-top:2.75rem; font-size:var(--step-h2); }
  .legal-content h2:first-child{ margin-top:0; }
  .legal-content h3{ margin-top:1.85rem; font-size:var(--step-h3); color:var(--brass); }
  .legal-content p{ margin-top:1rem; font-weight:400; line-height:1.75; color:var(--ink-soft); }
  .legal-content p:first-of-type{ margin-top:0; }
  .legal-content ul{ list-style:disc; padding-left:1.4rem; margin:1rem 0; }
  .legal-content ul li{ margin-bottom:.55rem; font-weight:400; color:var(--ink-soft); line-height:1.65; }
  .legal-content strong{ color:var(--ink-strong); }
  .legal-updated{ font-family:var(--font-mono); font-size:.75rem; letter-spacing:.06em; color:var(--brass-soft); text-transform:uppercase; margin-bottom:2rem; }
  .legal-table-wrap{ overflow-x:auto; margin:1.5rem 0; }
  .legal-content table{ width:100%; min-width:560px; border-collapse:collapse; font-size:.9rem; }
  .legal-content th,
  .legal-content td{ text-align:left; padding:.7rem .85rem; border-bottom:1px solid var(--line); vertical-align:top; font-weight:400; color:var(--ink-soft); }
  .legal-content th{ font-family:var(--font-mono); font-size:.68rem; letter-spacing:.06em; text-transform:uppercase; color:var(--brass); font-weight:700; }
  .footer-legal-link{ color:inherit; text-decoration:underline; text-underline-offset:3px; }
  .footer-legal-link:hover{ color:var(--brass-soft); }
