/* ==========================================================================
   Woodford — independent country duo, Dallas–Fort Worth
   --------------------------------------------------------------------------
   Palette is drawn from the band's own materials: the rope-knot wordmark's
   warm leather/rope tan, and the amber lamplight of the living-room session
   photo. Ground is warm near-black rather than neutral gray so the one
   photograph on the page sits at home instead of fighting a cooler backdrop.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink-950: #100d0a; /* page ground */
  --ink-900: #1a1510; /* raised surface: header scrim, cards */
  --ink-800: #241d15; /* hover surface */
  --line: #3d3226; /* hairlines and dividers, warm bronze-brown */
  --dim: #b8a892; /* secondary text — 8.4:1 on ink-950 */
  --paper: #f2ead9; /* primary text — 16.2:1 on ink-950 */
  --rope: #c17d3e; /* signature accent, from the wordmark rope — 5.8:1 on ink-950 */
  --rope-light: #e3b47c; /* lighter tint for hover states */

  --font-display: Fraunces, ui-serif, Georgia, serif;
  --font-sans: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  --s-1: 0.5rem;
  --s-2: 0.875rem;
  --s-3: 1.25rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4.5rem;
  --s-7: 7rem;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 62ch;
  --maxw: 1320px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.4s;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--ink-950);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--rope);
  color: var(--ink-950);
}

:focus-visible {
  outline: 2px solid var(--rope-light);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute;
  left: var(--s-3);
  top: -100%;
  z-index: 200;
  padding: var(--s-2) var(--s-3);
  background: var(--paper);
  color: var(--ink-950);
  font-weight: 700;
}
.skip-link:focus {
  top: var(--s-3);
}

/* --------------------------------------------------------------------------
   3. Type scale
   -------------------------------------------------------------------------- */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.t-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.25rem, 13vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.t-h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}
.t-h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  letter-spacing: -0.005em;
}

.lede {
  font-size: clamp(1.0625rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  color: var(--paper);
  max-width: 46ch;
}

.prose {
  color: var(--dim);
  max-width: var(--measure);
}
.prose + .prose {
  margin-top: var(--s-3);
}

/* Mono is reserved for facts and labels — dates, places, eyebrows, roles. Its
   presence always signals "this is data," never prose or navigation. */
.meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--s-6);
  padding-inline: var(--gutter);
  max-width: var(--maxw);
  margin-inline: auto;
}

.section-head {
  margin-bottom: var(--s-4);
}
.section-head .meta {
  margin-bottom: var(--s-2);
}
.section-head p.lede {
  margin-top: var(--s-3);
}

@media (min-width: 48rem) {
  .section {
    padding-block: var(--s-7);
  }
}

.section + .section {
  padding-block-start: 0;
}

/* --------------------------------------------------------------------------
   5. Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--ink-950) 85%, transparent);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: var(--ink-950);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  max-width: var(--maxw);
  margin-inline: auto;
  padding: var(--s-2) var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  padding-block: var(--s-1);
}
.brand img {
  height: 32px;
  width: auto;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -0.5rem;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-links {
  display: none;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: var(--s-2) 0;
  color: var(--dim);
  font-size: 0.9375rem;
  transition: color var(--dur) var(--ease);
}
.nav-links a:hover {
  color: var(--paper);
}

/* Without JS, .js never lands on <html> and the toggle button can never open
   the drawer — so below the desktop breakpoint the links must default to
   visible instead of hidden. Same reasoning as the .reveal no-JS rule. */
html:not(.js) .nav-toggle {
  display: none;
}
html:not(.js) .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-4);
}
html:not(.js) .nav-links a {
  padding-block: var(--s-1);
}

.nav-links.is-open {
  display: block;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  padding: var(--s-2) var(--gutter) var(--s-4);
  background: var(--ink-950);
  border-bottom: 1px solid var(--line);
}
.nav-links.is-open li + li {
  border-top: 1px solid var(--line);
}
.nav-links.is-open a {
  padding: var(--s-3) 0;
  font-size: 1.125rem;
}

@media (min-width: 50rem) {
  .nav-toggle {
    display: none;
  }
  .nav-links {
    display: flex;
    gap: var(--s-4);
  }
  .nav-links a {
    position: relative;
  }
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.3rem;
    width: 0;
    height: 1px;
    background: var(--rope);
    transition: width var(--dur) var(--ease);
  }
  .nav-links a:hover::after {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   6. Hero — the one place boldness is spent
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92svh, 920px);
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: hero-settle 2.6s var(--ease) both;
}
/* Amber-tinted scrim, tuned to the lamp glow in the photo rather than a flat
   neutral gradient — legibility requirement, not decoration. */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgb(16 13 10 / 0.96) 0%,
    rgb(16 13 10 / 0.9) 32%,
    rgb(20 14 8 / 0.6) 58%,
    rgb(20 14 8 / 0.22) 80%,
    rgb(20 14 8 / 0.08) 100%
  );
}

