/* Hurricane Ridge Retrievers — Field & Fire
   Logo DNA: circular outdoor mark, #e2361a red, #231f20 black, white
   Type: Barlow Condensed (display) + Barlow (body) — athletic/outdoor, not serif */

:root {
  --black: #231f20;
  --black-2: #2e292a;
  --red: #e2361a;
  --red-2: #f04a2e;
  --cream: #f4efe6;
  --paper: #faf7f2;
  --mute: #6a625c;
  --line: rgba(35, 31, 32, 0.12);
  --line-inv: rgba(244, 239, 230, 0.14);
  --font: "Barlow", "Avenir Next", system-ui, sans-serif;
  --display: "Barlow Condensed", "Barlow", Impact, sans-serif;
  --wrap: 70rem;
  --hdr: 6rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4.6rem;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.4rem, 7.5vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 1.5rem, var(--wrap)); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 2.75rem, var(--wrap)); } }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--red); color: #fff; padding: 0.5rem 0.9rem; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.7rem 1.35rem;
  border: 2px solid transparent; border-radius: 2px;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(244, 239, 230, 0.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.btn--full { width: 100%; }

.link {
  font-weight: 700; color: var(--red); text-decoration: none;
  border-bottom: 1px solid transparent;
}
.link:hover { border-bottom-color: var(--red); }

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 239, 230, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr.is-scrolled { box-shadow: 0 8px 28px rgba(35, 31, 32, 0.08); }
.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--hdr);
  padding-block: 0.65rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}
