/*
Theme Name: Sole & Stitch
Theme URI: https://vvapee.com/
Author: Sole & Stitch
Description: A conversion-focused B2B WordPress theme for a custom functional-footwear manufacturer.
Version: 1.1.0
Text Domain: sole-and-stitch
*/

:root {
  --ss-ink: #17201c;
  --ss-copy: #3e4a44;
  --ss-muted: #66716b;
  --ss-green: #24543f;
  --ss-green-dark: #16372a;
  --ss-tint: #f3f6f4;
  --ss-warm: #f7f5f0;
  --ss-line: #dce2de;
  --ss-white: #ffffff;
  --ss-max: 1180px;
  --ss-pad: clamp(20px, 4vw, 48px);
  --ss-section: clamp(66px, 7vw, 96px);
  --ss-radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ss-ink);
  background: var(--ss-white);
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header { top: 32px; }

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: min(100% - (var(--ss-pad) * 2), var(--ss-max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid var(--ss-line);
  box-shadow: 0 2px 14px rgba(23, 32, 28, .035);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--ss-white);
  background: var(--ss-green);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.7vw, 26px);
}

.main-nav a {
  color: #303b35;
  font-size: 13px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] { color: var(--ss-green); }

.nav-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid var(--ss-green);
  border-radius: 7px;
  background: var(--ss-green);
  color: var(--ss-white);
  font-size: 14px;
  font-weight: 800;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.nav-cta { min-height: 40px; padding-inline: 17px; }
.main-nav a.nav-cta,
.main-nav a.nav-cta:hover,
.main-nav a.nav-cta:focus-visible { color: var(--ss-white); }
.button:hover,
.nav-cta:hover { background: var(--ss-green-dark); border-color: var(--ss-green-dark); transform: translateY(-1px); }
.button--light { color: var(--ss-green-dark); background: var(--ss-white); border-color: var(--ss-white); }
.button--outline { color: var(--ss-green); background: transparent; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ss-green);
  font-size: 14px;
  font-weight: 800;
}

.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(3px); }

.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; cursor: pointer; font-weight: 800; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav-panel {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  padding: 22px var(--ss-pad);
  background: var(--ss-white);
  border-bottom: 1px solid var(--ss-line);
  box-shadow: 0 14px 30px rgba(18, 36, 27, .08);
}
.mobile-nav-panel a { display: block; padding: 10px 0; font-weight: 700; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.035em; }
h1 { margin-bottom: 22px; font-size: clamp(42px, 5vw, 64px); font-weight: 800; }
h2 { margin-bottom: 18px; font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; }
h3 { margin-bottom: 10px; font-size: clamp(20px, 2vw, 24px); font-weight: 800; }

