/* ============================================================
   PONTIRIOR  -  Interior & Build
   Design tokens
   ============================================================ */
   :root{
    --charcoal: #0F0F0B;
    --charcoal-2: #1A1913;
    --cream: #F7F4EC;
    --cream-2: #EFE9D9;
    --ink: #1B1B16;
    --muted: #6E6255;
    --muted-light: rgba(247,244,236,0.64);
    --brass: #B08D57;
    --brass-deep: #8C6F41;
    --line: rgba(27,27,22,0.13);
    --line-dark: rgba(247,244,236,0.15);
  
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Work Sans', -apple-system, Segoe UI, sans-serif;
  
    --container: 1240px;
    --gutter: clamp(24px, 6vw, 80px);
  }
  
  *,*::before,*::after{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }
  body{
    margin:0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }
  img{ max-width:100%; display:block; }
  a{ color: inherit; text-decoration: none; }
  ul{ margin:0; padding:0; list-style:none; }
  h1,h2,h3,h4{ font-family: var(--font-display); margin:0; font-weight: 500; letter-spacing: -0.01em; }
  p{ margin:0; }
  button{ font-family: inherit; cursor:pointer; }
  
  .wrap{
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  
  a:focus-visible, button:focus-visible{
    outline: 2px solid var(--brass);
    outline-offset: 3px;
  }
  
  /* ---------- Buttons ---------- */
  .btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding: 15px 30px;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid transparent;
    white-space: nowrap;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
  }
  .btn-sm{ padding: 10px 20px; font-size: 13.5px; }
  .btn-primary{
    background: var(--brass);
    color: var(--charcoal);
  }
  .btn-primary:hover{ background: #c19d68; }
  .btn-outline{
    border-color: var(--line-dark);
    color: var(--cream);
  }
  .btn-outline:hover{ border-color: var(--brass); color: var(--brass); }
  .btn-outline-ink{
    border-color: var(--line);
    color: var(--ink);
  }
  .btn-outline-ink:hover{ border-color: var(--brass); color: var(--brass-deep); }
  
  .text-link{
    display:inline-flex; gap:8px; font-size:14px; font-weight:600;
    color: var(--brass-deep); border-bottom:1px solid var(--brass-deep); padding-bottom:3px;
  }
  
  /* ---------- Header ---------- */
  .site-header{
    position: static;
    background: var(--charcoal);
    padding: 20px 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .site-header .wrap{ display:flex; align-items:center; justify-content:space-between; gap: 24px; flex-wrap: nowrap; }
  .brand{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
  .brand img{ height: 32px; width:auto; display:block; }
  
  .main-nav ul{ display:flex; align-items:center; gap: 32px; }
  .main-nav a{
    display:inline-block;
    font-size: 14px; font-weight: 500; color: var(--muted-light);
    line-height: 1;
    padding: 4px 0; border-bottom: 1px solid transparent;
  }
  .main-nav a:hover{ color: var(--cream); border-color: var(--brass); }
  
  .header-actions{ display:flex; align-items:center; gap:18px; flex-shrink:0; }
  .nav-toggle{
    display:none;
    background:none; border:none; color: var(--cream);
    width: 34px; height: 24px; position:relative;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
    content:''; position:absolute; left:0; right:0; height:1.5px; background: currentColor;
  }
  .nav-toggle span{ top: 11px; }
  .nav-toggle span::before{ top: -8px; }
  .nav-toggle span::after{ top: 8px; }
  
  /* ---------- Hero (fullscreen) ---------- */
  .hero{
    position: relative;
    min-height: 100svh;
    background-color: var(--charcoal);
    background-size: cover;
    background-position: center;
    color: var(--cream);
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
  }
  .hero-fallback{ position:absolute; inset:0; opacity:.9; }
  .hero-fallback svg{ width:100%; height:100%; }
  .hero-inner{ position: relative; padding-bottom: 84px; padding-top: 64px; }
  .hero-copy{ max-width: 760px; }
  .hero-eyebrow{
    font-size: 14px; font-weight: 500; color: var(--brass);
    display:block; margin-bottom: 26px;
  }
  .hero h1{
    font-size: clamp(42px, 6.4vw, 84px);
    line-height: 1.05;
    font-weight: 500;
  }
  .hero-desc{
    margin-top: 26px;
    max-width: 52ch;
    color: var(--muted-light);
    font-size: 17.5px;
    line-height: 1.65;
  }
  .hero-cta{ display:flex; gap:16px; margin-top: 40px; flex-wrap:wrap; }
  
  .hero-strip{
    position: relative;
    display:flex; gap: clamp(24px, 4vw, 56px); flex-wrap:wrap;
    padding: 26px 0 30px;
    border-top: 1px solid var(--line-dark);
    margin-top: 56px;
  }
  .hero-strip span{ font-size: 13px; letter-spacing:.04em; color: var(--muted-light); }
  
  /* ---------- Section basics ---------- */
  section{ padding: 130px 0; }
  .section-head{
    display:flex; justify-content:space-between; align-items:flex-end; gap: 40px;
    margin-bottom: 64px;
  }
  .section-tag{ font-size: 14px; font-weight: 600; color: var(--brass-deep); margin-bottom: 16px; display:block; }
  .section-head h2, .about-copy-col h2, .why-us h2, .process h2{ font-size: clamp(30px,3.2vw,42px); max-width: 20ch; }
  .section-head p{ max-width: 38ch; color: var(--muted); font-size: 15.5px; padding-bottom: 4px; }
  
  /* ---------- About ---------- */
  .about{ background: var(--cream); }
  .about-grid{ display:grid; grid-template-columns: 0.86fr 1.14fr; gap: 72px; align-items:start; }
  .about-media{ position: relative; }
  .about-media img{ width:100%; height: 560px; object-fit: cover; }
  .media-fallback{ width:100%; height:560px; background: var(--cream-2); display:flex; align-items:center; justify-content:center; }
  .media-fallback svg{ width:60%; height:auto; }
  .media-fallback--dark{ background: var(--charcoal-2); }
  .media-fallback--dark svg{ width:44%; }
  .media-tag{
    position:absolute; bottom: 20px; left: 20px;
    font-size: 12px; letter-spacing:.06em; color: var(--cream);
    background: rgba(15,15,11,0.72); padding: 8px 14px;
  }
  .about-copy-col h2{ margin: 18px 0 28px; }
  .about-copy p{ color: var(--muted); font-size: 16px; margin-bottom: 18px; max-width: 58ch; }
  .about-copy p:last-of-type{ margin-bottom:0; }
  .pillars{
    margin-top: 44px;
    display:grid; grid-template-columns: repeat(3,1fr); gap: 0;
    border-top: 1px solid var(--line);
  }
  .pillar{ padding: 24px 20px 0 0; }
  .pillar strong{ display:block; font-family: var(--font-display); font-size: 18px; margin-bottom:8px; font-weight:500; }
  .pillar span{ font-size: 13.5px; color: var(--muted); line-height:1.55; display:block; }
  .stats-row{
    display:flex; gap: clamp(28px, 4vw, 56px); margin-top: 48px; padding-top: 32px;
    border-top: 1px solid var(--line); flex-wrap:wrap;
  }
  .stat strong{ display:block; font-family: var(--font-display); font-size: clamp(28px,2.6vw,36px); font-weight:500; color: var(--ink); }
  .stat span{ font-size: 13px; color: var(--muted); display:block; margin-top:4px; }
  
  /* ---------- Services ---------- */
  .services{ background: var(--cream-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  .service-list{ display:grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
  .service-item{
    border-right: 1px solid var(--line);
    padding: 0 26px 0 0;
  }
  .service-item:last-child{ border-right:none; }
  .service-icon{ display:block; width: 42px; height:42px; color: var(--brass-deep); margin-bottom: 30px; }
  .service-icon svg{ width:100%; height:100%; }
  .service-item h3{ font-size: 19px; margin-bottom:12px; font-weight:500; }
  .service-item p{ font-size: 14px; color: var(--muted); line-height:1.6; }
  
  /* ---------- Projects ---------- */
  .projects{ background: var(--charcoal); color: var(--cream); }
  .projects .section-head p{ color: var(--muted-light); }
  .projects .section-tag{ color: var(--brass); }
  .projects .section-head h2{ color: var(--cream); }
  .project-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line-dark); }
  .project-card{
    position:relative; overflow:hidden;
    aspect-ratio: 4/5;
    background: var(--charcoal-2);
  }
  .project-card img{ width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
  .project-card:hover img{ transform: scale(1.04); }
  .project-fallback{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
  .project-fallback svg{ width:60%; height:60%; }
  .project-overlay{
    position:absolute; left:0; right:0; bottom:0; padding: 26px 24px;
    background: linear-gradient(to top, rgba(10,10,8,0.85), transparent 75%);
  }
  .project-cat{ font-size:12px; letter-spacing:.05em; color: var(--brass); display:block; margin-bottom:6px; }
  .project-card h4{ font-size: 18px; font-weight:500; color: var(--cream); }
  
  /* ---------- Why us + Process ---------- */
  .why-process{ background: var(--cream); }
  .why-process-grid{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
  .why-media{ margin-bottom: 32px; }
  .why-media img{ width:100%; height: 300px; object-fit:cover; }
  .why-us h2{ margin: 16px 0 28px; }
  .check-list{ margin-top: 28px; display:flex; flex-direction:column; gap: 16px; }
  .check-list li{
    position:relative; padding-left: 30px; font-size: 15px; color: var(--ink);
  }
  .check-list li::before{
    content:''; position:absolute; left:0; top:6px; width:16px; height:16px;
    border: 1px solid var(--brass-deep);
  }
  .check-list li::after{
    content:''; position:absolute; left:5px; top:9px; width:7px; height:4px;
    border-left: 1.4px solid var(--brass-deep); border-bottom: 1.4px solid var(--brass-deep);
    transform: rotate(-45deg);
  }
  .why-us .text-link{ margin-top: 34px; }
  
  .process h2{ margin: 16px 0 18px; }
  .process-lead-text{ color: var(--muted); max-width: 42ch; font-size:15.5px; }
  .process-steps{ border-top: 1px solid var(--line); margin-top: 40px; }
  .step{
    display:grid; grid-template-columns: 56px 1fr; gap: 24px;
    padding: 28px 0; border-bottom: 1px solid var(--line);
  }
  .step-num{ font-family: var(--font-display); font-size: 22px; color: var(--brass-deep); font-weight:500; }
  .step h4{ font-size: 18px; margin-bottom:6px; font-weight:500; }
  .step p{ font-size: 14.5px; color: var(--muted); max-width: 52ch; }
  
  /* ---------- Social ---------- */
  .social{ background: var(--cream-2); border-top:1px solid var(--line); }
  .social-grid-wrap{ display:grid; grid-template-columns: 0.85fr 1.6fr; gap:56px; align-items:center; }
  .social h2{ font-size: clamp(26px,2.8vw,34px); max-width:12ch; margin: 16px 0 16px; }
  .social p{ color: var(--muted); font-size:15px; max-width:32ch; }
  .social .text-link{ margin-top: 24px; }
  .social-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:2px; background: var(--line); }
  .social-tile{ background: var(--cream); aspect-ratio: 1/1; display:flex; align-items:center; justify-content:center; overflow:hidden; transition: opacity .25s ease; }
  .social-grid:hover .social-tile{ opacity:.82; }
  .social-tile img{ width:100%; height:100%; object-fit:cover; }
  .social-tile svg{ width: 42%; height:42%; opacity:.5; }
  
  /* ---------- Testimonial ---------- */
  .testimonial{ background: var(--cream); }
  .testimonial-grid{ display:grid; grid-template-columns: 0.7fr 1.3fr; gap: 72px; align-items:center; }
  .testimonial blockquote{ font-family: var(--font-display); font-size: clamp(24px,2.8vw,32px); line-height:1.42; font-weight:500; font-style:italic; max-width: 24ch; }
  .testimonial cite{ display:block; margin-top:26px; font-style:normal; font-size:14px; color: var(--muted); }
  .testimonial cite strong{ color: var(--ink); display:block; font-size:15px; margin-bottom:2px; }
  .testimonial-note{
    border-left: 1px solid var(--line); padding-left: 44px;
    font-size: 14px; color: var(--muted); line-height:1.7;
  }
  
  /* ---------- CTA ---------- */
  .cta{
    background: var(--charcoal); color: var(--cream);
    padding: 100px 0;
  }
  .cta-inner{ display:flex; justify-content:space-between; align-items:center; gap:40px; flex-wrap:wrap; }
  .cta h2{ font-size: clamp(28px,3.2vw,42px); max-width: 16ch; font-weight:500; }
  .cta-actions{ display:flex; gap:16px; flex-wrap:wrap; }
  
  /* ---------- Footer ---------- */
  footer{ background: var(--charcoal-2); color: var(--muted-light); padding-top: 84px; }
  .footer-top{ display:grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-dark); }
  .footer-brand img{ height:30px; margin-bottom:20px; }
  .footer-brand p{ font-size: 14px; max-width: 34ch; line-height:1.65; margin-bottom: 22px; }
  .footer-social{ display:flex; gap:14px; }
  .footer-social a{ border:1px solid var(--line-dark); padding:9px 16px; font-size:13px; }
  .footer-social a:hover{ border-color: var(--brass); color: var(--brass); }
  .footer-col h5{ font-family: var(--font-body); font-size: 13px; letter-spacing:.04em; color: var(--cream); margin-bottom:20px; font-weight:600; }
  .footer-col ul li{ margin-bottom: 12px; font-size: 14px; }
  .footer-col a:hover{ color: var(--brass); }
  .footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding: 28px 0; font-size: 13px; flex-wrap:wrap; gap:12px; }
  
  /* ---------- Reveal on scroll ---------- */
  .reveal{ opacity:0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.is-visible{ opacity:1; transform:none; }
  @media (prefers-reduced-motion: reduce){
    .reveal{ transition:none; opacity:1; transform:none; }
    .project-card img{ transition:none; }
    html{ scroll-behavior:auto; }
  }
  
  /* ---------- Responsive ---------- */
  @media (max-width: 1080px){
    .main-nav{
      position: fixed; top: 0; right: -100%; height: 100vh; width: min(78vw, 320px);
      background: var(--charcoal); padding: 32px 32px 40px;
      transition: right .35s ease; z-index: 99;
      border-left: 1px solid var(--line-dark);
    }
    .main-nav.is-open{ right: 0; }
    .main-nav ul{ flex-direction:column; align-items:flex-start; gap: 26px; }
    .main-nav a{ font-size: 16px; }
    .nav-toggle{ display:block; }
    .about-grid{ grid-template-columns: 1fr; }
    .about-media img, .media-fallback{ height: 420px; }
    .service-list{ grid-template-columns: repeat(2,1fr); }
    .service-item{ border-right:none !important; padding-bottom:28px; }
    .project-grid{ grid-template-columns: repeat(2,1fr); }
    .why-process-grid{ grid-template-columns:1fr; gap: 64px; }
    .social-grid-wrap{ grid-template-columns:1fr; }
    .social-grid{ margin-top: 24px; }
    .testimonial-grid{ grid-template-columns:1fr; }
    .testimonial-note{ border-left:none; border-top:1px solid var(--line); padding-left:0; padding-top:26px; }
    .footer-top{ grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 620px){
    .hero-inner{ padding-top: 48px; padding-bottom: 56px; }
    section{ padding: 84px 0; }
    .section-head{ flex-direction:column; align-items:flex-start; gap:16px; margin-bottom: 48px; }
    .pillars{ grid-template-columns:1fr; gap: 18px; }
    .pillar{ border-bottom:1px solid var(--line); padding-bottom:18px; }
    .stats-row{ gap: 28px; }
    .service-list{ grid-template-columns: 1fr; gap: 30px; }
    .project-grid{ grid-template-columns: 1fr; }
    .social-grid{ grid-template-columns: repeat(3,1fr); }
    .footer-top{ grid-template-columns: 1fr; }
    .cta-inner{ flex-direction:column; align-items:flex-start; }
  }