/* ============================================================
   Thread-Mark Promotions — styles.css
   Palette: navy #1C2B4B / ink #111C33 / silver #C6CCD8
            paper #F7F8FA / thread-gold #D9A441
   Type:    Alfa Slab One (display) + Archivo (body/UI)
   Motif:   embroidery "stitch" dashed lines in thread-gold
   ============================================================ */

:root {
  --navy: #1C2B4B;
  --ink: #111C33;
  --silver: #C6CCD8;
  --silver-dark: #8A93A6;
  --paper: #F7F8FA;
  --white: #FFFFFF;
  --gold: #D9A441;
  --gold-soft: #E8C687;
  --max: 1120px;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Archivo', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Stitch motif ---------- */
.stitch {
  display: block;
  width: 88px;
  height: 0;
  border-top: 3px dashed var(--gold);
  margin: 18px 0 0;
}
.stitch.center { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
  background: var(--ink);
  border-bottom: 3px dashed rgba(198, 204, 216, 0.25);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.brand-name {
  font-family: 'Alfa Slab One', serif;
  font-size: 1.05rem;
  color: var(--silver);
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.brand-name span { display: block; font-family: 'Archivo', sans-serif; font-size: 0.62rem; letter-spacing: 0.34em; color: var(--gold-soft); font-weight: 600; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--silver);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--white); border-bottom-color: var(--gold); }
.nav a.active { color: var(--white); border-bottom: 3px dashed var(--gold); }
.nav .btn { border-bottom: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--silver);
  border-radius: 6px;
  color: var(--silver);
  font-size: 1.35rem;
  line-height: 1;
  padding: 6px 12px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink) !important;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-2px); }
.btn.ghost {
  background: transparent;
  color: var(--silver) !important;
  border-color: var(--silver-dark);
}
.btn.ghost:hover { color: var(--white) !important; border-color: var(--silver); background: rgba(255,255,255,0.06); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(28, 43, 75, 0.9), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(217, 164, 65, 0.12), transparent 45%);
  color: var(--white);
  text-align: center;
  padding: 88px 24px 96px;
}
.hero img.hero-logo {
  height: 150px;
  width: auto;
  margin: 0 auto 36px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.45));
}
.hero h1 {
  font-family: 'Alfa Slab One', serif;
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--silver);
}
.hero h1 .lookgood {
  color: var(--white);
  position: relative;
  white-space: nowrap;
}
.hero h1 .lookgood::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  border-top: 4px dashed var(--gold);
}
.hero p.sub {
  max-width: 620px;
  margin: 26px auto 0;
  font-size: 1.1rem;
  color: var(--silver);
}
.hero .cta-row { margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Page-top banner for interior pages */
.page-hero {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 56px 24px 60px;
}
.page-hero h1 {
  font-family: 'Alfa Slab One', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  color: var(--silver);
}
.page-hero p { color: var(--silver); margin-top: 10px; font-size: 1.05rem; }

/* ---------- Sections ---------- */
section.block { padding: 76px 0; }
section.block.alt { background: var(--white); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
h2.section-title {
  font-family: 'Alfa Slab One', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--navy);
  margin-top: 8px;
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p.lede { margin-top: 16px; font-size: 1.08rem; color: #3A4560; }

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--white);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(17, 28, 51, 0.08);
  padding: 34px 38px;
  max-width: 760px;
  margin: 0 auto;
}
.testimonial blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
}
.testimonial cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dark);
}

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--white);
  border: 2px solid #E4E8EF;
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border: 2px dashed var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(17, 28, 51, 0.1);
}
.card .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  border-radius: 12px;
  margin-bottom: 18px;
}
.card .icon svg { width: 28px; height: 28px; stroke: var(--gold-soft); fill: none; stroke-width: 1.8; }
.card h3 {
  font-family: 'Alfa Slab One', serif;
  font-weight: 400;
  font-size: 1.12rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.card p { font-size: 0.97rem; color: #3A4560; }
.card .examples {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--silver-dark);
  font-weight: 600;
}

/* Services page long-form rows */
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  padding: 38px 0;
  border-bottom: 3px dashed #DDE2EB;
}
.service-row:last-child { border-bottom: none; }
.service-row .icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  border-radius: 14px;
}
.service-row .icon svg { width: 30px; height: 30px; stroke: var(--gold-soft); fill: none; stroke-width: 1.8; }
.service-row h3 {
  font-family: 'Alfa Slab One', serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--navy);
}
.service-row p.tag { color: var(--gold); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 4px 0 10px; }
.service-row p { color: #3A4560; }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 52px;
}
.stat .num {
  font-family: 'Alfa Slab One', serif;
  font-size: 2.4rem;
  color: var(--navy);
  line-height: 1;
}
.stat .label {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-dark);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 68px 24px;
}
.cta-band h2 {
  font-family: 'Alfa Slab One', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  color: var(--silver);
}
.cta-band p { color: var(--silver); margin: 14px auto 30px; max-width: 560px; }
.cta-band .phone {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px dashed var(--gold);
}

