/* ============================================================
   Scenic Marketing Inc. — "Looking Outdoor For You"
   Bright editorial design system
   ============================================================ */

:root {
  --ivory: #FBF9F4;
  --ivory-deep: #F4F0E6;
  --ink: #181611;
  --ink-soft: #3D3A32;
  --muted: #6F6A5D;
  --rust: #A0431F;
  --rust-deep: #7E3417;
  --hairline: #E3DDCE;
  --hairline-dark: #CFC8B5;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--rust); color: var(--ivory); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 100;
  letter-spacing: -0.015em;
  line-height: 1.04;
  text-wrap: balance;
}

.display-xl { font-size: clamp(2.9rem, 7.2vw, 6.1rem); }
.display-lg { font-size: clamp(2.3rem, 4.8vw, 3.9rem); }
.display-md { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; }

.accent-i {
  font-style: italic;
  font-weight: 340;
  color: var(--rust);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--rust);
}

.lede {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 38em;
}

.body-muted { color: var(--muted); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: box-shadow 0.35s ease;
}

/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   make it the containing block for the fixed-position mobile nav. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251, 249, 244, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.site-header.scrolled { box-shadow: 0 1px 0 var(--hairline); }
.site-header.scrolled::before { opacity: 1; }

.header-inner { position: relative; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 460;
  letter-spacing: -0.01em;
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.wordmark .inc {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.main-nav { display: flex; align-items: center; gap: 2.4rem; }

.main-nav a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding: 0.2rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--rust);
  transition: right 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--ink); }

.nav-cta {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--ivory) !important;
  background: var(--ink);
  padding: 0.7rem 1.5rem !important;
  border-radius: 999px;
  transition: background 0.25s ease;
}

.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--rust); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Buttons ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 1rem 2.1rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-solid { background: var(--ink); color: var(--ivory); }
.btn-solid:hover { background: var(--rust); border-color: var(--rust); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--rust); color: var(--rust); }

.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rust);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.text-link:hover { color: var(--rust-deep); }

/* ---------- Sections ---------- */

section { padding: clamp(4.5rem, 9vw, 8rem) 0; }

.section-rule { border-top: 1px solid var(--hairline); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem 5rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-head .lede { justify-self: end; }

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(9rem, 17vw, 13.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero h1 { max-width: 11.5em; }

.hero .lede { margin: 2.2rem 0 2.8rem; }

.hero-meta {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--hairline);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Stats band ---------- */

.stats-band { padding: 0 0 clamp(4rem, 8vw, 7rem); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline-dark);
}

.stat {
  padding: 2.2rem 1.5rem 0 0;
  border-right: 1px solid var(--hairline);
}

.stat:last-child { border-right: none; }
.stat + .stat { padding-left: 1.8rem; }

.stat .num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  font-weight: 360;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat .num sup {
  font-size: 0.45em;
  color: var(--rust);
  font-style: italic;
}

.stat .label {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Photo placeholder slots ---------- */

.photo-slot {
  position: relative;
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(24,22,17,0.035) 14px 15px),
    var(--ivory-deep);
  border: 1px solid var(--hairline-dark);
  overflow: hidden;
}

.photo-slot .slot-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 2rem;
  text-align: center;
}

.photo-slot svg { width: min(46%, 240px); height: auto; opacity: 0.85; }

.photo-slot .slot-note {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.figure { margin: 0; }

.figure .photo-img {
  width: 100%;
  height: auto;
  border: 1px solid var(--hairline-dark);
}

.figure .photo-img.crop-43 {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 30%;
}

.figure-center {
  max-width: 920px;
  margin: 0 auto;
}

.figure-right {
  max-width: 480px;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0 auto;
}

.figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.figure figcaption .fig-no {
  font-family: var(--serif);
  font-style: italic;
  color: var(--rust);
  white-space: nowrap;
}

.ratio-wide { aspect-ratio: 16 / 8.5; }
.ratio-tall { aspect-ratio: 4 / 5; }
.ratio-std  { aspect-ratio: 4 / 3; }

/* ---------- Client marquee ---------- */

.client-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 2.1rem 0;
  overflow: hidden;
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.client-strip:hover .marquee { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.marquee-group span {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 380;
  color: var(--ink-soft);
  padding: 0 1.6rem;
}

.marquee-group i {
  font-style: normal;
  color: var(--rust);
  font-size: 0.8rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; flex-wrap: wrap; }
  html { scroll-behavior: auto; }
}

.client-strip-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

/* ---------- Problem / promise split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.split .sticky-col { position: sticky; top: 7rem; }

.kill-list { list-style: none; margin-top: 2.5rem; }

.kill-list li {
  display: flex;
  align-items: baseline;
  gap: 1.3rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 380;
  color: var(--ink-soft);
}

.kill-list li:first-child { border-top: 1px solid var(--hairline-dark); }

.kill-list .strike {
  text-decoration: line-through;
  text-decoration-color: var(--rust);
  text-decoration-thickness: 1px;
}

.kill-list .li-no {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--rust);
  min-width: 1.8rem;
}

/* ---------- Process steps ---------- */

.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--hairline-dark); }

