/*
Theme Name: Town Hill B2B
Theme URI: https://thcol.com
Author: Town Hill Ltd.
Author URI: https://thcol.com
Description: Premium B2B Apparel Manufacturing — Partner-focused, warm, and professional.
Version: 1.0.0
License: Proprietary
Text Domain: townhill
*/
 
/* ─── DESIGN TOKENS ──────────────────────────────────────────── */
:root {
  --ink:        #0e0e0e;
  --cream:      #f5f0e8;
  --warm-white: #faf8f4;
  --gold:       #b89a5a;
  --gold-light: #d4b87a;
  --slate:      #3a3a3a;
  --mid:        #7a7570;
  --rule:       #d8d0c4;
  --accent:     #8b1a1a;
  --green-dark: #1e2820;
  --radius:     0px;
  --transition: 0.25s ease;
}
 
/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:18px; }
body {
  font-family:'DM Sans',sans-serif;
  background:var(--warm-white);
  color:var(--ink);
  overflow-x:hidden;
  line-height:1.8;
}
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
 
/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,h2,h3,h4 {
  font-family:'Cormorant Garamond',serif;
  font-weight:300;
  line-height:1.1;
}
.eyebrow {
  font-size:10px;
  letter-spacing:0.4em;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:400;
  display:block;
  margin-bottom:16px;
}
.section-title {
  font-size:clamp(32px,3.5vw,52px);
  color:var(--ink);
  margin-bottom:20px;
}
.section-title em { font-style:italic; color:var(--gold); }
.section-desc {
  font-size:20px;
  line-height:1.8;
  color:var(--mid);
  font-weight:400;
  max-width:480px;
}
 
/* ─── LAYOUT HELPERS ─────────────────────────────────────────── */
.container { max-width:1280px; margin:0 auto; padding:0 80px; }
.section-pad { padding:100px 0; }
.section-header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:40px;
  margin-bottom:64px;
}
 
/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display:inline-block;
  font-size:11px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  font-weight:500;
  padding:14px 32px;
  transition:background var(--transition), color var(--transition), transform var(--transition);
  cursor:pointer;
  border:none;
}
.btn-primary  { background:var(--gold);  color:var(--ink); }
.btn-primary:hover { background:var(--gold-light); transform:translateY(-1px); }
.btn-dark     { background:var(--ink);   color:var(--cream); }
.btn-dark:hover { background:var(--slate); }
.btn-outline  { border:1px solid var(--rule); color:var(--ink); background:transparent; }
.btn-outline:hover { border-color:var(--gold); color:var(--gold); }
.btn-ghost    {
  color:var(--cream);
  border-bottom:1px solid rgba(245,240,232,0.3);
  padding:14px 0;
  background:transparent;
  font-size:11px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  transition:border-color var(--transition),color var(--transition);
}
.btn-ghost:hover { border-color:var(--gold); color:var(--gold-light); }
 
/* ─── TOP BAR ────────────────────────────────────────────────── */
.topbar {
  background:var(--ink);
  color:var(--cream);
  font-size:11.5px;
  letter-spacing:0.1em;
  text-align:center;
  padding:9px 20px;
  font-weight:300;
}
.topbar span { color:var(--gold-light); }
 
/* ─── NAVIGATION ─────────────────────────────────────────────── */
.site-nav {
  position:sticky;
  top:0; z-index:100;
  background:#0e0e0e !important;
  border-bottom:1px solid rgba(255,255,255,0.08);
  padding:0 80px 0 20px;
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  height:80px;
  transition:box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow:0 2px 24px rgba(0,0,0,0.08); }
 
