@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  --paper:#faf7ef;
  --paper-alt:#f0e9d6;
  --white:#ffffff;
  --ink:#2b2a24;
  --ink-soft:rgba(43,42,36,0.68);
  --ink-faint:rgba(43,42,36,0.10);
  --moss:#556f62;
  --moss-deep:#3c5147;
  --gold:#c79a46;
  --gold-deep:#a97e36;
  --copper:#a85a38;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:'Inter',sans-serif; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{font-family:'Fraunces',serif; font-weight:500; letter-spacing:-0.01em; margin:0;}
.mono{font-family:'IBM Plex Mono',monospace;}
a{color:inherit; text-decoration:none;}
img{display:block; max-width:100%;}
.wrap{max-width:1180px; margin:0 auto; padding:0 28px;}
button{font-family:inherit; cursor:pointer;}

/* Utility bar */
.utility{background:var(--paper-alt); color:var(--ink-soft); font-size:0.78rem; border-bottom:1px solid var(--ink-faint);}
.utility .wrap{display:flex; justify-content:space-between; align-items:center; padding:8px 28px; gap:16px; flex-wrap:wrap;}
.utility a:hover{color:var(--copper);}

/* Header */
header.site{background:var(--white); border-bottom:1px solid var(--ink-faint); position:sticky; top:0; z-index:50;}
header.site .wrap{display:flex; align-items:center; justify-content:space-between; padding:16px 28px;}
.brand{display:flex; align-items:center;}
.brand-logo{height:46px; width:auto; display:block;}

nav.primary{display:flex; align-items:center; gap:30px;}
nav.primary a{font-size:0.82rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; position:relative; padding:4px 0;}
nav.primary a::after{content:''; position:absolute; left:0; bottom:-2px; height:2px; width:0; background:var(--gold); transition:width 0.25s ease;}
nav.primary a:hover::after, nav.primary a.active::after{width:100%;}
nav.primary a.active{color:var(--moss);}

.call-btn{background:var(--moss); color:var(--white); padding:10px 18px; border-radius:3px; font-size:0.88rem; font-weight:600; border:none; transition:background 0.2s ease; display:inline-flex; align-items:center; gap:8px;}
.call-btn:hover{background:var(--moss-deep);}

.menu-toggle{display:none; background:none; border:none; padding:6px;}
.menu-toggle span{display:block; width:24px; height:2px; background:var(--ink); margin:5px 0;}

/* Page hero (light) */
.hero{background:linear-gradient(180deg, var(--paper-alt), var(--paper) 70%);}
.hero .wrap{display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center; padding:72px 28px 64px;}
.hero.simple .wrap{grid-template-columns:1fr; text-align:left; padding:56px 28px 48px;}
.eyebrow{font-family:'IBM Plex Mono',monospace; text-transform:uppercase; letter-spacing:0.12em; font-size:0.78rem; color:var(--copper); margin-bottom:16px; display:block;}
.hero h1{font-size:clamp(2rem, 4vw, 3.2rem); line-height:1.1; margin-bottom:20px; color:var(--ink);}
.hero h1 em{font-style:italic; color:var(--moss);}
.hero p.lede{font-size:1.06rem; line-height:1.65; color:var(--ink-soft); max-width:48ch; margin-bottom:30px;}
.cta-row{display:flex; gap:14px; flex-wrap:wrap;}
.btn-primary{background:var(--gold); color:var(--ink); padding:14px 24px; border-radius:3px; font-weight:700; font-size:0.95rem; border:none; transition:transform 0.2s ease, background 0.2s ease; display:inline-block;}
.btn-primary:hover{background:var(--gold-deep); transform:translateY(-1px);}
.btn-secondary{background:transparent; color:var(--moss); padding:13px 24px; border-radius:3px; font-weight:600; font-size:0.95rem; border:1.5px solid var(--moss); transition:background 0.2s ease, color 0.2s ease;}
.btn-secondary:hover{background:var(--moss); color:var(--white);}

