/* ==========================================================================
   STRIPE KING LAWN CO — stylesheet
   Sections:
     1. Design tokens        6. Photo rail
     2. Base & utilities     7. CTA + phone
     3. Header               8. Trust badges
     4. Hero                 9. Footer
     5. Services            10. Sticky call bar / responsive / forms
   Change the tokens in section 1 and the whole site follows.
   ========================================================================== */


/* 1. DESIGN TOKENS ======================================================== */
:root {
  /* Colour — sampled from the original flyer */
  --ink:            #0e0e0e;   /* page black          */
  --ink-2:          #141410;   /* raised panel black  */
  --gold:           #d4af37;
  --gold-light:     #f4e2a1;
  --gold-deep:      #8a6a1c;
  --green:          #3f7d2a;
  --green-bright:   #63b23c;
  --green-deep:     #123010;
  --bone:           #f4f2e9;   /* body text           */
  --bone-dim:       #a5a496;   /* muted text          */

  --gold-bar: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  /* Brighter than --gold-bar on purpose: gradient text needs more luminance
     than a solid fill to stay legible against the black background. */
  --gold-text: linear-gradient(180deg, #fff4cd 0%, #f7dc8c 38%, #eac553 72%, #d4ad39 100%);
  --green-orb: radial-gradient(circle at 34% 28%, var(--green-bright), var(--green-deep) 78%);

  /* Type */
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body:    'Oswald', 'Helvetica Neue', sans-serif;

  /* Rhythm */
  --shell:    1240px;
  /* Hard cap on page width. The photos came out of the flyer at a fixed
     resolution, so letting the layout grow past this just stretches and
     softens them. Raise this only if you replace them with larger originals. */
  --frame:    1400px;
  --gutter:   clamp(20px, 5vw, 56px);
  --section-y: clamp(56px, 8vw, 92px);
  --radius:   3px;

  /* The angled cut used on every photo — one value drives them all */
  --notch: 46px;
}


/* 2. BASE & UTILITIES ===================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* letterbox surround, slightly darker than the page itself */
  background: #070706;
  color: var(--bone);
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The page sits in a centred column; on wide monitors the surround shows
   at the edges and the artwork stays at its native scale. */
.frame {
  max-width: var(--frame);
  margin-inline: auto;
  background: var(--ink);
  box-shadow: 0 0 0 1px rgb(212 175 55 / .16), 0 0 70px rgb(0 0 0 / .75);
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .015em; margin: 0; line-height: 1.05; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }

.ico { width: 1em; height: 1em; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink);
  padding: 10px 16px; font-weight: 700; border-radius: var(--radius);
  transition: top .18s ease;
}
.skip-link:focus { top: 8px; }

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

.t-white { color: var(--bone); display: block; }
.t-gold  {
  display: block;
  color: var(--gold-light);            /* fallback if background-clip is unsupported */
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / .55));
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--body); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  border: 0; border-radius: var(--radius);
  padding: 13px 22px; font-size: .86rem;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.btn .ico { width: 1.05em; height: 1.05em; }

.btn-gold { background: var(--gold-bar); color: var(--ink); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgb(212 175 55 / .3); }

.btn-outline {
  background: transparent; color: var(--gold-light);
  box-shadow: inset 0 0 0 2px var(--gold-deep);
}
.btn-outline:hover { background: rgb(212 175 55 / .1); transform: translateY(-2px); }

.btn-lg { padding: 16px 30px; font-size: .95rem; }

/* --- Heading with flanking rules (the flyer's "OUR SERVICES" treatment) --- */
.rule-heading {
  display: flex; align-items: center; gap: 18px;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--green-bright); text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: clamp(24px, 4vw, 38px);
}
.rule-heading::before,
.rule-heading::after {
  content: ""; flex: 1; height: 2px;
  background: linear-gradient(90deg, transparent, rgb(99 178 60 / .65), transparent);
}

/* --- The angled photo cut, reused everywhere --- */
.notch-left {
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, var(--notch) 100%, 0 50%);
}