.nav-logo {
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:20px !important;
  height:100% !important;
  padding:0 !important;
  margin:0 !important;
}
.nav-logo a {
  display:flex !important;
  align-items:center !important;
  height:100% !important;
  text-decoration:none !important;
}
.nav-logo-img {
  height:56px !important;
  max-height:56px !important;
  width:auto !important;
  display:block !important;
  object-fit:contain !important;
}
.nav-logo-text {
  font-family:'Cormorant Garamond',serif !important;
  font-size:28px !important;
  font-weight:600 !important;
  letter-spacing:0.1em !important;
  color:var(--cream) !important;
  text-transform:uppercase !important;
  white-space:nowrap !important;
  line-height:1 !important;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 100%;
}
.nav-links > li {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-links > li > a {
  font-size:12px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  font-weight:400;
  color:rgba(245,240,232,0.7);
  position:relative;
  padding-bottom:4px;
  transition:color var(--transition);
}
.nav-links > li > a::after {
  content:'';
  position:absolute;
  bottom:0; left:0;
  width:0; height:1px;
  background:var(--gold);
  transition:width 0.3s;
}
.nav-links > li > a:hover { color:var(--cream); }
.nav-links > li > a:hover::after { width:100%; }
 
.has-drop { position:relative; }
.has-drop::after { display:none; }
.dropdown {
  position:absolute;
  top:calc(100% - 2px);
  left:0;
  transform:none;
  z-index:9999;
  background:var(--warm-white);
  border:1px solid var(--rule);
  min-width:210px;
  padding:16px 0;
  opacity:0;
  pointer-events:none;
  visibility:hidden;
  transition:opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
  box-shadow:0 12px 40px rgba(0,0,0,0.1);
}
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown {
  opacity:1;
  visibility:visible;
  pointer-events:all;
}
.dropdown a {
  display:block;
  padding:10px 20px;
  white-space:nowrap;
  color:var(--slate);
  text-decoration:none;
  transition:background 0.2s ease;
}
.dropdown a:hover { background:rgba(0,0,0,0.03); }
 
.nav-cta {
  background:var(--ink) !important;
  color:var(--cream) !important;
  padding:10px 22px;
  font-size:11px;
  letter-spacing:0.16em;
  text-transform:uppercase;
  transition:background var(--transition) !important;
  border-bottom:none !important;
}
.nav-cta::after { display:none !important; }
.nav-cta:hover { background:var(--gold) !important; color:var(--ink) !important; }
 
/* ─── PAGE HERO (inner pages) ────────────────────────────────── */
.page-hero {
  background:var(--ink);
  padding:100px 80px 80px;
  position:relative;
  overflow:hidden;
}
.page-hero::before {
  content:'';
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(
    45deg, transparent, transparent 60px,
    rgba(184,154,90,0.04) 60px, rgba(184,154,90,0.04) 61px
  );
}
.page-hero-content { position:relative; z-index:2; max-width:640px; }
.page-hero h1 {
  font-size:clamp(40px,5vw,68px);
  color:var(--cream);
  margin-bottom:20px;
}
.page-hero h1 em { font-style:italic; color:var(--gold-light); }
.page-hero p {
  font-size:20px;
  color:rgba(245,240,232,0.6);
  font-weight:300;
  line-height:1.8;
  max-width:520px;
}
.breadcrumb {
  font-size:10px;
  letter-spacing:0.3em;
  text-transform:uppercase;
  color:rgba(245,240,232,0.35);
  margin-bottom:24px;
}
.breadcrumb a { color:var(--gold); }
 
/* ─── CARDS ──────────────────────────────────────────────────── */
.card-grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:2px; }
.card-grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.card-grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:40px; }
.split-section { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
 
.card-dark {
  background:rgba(255,255,255,0.04);
  padding:36px 28px;
  border-left:2px solid transparent;
  transition:border-color var(--transition),background var(--transition);
}
.card-dark:hover { border-color:var(--gold); background:rgba(184,154,90,0.08); }
.card-dark h3 { font-size:20px; color:var(--cream); margin-bottom:10px; }
.card-dark p  { font-size:16px; color:rgba(245,240,232,0.45); line-height:1.85; font-weight:300; }
 
.card-light {
  background:var(--warm-white);
  padding:40px 32px;
  transition:background var(--transition);
  cursor:default;
}
.card-light:hover { background:var(--ink); }
.card-light:hover h3 { color:var(--cream); }
.card-light:hover p  { color:rgba(245,240,232,0.55); }
.card-light:hover .card-num { color:rgba(245,240,232,0.1); }
.card-light:hover .card-link { color:var(--gold-light); }
.card-num {
  font-family:'Cormorant Garamond',serif;
  font-size:13px;
  color:var(--rule);
  margin-bottom:20px;
}
.card-icon { font-size:28px; margin-bottom:18px; }
.card-light h3 {
  font-family:'Cormorant Garamond',serif;
  font-size:22px; font-weight:400;
  color:var(--ink); margin-bottom:12px;
  transition:color var(--transition);
}
.card-light p {
  font-size:16px; line-height:1.90;
  color:var(--mid); font-weight:300;
  margin-bottom:24px;
  transition:color var(--transition);
}
.card-link {
  font-size:10px; letter-spacing:0.25em;
  text-transform:uppercase; color:var(--gold);
  position:relative; padding-bottom:4px;
  transition:color var(--transition);
}
.card-link::after {
  content:''; position:absolute;
  bottom:0; left:0; width:100%; height:1px;
  background:var(--gold);
}
 
/* ─── PROCESS STEPS ──────────────────────────────────────────── */
.process-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  position:relative;
  margin-top:72px;
}
.process-grid::before {
  content:'';
  position:absolute;
  top:32px; left:10%; right:10%;
  height:1px;
  background:linear-gradient(to right,transparent,var(--gold),var(--gold),transparent);
  opacity:0.3;
}
.process-step { padding:0 20px; text-align:center; }
.step-circle {
  width:64px; height:64px;
  border:1px solid var(--gold);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'Cormorant Garamond',serif;
  font-size:20px; color:var(--gold);
  margin:0 auto 28px;
  background:var(--warm-white);
  position:relative; z-index:2;
  transition:background var(--transition),color var(--transition);
}
.process-step:hover .step-circle { background:var(--gold); color:var(--ink); }
.process-step h3 {
  font-family:'Cormorant Garamond',serif;
  font-size:18px; font-weight:400;
  color:var(--ink); margin-bottom:10px;
}
.process-step p { font-size:12.5px; color:var(--mid); font-weight:300; line-height:1.7; }
 