.step {
  padding: 2.6rem 2.6rem 2.6rem 0;
  border-bottom: 1px solid var(--hairline);
}

.step:nth-child(odd) { border-right: 1px solid var(--hairline); }
.step:nth-child(even) { padding-left: 2.6rem; padding-right: 0; }

.step .step-no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--rust);
}

.step h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0.9rem 0 1rem;
}

.step p { color: var(--muted); max-width: 30em; }

/* ---------- Pull quote ---------- */

.pull-quote {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.pull-quote .mark {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--rust);
  display: block;
  margin-bottom: 2rem;
}

.pull-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 360;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.pull-quote cite {
  display: block;
  margin-top: 2rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Dark CTA panel ---------- */

.cta-panel {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.cta-panel .eyebrow { color: #C8A07A; }
.cta-panel .eyebrow::before { background: #C8A07A; }

.cta-panel h2 { color: var(--ivory); max-width: 14em; }

.cta-panel .lede { color: rgba(251, 249, 244, 0.72); }

.cta-panel .btn-solid { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.cta-panel .btn-solid:hover { background: var(--rust); color: var(--ivory); border-color: var(--rust); }

.cta-panel .btn-ghost { color: var(--ivory); border-color: rgba(251,249,244,0.4); }
.cta-panel .btn-ghost:hover { border-color: var(--ivory); color: var(--ivory); }

.cta-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta-contact { justify-self: end; text-align: right; }

.cta-contact .direct-line {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--ivory);
  text-decoration: none;
  margin-top: 0.4rem;
  transition: color 0.2s ease;
}

.cta-contact .direct-line:hover { color: #C8A07A; }

.cta-contact .direct-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251,249,244,0.5);
}

.cta-contact .direct-block + .direct-block { margin-top: 2rem; }

/* ---------- Services page ---------- */

.page-hero {
  padding-top: clamp(9rem, 16vw, 12.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--hairline);
}

.service-row:first-of-type { border-top: 1px solid var(--hairline-dark); }

.service-row .svc-no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--rust);
  margin-bottom: 1rem;
}

.service-row h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 9em; }

.service-row .svc-body p { color: var(--ink-soft); max-width: 36em; }
.service-row .svc-body p + p { margin-top: 1.1rem; }

.svc-points {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  gap: 0.55rem;
}

.svc-points li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.98rem;
}

.svc-points li::before {
  content: "—";
  color: var(--rust);
  flex-shrink: 0;
}

/* ---------- About page ---------- */

.timeline { border-top: 1px solid var(--hairline-dark); margin-top: 3rem; }

.timeline-row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--hairline);
}

.timeline-row .year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--rust);
  line-height: 1.2;
}

.timeline-row h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.timeline-row p { color: var(--muted); max-width: 38em; }

.people-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.person-card { border-top: 1px solid var(--hairline-dark); padding-top: 1.8rem; }

.person-card .role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
}

.person-card h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0.7rem 0 1rem; }

.person-card p { color: var(--muted); max-width: 28em; }

.person-card .person-contact {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.95rem;
}

.person-card .person-contact a {
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hairline-dark);
  width: fit-content;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.person-card .person-contact a:hover { color: var(--rust); border-color: var(--rust); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  border-top: 1px solid var(--hairline-dark);
  padding-top: 2.5rem;
}

.values-grid h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.values-grid p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.contact-aside .direct-block { margin-top: 2.4rem; }

.contact-aside .direct-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-aside .direct-line {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  text-decoration: none;
  margin-top: 0.4rem;
  transition: color 0.2s ease;
}

.contact-aside .direct-line:hover { color: var(--rust); }

.contact-form { display: grid; gap: 1.8rem; }

.field { display: grid; gap: 0.5rem; }

.field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline-dark);
  padding: 0.6rem 0;
  border-radius: 0;
  transition: border-color 0.25s ease;
}

.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--rust);
}

.field textarea { resize: vertical; min-height: 7rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }

.form-note { font-size: 0.85rem; color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline-dark);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-tagline {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 370;
  max-width: 12em;
}

.footer-col .col-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; display: grid; gap: 0.7rem; }

.footer-col a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--rust); }

.footer-base {
  border-top: 1px solid var(--hairline);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head .lede { justify-self: start; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { padding-left: 0; border-right: 1px solid var(--hairline); }
  .stat { padding-bottom: 2rem; }

  .split, .contact-grid, .cta-inner, .people-grid { grid-template-columns: 1fr; }
  .split .sticky-col { position: static; }
  .cta-contact { justify-self: start; text-align: left; }

  .steps { grid-template-columns: 1fr; }
  .step:nth-child(odd) { border-right: none; }
  .step:nth-child(even) { padding-left: 0; padding-right: 2.6rem; }

  .service-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .values-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .timeline-row { grid-template-columns: 1fr; gap: 0.6rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  }

  .main-nav.open { transform: none; }

  .main-nav a { font-size: 1.5rem; font-family: var(--serif); letter-spacing: 0; }

  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .field-row { grid-template-columns: 1fr; }
}