/* ---------- About page ---------- */
.prose { max-width: 760px; }
.prose p { margin-bottom: 20px; font-size: 1.05rem; color: #2A3450; }
.prose p strong { color: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Alfa Slab One', serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.contact-info p { color: #3A4560; margin-bottom: 22px; }
.contact-info .big-phone {
  display: inline-block;
  font-family: 'Alfa Slab One', serif;
  font-size: 1.7rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 4px dashed var(--gold);
  padding-bottom: 2px;
}

form.contact-form { background: var(--white); border: 2px solid #E4E8EF; border-radius: var(--radius); padding: 34px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  font: inherit;
  padding: 13px 14px;
  border: 2px solid #D8DDE7;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border: 2px dashed var(--gold);
  background: var(--white);
}
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--silver-dark); margin-top: 14px; }

.form-status { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; }
.form-status.ok { background: #E8F5E9; color: #1B5E20; border: 2px solid #A5D6A7; }
.form-status.err { background: #FDECEA; color: #B71C1C; border: 2px solid #F5B4AE; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--silver-dark);
  padding: 46px 0 40px;
  font-size: 0.92rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-footer .foot-brand {
  font-family: 'Alfa Slab One', serif;
  color: var(--silver);
  font-size: 1rem;
}
.site-footer a { color: var(--silver); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer .tagline { width: 100%; text-align: center; margin-top: 20px; padding-top: 20px; border-top: 3px dashed rgba(198,204,216,0.15); font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 26px;
    gap: 18px;
    border-bottom: 3px dashed rgba(198,204,216,0.25);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 32px; }
  .service-row { grid-template-columns: 1fr; }
  .hero { padding: 64px 20px 72px; }
  .hero img.hero-logo { height: 110px; }
  section.block { padding: 56px 0; }
}

/* ---------- Hero kicker ---------- */
.hero-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ---------- Work gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery .shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid #E4E8EF;
  background: var(--white);
  aspect-ratio: 4 / 3;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery .shot:hover {
  border: 2px dashed var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(17, 28, 51, 0.12);
}

/* Featured video */
.work-video {
  max-width: 860px;
  margin: 0 auto 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid #E4E8EF;
  background: #000;
}
.work-video video { display: block; width: 100%; height: auto; }

/* Featured service (services page) */
.featured-service .tagline-line {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 16px 0 12px;
}
.featured-service .lede-wide {
  max-width: 840px;
  font-size: 1.08rem;
  color: #3A4560;
  margin-bottom: 34px;
}

/* CTA card in additional-services grid */
.card-cta {
  background: var(--navy);
  border-color: var(--navy);
}
.card-cta h3 { color: var(--silver); }
.card-cta p { color: var(--silver); }
.card-cta:hover { border: 2px dashed var(--gold); }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
}


/* ---------- Hero background video ---------- */
.hero { position: relative; overflow: hidden; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-video.playing { opacity: 1; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 28, 51, 0.78);
  z-index: 1;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* ---------- Photo cards (Additional Services on home) ---------- */
.card-photo {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0 0 26px;
  overflow: hidden;
}
.card-photo .card-img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #E9EDF3;
  border-bottom: 3px dashed transparent;
}
.card-photo .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.card-photo:hover .card-img img { transform: scale(1.05); }
.card-photo:hover .card-img { border-bottom-color: var(--gold); }
.card-photo h3 { margin: 22px 26px 8px; }
.card-photo p { margin: 0 26px; }
.card-photo .card-more {
  display: block;
  margin: 14px 26px 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.card-photo:hover .card-more { color: var(--navy); }

/* CTA card sits in the same grid — give it matching padding */
.card-cta { display: flex; flex-direction: column; justify-content: center; }

/* ---------- Services page rows with photos ---------- */
.service-row { grid-template-columns: 64px 1fr 300px; align-items: start; }
.row-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid #E4E8EF;
  aspect-ratio: 4 / 3;
}
.row-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Anchor offset so sticky header doesn't cover the heading */
.service-row[id] { scroll-margin-top: 96px; }

@media (max-width: 900px) {
  .service-row { grid-template-columns: 64px 1fr; }
  .row-photo { grid-column: 1 / -1; margin-top: 18px; max-width: 420px; }
}
@media (max-width: 680px) {
  .service-row { grid-template-columns: 1fr; }
  .row-photo { max-width: 100%; }
}


/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: var(--paper);
  border: 2px solid #E4E8EF;
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq details[open] { border: 2px dashed var(--gold); background: var(--white); }
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: 'Alfa Slab One', serif;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 22px 20px; color: #3A4560; margin: 0; }

/* Footer service-area line */
.site-footer .service-area {
  width: 100%;
  text-align: center;
  font-size: 0.86rem;
  color: var(--silver-dark);
  margin-top: 14px;
  line-height: 1.6;
}

/* ---------- Minimized "also available" chip list (home) ---------- */
.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
}
.chip-list li {
  background: var(--white);
  border: 2px solid #E4E8EF;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  transition: border-color 0.2s ease;
}
.chip-list li:hover { border: 2px dashed var(--gold); }
.chip-note {
  text-align: center;
  margin-top: 24px;
  color: #3A4560;
  font-size: 0.98rem;
}
.chip-note a { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px dashed var(--gold); }
.chip-note a:hover { color: var(--gold); }