/* Full-bleed editorial hero (Thompson-style) */
.hero-full{
  position:relative; min-height:78vh; display:flex; align-items:center;
  background:linear-gradient(180deg, rgba(30,36,30,0.35), rgba(20,24,18,0.72)), url('https://images.unsplash.com/photo-1651447041389-1f499536b4cb?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  color:#fff;
}
.hero-full .wrap{padding:64px 28px;}
.hero-full .eyebrow{color:var(--gold); letter-spacing:0.18em;}
.hero-full h1{color:#fff; font-size:clamp(2.4rem,5.5vw,4.4rem); max-width:16ch; line-height:1.06; margin-bottom:26px;}
.hero-full p.lede{color:rgba(255,255,255,0.85); max-width:50ch;}
.arrow-link{
  display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:0.98rem;
  border-bottom:1px solid currentColor; padding-bottom:3px; transition:gap 0.2s ease, opacity 0.2s ease;
}
.arrow-link svg{width:15px; height:15px; transition:transform 0.2s ease;}
.arrow-link:hover svg{transform:translateX(4px);}
.arrow-link.on-dark{color:#fff;}
.arrow-link.on-light{color:var(--moss-deep);}

/* Editorial narrative rows */
.narrative-row{padding:70px 0; border-bottom:1px solid var(--ink-faint);}
.narrative-row:last-child{border-bottom:none;}
.narrative-row .wrap{display:grid; grid-template-columns:0.9fr 1.3fr; gap:60px; align-items:center;}
.narrative-row.reverse .wrap{grid-template-columns:1.3fr 0.9fr;}
.narrative-row.reverse .n-copy{order:2;}
.narrative-row .n-num{font-family:'IBM Plex Mono',monospace; color:var(--copper); font-size:0.82rem; letter-spacing:0.08em; text-transform:uppercase; display:block; margin-bottom:14px;}
.narrative-row h2{font-size:clamp(1.5rem,2.6vw,2rem); margin-bottom:16px; line-height:1.2;}
.narrative-row p{color:var(--ink-soft); line-height:1.7; font-size:1.02rem; margin-bottom:20px; max-width:52ch;}
.narrative-row .n-img{border-radius:4px; overflow:hidden; height:320px;}
.narrative-row .n-img img{width:100%; height:100%; object-fit:cover;}

.produced-in{font-family:'IBM Plex Mono',monospace; font-size:0.72rem; letter-spacing:0.2em; text-transform:uppercase; opacity:0.75;}

.rings-wrap{position:relative; display:flex; justify-content:center;}
.rings-wrap svg{width:100%; max-width:420px; height:auto;}
.ring{fill:none; stroke-linecap:round;}
.ring-label{font-family:'IBM Plex Mono',monospace; font-size:11.5px; fill:var(--ink-soft);}
.ring-label .yr{fill:var(--copper); font-weight:600;}
.ring-dot{fill:var(--copper);}

@media (prefers-reduced-motion: no-preference){
  .ring{stroke-dasharray:900; stroke-dashoffset:900; animation:draw 1.5s ease forwards;}
  .ring:nth-of-type(1){animation-delay:0.05s;}
  .ring:nth-of-type(2){animation-delay:0.18s;}
  .ring:nth-of-type(3){animation-delay:0.31s;}
  .ring:nth-of-type(4){animation-delay:0.44s;}
  .ring:nth-of-type(5){animation-delay:0.57s;}
  .ring:nth-of-type(6){animation-delay:0.70s;}
  .ring-label, .ring-dot{opacity:0; animation:fadeIn 0.6s ease forwards; animation-delay:1.3s;}
}
@keyframes draw{to{stroke-dashoffset:0;}}
@keyframes fadeIn{to{opacity:1;}}

/* Stats band */
.stats{background:var(--paper-alt); border-bottom:1px solid var(--ink-faint); border-top:1px solid var(--ink-faint);}
.stats .wrap{display:grid; grid-template-columns:repeat(3,1fr); padding:36px 28px;}
.stat{text-align:center; padding:0 20px; border-left:1px solid var(--ink-faint);}
.stat:first-child{border-left:none;}
.stat .num{font-family:'Fraunces',serif; font-size:2rem; font-weight:600; color:var(--moss);}
.stat .cap{font-family:'IBM Plex Mono',monospace; font-size:0.74rem; letter-spacing:0.05em; text-transform:uppercase; opacity:0.65; margin-top:6px;}

/* Section generic */
section{padding:84px 0;}
.section-head{max-width:640px; margin-bottom:50px;}
.section-head p{margin-top:16px; line-height:1.65; color:var(--ink-soft); font-size:1.02rem;}
.section-head h2{font-size:clamp(1.65rem,3vw,2.2rem); line-height:1.16;}

/* Services / cards grid */
.services{display:grid; grid-template-columns:repeat(3,1fr); gap:26px;}
.services.two{grid-template-columns:repeat(2,1fr);}
.card{background:var(--white); border:1px solid var(--ink-faint); border-radius:5px; overflow:hidden; transition:transform 0.25s ease, box-shadow 0.25s ease; display:flex; flex-direction:column;}
.card:hover{transform:translateY(-5px); box-shadow:0 18px 34px rgba(43,42,36,0.10);}
.card .img{height:190px; overflow:hidden;}
.card .img img{width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease;}
.card:hover .img img{transform:scale(1.06);}
.card .body{padding:24px; flex:1; display:flex; flex-direction:column;}
.card .tag{font-family:'IBM Plex Mono',monospace; font-size:0.72rem; text-transform:uppercase; letter-spacing:0.06em; color:var(--copper); margin-bottom:10px;}
.card h3{font-size:1.26rem; margin-bottom:10px;}
.card p{font-size:0.95rem; line-height:1.6; color:var(--ink-soft); flex:1;}
.card .link{margin-top:16px; font-size:0.88rem; font-weight:600; color:var(--moss); display:inline-flex; align-items:center; gap:6px;}
.card .link svg{width:14px; height:14px; transition:transform 0.2s ease;}
.card:hover .link svg{transform:translateX(3px);}

/* Credentials band (light, moss text on paper-alt, not dark bg) */
.credentials{background:var(--white);}
.credentials .wrap{display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:center;}
.cred-list{display:flex; flex-direction:column; gap:22px;}
.cred-item{display:flex; gap:16px; align-items:flex-start; padding-bottom:22px; border-bottom:1px solid var(--ink-faint);}
.cred-item:last-child{border-bottom:none; padding-bottom:0;}
.cred-num{font-family:'IBM Plex Mono',monospace; color:var(--copper); font-size:0.85rem; margin-top:3px;}
.cred-item h4{font-family:'Fraunces',serif; font-size:1.06rem; font-weight:600; margin-bottom:6px; color:var(--ink);}
.cred-item p{font-size:0.92rem; line-height:1.55; color:var(--ink-soft); margin:0;}

/* Quote */
.quote-section{background:var(--paper-alt); text-align:center;}
.quote-section .wrap{max-width:760px;}
.quote-mark{font-family:'Fraunces',serif; font-size:3.6rem; color:var(--gold); line-height:1;}
blockquote{font-family:'Fraunces',serif; font-size:clamp(1.35rem,2.6vw,1.9rem); font-style:italic; line-height:1.4; color:var(--ink); margin:8px 0 20px;}
.quote-attr{font-family:'IBM Plex Mono',monospace; font-size:0.82rem; text-transform:uppercase; letter-spacing:0.06em; opacity:0.6;}

/* Story / two-col */
.story .wrap{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;}
.story .img-box{border-radius:5px; overflow:hidden; height:400px;}
.story .img-box img{width:100%; height:100%; object-fit:cover;}
.story p{line-height:1.7; color:var(--ink-soft); margin-bottom:16px; font-size:1rem;}

/* Data / spec table (used on lumber page) */
.spec-table{width:100%; border-collapse:collapse; background:var(--white); border:1px solid var(--ink-faint); border-radius:5px; overflow:hidden;}
.spec-table th, .spec-table td{text-align:left; padding:14px 18px; border-bottom:1px solid var(--ink-faint); font-size:0.95rem;}
.spec-table th{font-family:'IBM Plex Mono',monospace; font-size:0.72rem; text-transform:uppercase; letter-spacing:0.05em; color:var(--ink-soft); background:var(--paper-alt);}
.spec-table tr:last-child td{border-bottom:none;}

/* Contact / CTA (light moss-tinted, not dark) */
.contact{background:var(--moss); color:var(--white);}
.contact .wrap{display:grid; grid-template-columns:1.2fr 1fr; gap:50px; padding:76px 28px;}
.contact h2{color:var(--white); font-size:clamp(1.7rem,3.1vw,2.3rem); line-height:1.15; margin-bottom:18px;}
.contact .eyebrow{color:var(--gold);}
.contact p.lede{color:rgba(255,255,255,0.82); line-height:1.65; max-width:44ch; margin-bottom:28px;}
.contact-card{background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.16); border-radius:6px; padding:32px;}
.contact-row{display:flex; gap:14px; padding:16px 0; border-bottom:1px solid rgba(255,255,255,0.16);}
.contact-row:last-child{border-bottom:none;}
.contact-row .ic{width:20px; height:20px; flex-shrink:0; margin-top:2px; color:var(--gold);}
.contact-row .lbl{font-family:'IBM Plex Mono',monospace; font-size:0.7rem; text-transform:uppercase; letter-spacing:0.06em; opacity:0.7; margin-bottom:3px;}
.contact-row .val{font-size:0.98rem; font-weight:500;}
.contact-row a:hover{color:var(--gold);}
.contact .btn-primary{background:var(--gold); color:var(--moss-deep);}

.map-embed{border-radius:6px; overflow:hidden; border:1px solid var(--ink-faint); height:340px;}
.map-embed iframe{width:100%; height:100%; border:0;}

footer{background:var(--moss-deep); color:rgba(255,255,255,0.75);}
footer .wrap{padding:48px 28px 28px;}
footer .foot-top{display:flex; justify-content:space-between; align-items:flex-start; gap:30px; flex-wrap:wrap; padding-bottom:32px; border-bottom:1px solid rgba(255,255,255,0.14);}
footer .foot-brand{display:flex; align-items:center;}
footer .foot-brand .foot-logo{height:34px; width:auto;}
footer .foot-addr{font-size:0.88rem; line-height:1.7;}
footer .foot-addr a:hover{color:var(--gold);}
footer .foot-social{display:flex; gap:14px;}
footer .foot-social a{width:34px; height:34px; border:1px solid rgba(255,255,255,0.25); border-radius:50%; display:flex; align-items:center; justify-content:center; transition:border-color 0.2s ease, color 0.2s ease;}
footer .foot-social a:hover{border-color:var(--gold); color:var(--gold);}
footer .foot-social svg{width:16px; height:16px;}
footer .foot-bottom{display:flex; justify-content:space-between; align-items:center; padding-top:22px; font-size:0.78rem; flex-wrap:wrap; gap:10px;}
footer .foot-bottom nav{display:flex; gap:20px;}
footer .foot-bottom nav a:hover{color:var(--gold);}

@media (max-width: 900px){
  .brand-logo{height:38px;}
  .hero .wrap{grid-template-columns:1fr; padding-top:44px;}
  .rings-wrap{order:-1; max-width:280px; margin:0 auto 8px;}
  .credentials .wrap, .story .wrap, .contact .wrap{grid-template-columns:1fr;}
  .story .img-box{height:260px; order:2;}
  .services, .services.two{grid-template-columns:1fr;}
  .stats .wrap{grid-template-columns:1fr; gap:20px;}
  .stat{border-left:none; border-top:1px solid var(--ink-faint); padding-top:20px;}
  .stat:first-child{border-top:none; padding-top:0;}
  nav.primary{position:absolute; top:100%; left:0; right:0; background:var(--white); flex-direction:column; align-items:flex-start; padding:20px 28px; gap:18px; border-bottom:1px solid var(--ink-faint); display:none;}
  nav.primary.open{display:flex;}
  .menu-toggle{display:block;}
  header.site .call-btn{display:none;}
  .spec-table{font-size:0.88rem;}
  .spec-table th, .spec-table td{padding:10px 12px;}
}
@media (max-width: 560px){
  .utility .wrap{font-size:0.72rem;}
  section{padding:60px 0;}
}