@keyframes hero-settle {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

.hero-body {
  padding: var(--s-6) var(--gutter) var(--s-5);
  max-width: var(--maxw);
  margin-inline: auto;
  width: 100%;
}
.hero-body > * {
  animation: rise 0.9s var(--ease) both;
}
.hero-body > :nth-child(1) {
  animation-delay: 0.1s;
}
.hero-body > :nth-child(2) {
  animation-delay: 0.2s;
}
.hero-body > :nth-child(3) {
  animation-delay: 0.32s;
}
.hero-body > :nth-child(4) {
  animation-delay: 0.44s;
}
.hero-body > :nth-child(5) {
  animation-delay: 0.56s;
}
.hero-body > :nth-child(6) {
  animation-delay: 0.68s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Below 48rem the hero switches to a square, art-directed crop (see the
   <picture> source in the markup) shown at its own aspect ratio rather than
   cropped to fill — so the image goes back into normal flow instead of
   sitting full-bleed behind overlaid text, and the copy below it condenses
   to keep the page from running long. */
@media (max-width: 47.9375rem) {
  .hero {
    display: block;
    min-height: 0;
  }
  .hero-media {
    position: static;
    inset: auto;
    aspect-ratio: 1 / 1;
  }
  .hero-media img {
    animation: none;
  }
  .hero-media::after {
    background: linear-gradient(to bottom, rgb(16 13 10 / 0) 72%, rgb(16 13 10 / 0.5) 100%);
  }
  .hero-body {
    padding: var(--s-4) var(--gutter) var(--s-5);
  }
}

.hero-eyebrow {
  margin-bottom: var(--s-3);
  text-shadow: 0 1px 3px rgb(16 13 10 / 0.9), 0 0 18px rgb(16 13 10 / 0.75);
}
.hero-mark {
  height: clamp(72px, 9vw, 108px);
  width: auto;
  margin-bottom: var(--s-2);
}
.hero h1 {
  margin-bottom: var(--s-2);
}
.hero-byline {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rope-light);
  margin-bottom: var(--s-3);
  text-shadow: 0 1px 3px rgb(16 13 10 / 0.9), 0 0 18px rgb(16 13 10 / 0.75);
}
.hero .lede {
  margin-bottom: var(--s-4);
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--rope);
  background: var(--rope);
  color: var(--ink-950);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover {
  background: var(--rope-light);
  border-color: var(--rope-light);
}
.btn--quiet {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
}
.btn--quiet:hover {
  border-color: var(--rope-light);
  color: var(--rope-light);
}
.btn .arrow {
  transition: transform var(--dur) var(--ease);
}
.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* --------------------------------------------------------------------------
   8. Story
   -------------------------------------------------------------------------- */
.story-grid {
  max-width: var(--measure);
}

.pull-quote {
  margin-block: var(--s-4);
  padding-left: var(--s-3);
  border-left: 2px solid var(--rope);
}
.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: var(--rope-light);
}

/* --------------------------------------------------------------------------
   9. The Duo
   -------------------------------------------------------------------------- */
.duo-grid {
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 44rem) {
  .duo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-5);
  }
}

.duo-card {
  padding: var(--s-4);
  background: var(--ink-900);
  border: 1px solid var(--line);
}
.duo-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(3.5rem, 8vw, 5rem);
  line-height: 1;
  color: var(--rope);
  opacity: 0.9;
  margin-bottom: var(--s-2);
}
.duo-card h3 {
  margin-bottom: 0.35rem;
}
.duo-role {
  margin-bottom: var(--s-3);
}
.duo-card p:last-child {
  color: var(--dim);
}

/* --------------------------------------------------------------------------
   10. Music — photo-backed, houses the Spotify embed
   -------------------------------------------------------------------------- */
.music-section {
  position: relative;
  isolation: isolate;
  margin-top: var(--s-6);
}
@media (min-width: 48rem) {
  .music-section {
    margin-top: var(--s-7);
  }
}
.music-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.music-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  filter: grayscale(0.4) sepia(0.18) brightness(0.7);
}
.music-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(16 13 10 / 0.8) 0%,
    rgb(16 13 10 / 0.68) 100%
  );
}

.music-inner {
  padding-block: var(--s-6);
  padding-inline: var(--gutter);
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 48rem) {
  .music-inner {
    padding-block: var(--s-7);
  }
}
@media (min-width: 62rem) {
  .music-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--s-6);
  }
}

/* The lighter scrim above lets more of the photo through than the hero's,
   so its own text needs the same legibility guarantee. */
.music-copy .meta,
.music-copy h2,
.music-copy p {
  text-shadow: 0 1px 4px rgb(16 13 10 / 0.6);
}

.embed-frame {
  background: var(--ink-900);
  border: 1px solid var(--line);
  padding: var(--s-2);
}
.embed-frame iframe {
  width: 100%;
  min-height: 352px;
  border: 0;
  display: block;
}
.embed-alt-link {
  margin-top: var(--s-2);
  text-align: center;
}
.embed-alt-link a {
  color: var(--rope-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.embed-alt-link a:hover {
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: var(--s-5) var(--gutter);
  background: var(--ink-900);
}
.footer-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 48rem) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.footer-brand img {
  height: 28px;
  width: auto;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-4);
}
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--dim);
}
.footer-nav a:hover {
  color: var(--rope-light);
}
.footer-legal {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  grid-column: 1 / -1;
}
.footer-legal a {
  color: var(--rope-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* --------------------------------------------------------------------------
   12. Scroll reveal — one effect, applied sparingly
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   13. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-body > * {
    opacity: 1;
    transform: none;
  }
}