/* Tight-cropped mark (logo-mark.svg) — fills the box edge-to-edge */
.logo img {
  width: 72px;
  height: 72px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
}
@media (min-width: 768px) {
  .logo img {
    width: 88px;
    height: 88px;
  }
}
.logo__word {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  line-height: 1;
  /* Optical align with circular badge center */
  transform: translateY(1px);
}
.logo__word strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
}
.logo__word em {
  font-style: normal;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1;
}
@media (min-width: 768px) {
  .logo__word strong { font-size: 1.45rem; }
  .logo__word em { font-size: 0.9rem; letter-spacing: 0.18em; }
}
.logo--ftr { color: #fff; }
.logo--ftr .logo__word strong { color: #fff; }
.logo--ftr .logo__word em { color: var(--red-2); }
.logo--ftr img {
  width: 64px;
  height: 64px;
}
@media (min-width: 768px) {
  .logo--ftr img {
    width: 72px;
    height: 72px;
  }
}

.nav {
  position: fixed; inset: var(--hdr) 0 auto 0;
  background: var(--cream); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 0.75rem 1.25rem 1.25rem;
  transform: translateY(-130%); opacity: 0; visibility: hidden;
  transition: transform 0.3s var(--ease), opacity 0.25s, visibility 0.25s; z-index: 90;
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; }
.nav a {
  text-decoration: none; font-weight: 600; padding: 0.85rem 0.35rem;
  border-bottom: 1px solid var(--line); text-transform: uppercase;
  font-family: var(--display); letter-spacing: 0.06em; font-size: 1.1rem;
}
.nav a:hover { color: var(--red); }
.nav__cta {
  margin-top: 0.55rem !important; border: none !important;
  background: var(--red); color: #fff !important; text-align: center;
  padding: 0.85rem !important;
}
.nav__cta:hover { background: var(--black); color: #fff !important; }

.burger {
  width: 2.6rem; height: 2.6rem; border: 1px solid var(--line);
  background: transparent; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.burger span { display: block; width: 1.1rem; height: 1.5px; background: var(--black); transition: 0.25s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 900px) {
  .burger { display: none; }
  .nav {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: transparent; border: none; flex-direction: row; align-items: center; padding: 0; gap: 0.15rem;
  }
  .nav a { border: none; padding: 0.4rem 0.7rem; font-size: 0.95rem; }
  .nav__cta { margin: 0 0 0 0.35rem !important; padding: 0.55rem 1rem !important; font-size: 0.95rem !important; }
}

/* Hero — split layout: never force a square portrait into a wide banner */
.hero {
  background: var(--black);
  color: #fff;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 90rem;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: min(86vh, 42rem);
    align-items: stretch;
  }
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.5rem 2.5rem;
  max-width: 40rem;
}
@media (min-width: 768px) {
  .hero__copy { padding: 3.5rem 2.75rem 3.25rem; }
}
@media (min-width: 900px) {
  .hero__copy {
    padding: 4rem 3rem 4rem 4vw;
    max-width: none;
  }
}
.hero .eyebrow { color: var(--red-2); }
.hero h1 { color: #fff; }
.hero__lede {
  font-size: 1.08rem;
  color: rgba(244, 239, 230, 0.88);
  margin-bottom: 1.5rem;
  max-width: 34rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.5rem; }
.hero__points {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  padding-top: 1.15rem; border-top: 1px solid var(--line-inv);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(244, 239, 230, 0.75);
  max-width: 34rem;
}
.hero__points li { position: relative; padding-left: 0.9rem; }
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem;
  width: 0.4rem; height: 0.4rem; background: var(--red);
}

/* Portrait column: aspect close to the photo so head + dog stay whole */
.hero__photo {
  margin: 0;
  position: relative;
  background: #1a1717;
  min-height: 22rem;
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero__photo {
    min-height: 100%;
  }
}
.hero__photo img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  /* Square source: bias slightly high so hat/head + dog both read */
  object-position: center 18%;
}
@media (min-width: 900px) {
  .hero__photo img {
    min-height: 100%;
    position: absolute;
    inset: 0;
    object-position: center 14%;
  }
}

/* Strip */
.strip { background: var(--red); color: #fff; padding: 1.15rem 0; }
.strip__in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.85rem;
}
.strip p { margin: 0; font-size: 1.02rem; }
.strip .link { color: #fff; border-bottom-color: rgba(255,255,255,0.4); }
.strip .link:hover { border-bottom-color: #fff; }

/* Sections */
.sec { padding: 4rem 0; }
@media (min-width: 768px) { .sec { padding: 5.25rem 0; } }
.sec__head { max-width: 36rem; margin-bottom: 2.25rem; }
.sec__sub { color: var(--mute); font-size: 1.05rem; margin-top: -0.2rem; }

.about { background: var(--paper); }
.about__grid {
  display: grid; gap: 2rem;
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
}
.about__copy p { color: var(--mute); }
.about__fig { margin: 0; }
.about__fig.media-frame {
  border-radius: 2px;
  box-shadow: 0 20px 50px rgba(35, 31, 32, 0.12);
  background: #2a2624;
}
.about__fig figcaption {
  margin-top: 0.65rem; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--mute);
}

.ian { background: var(--black); color: #fff; }
.ian__grid {
  display: grid; gap: 2rem;
}
@media (min-width: 900px) {
  .ian__grid { grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
}
.ian__photo.media-frame {
  border-radius: 2px;
  background: #1a1717;
}
.ian .eyebrow { color: var(--red-2); }
.ian h2 { color: #fff; }
.ian p { color: rgba(244, 239, 230, 0.78); }

/* ---- Image frames & focal points (subject-safe crops) ---- */
.media-frame {
  margin: 0;
  overflow: hidden;
  position: relative;
}
.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Natural landscape frames — crop little; keep subjects centered */
.media-frame--landscape {
  aspect-ratio: 3 / 2;
}
.media-frame--landscape img {
  position: absolute;
  inset: 0;
}
.media-frame--photo {
  aspect-ratio: 4 / 3;
}
.media-frame--photo img {
  position: absolute;
  inset: 0;
}
.media-frame--portrait {
  aspect-ratio: 1 / 1;
}
@media (min-width: 700px) {
  .media-frame--portrait {
    aspect-ratio: 4 / 3;
  }
}

/* Focal points tuned per photo content */
.focal-ian-portrait {
  /* Ian + dog portrait: keep faces in upper-middle */
  object-position: center 16% !important;
}
.focal-ian-dog-work {
  /* Ian standing right, dog running left-low */
  object-position: 55% 70% !important;
}
.focal-dog-portrait {
  /* Close dog face + bird: center on head */
  object-position: 48% 38% !important;
}
.focal-dog-run {
  /* Running lab mid-frame, person soft in bg */
  object-position: 55% 45% !important;
}
.focal-dog-retrieve {
  /* Dog with bird in marsh channel */
  object-position: 58% 42% !important;
}

/* Services */
.services { background: var(--cream); }
.svc-grid {
  display: grid; gap: 1rem;
}
@media (min-width: 800px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
.svc {
  padding: 1.5rem 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.svc:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(35, 31, 32, 0.08); }
.svc__tag {
  display: inline-block; margin-bottom: 0.65rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red);
}
.svc p { color: var(--mute); margin: 0; font-size: 0.98rem; }

.quality {
  margin-top: 1.5rem; padding: 1.4rem 1.35rem;
  background: var(--black); color: #fff;
}
.quality h3 { color: #fff; margin-bottom: 0.4rem; }
.quality p { color: rgba(244, 239, 230, 0.78); margin: 0; }

/* Photos — taller frames + per-image focal points (see .focal-*) */
.photos { background: var(--black); }
.photos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 700px) {
  .photos__grid { grid-template-columns: repeat(3, 1fr); }
}
.photos__cell {
  margin: 0;
  min-height: 16rem;
}
@media (min-width: 700px) {
  .photos__cell {
    min-height: 22rem;
  }
}
.photos__cell img {
  filter: saturate(0.95) contrast(1.05);
}

/* Proof */
.proof { background: var(--paper); }
.quotes { display: grid; gap: 1rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  margin: 0; padding: 1.4rem 1.25rem;
  background: var(--cream); border: 1px solid var(--line);
  display: flex; flex-direction: column; height: 100%;
}
.quote blockquote { margin: 0 0 1.25rem; flex: 1; }
.quote p { color: var(--mute); font-size: 0.98rem; }
.quote figcaption {
  display: flex; align-items: center; gap: 0.75rem;
  padding-top: 1rem; border-top: 1px solid var(--line); margin-top: auto;
}
.quote img, .quote__avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  object-fit: cover; background: #ddd;
}
.quote__avatar {
  display: grid; place-items: center;
  background: var(--black); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 0.85rem;
}
.quote cite { font-style: normal; font-weight: 700; display: block; }
.quote figcaption span { font-size: 0.82rem; color: var(--mute); }

/* Dogs */
.dogs { background: var(--cream); }
.dogs__grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .dogs__grid { grid-template-columns: 1fr 1fr; } }
.dog {
  padding: 1.5rem 1.35rem;
  background: var(--paper); border-left: 4px solid var(--red);
}
.dog__aka {
  margin: -0.35rem 0 0.75rem;
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--red);
}
.dog p:not(.dog__aka) { color: var(--mute); margin: 0; }

/* Apply */
.apply {
  background: linear-gradient(180deg, var(--paper), var(--cream));
  padding-bottom: 5rem;
}
.apply__grid {
  display: grid; gap: 2.25rem;
}
@media (min-width: 900px) {
  .apply__grid { grid-template-columns: 0.95fr 1.05fr; gap: 3rem; align-items: start; }
}
.checklist { margin: 1.25rem 0; display: grid; gap: 0.5rem; }
.checklist li {
  position: relative; padding-left: 1.35rem; font-weight: 600; color: var(--mute);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.5rem;
  width: 0.5rem; height: 0.5rem; background: var(--red);
}
.apply__contact {
  display: grid; gap: 0.3rem; padding-top: 1.15rem; border-top: 1px solid var(--line);
}
.apply__contact a {
  font-weight: 700; text-decoration: none; color: var(--black);
}
.apply__contact a:hover { color: var(--red); }
.apply__contact p { color: var(--mute); font-size: 0.95rem; margin: 0.4rem 0 0.6rem; }

.form {
  background: var(--black); color: #fff;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 24px 50px rgba(35, 31, 32, 0.25);
}
@media (min-width: 600px) { .form { padding: 1.85rem 1.75rem; } }

.field { margin-bottom: 0.95rem; }
.field label {
  display: block; margin-bottom: 0.35rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(244, 239, 230, 0.65);
}
.field input, .field select, .field textarea {
  width: 100%; min-height: 2.9rem; padding: 0.6rem 0.8rem;
  border: 1px solid rgba(244, 239, 230, 0.18); border-radius: 2px;
  background: rgba(244, 239, 230, 0.06); color: #fff; outline: none;
}
.field textarea { min-height: auto; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red); background: rgba(244, 239, 230, 0.1);
}
.field select option { color: var(--black); }
.row2 { display: grid; gap: 0.85rem; }
@media (min-width: 520px) { .row2 { grid-template-columns: 1fr 1fr; } }

.form__note { margin-top: 0.8rem; font-size: 0.8rem; color: rgba(244, 239, 230, 0.5); }
.form__note a { color: var(--red-2); }
.form__ok, .form__err {
  margin-top: 1rem; padding: 0.9rem; font-size: 0.95rem; border-radius: 2px;
}
.form__ok { background: rgba(226, 54, 26, 0.15); border: 1px solid rgba(226, 54, 26, 0.4); }
.form__ok strong { display: block; color: var(--red-2); margin-bottom: 0.25rem; }
.form__err { background: rgba(220, 80, 60, 0.15); border: 1px solid rgba(220, 80, 60, 0.4); color: #ffc9bf; }

/* Footer */
.ftr { background: var(--black); color: rgba(244, 239, 230, 0.7); padding-top: 3rem; }
.ftr__grid {
  display: grid; gap: 2rem; padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .ftr__grid { grid-template-columns: 1.3fr 0.8fr 1fr; }
}
.ftr h3 {
  color: #fff; font-size: 0.9rem; margin-bottom: 0.85rem;
}
.ftr ul { display: grid; gap: 0.4rem; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--red-2); }
.ftr__tag { margin-top: 0.9rem; max-width: 20rem; font-size: 0.95rem; }
.ftr__social { display: flex; gap: 1rem; margin-top: 1rem; }
.ftr__social a {
  font-family: var(--display); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 0.9rem;
}
.ftr__legal {
  border-top: 1px solid var(--line-inv);
  padding: 1.1rem 0 1.35rem; font-size: 0.82rem;
}
.ftr__legal p { margin: 0; }

/* Mobile CTA */
.mob-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(35, 31, 32, 0.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-inv);
  transition: transform 0.3s var(--ease);
}
.mob-cta.is-hidden { transform: translateY(110%); }
@media (min-width: 768px) { .mob-cta { display: none; } }

.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.07s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.21s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .svc:hover { transform: none; }
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
