/* ===== TOKENS ===== */
:root {
  --white: #ffffff;
  --mist: #e9edf2;
  --line: #cfd6de;
  --ink: #0c1218;
  --slate: #4a5568;
  --navy: #0e1c2f;
  --blue: #0077C0;
  --blue-deep: #005A94;
  --silver: #9aafc2;
  --silver-light: #c4d0dc;
  --tw-green: #006B3F;
  --tw-gold: #C5A030;
  --verse: #6b7a94;
  --radius: 6px;
  --max-w: 1180px;
  --clip-angle: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  --clip-angle-r: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

/* ===== UTILITY ===== */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  z-index: 1000;
  padding: 8px 16px;
  background: var(--blue);
  color: var(--white);
}
.skip-link:focus { left: 16px; top: 16px; }
.section-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.section-intro {
  font-size: 1.1rem;
  color: var(--slate);
  max-width: 680px;
  margin-bottom: 40px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid transparent;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
  transition: background .2s, color .2s, transform .15s;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-full { width: 100%; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%); }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* ===== AFFILIATION BAR ===== */
.affiliation-bar {
  background: linear-gradient(135deg, var(--tw-green), #005230);
  color: var(--white);
  font-size: .82rem;
  padding: 6px 0;
}
.affiliation-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.affiliation-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tw-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
.affiliation-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.affiliation-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.9);
  transition: color .2s;
}
.affiliation-link:hover { color: var(--tw-gold); }
.affiliation-link svg { flex-shrink: 0; }

/* ===== CONTACT BAR ===== */
.contact-bar {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  font-size: .82rem;
  padding: 6px 0;
}
.contact-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.9);
  transition: color .2s;
}
.contact-bar-link:hover { color: var(--white); }
.contact-bar-link svg { flex-shrink: 0; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(14,28,47,.08);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
}
.brand-accent { color: var(--blue); }
.brand-sub {
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--slate);
}
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--blue); background: var(--mist); }
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--white);
  padding: 9px 22px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
  transition: background .2s;
}
.nav-cta:hover { background: var(--blue-deep); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform .25s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,28,47,.35) 0%, rgba(14,28,47,.72) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) 80px;
  width: 100%;
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silver-light);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 16px;
}
.hero-intro {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  max-width: 580px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-plate {
  position: absolute;
  bottom: 20px;
  right: clamp(16px, 4vw, 40px);
  z-index: 2;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 20px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  text-align: right;
}
.hero-plate strong { display: block; font-weight: 600; }
.hero-plate span { font-size: .75rem; opacity: .75; }

/* ===== VALUE STRIP ===== */
.value-strip {
  background: var(--navy);
  padding: 48px 0;
}
.value-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.value-card { text-align: center; color: var(--white); }
.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 50%;
}
.value-icon svg { stroke: var(--silver-light); }
.value-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.value-card p {
  font-size: .88rem;
  line-height: 1.55;
  color: rgba(255,255,255,.65);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}
.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

/* ===== SELL (STEPS) ===== */
.sell-section { background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 48px;
  margin-top: 8px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--silver);
  line-height: 1;
}
.step h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.step p {
  font-size: .94rem;
  color: var(--slate);
}
.section-cta {
  margin-top: 40px;
  text-align: center;
}

/* ===== ABOUT ===== */
.about-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  clip-path: var(--clip-angle);
  padding: 120px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}
.about-photo img {
  width: 100%;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 100%, 16px 100%);
}
.about-section .section-label { color: var(--silver-light); }
.about-facts {
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.about-facts li {
  font-weight: 500;
  font-size: .95rem;
  padding-left: 20px;
  position: relative;
}
.about-facts li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--silver-light);
}
.about-content p {
  color: rgba(255,255,255,.8);
  margin-bottom: 20px;
  font-size: .98rem;
}
.about-verse {
  font-size: .9rem !important;
  color: var(--verse) !important;
  border-left: 3px solid rgba(196,208,220,.3);
  padding-left: 16px;
  margin: 24px 0 !important;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--mist);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.testimonial {
  background: var(--white);
  padding: 28px;
  border-left: 3px solid var(--blue);
  position: relative;
}
.testimonial p {
  font-size: .95rem;
  color: var(--slate);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 16px;
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink);
}
.testimonials-source {
  text-align: center;
  margin-top: 24px;
  font-size: .82rem;
  color: var(--slate);
}