.eyebrow,
.content-kicker {
  margin: 0 0 14px;
  color: var(--ss-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.b2b-hero { padding: clamp(54px, 6vw, 82px) 0; background: var(--ss-white); }

.b2b-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(420px, .84fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.b2b-hero-copy { max-width: 620px; }
.hero-lede { max-width: 590px; margin-bottom: 28px; color: var(--ss-copy); font-size: clamp(18px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

.buyer-answer {
  margin-top: 36px;
  padding: 20px 22px;
  border: 1px solid #ccd7d1;
  border-left: 4px solid var(--ss-green);
  border-radius: 0 var(--ss-radius) var(--ss-radius) 0;
  background: var(--ss-tint);
}

.buyer-answer strong { display: block; margin-bottom: 6px; font-size: 16px; }
.buyer-answer p { margin: 0; color: var(--ss-copy); font-size: 14px; }

.b2b-hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--ss-radius);
  background: var(--ss-tint);
  box-shadow: 0 18px 46px rgba(23, 32, 28, .10);
}

.b2b-hero-media img { aspect-ratio: 4 / 4.25; object-fit: cover; }
.b2b-hero-media figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 12px 15px;
  border-radius: 7px;
  background: rgba(255,255,255,.94);
  color: var(--ss-copy);
  font-size: 12px;
  font-weight: 700;
}

.proof-strip { border-block: 1px solid var(--ss-line); background: var(--ss-tint); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { min-height: 102px; display: flex; flex-direction: column; justify-content: center; padding: 20px 26px; border-right: 1px solid var(--ss-line); }
.proof-grid div:first-child { border-left: 1px solid var(--ss-line); }
.proof-grid strong { font-size: 19px; line-height: 1.2; }
.proof-grid span { margin-top: 4px; color: var(--ss-muted); font-size: 13px; }

.section { padding: var(--ss-section) 0; }
.section--compact { padding-block: clamp(58px, 6vw, 78px); }
.section--tint,
.section--fog { background: var(--ss-tint); }
.section--warm { background: var(--ss-warm); }
.section--ink,
.section--dark { color: var(--ss-white); background: var(--ss-green-dark); }
.section--tight { padding-block: clamp(54px, 6vw, 78px); }

.intro-block { max-width: 720px; margin-bottom: 38px; }
.intro-block > p:last-child { max-width: 670px; margin-bottom: 0; color: var(--ss-copy); }
.intro-block--center { margin-inline: auto; text-align: center; }

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading > p:last-child { margin-bottom: 0; color: var(--ss-copy); }
.section--dark .section-heading > p:last-child { color: rgba(255,255,255,.72); }

.application-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ss-line);
  border-left: 1px solid var(--ss-line);
}

.application-matrix a {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid var(--ss-line);
  border-bottom: 1px solid var(--ss-line);
  background: var(--ss-white);
  transition: background .18s ease, transform .18s ease;
}

.application-matrix a:hover { z-index: 1; background: var(--ss-tint); transform: translateY(-2px); }
.application-matrix span { margin-bottom: 28px; color: var(--ss-green); font-size: 12px; font-weight: 800; }
.application-matrix strong { font-size: 19px; }
.application-matrix small { margin-top: 7px; color: var(--ss-muted); font-size: 13px; line-height: 1.5; }

.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ss-line);
  border-radius: var(--ss-radius);
  overflow: hidden;
  background: var(--ss-white);
}

.process-row article { min-height: 244px; padding: 26px; border-right: 1px solid var(--ss-line); }
.process-row article:last-child { border-right: 0; }
.process-row span { width: 35px; height: 35px; display: grid; place-items: center; margin-bottom: 38px; border-radius: 50%; color: var(--ss-white); background: var(--ss-green); font-size: 12px; font-weight: 800; }
.process-row h3 { font-size: 19px; }
.process-row p { margin: 0; color: var(--ss-muted); font-size: 14px; }
.center-action { margin-top: 30px; text-align: center; }

.sample-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sample-card { overflow: hidden; border: 1px solid var(--ss-line); border-radius: var(--ss-radius); background: var(--ss-white); }
.sample-card img { aspect-ratio: 4 / 3.35; object-fit: cover; background: var(--ss-tint); }
.sample-card > div { padding: 22px; }
.sample-card span { display: block; margin-bottom: 8px; color: var(--ss-green); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sample-card h3 { font-size: 20px; }
.sample-card p { margin: 0; color: var(--ss-muted); font-size: 14px; }

.capability-split { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.05fr); gap: clamp(48px, 8vw, 110px); align-items: start; }
.capability-split > div > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.72); }
.capability-split .eyebrow { color: #a8c9b8; }
.capability-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.22); }
.capability-list li { display: grid; grid-template-columns: minmax(150px, .45fr) 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.capability-list strong { font-size: 16px; }
.capability-list span { color: rgba(255,255,255,.66); font-size: 14px; }

.glance-grid { display: grid; grid-template-columns: minmax(280px, .68fr) minmax(0, 1.2fr); gap: clamp(45px, 8vw, 110px); align-items: start; }
.glance-grid .intro-block { margin-bottom: 0; }
.glance-table { border-top: 2px solid var(--ss-ink); }
.glance-table div { display: grid; grid-template-columns: minmax(160px, .4fr) 1fr; gap: 28px; padding: 19px 2px; border-bottom: 1px solid var(--ss-line); }
.glance-table strong { font-size: 14px; }
.glance-table span { color: var(--ss-muted); font-size: 14px; }

.faq-layout { display: grid; grid-template-columns: minmax(250px, .54fr) minmax(0, 1fr); gap: clamp(44px, 8vw, 110px); }
.faq-layout .intro-block { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--ss-line); }
.faq-list details { border-bottom: 1px solid var(--ss-line); }
.faq-list summary { position: relative; padding: 21px 42px 21px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 17px; right: 4px; color: var(--ss-green); font-size: 25px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 720px; margin: -4px 42px 20px 0; color: var(--ss-copy); font-size: 14px; }