/* 3. HEADER =============================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(14 14 14 / .93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(212 175 55 / .28);
}

.header-bar {
  display: flex; align-items: center; gap: 20px;
  padding-block: 10px;
}

.header-brand { display: flex; align-items: center; gap: 11px; }
.header-brand img { height: 52px; width: auto; }

.header-wordmark { display: grid; line-height: 1; }
.header-wordmark b {
  font-family: var(--display); font-weight: 400;
  font-size: 1.22rem; letter-spacing: .03em; text-transform: uppercase;
  color: var(--gold-light);
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / .5));
}
.header-wordmark i {
  font-style: normal; font-weight: 600;
  font-size: .62rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--bone-dim); margin-top: 3px;
}

.header-nav {
  display: flex; gap: 26px; margin-left: auto;
  font-weight: 600; font-size: .84rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--bone-dim);
}
.header-nav a { position: relative; padding-block: 4px; transition: color .16s ease; }
.header-nav a:hover { color: var(--gold-light); }
.header-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform .2s ease;
}
.header-nav a:hover::after { transform: scaleX(1); }

.header-call { white-space: nowrap; }


/* 4. HERO ================================================================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: stretch;
  background:
    repeating-linear-gradient(112deg,
      rgb(63 125 42 / .085) 0 38px,
      rgb(18 48 16 / .045) 38px 76px),
    var(--ink);
}

.hero-copy {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: clamp(16px, 2.2vw, 24px);
  padding: clamp(40px, 6vw, 76px) clamp(24px, 4.5vw, 60px);
  justify-content: center;
}

.hero-logo { width: min(430px, 100%); height: auto; }

.hero-title {
  font-size: clamp(1.85rem, 4.4vw, 3.05rem);
  text-transform: uppercase;
}
.hero-title .t-gold { margin-top: .06em; }

.crown-rule {
  display: flex; align-items: center; gap: 14px;
  width: min(420px, 100%);
  color: var(--gold);
}
.crown-rule span {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.crown-rule .ico { width: 22px; height: 22px; }

.hero-lede {
  max-width: 46ch;
  color: var(--bone-dim);
  font-size: 1.02rem;
  font-weight: 300;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* The gold diagonal edge is the parent's background showing through a
   slightly inset clip on the image itself. */
.hero-photo {
  position: relative;
  min-height: 420px;
  background: var(--gold-bar);
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, var(--notch) 100%, 0 50%);
}
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: polygon(
    calc(var(--notch) + 5px) 0, 100% 0, 100% 100%,
    calc(var(--notch) + 5px) 100%, 5px 50%);
}


/* 5. SERVICES ============================================================= */
.services {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  background: var(--ink);
}

.services-copy { padding: var(--section-y) clamp(24px, 4.5vw, 60px); }

.service-list { display: flex; flex-direction: column; }

.service {
  display: flex; align-items: flex-start; gap: 18px;
  padding-block: 20px;
  border-bottom: 1px solid rgb(165 164 150 / .17);
}
.service:first-child { padding-top: 0; }

.service-icon {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-orb);
  box-shadow: inset 0 0 0 2px var(--green-bright);
  color: var(--bone);
}
.service-icon .ico { width: 27px; height: 27px; }

.service-text h3 {
  font-size: clamp(1.1rem, 1.9vw, 1.42rem);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.service-text p {
  color: var(--bone-dim);
  font-size: .93rem; font-weight: 300;
  max-width: 48ch;
}

.svc-cta { margin-top: 32px; }


/* 6. PHOTO RAIL =========================================================== */
.photo-rail { display: flex; flex-direction: column; }

.rail-item {
  position: relative;
  flex: 1 1 0;
  min-height: 150px;
  margin: 0;
  background: var(--gold-bar);              /* becomes the gold frame */
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, var(--notch) 100%, 0 50%);
}
.rail-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: polygon(
    calc(var(--notch) + 5px) 3px, calc(100% - 3px) 3px,
    calc(100% - 3px) calc(100% - 3px), calc(var(--notch) + 5px) calc(100% - 3px),
    5px 50%);
  transition: transform .5s ease;
}
.rail-item:hover img { transform: scale(1.04); }

/* scrim so the caption stays legible over any photo */
.rail-item::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 46%;
  background: linear-gradient(0deg, rgb(0 0 0 / .78), transparent);
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, var(--notch) 100%, 0 100%);
  pointer-events: none;
}

.rail-item figcaption {
  position: absolute; z-index: 1;
  left: calc(var(--notch) + 18px); bottom: 12px;
  font-family: var(--display); font-size: .82rem;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--gold-light);
}


/* 7. CTA + PHONE ========================================================== */
.cta-banner {
  background: var(--gold-bar);
  padding: clamp(20px, 3vw, 30px) var(--gutter);
  text-align: center;
  clip-path: polygon(0 14%, 100% 0, 100% 86%, 0 100%);
}
.cta-banner p {
  font-family: var(--display);
  font-size: clamp(1.15rem, 3vw, 1.85rem);
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--ink);
}

.cta-phone {
  text-align: center;
  padding: clamp(34px, 5vw, 52px) var(--gutter) clamp(40px, 6vw, 60px);
  background:
    radial-gradient(ellipse 60% 100% at 50% 50%, rgb(63 125 42 / .2), transparent 70%),
    var(--ink);
}

.phone-link {
  display: inline-flex; align-items: center; gap: 18px;
  transition: transform .16s ease;
}
.phone-link:hover { transform: scale(1.025); }