/* ─── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  background:var(--warm-white);
  border-top:1px solid var(--rule);
  border-bottom:1px solid var(--rule);
  padding:40px 80px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.stat-item { text-align:center; flex:1; }
.stat-item:not(:last-child) { border-right:1px solid var(--rule); }
.stat-num {
  font-family:'Cormorant Garamond',serif;
  font-size:44px; font-weight:300;
  color:var(--ink); line-height:1;
}
.stat-num sup { font-size:22px; color:var(--gold); vertical-align:super; }
.stat-label {
  font-size:10px; letter-spacing:0.25em;
  text-transform:uppercase; color:var(--mid);
  margin-top:8px; font-weight:300;
  display:block;
}
 
/* ─── SUSTAINABILITY STRIP ───────────────────────────────────── */
.sustain-strip {
  background:var(--green-dark);
  padding:60px 80px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
}
.sustain-tags { display:flex; gap:12px; flex-wrap:wrap; }
.sustain-tag {
  border:1px solid rgba(255,255,255,0.15);
  padding:8px 18px;
  font-size:10.5px; letter-spacing:0.2em;
  text-transform:uppercase;
  color:rgba(245,240,232,0.6);
}
 
/* ─── QUOTE FORM ─────────────────────────────────────────────── */
.quote-form { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.quote-form .full { grid-column:1/-1; }
.form-group { display:flex; flex-direction:column; gap:8px; }
.form-group label {
  font-size:10px; letter-spacing:0.25em;
  text-transform:uppercase; color:var(--mid); font-weight:400;
}
.form-group input,
.form-group select,
.form-group textarea {
  background:var(--warm-white);
  border:1px solid var(--rule);
  padding:14px 16px;
  font-size:14px;
  font-family:'DM Sans',sans-serif;
  color:var(--ink);
  outline:none;
  transition:border-color var(--transition);
  width:100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color:var(--gold); }
.form-group textarea { min-height:140px; resize:vertical; }
 
/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer { background:var(--ink); color:var(--cream); padding:72px 80px 40px; }
.footer-top {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:60px;
  margin-bottom:64px;
  padding-bottom:64px;
  border-bottom:1px solid rgba(245,240,232,0.1);
}
.footer-brand-name {
  font-family:'Cormorant Garamond',serif;
  font-size:28px; font-weight:600; color:var(--cream);
  margin-bottom:4px;
}
.footer-tagline {
  font-size:9px; letter-spacing:0.35em;
  text-transform:uppercase; color:var(--gold);
  margin-bottom:20px;
}
.footer-brand p {
  font-size:13px; line-height:1.8;
  color:rgba(245,240,232,0.45);
  font-weight:300; max-width:280px; margin-bottom:24px;
}
.footer-contact { font-size:12.5px; color:rgba(245,240,232,0.5); margin-bottom:8px; font-weight:300; }
.footer-col h4 {
  font-size:10px; letter-spacing:0.3em;
  text-transform:uppercase; color:var(--gold);
  margin-bottom:24px; font-weight:400;
}
.footer-col a {
  display:block; font-size:13px;
  color:rgba(245,240,232,0.5);
  margin-bottom:12px; font-weight:300;
  transition:color var(--transition);
}
.footer-col a:hover { color:var(--cream); }
.footer-bottom {
  display:flex; justify-content:space-between; align-items:center;
  font-size:11.5px; color:rgba(245,240,232,0.3);
  font-weight:300; flex-wrap:wrap; gap:16px;
}
.footer-bottom a { color:rgba(245,240,232,0.3); transition:color var(--transition); }
.footer-bottom a:hover { color:var(--gold); }
.footer-legal { display:flex; gap:24px; }
 
/* ─── REVEAL ANIMATIONS ──────────────────────────────────────── */
.reveal {
  opacity:0; transform:translateY(24px);
  transition:opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity:1; transform:none; }
.delay-1 { transition-delay:0.1s; }
.delay-2 { transition-delay:0.2s; }
.delay-3 { transition-delay:0.3s; }
.delay-4 { transition-delay:0.4s; }
 
/* ─── PAGE TRANSITION ────────────────────────────────────────── */
.page-transition {
  position:fixed;
  inset:0;
  background:var(--ink);
  z-index:9999;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.4s ease;
}
.page-transition.active {
  opacity:1;
  pointer-events:all;
}
 
/* ─── MOBILE NAV TOGGLE ──────────────────────────────────────── */
.nav-toggle {
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  padding:10px;
  z-index:1000;
  background:transparent;
  border:none;
  -webkit-appearance:none;
  appearance:none;
}
.nav-toggle span {
  display:block;
  width:25px;
  height:2px;
  background:var(--cream);
  transition:all 0.3s;
}
.nav-links.open {
  display:flex !important;
  flex-direction:column;
  position:fixed;
  top:0; left:0;
  width:100%; height:100vh;
  background:var(--ink);
  padding:80px 40px;
  z-index:999;
  gap:24px;
}
.nav-links.open a { color:var(--cream); font-size:18px; }
.nav-links.open .btn { margin-top:20px; }
 
/* ─── RESPONSIVE: TABLET ─────────────────────────────────────── */
@media(max-width:1024px){
  .container { padding:0 40px; }
  .site-nav  { padding:0 24px; }
  .stats-bar, .sustain-strip, .site-footer { padding-left:40px; padding-right:40px; }
  .card-grid-4 { grid-template-columns:1fr 1fr; }
  .process-grid { grid-template-columns:1fr 1fr; }
  .footer-top { grid-template-columns:1fr 1fr; }
  .section-header { flex-direction:column; }
  .quote-form { grid-template-columns:1fr; }
}
 
/* ─── RESPONSIVE: MOBILE ─────────────────────────────────────── */
@media(max-width:768px){
  /* Layout */
  .container { padding:0 24px; }
  body { overflow-x:hidden; }
  * { max-width:100%; }
 
  /* Sections */
  .section-pad { padding:60px 0; }
  .section-header { margin-bottom:24px !important; padding-bottom:0 !important; }
  .section-desc { margin-bottom:0 !important; }
  section { padding:40px 0 !important; }
 
  /* Typography */
  html { font-size:15px; }
  h1 { font-size:38px; }
  h2 { font-size:28px; }
  .section-title { font-size:26px; }
  .section-desc { font-size:16px; line-height:1.6; font-weight:400; max-width:100%; }
  .topbar { font-size:10px; padding:6px 16px; }
  .page-hero h1 { font-size:32px; }
  .eyebrow { font-size:8.5px; letter-spacing:0.4em; }
  .card-light h3 { font-size:18px; }
  .card-dark h3 { font-size:17px; }
  .dropdown a { font-size:16px; }
 
  /* Navigation */
  .nav-links { display:none; }
  .nav-toggle { display:flex; }
 
  /* Hero */
  .hero-home {
    display:block !important;
    min-height:auto !important;
    width:100vw !important;
    margin-left:calc(-50vw + 50%) !important;
  }
  .hero-home > div:first-child { padding:60px 24px !important; }
  .hero-home > div:last-child { display:none !important; }
  .hero-home h1 { font-size:36px !important; line-height:1.2 !important; }
  .hero-home p { font-size:16px !important; line-height:1.6 !important; max-width:100% !important; }
 
  /* ALL grids collapse to single column */
  .card-grid-4,
  .card-grid-3,
  .card-grid-2,
  .split-section,
  .process-grid,
  .quote-form { grid-template-columns:1fr !important; }
 
  /* Inline 2-column grids (capabilities section, etc.) */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    display:block !important;
  }
  [style*="grid-template-columns:1fr 1fr"] > div,
  [style*="grid-template-columns: 1fr 1fr"] > div {
    width:100% !important;
    min-height:auto !important;
    padding:40px 24px !important;
  }
 
  /* Process grid */
  .process-grid { gap:32px; }
 
  /* Page hero */
  .page-hero { padding:80px 24px 60px; }
 
  /* Stats */
  .stats-bar { flex-wrap:wrap; gap:24px; padding:40px 24px; }
  .stat-item { min-width:40%; }
 
  /* Sustainability */
  .sustain-strip { flex-direction:column !important; padding:40px 24px !important; }
 
  /* Cards — disable hover effects on mobile */
  .card-light:hover { background:var(--warm-white) !important; }
  .card-light:hover h3 { color:var(--ink) !important; }
  .card-light:hover p { color:var(--mid) !important; }
  .card-light:hover .card-num { color:var(--rule) !important; }
  .card-light:hover .card-link { color:var(--gold) !important; }
 
  /* Footer */
  .footer-top { grid-template-columns:1fr; gap:40px; }
  .footer-col { padding:0; }
}
 
