/* ============================================================
   Gaston Tree, LLC — Rugged-Utilitarian Preview
   Palette: near-black / safety yellow / white / steel-gray
   Typography: Barlow Condensed 800 (display) + DM Sans (body)
   Hero: full-bleed wood grain photo with dark overlay, text right
   Mobile-first. PPD conventional skeleton.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ---- Design tokens ---- */
:root {
  --bg:         #0d0e0f;   /* near-black page background */
  --panel:      #1a1c1e;   /* raised panel / card background */
  --panel-2:    #232628;   /* slightly lighter panel variant */
  --yellow:     #f5c400;   /* safety yellow — primary accent */
  --yellow-d:   #d4a900;   /* darker yellow for hover states */
  --white:      #ffffff;   /* primary text on dark */
  --off-white:  #e8e6e2;   /* slightly warm white for body copy */
  --steel:      #6b6b6b;   /* steel-gray muted text */
  --steel-lt:   #9a9a9a;   /* lighter muted */
  --line:       #2c2e30;   /* subtle border */
  --line-lt:    #3a3d40;   /* lighter border */

  --ff-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --ff-body:    'DM Sans', system-ui, -apple-system, sans-serif;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--off-white);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.0;
  color: var(--white);
}

h4 {
  font-family: var(--ff-body);
  font-weight: 700;
  color: var(--white);
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -999px;
  left: 0;
  background: var(--yellow);
  color: var(--bg);
  padding: 8px 18px;
  font-weight: 700;
  font-size: 14px;
  z-index: 1000;
  text-decoration: none;
}
.skip-link:focus-visible {
  top: 0;
}

/* ============================================================
   VISUALLY HIDDEN (accessibility)
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   ANNOUNCE BAR
   ============================================================ */
.announce {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  color: var(--steel-lt);
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.announce .sep { opacity: 0.35; }
.announce a {
  color: var(--yellow);
  font-weight: 700;
}
.announce a:hover { color: var(--white); }

/* ============================================================
   STICKY NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 14, 15, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}
.nav__wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
  flex-shrink: 0;
}
.nav__wordmark .name {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
}
.nav__wordmark .sub {
  font-family: var(--ff-body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}
.nav__links {
  display: none;
  gap: 28px;
  list-style: none;
}
.nav__links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--steel-lt);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }
.nav__links a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 2px;
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--yellow);
  color: var(--bg);
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 4px;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav__cta svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.nav__cta:hover { background: var(--yellow-d); }
.nav__cta:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Mobile nav toggle */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
  margin-right: 8px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--steel-lt);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav__burger:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
}

/* ============================================================
   HERO — full-bleed photo (right panel) + text (left)
   ============================================================ */
.hero {
  background: var(--bg);
  overflow: hidden;
}

/* Mobile: stacked, text on top centered */
.hero__grid {
  display: flex;
  flex-direction: column;
}

.hero__text {
  padding: 56px 20px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}
.hero__tag .rule {
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--yellow);
  opacity: 0.6;
}

.hero__text h1 {
  font-size: clamp(52px, 14vw, 88px);
  line-height: 0.94;
  color: var(--white);
  max-width: 480px;
}