.phone-badge {
  flex: 0 0 auto;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-orb);
  box-shadow: inset 0 0 0 2px var(--green-bright);
  color: var(--bone);
}
.phone-badge .ico { width: 28px; height: 28px; }

.phone-number {
  font-family: var(--display);
  font-size: clamp(2.15rem, 7.4vw, 4.3rem);
  letter-spacing: .005em;
  color: var(--gold-light);
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 5px rgb(0 0 0 / .6));
}

.cta-note {
  margin-top: 12px;
  color: var(--bone-dim);
  font-size: .86rem; font-weight: 300;
  text-transform: uppercase; letter-spacing: .13em;
}


/* 8. TRUST BADGES ========================================================= */
.trust { background: var(--ink); padding-bottom: clamp(30px, 5vw, 46px); }

.badge-row {
  max-width: 940px; margin-inline: auto;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 46px);
  padding-inline: var(--gutter);
}

.badge { display: flex; align-items: center; gap: 13px; }
.badge + .badge { border-left: 1px solid rgb(212 175 55 / .32); padding-left: clamp(20px, 4vw, 46px); }
.badge .ico { width: 42px; height: 42px; color: var(--gold); flex: 0 0 auto; }
.badge span {
  font-family: var(--display);
  font-size: 1.16rem; line-height: 1.12;
  text-transform: uppercase; letter-spacing: .035em;
}


/* 9. FOOTER =============================================================== */
.site-footer { background: var(--ink-2); }

/* grass-blade strip from the bottom of the flyer */
.grass {
  height: 34px;
  background: url("../images/grass.svg") repeat-x bottom center / 240px 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(28px, 4vw, 52px);
  padding-block: clamp(38px, 5vw, 58px);
}

.footer-logo { width: 190px; height: auto; margin-bottom: 16px; }

.footer-col p, .footer-col a { color: var(--bone-dim); font-weight: 300; font-size: .93rem; }
.footer-col a:hover { color: var(--gold-light); }

.footer-col h2 {
  font-size: 1rem; text-transform: uppercase; letter-spacing: .13em;
  color: var(--gold); margin-bottom: 12px;
}
.footer-col h2.mt { margin-top: 26px; }

.footer-col li { padding-block: 3px; }

.footer-phone {
  font-family: var(--display); font-size: 1.5rem !important;
  color: var(--gold-light) !important; letter-spacing: .01em;
}

.copyright {
  border-top: 1px solid rgb(212 175 55 / .16);
  padding: 18px var(--gutter);
  text-align: center;
  color: var(--bone-dim);
  font-size: .78rem; font-weight: 300; letter-spacing: .05em;
}


/* 10. STICKY CALL BAR / RESPONSIVE / FUTURE FORMS ========================== */
.sticky-call {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  align-items: center; justify-content: center; gap: 10px;
  background: var(--gold-bar); color: var(--ink);
  font-family: var(--display); font-size: 1.02rem;
  letter-spacing: .03em; text-transform: uppercase;
  padding: 15px;
  box-shadow: 0 -4px 20px rgb(0 0 0 / .5);
}
.sticky-call .ico { width: 19px; height: 19px; }

/* Ready-made styling for a contact form you add later */
.contact-form {
  max-width: 620px; margin: 0 auto;
  display: grid; gap: 14px;
  text-align: left;
}
.contact-form label {
  font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid rgb(212 175 55 / .3);
  border-radius: var(--radius);
  color: var(--bone);
  font-family: var(--body); font-size: 1rem;
  padding: 12px 14px;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold); outline: none; }

/* --- Tablet --- */
@media (max-width: 1000px) {
  .hero, .services { grid-template-columns: 1fr; }

  .hero-photo { min-height: 320px; clip-path: none; background: none; }
  .hero-photo img { clip-path: none; }

  .photo-rail { flex-direction: row; flex-wrap: wrap; }
  .rail-item {
    flex: 1 1 46%; min-height: 200px;
    clip-path: none; background: none;
    border: 3px solid var(--gold);
  }
  .rail-item img { clip-path: none; }
  .rail-item::after { clip-path: none; }
  .rail-item figcaption { left: 16px; }

  .services-copy { padding-bottom: clamp(30px, 5vw, 44px); }

  .header-nav { display: none; }
}

/* --- Phone --- */
@media (max-width: 640px) {
  body { padding-bottom: 62px; }
  .sticky-call { display: flex; }

  .header-brand img { height: 42px; }
  .header-call span { display: none; }
  .header-call { padding: 11px 14px; }

  .badge + .badge { border-left: 0; padding-left: 0; }
  .badge-row { gap: 20px 26px; }

  .rail-item { flex: 1 1 100%; }
}

/* --- Motion preference --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rail-item:hover img { transform: none; }
}