/* ─── TYPOGRAPHY OVERHAUL — EDITORIAL v2 ────────────────────── */
 
/* Base font size tighter */
html { font-size:16px; }
body { font-size:15px; line-height:1.75; }
 
/* Headlines — lighter, more elegant */
h1,h2,h3,h4 {
  font-family:'Cormorant Garamond',serif;
  font-weight:300;
  line-height:1.1;
  letter-spacing:0.01em;
}
 
/* Section titles — refined sizing */
.section-title {
  font-size:clamp(28px,3vw,46px);
  font-weight:300;
  letter-spacing:0.01em;
}
 
/* Eyebrow labels — more editorial spacing */
.eyebrow {
  font-size:9px;
  letter-spacing:0.5em;
  font-weight:500;
  font-family:'DM Sans',sans-serif;
  margin-bottom:14px;
}
 
/* Section description — tighter and smaller */
.section-desc {
  font-size:15px;
  line-height:1.75;
  font-weight:300;
  color:var(--mid);
}
 
/* Page hero — refined */
.page-hero h1 {
  font-size:clamp(36px,4.5vw,60px);
  font-weight:300;
  letter-spacing:0.01em;
}
.page-hero p {
  font-size:16px;
  line-height:1.8;
  font-weight:300;
}
 
/* Navigation links — tighter */
.nav-links > li > a {
  font-size:11px;
  letter-spacing:0.2em;
  font-weight:400;
}
 
