/*
Theme Name: Timber Tweak Designz
Theme URI: https://timbertweakdesignz.com
Author: Timber Tweak Designz
Description: Custom multi-page theme for Timber Tweak Designz -- Malleswaram, Bengaluru interior design studio. Swappable image system, working contact form, and a built-in assistant widget.
Version: 2.0
Text Domain: timber-tweak
*/

:root{
    --paper:#EDE6D8;
    --paper-2:#E4DBC7;
    --ink:#23302A;
    --ink-soft:#4B564F;
    --walnut:#8B4A2B;
    --walnut-dark:#6E3A20;
    --brass:#B8892B;
    --moss:#5C6B4F;
    --line:#CBBEA0;
    --white:#FAF8F3;
    --radius:2px;
    --max:1240px;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{background:var(--paper); color:var(--ink); font-family:'Inter',sans-serif; font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;}
  @media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} *{animation-duration:.001ms !important; transition-duration:.001ms !important;} }
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  ul{list-style:none;}
  .wrap{max-width:var(--max); margin:0 auto; padding:0 32px;}
  h1,h2,h3{font-family:'Fraunces',serif; font-weight:600; line-height:1.05; letter-spacing:-0.01em; color:var(--ink);}
  .eyebrow{font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--walnut); display:flex; align-items:center; gap:10px;}
  .eyebrow::before{content:''; width:22px; height:1px; background:var(--walnut);}
  .btn{display:inline-flex; align-items:center; gap:8px; font-family:'IBM Plex Mono',monospace; font-size:13px; letter-spacing:.04em; padding:14px 24px; border-radius:var(--radius); border:1px solid var(--ink); cursor:pointer; transition:all .2s ease; white-space:nowrap;}
  .btn-primary{background:var(--ink); color:var(--paper);}
  .btn-primary:hover{background:var(--walnut); border-color:var(--walnut);}
  .btn-ghost{background:transparent; color:var(--ink);}
  .btn-ghost:hover{background:var(--ink); color:var(--paper);}
  .btn-brass{background:var(--brass); border-color:var(--brass); color:var(--ink);}
  .btn-brass:hover{background:#a67a24;}
  :focus-visible{outline:2px solid var(--walnut); outline-offset:3px;}

  /* ===== TOP UTILITY BAR ===== */
  .topbar{background:var(--ink); color:#C9CCC5;}
  .topbar-inner{max-width:var(--max); margin:0 auto; padding:9px 32px; display:flex; justify-content:space-between; align-items:center; font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.04em;}
  .topbar-loc{display:flex; align-items:center; gap:8px; text-transform:uppercase;}
  .topbar-loc svg{width:13px; height:13px; stroke:var(--brass); fill:none; stroke-width:2;}
  .topbar-call{display:flex; align-items:center; gap:8px; color:#fff;}
  .topbar-call svg{width:13px; height:13px; stroke:var(--brass); fill:none; stroke-width:2;}

  /* ===== NAV ===== */
  header{position:sticky; top:0; z-index:50; background:rgba(237,230,216,0.96); backdrop-filter:blur(6px); border-bottom:1px solid var(--line);}
  nav{display:flex; align-items:center; justify-content:space-between; padding:0 32px; max-width:var(--max); margin:0 auto; height:84px;}
  .logo-badge{display:flex; align-items:center; gap:12px;}
  .logo-mark-img{height:48px; width:auto; display:block;}
  .logo-text{font-family:'Fraunces',serif; font-weight:600; font-size:17px; line-height:1.15;}
  .logo-text span{display:block; font-family:'IBM Plex Mono',monospace; font-weight:500; font-size:10px; letter-spacing:.14em; color:var(--walnut); text-transform:uppercase; margin-top:2px;}
  .nav-links{display:flex; gap:30px; font-size:14px; font-weight:600; align-items:center;}
  .nav-item{position:relative; padding:30px 0; display:flex; align-items:center; gap:5px; cursor:pointer;}
  .nav-item svg{width:10px; height:10px; stroke:var(--ink-soft); fill:none; stroke-width:2; transition:transform .2s;}
  .nav-item:hover svg{transform:rotate(180deg);}
  .nav-item .dot{position:absolute; left:0; bottom:26px; width:0; height:2px; background:var(--walnut); transition:width .25s ease;}
  .nav-item:hover .dot{width:100%;}
  .dropdown{
    position:absolute; top:100%; left:50%; transform:translateX(-50%);
    background:var(--white); border:1px solid var(--line); min-width:210px;
    padding:10px 0; opacity:0; visibility:hidden; transition:all .2s ease;
    box-shadow:0 14px 30px rgba(35,48,42,0.12);
  }
  .nav-item:hover .dropdown{opacity:1; visibility:visible; top:calc(100% - 4px);}
  .dropdown a{display:block; padding:10px 20px; font-size:13.5px; font-weight:500; color:var(--ink-soft);}
  .dropdown a:hover{background:var(--paper-2); color:var(--walnut);}
  .nav-toggle{display:none; background:none; border:none; cursor:pointer; flex-direction:column; gap:5px;}
  .nav-toggle span{width:22px; height:2px; background:var(--ink);}

  /* ===== HERO (full-bleed, D'LIFE-style) ===== */
  .hero{position:relative; height:88vh; min-height:600px; overflow:hidden; color:#fff;}
  .hero-bg{position:absolute; inset:0; z-index:0;}
  .hero-bg .img-slot{position:absolute; inset:0; height:100%;}
  .hero-bg svg{width:100%; height:100%; display:block;}
  .hero-scrim{position:absolute; inset:0; background:linear-gradient(90deg, rgba(20,26,22,.86) 0%, rgba(20,26,22,.55) 42%, rgba(20,26,22,.15) 70%, transparent 100%), linear-gradient(0deg, rgba(20,26,22,.5), transparent 45%); z-index:1;}
  .hero-content{position:relative; z-index:2; height:100%; display:flex; flex-direction:column; justify-content:flex-end; padding-bottom:70px;}
  .hero-badge{font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--brass); margin-bottom:18px; display:flex; align-items:center; gap:10px;}
  .hero-badge::before{content:''; width:26px; height:1px; background:var(--brass);}
  .hero h1{font-size:clamp(34px,5vw,58px); color:#fff; margin-bottom:22px; max-width:680px;}
  .hero-cta-row{display:flex; align-items:flex-end; gap:22px; flex-wrap:wrap; margin-top:10px;}
  .price-tag{background:var(--brass); color:var(--ink); padding:14px 22px; font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:15px;}
  .price-tag small{display:block; font-weight:500; font-size:10px; margin-top:3px; text-transform:uppercase; letter-spacing:.04em;}
  .tnc{font-size:11px; color:rgba(255,255,255,0.7); font-family:'IBM Plex Mono',monospace;}
  .hero-side-cta{position:absolute; z-index:3; right:32px; bottom:70px; display:flex; flex-direction:column; gap:12px; align-items:flex-end;}
  .hardware-badge{
    border:1px solid rgba(255,255,255,.35); color:#fff; padding:10px 16px;
    font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase;
    display:flex; align-items:center; gap:8px;
  }
  .hardware-badge svg{width:16px; height:16px; stroke:var(--brass); fill:none; stroke-width:1.6;}
  .img-note{position:absolute; z-index:3; left:32px; top:16px; font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.06em; color:rgba(255,255,255,.55); text-transform:uppercase;}

  /* ===== USP STRIP ===== */
  .usp-strip{background:var(--white); border-bottom:1px solid var(--line);}
  .usp-grid{display:grid; grid-template-columns:repeat(6,1fr);}
  .usp{padding:26px 18px; text-align:center; border-left:1px solid var(--line);}
  .usp:first-child{border-left:none;}
  .usp .num{font-family:'Fraunces',serif; font-size:24px; font-weight:600; color:var(--walnut);}
  .usp .lbl{font-family:'IBM Plex Mono',monospace; font-size:10.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft); margin-top:4px;}

  /* ===== SECTION SHELL ===== */
  section{padding:100px 0;}
  .section-head{max-width:640px; margin-bottom:56px;}
  .section-head h2{font-size:clamp(28px,3.4vw,42px); margin-top:14px;}
  .section-head p{color:var(--ink-soft); margin-top:16px; font-size:16px;}

  /* ===== MEASURING RAIL ===== */
  .rail{position:fixed; left:24px; top:50%; transform:translateY(-50%); z-index:40; display:flex; flex-direction:column;}
  .rail-line{position:absolute; left:5px; top:0; bottom:0; width:1px; background:var(--line);}
  .rail-stage{display:flex; align-items:center; gap:10px; padding:10px 0; cursor:pointer; opacity:.45; transition:opacity .25s ease;}
  .rail-stage:hover{opacity:.8;}
  .rail-stage.active{opacity:1;}
  .rail-tick{width:11px; height:11px; border-radius:50%; background:var(--paper); border:1.5px solid var(--ink-soft); flex-shrink:0; transition:all .25s ease; position:relative; z-index:1;}
  .rail-stage.active .rail-tick{background:var(--walnut); border-color:var(--walnut);}
  .rail-label{font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-soft); white-space:nowrap;}
  .rail-stage.active .rail-label{color:var(--ink); font-weight:600;}
  @media (max-width:1300px){ .rail{display:none;} }

  /* ===== PROCESS ===== */
  .process-list{border-top:1px solid var(--ink);}
  .process-row{display:grid; grid-template-columns:90px 1fr 1.4fr; gap:32px; padding:34px 0; border-bottom:1px solid var(--line); align-items:start;}
  .process-row .pn{font-family:'IBM Plex Mono',monospace; font-size:14px; color:var(--walnut); font-weight:600;}
  .process-row h3{font-size:22px; font-weight:600;}
  .process-row p{color:var(--ink-soft); font-size:15px;}

  /* ===== PRODUCTS/SERVICES ===== */
  .svc-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
  .svc-card{background:var(--white); padding:38px 30px; transition:background .2s ease;}
  .svc-card:hover{background:var(--paper-2);}
  .svc-icon{width:38px; height:38px; margin-bottom:22px; stroke:var(--walnut); fill:none; stroke-width:1.4;}
  .svc-card h3{font-size:19px; margin-bottom:10px; font-weight:600;}
  .svc-card p{font-size:14.5px; color:var(--ink-soft);}

  /* ===== CRAFT ===== */
  .craft{background:var(--ink); color:var(--paper); display:grid; grid-template-columns:1fr 1fr; align-items:center;}
  .craft-copy{padding:80px 60px;}
  .craft-copy .eyebrow{color:var(--brass);}
  .craft-copy .eyebrow::before{background:var(--brass);}
  .craft-copy h2{color:var(--paper); font-size:clamp(26px,3vw,38px); margin:16px 0 20px;}
  .craft-copy p{color:#C9CCC5; font-size:15.5px; margin-bottom:16px; max-width:460px;}
  .craft-list{display:flex; flex-direction:column; gap:10px; margin-top:24px;}
  .craft-list li{font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--paper); display:flex; gap:12px; align-items:center;}
  .craft-list li::before{content:'—'; color:var(--brass);}
  .woodgrain{height:100%; min-height:420px; position:relative;
    background:
      repeating-linear-gradient(100deg, rgba(0,0,0,.14) 0 2px, transparent 2px 7px),
      repeating-linear-gradient(100deg, rgba(0,0,0,.06) 0 1px, transparent 1px 14px),
      linear-gradient(120deg, var(--walnut-dark), var(--walnut) 55%, #a5603a);
  }
  .woodgrain::after{content:'FIG. 04 — SECTION THROUGH JOINT'; position:absolute; bottom:20px; right:24px; font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.06em; color:rgba(250,248,243,.6);}

  /* ===== GALLERY ===== */
  .port-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
  .port-card{aspect-ratio:3/4; position:relative; overflow:hidden; border:1px solid var(--line); cursor:pointer;}
  .port-card .tag{position:absolute; top:16px; left:16px; font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.05em; background:var(--white); padding:5px 10px; text-transform:uppercase;}
  .port-card .name{position:absolute; bottom:0; left:0; right:0; padding:18px 16px; background:linear-gradient(transparent, rgba(0,0,0,.55)); color:#fff; font-family:'Fraunces',serif; font-size:17px; font-weight:600;}
  .p1{background:linear-gradient(160deg,#B8892B,#8B4A2B);}
  .p2{background:linear-gradient(160deg,#5C6B4F,#3d4838);}
  .p3{background:linear-gradient(160deg,#6E5A44,#3a2f22);}
  .p4{background:linear-gradient(160deg,#C7B896,#8B4A2B);}

  /* ===== LOCATION ===== */
  .loc-split{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;}
  .loc-map{border:1px solid var(--line); background:var(--white); aspect-ratio:4/3; position:relative; overflow:hidden;}
  .loc-areas{display:flex; flex-wrap:wrap; gap:10px; margin-top:24px;}
  .loc-areas span{font-family:'IBM Plex Mono',monospace; font-size:12px; padding:8px 14px; border:1px solid var(--line); color:var(--ink-soft);}

  /* ===== TESTIMONIALS ===== */
  .testi-wrap{border-top:1px solid var(--ink); border-bottom:1px solid var(--ink); padding:60px 0;}
  .testi{display:grid; grid-template-columns:1fr; gap:10px; text-align:center; max-width:720px; margin:0 auto;}
  .testi blockquote{font-family:'Fraunces',serif; font-size:clamp(20px,2.6vw,28px); font-weight:500; line-height:1.4;}
  .testi cite{display:block; margin-top:22px; font-style:normal; font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--ink-soft); letter-spacing:.04em;}
  .testi-dots{display:flex; justify-content:center; gap:8px; margin-top:30px;}
  .tdot{width:7px; height:7px; border-radius:50%; background:var(--line); cursor:pointer;}
  .tdot.active{background:var(--walnut);}

  /* ===== CTA / FORM ===== */
  .cta{background:var(--paper-2); border:1px solid var(--line); display:grid; grid-template-columns:1fr 1fr;}
  .cta-copy{padding:64px; display:flex; flex-direction:column; justify-content:center;}
  .cta-copy h2{font-size:clamp(26px,3vw,36px); margin:14px 0 16px;}
  .cta-copy p{color:var(--ink-soft); max-width:400px;}
  .cta-form{padding:64px; background:var(--white); border-left:1px solid var(--line);}
  .field{margin-bottom:18px;}
  .field label{font-family:'IBM Plex Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-soft); display:block; margin-bottom:7px;}
  .field input, .field select{width:100%; padding:12px 14px; border:1px solid var(--line); background:var(--paper); font-family:'Inter',sans-serif; font-size:14px; border-radius:var(--radius); color:var(--ink);}
  .field input:focus, .field select:focus{outline:none; border-color:var(--walnut);}
  .cta-form .btn{width:100%; justify-content:center; margin-top:6px;}

  /* ===== FOOTER ===== */
  footer{background:var(--ink); color:#C9CCC5; padding:70px 0 30px;}
  .foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:50px; border-bottom:1px solid #3a453e;}
  .foot-logo{font-family:'IBM Plex Mono',monospace; color:#fff; font-weight:600; font-size:15px; margin-bottom:16px;}
  .foot-col h4{font-family:'IBM Plex Mono',monospace; font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:#fff; margin-bottom:16px;}
  .foot-col a{display:block; font-size:14px; color:#C9CCC5; margin-bottom:10px;}
  .foot-col a:hover{color:var(--brass);}
  .foot-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:26px; font-size:13px; color:#8b9389; flex-wrap:wrap; gap:12px;}

  /* ===== MOBILE ===== */
  @media (max-width:900px){
    .topbar-inner{font-size:10.5px; padding:8px 20px;}
    nav{padding:0 20px; height:70px;}
    .nav-links{display:none;}
    .nav-toggle{display:flex;}
    .hero{height:78vh;}
    .hero-side-cta{display:none;}
    .usp-grid{grid-template-columns:repeat(3,1fr);}
    .usp:nth-child(4){border-left:none;}
    .process-row{grid-template-columns:50px 1fr; grid-template-areas:"n h" ". p";}
    .process-row .pn{grid-area:n;} .process-row h3{grid-area:h;} .process-row p{grid-area:p;}
    .svc-grid{grid-template-columns:1fr;}
    .craft{grid-template-columns:1fr;}
    .craft-copy{padding:56px 28px;}
    .woodgrain{min-height:260px;}
    .port-grid{grid-template-columns:repeat(2,1fr);}
    .loc-split{grid-template-columns:1fr;}
    .cta{grid-template-columns:1fr;}
    .cta-copy, .cta-form{padding:44px 28px;}
    .cta-form{border-left:none; border-top:1px solid var(--line);}
    .foot-grid{grid-template-columns:1fr 1fr; row-gap:34px;}
  }
  @media (max-width:520px){
    .wrap{padding:0 20px;}
    .usp-grid{grid-template-columns:repeat(2,1fr);}
    .usp:nth-child(3){border-left:none;}
    .port-grid{grid-template-columns:1fr;}
    .foot-grid{grid-template-columns:1fr;}
  }

/* ========================================================================
   IMAGE SLOT SYSTEM
   Any element with class="img-slot" wraps either a real uploaded photo
   or the placeholder illustration. Swapping images requires zero CSS edits.
   ======================================================================== */
.img-slot{ position:relative; overflow:hidden; background:var(--paper-2); }
.img-slot img{ width:100%; height:100%; object-fit:cover; display:block; }
.img-slot.is-placeholder::after{
  content: attr(data-hint);
  position:absolute; bottom:10px; left:10px; right:10px;
  font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:.04em;
  color:var(--ink-soft); background:rgba(250,248,243,0.88); padding:6px 10px;
  border:1px dashed var(--line);
}

/* ========================================================================
   PAGE HERO (used on Company / Products / Gallery / Location / Contact)
   ======================================================================== */
.page-hero{
  background:var(--ink); color:var(--paper); padding:80px 0 60px; text-align:left;
}
.page-hero .eyebrow{color:var(--brass);}
.page-hero .eyebrow::before{background:var(--brass);}
.page-hero h1{color:#fff; font-size:clamp(30px,4.2vw,50px); margin-top:14px; max-width:720px;}
.page-hero p{color:#C9CCC5; margin-top:16px; max-width:560px; font-size:16px;}
.breadcrumb{font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:#8b9389; margin-bottom:10px;}
.breadcrumb a{color:#C9CCC5;}
.breadcrumb a:hover{color:var(--brass);}

/* ========================================================================
   COMPANY PAGE
   ======================================================================== */
.split-media{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.split-media .img-slot{aspect-ratio:4/3; border:1px solid var(--line);}
.stat-band{display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--ink); border-bottom:1px solid var(--ink); margin:70px 0;}
.stat-band .stat{padding:30px 22px; border-left:1px solid var(--line);}
.stat-band .stat:first-child{border-left:none;}
.stat-band .num{font-family:'Fraunces',serif; font-size:32px; font-weight:600; color:var(--walnut);}
.stat-band .lbl{font-family:'IBM Plex Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft); margin-top:6px;}
.value-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); margin-top:40px;}
.value-card{background:var(--white); padding:32px 26px;}
.value-card h3{font-size:18px; margin-bottom:8px;}
.value-card p{font-size:14px; color:var(--ink-soft);}
.team-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:26px; margin-top:40px;}
.team-card .img-slot{aspect-ratio:1; margin-bottom:14px;}
.team-card h4{font-family:'Fraunces',serif; font-size:16px; font-weight:600;}
.team-card span{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--walnut); text-transform:uppercase; letter-spacing:.04em;}

/* ========================================================================
   PRODUCTS PAGE
   ======================================================================== */
.product-block{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; padding:70px 0; border-bottom:1px solid var(--line);}
.product-block:last-child{border-bottom:none;}
.product-block.reverse .img-slot{order:2;}
.product-block .img-slot{aspect-ratio:4/3; border:1px solid var(--line);}
.product-block .eyebrow{margin-bottom:12px;}
.product-block h2{font-size:clamp(24px,3vw,34px); margin-bottom:14px;}
.product-block p{color:var(--ink-soft); font-size:15.5px; margin-bottom:18px; max-width:460px;}
.feature-tags{display:flex; flex-wrap:wrap; gap:8px;}
.feature-tags span{font-family:'IBM Plex Mono',monospace; font-size:11px; padding:7px 12px; border:1px solid var(--line); color:var(--ink-soft);}

/* ========================================================================
   GALLERY PAGE
   ======================================================================== */
.filter-bar{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:36px;}
.filter-btn{
  font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.04em; text-transform:uppercase;
  padding:9px 18px; border:1px solid var(--ink); background:transparent; color:var(--ink); cursor:pointer; transition:all .2s ease;
}
.filter-btn.active, .filter-btn:hover{background:var(--ink); color:var(--paper);}
.gallery-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.gallery-item{position:relative; aspect-ratio:4/5; border:1px solid var(--line); cursor:pointer;}
.gallery-item .tag{position:absolute; top:14px; left:14px; z-index:2; font-family:'IBM Plex Mono',monospace; font-size:10.5px; letter-spacing:.05em; background:var(--white); padding:5px 10px; text-transform:uppercase;}
.gallery-item .name{position:absolute; bottom:0; left:0; right:0; z-index:2; padding:16px; background:linear-gradient(transparent, rgba(0,0,0,.6)); color:#fff; font-family:'Fraunces',serif; font-size:16px; font-weight:600;}
.gallery-item.is-hidden{display:none;}

/* ========================================================================
   LOCATION PAGE
   ======================================================================== */
.map-embed{border:1px solid var(--line); aspect-ratio:16/9; width:100%;}
.map-embed iframe{width:100%; height:100%; border:0; display:block; filter:grayscale(0.15) contrast(1.05);}
.hours-table{margin-top:20px; font-family:'IBM Plex Mono',monospace; font-size:13px;}
.hours-table div{display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid var(--line); max-width:340px;}

/* ========================================================================
   CONTACT PAGE
   ======================================================================== */
.contact-grid{display:grid; grid-template-columns:0.85fr 1.15fr; gap:0; border:1px solid var(--line);}
.contact-info{background:var(--ink); color:var(--paper); padding:56px 44px;}
.contact-info .eyebrow{color:var(--brass);}
.contact-info .eyebrow::before{background:var(--brass);}
.contact-info h2{color:#fff; font-size:28px; margin:14px 0 22px;}
.contact-line{display:flex; gap:14px; margin-bottom:20px; font-size:14.5px; color:#C9CCC5;}
.contact-line svg{width:18px; height:18px; stroke:var(--brass); fill:none; stroke-width:1.6; flex-shrink:0; margin-top:2px;}
.contact-info a{color:#fff;}
.contact-form-wrap{padding:56px 44px; background:var(--white);}
.form-notice{padding:14px 18px; margin-bottom:22px; font-family:'IBM Plex Mono',monospace; font-size:13px; border:1px solid var(--moss); color:var(--moss);}
.form-notice.error{border-color:#a8402a; color:#a8402a;}
.hp-field{position:absolute; left:-9999px; opacity:0;}

/* ========================================================================
   CHATBOT WIDGET
   ======================================================================== */
.ttd-chat-launcher{
  position:fixed; right:24px; bottom:24px; z-index:200;
  width:58px; height:58px; border-radius:50%; background:var(--walnut); color:#fff;
  border:none; cursor:pointer; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(35,48,42,.28); transition:transform .2s ease;
}
.ttd-chat-launcher:hover{transform:scale(1.06); background:var(--walnut-dark);}
.ttd-chat-launcher svg{width:26px; height:26px; stroke:#fff; fill:none; stroke-width:1.8;}
.ttd-chat-window{
  position:fixed; right:24px; bottom:94px; z-index:200;
  width:340px; max-width:calc(100vw - 40px); max-height:70vh;
  background:var(--white); border:1px solid var(--line); box-shadow:0 20px 50px rgba(35,48,42,.22);
  display:none; flex-direction:column; overflow:hidden;
}
.ttd-chat-window.open{display:flex;}
.ttd-chat-head{background:var(--ink); color:#fff; padding:16px 18px; display:flex; justify-content:space-between; align-items:center;}
.ttd-chat-head strong{font-family:'Fraunces',serif; font-size:15px;}
.ttd-chat-head span{display:block; font-family:'IBM Plex Mono',monospace; font-size:10.5px; color:var(--brass); margin-top:2px; text-transform:uppercase; letter-spacing:.05em;}
.ttd-chat-close{background:none; border:none; color:#fff; cursor:pointer; font-size:18px; line-height:1;}
.ttd-chat-body{flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px; background:var(--paper);}
.ttd-msg{max-width:85%; padding:10px 13px; font-size:13.5px; line-height:1.5; border-radius:2px;}
.ttd-msg.bot{background:var(--white); border:1px solid var(--line); align-self:flex-start;}
.ttd-msg.user{background:var(--walnut); color:#fff; align-self:flex-end;}
.ttd-chips{display:flex; flex-wrap:wrap; gap:8px; padding:12px 16px; border-top:1px solid var(--line); background:var(--white);}
.ttd-chip{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; padding:7px 12px; border:1px solid var(--line);
  background:transparent; cursor:pointer; color:var(--ink); transition:all .2s ease;
}
.ttd-chip:hover{background:var(--ink); color:var(--paper); border-color:var(--ink);}

/* ========================================================================
   RESPONSIVE — new sections
   ======================================================================== */
@media (max-width:900px){
  .split-media{grid-template-columns:1fr; gap:30px;}
  .stat-band{grid-template-columns:repeat(2,1fr); row-gap:24px;}
  .stat-band .stat:nth-child(3){border-left:none;}
  .value-grid{grid-template-columns:1fr;}
  .team-grid{grid-template-columns:repeat(2,1fr);}
  .product-block{grid-template-columns:1fr; padding:50px 0;}
  .product-block.reverse .img-slot{order:0;}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .contact-grid{grid-template-columns:1fr;}
  .contact-info, .contact-form-wrap{padding:40px 26px;}
  .ttd-chat-window{width:calc(100vw - 32px); right:16px; bottom:86px;}
  .ttd-chat-launcher{right:16px; bottom:16px;}
}
@media (max-width:520px){
  .gallery-grid{grid-template-columns:1fr;}
  .stat-band{grid-template-columns:1fr 1fr;}
}
