/* =========================================================
   ROZELLE EMBROIDERY AND CRAFTS — Centurion/Pretoria
   Design system: thread colours on raw canvas, running-stitch lines
   Type: Zilla Slab (display) + Karla (body)
   ========================================================= */

:root{
  --canvas:      #F1EBDD;
  --canvas-deep: #E7DEC8;
  --ink:         #2B2420;
  --ink-soft:    #463C33;
  --thread-red:  #B23A2E;
  --thread-red-deep: #8E2C22;
  --thread-green:#3F6B4F;
  --thread-gold: #C6963B;
  --thread-navy: #33475C;
  --steel:       #6B6155;
  --steel-light: #978C7C;
  --paper:       #FBF8F1;
  --line:        #D9CEB4;

  --font-display: 'Zilla Slab', Georgia, serif;
  --font-body:    'Karla', 'Helvetica Neue', Arial, sans-serif;

  --container: 1160px;
  --radius: 3px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
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);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 .5em;
}
p{ margin: 0 0 1em; color: var(--steel); max-width: 60ch; }

:focus-visible{ outline: 3px solid var(--thread-gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

.wrap{ width:100%; max-width: var(--container); margin:0 auto; padding: 0 28px; }

/* ---------------------------------------------------------
   Running-stitch divider — literal machine-stitch line
--------------------------------------------------------- */
.stitch-rule{
  width: 100px; height: 0;
  border-top: 3px dashed var(--thread-red);
  margin: 4px 0 20px;
}
.stitch-rule.gold{ border-top-color: var(--thread-gold); }
.stitch-rule.lg{ width:140px; border-top-width:4px; }

/* ---------------------------------------------------------
   Buttons
--------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-body); font-weight:700; font-size:15px;
  padding: 13px 26px; border-radius: var(--radius);
  border: 2px solid transparent; cursor:pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-ink{ background: var(--ink); color:var(--paper); }
.btn-ink:hover{ background: var(--ink-soft); }
.btn-red{ background: var(--thread-red); color:var(--paper); }
.btn-red:hover{ background: var(--thread-red-deep); }
.btn-outline{ background:transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover{ background: var(--ink); color: var(--paper); }
.btn-outline-w{ background:transparent; color:var(--paper); border-color: rgba(255,255,255,.55); }
.btn-outline-w:hover{ border-color:var(--paper); background: rgba(255,255,255,.1); }
.btn-block{ width:100%; justify-content:center; }

/* ---------------------------------------------------------
   Header / nav
--------------------------------------------------------- */
.site-header{
  background: var(--paper);
  position: sticky; top:0; z-index:100;
  border-bottom: 3px dashed var(--thread-red);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; height:80px; gap:20px; }

.brand{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.brand-mark{ width:42px; height:42px; flex-shrink:0; }
.brand-mark svg{ width:100%; height:100%; }
.brand-word{ font-family: var(--font-display); color: var(--ink); font-size: 21px; line-height:1; font-weight:700; }
.brand-sub{ display:block; font-family:var(--font-body); color:var(--steel-light); font-size:10px; letter-spacing:.4px; font-weight:700; margin-top:5px; text-transform:uppercase; }

.main-nav{ display:flex; align-items:center; gap:26px; }
.main-nav a{ color: var(--ink-soft); font-size:15px; font-weight:700; padding: 6px 2px; border-bottom: 2px dashed transparent; transition: color .15s ease, border-color .15s ease; }
.main-nav a:hover{ color: var(--thread-red); }
.main-nav a.active{ color: var(--ink); border-color: var(--thread-red); }

.nav-call{ display:flex; align-items:center; gap:16px; flex-shrink:0; }
.nav-phone{ display:flex; align-items:center; gap:8px; color:var(--ink); font-weight:700; font-size:15px; }
.nav-phone svg{ width:16px; height:16px; flex-shrink:0; color: var(--thread-red); }
.nav-toggle{ display:none; background:none; border:none; color:var(--ink); cursor:pointer; padding:8px; }
.nav-toggle svg{ width:26px; height:26px; }

@media (max-width:900px){
  .main-nav{
    position:fixed; top:80px; left:0; right:0; background:var(--paper);
    flex-direction:column; align-items:flex-start; padding: 8px 28px 24px; gap:4px;
    border-bottom: 3px dashed var(--thread-red);
    transform: translateY(-8px); opacity:0; pointer-events:none;
    transition: opacity .15s ease, transform .15s ease;
  }
  .main-nav.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .main-nav a{ width:100%; padding:12px 0; border-bottom:1px solid var(--line); }
  .nav-toggle{ display:block; }
  .nav-phone-label{ display:none; }
}

/* ---------------------------------------------------------
   Hero — stitched hoop motif
--------------------------------------------------------- */
.hero{ position:relative; overflow:hidden; padding: 74px 0 86px;
  background-image: radial-gradient(circle, rgba(43,36,32,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap:50px; align-items:center; }
.hero-eyebrow{ display:inline-flex; align-items:center; gap:10px; color:var(--steel); font-size:13.5px; font-weight:700; margin-bottom:18px; text-transform:uppercase; letter-spacing:.5px; }
.hero h1{ font-size: clamp(38px, 5.2vw, 58px); color:var(--ink); margin-bottom:6px; }
.hero h1 .hi{ color: var(--thread-red); }
.hero p.lead{ color: var(--steel); font-size:18px; max-width:46ch; margin: 18px 0 30px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:38px; }
.hero-stats{ display:flex; gap:34px; flex-wrap:wrap; padding-top:26px; border-top:1px dashed var(--line); }
.hero-stats .stat b{ display:block; font-family:var(--font-display); font-size:28px; color:var(--ink); font-weight:700; }
.hero-stats .stat span{ color:var(--steel-light); font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.3px; }

.hoop{ position:relative; width:100%; max-width:400px; aspect-ratio:1/1; margin:0 auto; }
.hoop-ring{ position:absolute; inset:0; border-radius:50%; border: 14px solid #D8CBA8; box-shadow: inset 0 0 0 4px var(--paper), 0 4px 18px rgba(43,36,32,.12); }
.hoop-ring::after{ content:""; position:absolute; top:-6px; right:26px; width:20px; height:34px; background:#C7B78C; border-radius:4px; transform:rotate(18deg); }
.hoop-inner{ position:absolute; inset:26px; border-radius:50%; background: var(--paper); overflow:hidden; display:flex; align-items:center; justify-content:center; }
.hoop-svg{ width:78%; height:78%; }
.stitch-path{ fill:none; stroke: var(--thread-red); stroke-width:5; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray: 10 9; stroke-dashoffset: 900; animation: stitch-draw 2.6s ease-out .3s forwards; }
@keyframes stitch-draw{ to{ stroke-dashoffset:0; } }

/* ---------------------------------------------------------
   Section scaffolding
--------------------------------------------------------- */
section{ padding: 84px 0; }
.section-tight{ padding: 60px 0; }
.section-paper{ background: var(--paper); }
.section-ink{ background: var(--ink); color: var(--paper); }
.section-ink p{ color:#C9BFAF; }
.section-ink h2,.section-ink h3{ color:var(--paper); }

.kicker{ display:flex; align-items:center; gap:12px; color:var(--thread-red); font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.5px; margin-bottom:16px; }
.section-ink .kicker{ color: var(--thread-gold); }

.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:30px; margin-bottom:44px; }
.section-head h2{ font-size: clamp(28px,3.6vw,38px); max-width:18ch; }
.section-head p{ margin:0; }

/* ---------------------------------------------------------
   Cards
--------------------------------------------------------- */
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }

.stitched-card{ background: var(--paper); border: 2px dashed var(--line); padding: 28px 24px; border-radius: 6px; }
.stitched-card .swatch{ width:38px; height:38px; margin-bottom:18px; display:flex; align-items:center; justify-content:center; }
.stitched-card .swatch svg{ width:30px; height:30px; }
.stitched-card h4{ font-family:var(--font-display); font-weight:700; font-size:19px; margin-bottom:8px; color:var(--ink); }
.stitched-card p{ font-size:14px; margin:0; }

.group-head{ display:flex; align-items:baseline; gap:16px; margin: 58px 0 26px; padding-bottom:14px; border-bottom:3px dashed var(--ink); }
.group-head:first-of-type{ margin-top:0; }
.group-head h3{ font-family:var(--font-display); font-weight:700; font-size:25px; margin:0; }
.group-head span{ color:var(--steel-light); font-size:13px; font-weight:700; }

/* ---------------------------------------------------------
   Thread colour chips (used for brands / process)
--------------------------------------------------------- */
.chip-row{ display:flex; flex-wrap:wrap; gap:14px; }
.thread-chip{ display:flex; align-items:center; gap:10px; border:2px solid var(--ink); padding:11px 18px; border-radius:20px; font-size:13.5px; font-weight:700; color:var(--ink); background:var(--paper); }
.thread-chip .dot{ width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.section-ink .thread-chip{ color:var(--paper); border-color: rgba(255,255,255,.3); background:transparent; }

/* ---------------------------------------------------------
   Process steps
--------------------------------------------------------- */
.process{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.process::before{ content:""; position:absolute; top:25px; left:6%; right:6%; height:0; border-top: 3px dashed var(--line); }
.proc-step{ position:relative; padding:0 18px; }
.proc-step .badge{ width:50px; height:50px; border-radius:50%; background:var(--paper); border:3px solid var(--thread-red); color:var(--thread-red); font-family:var(--font-display); font-size:19px; font-weight:700; display:flex; align-items:center; justify-content:center; position:relative; z-index:2; margin-bottom:18px; }
.proc-step h4{ font-family:var(--font-display); font-weight:700; font-size:17px; margin-bottom:6px; }
.proc-step p{ font-size:14px; }

/* ---------------------------------------------------------
   Testimonials
--------------------------------------------------------- */
.testi-card{ background:var(--paper); border:2px dashed var(--line); border-radius:6px; padding:26px 24px; display:flex; flex-direction:column; gap:14px; }
.testi-card p.quote{ color:var(--ink); font-size:15px; margin:0; }
.testi-who{ display:flex; align-items:center; justify-content:space-between; font-size:13px; color:var(--steel-light); font-weight:700; border-top:1px dashed var(--line); padding-top:14px; }
.stars{ color: var(--thread-gold); letter-spacing:1px; font-size:13px; }
.testi-tag{ font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.3px; color:var(--steel-light); background:var(--canvas-deep); padding:4px 9px; border-radius:2px; display:inline-block; }

.filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.filter-btn{ font-family:var(--font-body); font-weight:700; font-size:13.5px; padding:9px 18px; border-radius:20px; border:2px solid var(--ink); background:transparent; color:var(--ink); cursor:pointer; transition: background-color .15s ease, color .15s ease; }
.filter-btn.active, .filter-btn:hover{ background:var(--ink); color:var(--paper); }

/* ---------------------------------------------------------
   Gallery — embroidery hoop frames
--------------------------------------------------------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:44px; }
.gallery-item{ text-align:center; }
.gallery-hoop{ position:relative; width:100%; aspect-ratio:1/1; border-radius:50%; overflow:hidden; border: 14px solid #D8CBA8; box-shadow: inset 0 0 0 4px var(--paper), 0 6px 20px rgba(43,36,32,.15); }
.gallery-hoop img{ width:100%; height:100%; object-fit:cover; }
.gallery-item h4{ font-family:var(--font-display); font-size:19px; margin: 20px 0 6px; }
.gallery-item p{ font-size:14px; margin:0 auto; }

/* ---------------------------------------------------------
   CTA banner
--------------------------------------------------------- */
.cta-banner{ background: var(--thread-red); color:var(--paper); padding:56px 0; }
.cta-banner .wrap{ display:flex; justify-content:space-between; align-items:center; gap:30px; flex-wrap:wrap; }
.cta-banner h2{ color:var(--paper); font-size:clamp(26px,3.4vw,36px); margin:0; max-width:20ch; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.cta-banner .btn-white{ background:var(--paper); color:var(--thread-red-deep); }
.cta-banner .btn-white:hover{ background:#F0E4CE; }

/* ---------------------------------------------------------
   Inner page banner
--------------------------------------------------------- */
.page-banner{ background:var(--ink); color:var(--paper); padding:56px 0 52px; border-bottom: 4px dashed var(--thread-gold); }
.page-banner h1{ color:var(--paper); font-size:clamp(32px,4.8vw,48px); margin-bottom:10px; }
.page-banner p{ color:#C9BFAF; font-size:16px; max-width:62ch; margin:0; }
.breadcrumb{ color:var(--steel-light); font-size:13px; margin-bottom:16px; display:flex; gap:8px; align-items:center; }
.breadcrumb a:hover{ color:var(--paper); }
.breadcrumb .sep{ color: rgba(255,255,255,.3); }

/* ---------------------------------------------------------
   About page bits
--------------------------------------------------------- */
.badge-row{ display:flex; gap:12px; flex-wrap:wrap; margin: 18px 0 8px; }
.owner-badge{ display:inline-flex; align-items:center; gap:9px; border:2px solid var(--ink); border-radius:20px; padding:8px 16px; font-size:13px; font-weight:700; }
.owner-badge svg{ width:16px; height:16px; color:var(--thread-red); }

.value-card{ padding:22px 0; border-top:3px dashed var(--ink); }
.value-card h4{ font-family:var(--font-display); font-weight:700; font-size:19px; margin-bottom:8px; }
.value-card p{ font-size:14.5px; margin:0; }

.team-card{ background: var(--paper); border:2px dashed var(--line); border-radius:6px; overflow:hidden; }
.avatar{ height:170px; background:var(--ink); color:var(--paper); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:48px; font-weight:700; letter-spacing:2px; }
.team-body{ padding:22px 24px 26px; }
.team-body h4{ font-family:var(--font-display); font-size:20px; margin-bottom:4px; }
.team-role{ color: var(--thread-red); font-weight:700; font-size:13px; margin-bottom:12px; text-transform:uppercase; letter-spacing:.3px; }

/* ---------------------------------------------------------
   Contact page
--------------------------------------------------------- */
.contact-grid{ display:grid; grid-template-columns:.95fr 1.05fr; gap:0; border:2px dashed var(--line); border-radius:6px; overflow:hidden; }
.contact-info{ background:var(--ink); color:var(--paper); padding:46px 42px; }
.contact-info h3{ color:var(--paper); font-size:24px; }
.contact-info p{ color:#C9BFAF; }
.contact-item{ display:flex; gap:16px; padding:18px 0; border-top:1px dashed rgba(255,255,255,.18); }
.contact-item:first-of-type{ border-top:none; margin-top:8px; }
.contact-item svg{ width:20px; height:20px; color:var(--thread-gold); flex-shrink:0; margin-top:2px; }
.contact-item a, .contact-item span{ color:var(--paper); font-weight:700; font-size:15px; }
.contact-item small{ display:block; color:var(--steel-light); font-weight:500; font-size:12.5px; margin-top:2px; }

.contact-form{ background:var(--paper); padding:46px 42px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13px; font-weight:700; color:var(--ink); margin-bottom:7px; }
.field input, .field select, .field textarea{
  width:100%; border:2px solid var(--line); padding:12px 14px; font-family:var(--font-body); font-size:15px;
  border-radius: var(--radius); background:var(--canvas); color:var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--thread-red); background:var(--paper); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-note{ font-size:12.5px; color:var(--steel-light); margin-top:10px; }

.map-embed{ border:0; width:100%; height:360px; display:block; filter: sepia(.08) contrast(1.03); }
.map-wrap{ border:2px dashed var(--line); border-top:none; border-radius: 0 0 6px 6px; overflow:hidden; }

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.site-footer{ background:var(--ink); color:#B5AA97; padding:64px 0 28px; border-top: 4px dashed var(--thread-gold); }
.footer-grid{ display:grid; grid-template-columns:1.3fr .8fr .8fr 1fr; gap:40px; padding-bottom:44px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand-word{ font-family:var(--font-display); color:var(--paper); font-size:19px; font-weight:700; }
.footer-brand-sub{ display:block; color:var(--steel-light); font-size:10px; letter-spacing:.3px; text-transform:uppercase; font-weight:700; }
.site-footer p{ color:#9C917E; font-size:14px; max-width:34ch; }
.site-footer h5{ color:var(--paper); font-family:var(--font-body); font-size:13px; letter-spacing:.4px; margin-bottom:18px; font-weight:800; text-transform:uppercase; }
.site-footer ul li{ margin-bottom:11px; }
.site-footer ul a{ color:#B5AA97; font-size:14.5px; transition:color .15s ease; }
.site-footer ul a:hover{ color:var(--paper); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:26px; border-top:1px dashed rgba(255,255,255,.14); font-size:12.5px; color:#79705F; flex-wrap:wrap; gap:10px; }

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hoop{ order:-1; max-width:280px; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:1fr 1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:1fr; max-width:420px; margin:0 auto; }
  .process{ grid-template-columns:1fr 1fr; gap:34px; }
  .process::before{ display:none; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .field-row{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .grid-4{ grid-template-columns:1fr 1fr; }
  .grid-3{ grid-template-columns:1fr; }
  .process{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:30px; }
  .section-head{ flex-direction:column; align-items:flex-start; gap:14px; }
  .cta-banner .wrap{ flex-direction:column; align-items:flex-start; }
  section{ padding:56px 0; }
  .hero{ padding:48px 0 56px; }
  .contact-info, .contact-form{ padding:34px 24px; }
}