.page-hero { padding: clamp(64px, 7vw, 90px) 0; background: var(--ss-tint); border-bottom: 1px solid var(--ss-line); }
.page-hero .site-shell { max-width: 960px; margin-left: max(var(--ss-pad), calc((100vw - var(--ss-max)) / 2)); margin-right: auto; }
.page-hero .site-shell > div { max-width: 760px; }
.page-hero p:last-child { max-width: 700px; margin: 18px 0 0; color: var(--ss-copy); font-size: 18px; }
.page-hero h1 { max-width: 820px; margin-bottom: 0; font-size: clamp(40px, 5vw, 62px); }

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.detail-card { overflow: hidden; border: 1px solid var(--ss-line); border-radius: var(--ss-radius); background: var(--ss-white); }
.detail-card img { aspect-ratio: 16 / 10; object-fit: cover; }
.detail-card-copy { padding: 27px; }
.detail-card-copy h2 { font-size: clamp(27px, 3vw, 34px); }
.detail-card-copy p { color: var(--ss-muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 6px 9px; border: 1px solid var(--ss-line); border-radius: 5px; color: #435048; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ss-line); border-left: 1px solid var(--ss-line); }
.capability-item { min-height: 230px; padding: 28px; border-right: 1px solid var(--ss-line); border-bottom: 1px solid var(--ss-line); background: var(--ss-white); }
.capability-index { display: block; margin-bottom: 36px; color: var(--ss-green); font-size: 11px; font-weight: 800; letter-spacing: .09em; }
.capability-item h3 { font-size: 20px; }
.capability-item p { margin: 0; color: var(--ss-muted); font-size: 14px; }

.split { width: min(100% - (var(--ss-pad) * 2), var(--ss-max)); display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin-inline: auto; padding-block: var(--ss-section); }
.split-media { min-height: 540px; overflow: hidden; border-radius: var(--ss-radius) 0 0 var(--ss-radius); }
.split-media img { height: 100%; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 5vw, 68px); border: 1px solid var(--ss-line); border-left: 0; border-radius: 0 var(--ss-radius) var(--ss-radius) 0; background: var(--ss-tint); }
.split-copy p { color: var(--ss-copy); }
.split .split-copy:first-child { border: 1px solid var(--ss-line); border-right: 0; border-radius: var(--ss-radius) 0 0 var(--ss-radius); }
.split .split-copy:first-child + .split-media { border-radius: 0 var(--ss-radius) var(--ss-radius) 0; }

.check-list { display: grid; margin: 22px 0 30px; padding: 0; list-style: none; border-top: 1px solid var(--ss-line); }
.check-list li { position: relative; padding: 12px 0 12px 25px; border-bottom: 1px solid var(--ss-line); color: var(--ss-copy); font-size: 14px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ss-green); font-weight: 900; }

.content-columns { display: grid; grid-template-columns: minmax(230px, .42fr) minmax(0, .72fr); gap: clamp(42px, 8vw, 110px); }
.content-columns + .content-columns { margin-top: clamp(64px, 8vw, 100px); }
.content-body p { color: var(--ss-copy); }
.numbered-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ss-ink); }
.numbered-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--ss-line); }
.numbered-list .num { color: var(--ss-green); font-size: 12px; font-weight: 800; }
.numbered-list h3 { font-size: 19px; }
.numbered-list p { margin: 7px 0 0; color: var(--ss-muted); font-size: 14px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.2); }
.process-step { min-height: 270px; padding: 27px; border-right: 1px solid rgba(255,255,255,.2); }
.process-step:last-child { border-right: 0; }
.process-step span { display: block; margin-bottom: 64px; color: #a8c9b8; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.process-step h3 { font-size: 20px; }
.process-step p { margin: 0; color: rgba(255,255,255,.67); font-size: 14px; }

.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-top: 1px solid var(--ss-line); }
.fact { padding: 23px 20px 0 0; }
.fact strong { display: block; color: var(--ss-green); font-size: clamp(25px, 3vw, 36px); line-height: 1; }
.fact span { display: block; margin-top: 8px; color: var(--ss-muted); font-size: 13px; }