/* ---------- Compact service cards (services page) ---------- */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mini {
  background: var(--white);
  border: 2px solid #E4E8EF;
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  scroll-margin-top: 96px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mini:hover { border: 2px dashed var(--gold); transform: translateY(-3px); }
.mini .icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  border-radius: 11px;
  margin-bottom: 14px;
}
.mini .icon svg { width: 24px; height: 24px; stroke: var(--gold-soft); fill: none; stroke-width: 1.8; }
.mini h3 {
  font-family: 'Alfa Slab One', serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.mini p { font-size: 0.94rem; color: #3A4560; }
.mini-cta { background: var(--navy); border-color: var(--navy); display: flex; flex-direction: column; justify-content: center; }
.mini-cta h3 { color: var(--silver); }
.mini-cta p { color: var(--silver); margin-bottom: 14px; }
.mini-cta .btn { align-self: flex-start; }

@media (max-width: 900px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mini-grid { grid-template-columns: 1fr; } }

/* ---------- Logo sizing (wordmark badge — no adjacent text needed) ---------- */
.brand img { height: 46px; }
.hero img.hero-logo { height: auto; width: min(440px, 78%); }

@media (max-width: 680px) {
  .brand img { height: 38px; }
  .hero img.hero-logo { width: min(320px, 84%); }
}