/* Dropdown — significantly smaller */
.dropdown a {
  font-size:12px;
  letter-spacing:0.08em;
  font-weight:300;
  color:var(--slate);
  padding:9px 20px;
  font-family:'DM Sans',sans-serif;
}
 
/* Nav CTA button */
.nav-cta {
  font-size:10px !important;
  letter-spacing:0.18em !important;
}
 
/* Card light — consistent sizing */
.card-light h3 {
  font-size:20px;
  font-weight:400;
  letter-spacing:0.01em;
}
.card-light p {
  font-size:14px;
  line-height:1.85;
  font-weight:300;
}
 
/* Card dark — consistent sizing */
.card-dark h3 {
  font-size:18px;
  font-weight:400;
  letter-spacing:0.01em;
}
.card-dark p {
  font-size:14px;
  line-height:1.8;
  font-weight:300;
}
 
/* Process steps */
.process-step h3 {
  font-size:17px;
  font-weight:400;
  letter-spacing:0.01em;
}
.process-step p {
  font-size:12px;
  line-height:1.7;
}
 
/* Stats */
.stat-num {
  font-size:40px;
  font-weight:300;
}
.stat-label {
  font-size:9px;
  letter-spacing:0.3em;
}
 
/* Footer */
.footer-brand-name {
  font-size:24px;
  letter-spacing:0.08em;
}
.footer-tagline {
  font-size:8.5px;
  letter-spacing:0.4em;
}
.footer-col h4 {
  font-size:9px;
  letter-spacing:0.35em;
}
.footer-col a {
  font-size:13px;
  font-weight:300;
}
 
/* Buttons — refined */
.btn {
  font-size:10px;
  letter-spacing:0.25em;
  font-family:'DM Sans',sans-serif;
}