.quote-band { padding: clamp(54px, 6vw, 74px) 0; color: var(--ss-white); background: var(--ss-green); }
.quote-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 38px; }
.quote-band h2 { max-width: 780px; margin: 5px 0 0; font-size: clamp(30px, 4vw, 44px); }
.quote-band-inner > div > span { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 700; }

.contact-layout { display: grid; grid-template-columns: minmax(260px, .38fr) minmax(0, .72fr); gap: clamp(44px, 8vw, 100px); }
.contact-intro { position: sticky; top: 104px; align-self: start; }
.contact-intro p { color: var(--ss-copy); }
.contact-meta { margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--ss-line); }
.contact-meta strong { display: block; margin-bottom: 4px; font-size: 13px; }
.contact-meta span { color: var(--ss-muted); font-size: 14px; }
.contact-form { padding: clamp(25px, 4vw, 42px); border: 1px solid var(--ss-line); border-radius: var(--ss-radius); background: var(--ss-tint); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 800; }
.field input,
.field textarea,
.field select { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #cbd4cf; border-radius: 6px; background: var(--ss-white); color: var(--ss-ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus { outline: 3px solid rgba(36,84,63,.12); border-color: var(--ss-green); }
.form-note { margin: 16px 0 0; color: var(--ss-muted); font-size: 12px; }
.form-status { margin: 0 0 20px; padding: 13px 15px; border-left: 3px solid var(--ss-green); background: var(--ss-white); }
.hp-field { position: absolute !important; left: -9999px !important; }

.site-footer { padding: 58px 0 24px; color: var(--ss-white); background: #10281f; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .9fr; gap: 48px; }
.footer-brand p { max-width: 430px; color: rgba(255,255,255,.64); font-size: 14px; }
.footer-title { margin-bottom: 15px; color: rgba(255,255,255,.48); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; font-size: 13px; }
.footer-links a,
.footer-links span { color: rgba(255,255,255,.74); }
.footer-links a:hover { color: var(--ss-white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 22px; margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.48); font-size: 11px; }

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .b2b-hero-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .application-matrix,
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .process-row { grid-template-columns: repeat(2, 1fr); }
  .process-row article:nth-child(2) { border-right: 0; }
  .process-row article:nth-child(-n+2) { border-bottom: 1px solid var(--ss-line); }
  .sample-grid { grid-template-columns: 1fr 1fr; }
  .sample-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 10px); }
  .capability-split,
  .glance-grid,
  .faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .split { grid-template-columns: 1fr; }
  .split-media,
  .split .split-copy:first-child + .split-media { min-height: 500px; border-radius: var(--ss-radius) var(--ss-radius) 0 0; }
  .split-copy,
  .split .split-copy:first-child { border: 1px solid var(--ss-line); border-top: 0; border-radius: 0 0 var(--ss-radius) var(--ss-radius); }
  .split .split-copy:first-child { order: 2; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
}

@media (max-width: 760px) {
  body.admin-bar .site-header { top: 46px; }
  .header-inner { min-height: 66px; }
  .mobile-nav-panel { top: 66px; }
  .b2b-hero { padding-top: 42px; }
  .b2b-hero-grid { grid-template-columns: 1fr; }
  .b2b-hero-copy { max-width: none; }
  .b2b-hero-media img { aspect-ratio: 4 / 3.6; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid div:nth-child(2) { border-right: 0; }
  .proof-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--ss-line); }
  .application-matrix,
  .capability-grid,
  .sample-grid,
  .detail-grid,
  .form-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .sample-card:last-child { grid-column: auto; max-width: none; }
  .process-row { grid-template-columns: 1fr; }
  .process-row article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--ss-line); }
  .process-row article:last-child { border-bottom: 0; }
  .process-row span { margin-bottom: 26px; }
  .capability-list li,
  .glance-table div { grid-template-columns: 1fr; gap: 5px; }
  .page-hero .site-shell { width: min(100% - (var(--ss-pad) * 2), var(--ss-max)); margin-inline: auto; }
  .content-columns { grid-template-columns: 1fr; gap: 25px; }
  .numbered-list li { grid-template-columns: 40px 1fr; }
  .quote-band-inner { align-items: flex-start; flex-direction: column; }
  .field--full { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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