.hero__text h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero__lead {
  font-size: 16px;
  line-height: 1.62;
  color: var(--steel-lt);
  max-width: 440px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

.hero__photo {
  width: 100%;
  height: 280px;
  background-image: url('https://images.pexels.com/photos/129733/pexels-photo-129733.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,14,15,0.55) 0%, rgba(13,14,15,0.18) 100%);
}

/* Desktop: side-by-side split */
@media (min-width: 768px) {
  .hero__grid {
    flex-direction: row;
    min-height: 540px;
  }
  .hero__text {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: left;
    align-items: flex-start;
    padding: 72px 48px 72px 0;
    gap: 24px;
  }
  .hero__photo {
    flex: 0 0 50%;
    max-width: 50%;
    height: auto;
    min-height: 540px;
  }
  .hero__actions {
    flex-direction: row;
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .hero__text {
    padding: 96px 64px 96px 0;
    gap: 28px;
  }
  .hero__text h1 {
    font-size: clamp(72px, 7vw, 96px);
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.btn-primary {
  background: var(--yellow);
  color: var(--bg);
  border: 2px solid var(--yellow);
}
.btn-primary:hover { background: var(--yellow-d); border-color: var(--yellow-d); }
.btn-primary:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--line-lt);
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-outline:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust {
  background: var(--panel);
  border-top: 2px solid var(--yellow);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 32px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--off-white);
}
.trust__item svg {
  width: 16px;
  height: 16px;
  stroke: var(--yellow);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.trust__sep {
  width: 4px;
  height: 4px;
  background: var(--line-lt);
  border-radius: 50%;
}
@media (min-width: 768px) {
  .trust__sep { display: block; }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.sec-label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}

.sec-head {
  margin-bottom: 48px;
  max-width: 560px;
}
.sec-head h2 {
  font-size: clamp(36px, 6vw, 56px);
  margin-bottom: 16px;
}
.sec-head p {
  font-size: 16px;
  color: var(--steel-lt);
  line-height: 1.65;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 80px 0;
  background: var(--bg);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.service-card:hover {
  border-color: var(--yellow);
  background: var(--panel-2);
}

.service-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--yellow);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--white);
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel-lt);
}

.services-coda {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--panel);
  border-left: 3px solid var(--yellow);
  font-size: 15px;
  color: var(--steel-lt);
  line-height: 1.6;
}
.services-coda strong { color: var(--white); }

@media (min-width: 600px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 80px 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about__side h2 {
  font-size: clamp(36px, 7vw, 56px);
  margin-top: 12px;
}

.about__rule {
  width: 48px;
  height: 3px;
  background: var(--yellow);
  margin-bottom: 28px;
}

.about__body p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--off-white);
  margin-bottom: 20px;
}
.about__body p:last-child { margin-bottom: 0; }
.about__body strong { color: var(--white); font-weight: 700; }

.about__stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about__stat .num {
  font-family: var(--ff-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  text-transform: uppercase;
}
.about__stat .lbl {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

@media (min-width: 768px) {
  .about__grid {
    flex-direction: row;
    gap: 80px;
    align-items: flex-start;
  }
  .about__side {
    flex: 0 0 260px;
  }
  .about__body {
    flex: 1;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 80px 0;
  background: var(--bg);
}

.contact__grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact__card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__card h3 {
  font-size: 24px;
  color: var(--white);
}

.contact__detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact__detail .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}
.contact__detail .icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--yellow);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__detail .label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  margin-bottom: 3px;
}
.contact__detail .value {
  display: block;
  font-size: 16px;
  color: var(--off-white);
  font-weight: 500;
}
.contact__detail a.value {
  color: var(--off-white);
  transition: color 0.2s;
}
.contact__detail a.value:hover { color: var(--yellow); }
.contact__detail a.value:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Quote form panel */
.contact__form-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__form-panel h3 {
  font-size: 24px;
  color: var(--white);
}

.contact__form-panel p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.55;
  margin-top: -8px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg);
  border: 1px solid var(--line-lt);
  border-radius: 3px;
  color: var(--off-white);
  font-family: var(--ff-body);
  font-size: 15px;
  padding: 12px 14px;
  resize: vertical;
  opacity: 0.7;
  cursor: not-allowed;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
}
.form-note {
  font-size: 12px;
  color: var(--steel);
  line-height: 1.5;
}
.form-note a { color: var(--yellow); }
.form-submit {
  background: var(--yellow);
  color: var(--bg);
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 4px;
  border: none;
  cursor: not-allowed;
  opacity: 0.8;
  width: 100%;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .contact__grid {
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
  }
  .contact__card { flex: 0 0 340px; }
  .contact__form-panel { flex: 1; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.footer__brand .name {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}
.footer__brand .sub {
  font-size: 12px;
  color: var(--steel);
  margin-top: 4px;
}
.footer__contact {
  font-size: 13px;
  color: var(--steel-lt);
  line-height: 1.7;
}
.footer__contact a { color: var(--steel-lt); transition: color 0.2s; }
.footer__contact a:hover { color: var(--yellow); }
.footer__legal {
  font-size: 11px;
  color: var(--steel);
  line-height: 1.6;
}
.footer__legal a { color: var(--steel); border-bottom: 1px solid var(--line-lt); }

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
}