/* ===== BUY ===== */
.buy-section { background: var(--white); }
.buy-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}
.buy-block { margin-bottom: 36px; }
.buy-block:last-child { margin-bottom: 0; }
.buy-block h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 12px;
  color: var(--navy);
}
.buy-block p {
  font-size: .98rem;
  color: var(--slate);
  margin-bottom: 12px;
}
.buy-block .btn { margin-top: 4px; }
.buy-photo img {
  width: 100%;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 100%, 16px 100%);
}

/* ===== NICHES ===== */
.niches-section { background: var(--mist); }
.niches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.niche-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 32px;
  transition: border-color .2s, box-shadow .2s;
}
.niche-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,119,192,.08);
}
.niche-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.niche-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 12px;
}
.niche-card > p {
  font-size: .95rem;
  color: var(--slate);
  margin-bottom: 20px;
}
.niche-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.niche-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--mist);
  color: var(--slate);
  padding: 6px 14px;
  border: 1px solid var(--line);
}

/* Other trades row */
.other-trades {
  margin-top: 28px;
  text-align: center;
}
.other-trades p {
  font-size: .95rem;
  color: var(--slate);
  margin-bottom: 14px;
}
.other-trades-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.other-trade-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--navy);
  padding: 8px 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

/* ===== VALUATION FORM ===== */
.valuation-section {
  background: var(--navy);
  color: var(--white);
  clip-path: var(--clip-angle-r);
  padding: 120px 0;
}
.valuation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.valuation-content .section-label { color: var(--silver-light); }
.valuation-content h2 { color: var(--white); }
.valuation-content p {
  color: rgba(255,255,255,.8);
  font-size: .98rem;
  margin-bottom: 24px;
}
.valuation-img {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
  margin-top: 8px;
}
.valuation-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.7);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: .95rem;
  transition: border-color .2s, background .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255,255,255,.12);
}
.form-group select { cursor: pointer; }
.form-group select option { color: var(--ink); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 70px; }
.form-privacy {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-align: center;
  margin-top: 4px;
}
.form-privacy a { color: var(--silver-light); }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--blue);
  padding: 60px 0;
  color: var(--white);
}
.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 24px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-band .btn-primary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.cta-band .btn-primary:hover {
  background: var(--mist);
  border-color: var(--mist);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
}
.footer-brand span { font-weight: 600; color: var(--slate); }
.footer-sub {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--slate);
  margin-bottom: 12px;
}
.footer-inner h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-inner ul { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.footer-inner a { transition: color .2s; }
.footer-inner a:hover { color: var(--blue); }
.footer-affiliation {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-tw-logo {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.footer-affiliation span {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .02em;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px clamp(16px, 4vw, 40px);
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  text-align: center;
}
.footer-disclaimer {
  margin-top: 8px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.footer-credit {
  margin-top: 12px;
}
.footer-credit a { color: rgba(255,255,255,.3); }
.footer-credit a:hover { color: var(--blue); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .main-nav { display: contents; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 12px 24px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    border-top: 1px solid var(--line);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-cta {
    position: absolute;
    top: 16px;
    right: 56px;
  }
  .steps-grid { grid-template-columns: 1fr; gap: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 340px; }
  .buy-grid { grid-template-columns: 1fr; }
  .buy-photo { max-width: 400px; }
  .valuation-grid { grid-template-columns: 1fr; }
  .valuation-img { max-width: 400px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .contact-bar-email { display: none; }
  .contact-bar-address { display: none; }
  .value-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .hero { min-height: 75vh; }
  .hero-content { padding-bottom: 60px; }
  .hero-plate { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .value-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-section, .valuation-section { clip-path: none; padding: 80px 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .niches-grid { grid-template-columns: 1fr; }
  .other-trades-list { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; }
  .contact-bar-inner { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .hero video { display: none; }
}
