/* =========================================================
   SRS IMAGERY
   Warm editorial equine photography
========================================================= */

:root {
  --cream: #fcf8f4;
  --cream-deep: #f6eee9;

  --rose-pale: #f3dfdb;
  --rose-light: #e9c5c2;
  --rose: #c4878a;
  --rose-deep: #9b5e65;
  --rose-dark: #6d3d44;

  --ink: #352b29;
  --ink-soft: #756763;
  --line: #e4d7d1;

  --error: #8c3a3a;

  --white: #fffdfb;

  --serif: "Cormorant Garamond", serif;
  --sans: "Jost", sans-serif;
}


/* =========================================================
   RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

:focus-visible {
  outline: 1px solid var(--rose-dark);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
}

em {
  color: var(--rose-deep);
  font-style: italic;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 24px;

  font-size: 11px;
  font-weight: 400;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eyebrow.rose {
  color: var(--rose-deep);
}


/* =========================================================
   NAVIGATION
========================================================= */

.site-header {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  z-index: 20;

  color: var(--white);
}

.nav {
  height: 96px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 8px;

  color: white;

  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: .05em;
}

.logo small {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .8;
}

.nav-links {
  display: flex;
  gap: 38px;

  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  opacity: .85;
  transition: opacity .25s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a.active::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;

  height: 1px;

  background: white;
}

.nav-contact {
  border-bottom: 1px solid rgba(255,255,255,.7);

  padding-bottom: 4px;

  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav-contact span {
  margin-left: 7px;
}


/* =========================================================
   HERO (homepage, full height)
========================================================= */

.hero {
  position: relative;

  min-height: 820px;

  display: flex;
  align-items: flex-end;

  overflow: hidden;

  color: white;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(35, 24, 22, .64) 0%,
      rgba(35, 24, 22, .25) 48%,
      rgba(35, 24, 22, .05) 100%
    ),
    linear-gradient(
      0deg,
      rgba(35, 24, 22, .58) 0%,
      transparent 50%
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  padding-bottom: 125px;
}

.hero .eyebrow {
  color: #f6ded9;
}

.hero h1 {
  max-width: 760px;

  font-size: clamp(70px, 9vw, 128px);
  letter-spacing: -.025em;
}

.hero h1 em {
  color: #f0c8c3;
}

.hero-copy {
  max-width: 440px;

  margin-top: 28px;

  color: rgba(255,255,255,.86);

  font-size: 16px;
  line-height: 1.8;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;

  margin-top: 34px;

  padding-bottom: 7px;

  border-bottom: 1px solid rgba(255,255,255,.7);

  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;

  transition: gap .25s ease;
}

.hero-link:hover {
  gap: 22px;
}

.hero-link span {
  font-size: 16px;
}

.hero-caption {
  position: absolute;
  z-index: 3;

  right: 32px;
  bottom: 30px;

  display: flex;
  gap: 18px;

  color: rgba(255,255,255,.7);

  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}


/* =========================================================
   PAGE HERO (interior pages, shorter)
========================================================= */

.page-hero {
  position: relative;

  min-height: 460px;

  display: flex;
  align-items: flex-end;

  overflow: hidden;

  color: white;
}

.page-hero-content {
  position: relative;
  z-index: 2;

  padding-bottom: 64px;
}

.page-hero-content .eyebrow {
  color: #f6ded9;
}

.page-hero-content h1 {
  max-width: 640px;

  font-size: clamp(46px, 7vw, 84px);
  letter-spacing: -.02em;
}

.page-lede {
  max-width: 480px;

  margin-top: 20px;

  color: rgba(255,255,255,.86);

  font-size: 16px;
  line-height: 1.8;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
  padding: 140px 0;
}


/* =========================================================
   INTRO
========================================================= */

.intro {
  background: var(--cream);
}

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

.intro-number {
  padding-top: 8px;

  color: var(--rose);

  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.intro-copy {
  max-width: 750px;
}

.intro-copy h2 {
  max-width: 700px;

  margin-bottom: 38px;

  font-size: clamp(48px, 6vw, 78px);
  letter-spacing: -.02em;
}

.intro-copy p:not(.eyebrow) {
  max-width: 590px;

  margin-bottom: 18px;

  color: var(--ink-soft);

  font-size: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;

  margin-top: 24px;

  padding-bottom: 5px;

  border-bottom: 1px solid var(--ink);

  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;

  transition: gap .25s ease;
}

.text-link:hover {
  gap: 20px;
}

.text-link span {
  font-size: 16px;
}


/* =========================================================
   FEATURE IMAGE
========================================================= */

.feature-image {
  position: relative;

  height: 720px;

  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.feature-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    0deg,
    rgba(40,25,23,.45),
    transparent 45%
  );
}

.feature-caption {
  position: absolute;
  z-index: 2;

  left: 32px;
  right: 32px;
  bottom: 28px;

  display: flex;
  justify-content: space-between;

  color: white;

  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}


/* =========================================================
   PORTFOLIO (homepage preview)
========================================================= */

.portfolio {
  background: var(--cream);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  margin-bottom: 65px;
}

.section-heading h2 {
  font-size: clamp(52px, 6vw, 76px);
}

.section-heading .text-link {
  margin-bottom: 7px;
}

/* Fixed layout: left image spans all 3 rows, right column stacks
   exactly 3 images — every cell is always filled, no orphaned
   implicit rows. */
.gallery {
  display: grid;

  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: repeat(3, 260px);

  gap: 22px;
}

.gallery-item {
  position: relative;

  display: block;

  overflow: hidden;

  background: var(--rose-pale);
}

.gallery-item img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-large {
  grid-row: 1 / span 3;
}

.gallery-label {
  position: absolute;

  left: 18px;
  bottom: 18px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 7px 12px;

  background: rgba(255,253,251,.88);

  color: var(--ink);

  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gallery-label span {
  color: var(--rose-deep);
}

.gallery-label strong {
  font-weight: 400;
}


/* =========================================================
   FULL GALLERY (photos page)
========================================================= */

.full-gallery {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.full-gallery .gallery-item {
  aspect-ratio: 4 / 5;
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;

  margin-bottom: 50px;
}

.filter-tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);

  padding: 9px 22px;

  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;

  cursor: pointer;
  transition: all .2s ease;
}

.filter-tab:hover {
  border-color: var(--rose-deep);
  color: var(--rose-deep);
}

.filter-tab.active {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: white;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
  background: var(--rose-pale);
}

.about-grid {
  display: grid;

  grid-template-columns: .9fr 1.1fr;

  gap: 100px;

  align-items: center;
}

.about-image {
  position: relative;

  aspect-ratio: 4 / 5;

  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.image-note {
  position: absolute;

  left: 16px;
  bottom: 16px;

  display: flex;
  gap: 12px;

  padding: 6px 10px;

  background: rgba(255,253,251,.9);

  color: var(--ink);

  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.image-note span:first-child {
  color: var(--rose-deep);
}

.about-content {
  max-width: 600px;
}

.about-content h2 {
  margin-bottom: 35px;

  font-size: clamp(50px, 5.5vw, 72px);
}

.about-content p:not(.eyebrow) {
  max-width: 550px;

  margin-bottom: 18px;

  color: var(--ink-soft);

  font-size: 16px;
}


/* =========================================================
   SESSIONS
========================================================= */

.sessions {
  background: var(--cream);
}

.sessions-heading {
  display: grid;

  grid-template-columns: 1fr 1fr;

  column-gap: 80px;

  margin-bottom: 75px;
}

.sessions-heading .eyebrow {
  grid-column: 1 / -1;
}

.sessions-heading h2 {
  font-size: clamp(52px, 6vw, 78px);
}

.sessions-heading > p:last-child {
  align-self: end;

  max-width: 380px;

  color: var(--ink-soft);

  font-size: 15px;
}

.session-list {
  border-top: 1px solid var(--line);
}

.session-item {
  display: grid;

  grid-template-columns: 80px 1fr 50px;

  gap: 30px;

  align-items: start;

  padding: 40px 0;

  border-bottom: 1px solid var(--line);

  transition: padding .3s ease;
}

.session-item:hover {
  padding-left: 12px;
  padding-right: 12px;
}

.session-number {
  padding-top: 5px;

  color: var(--rose);

  font-family: var(--serif);
  font-style: italic;
}

.session-item h3 {
  margin-bottom: 8px;

  font-size: 34px;
}

.session-item p {
  max-width: 590px;

  color: var(--ink-soft);

  font-size: 14px;
}

.session-arrow {
  justify-self: end;

  color: var(--rose-deep);

  font-size: 21px;
}


/* =========================================================
   QUOTE
========================================================= */

.quote-section {
  padding: 150px 0;

  background: var(--rose-dark);

  color: white;

  text-align: center;
}

.quote-mark {
  margin-bottom: 12px;

  color: var(--rose-light);

  font-family: var(--serif);
  font-size: 75px;
  line-height: .5;
}

.quote-section blockquote {
  max-width: 900px;

  margin: 0 auto;

  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 70px);
  font-weight: 300;
  line-height: 1.15;
}

.quote-section blockquote em {
  color: var(--rose-light);
}

.quote-line {
  width: 45px;
  height: 1px;

  margin: 38px auto 25px;

  background: var(--rose-light);
}

.quote-small {
  color: rgba(255,255,255,.7);

  font-size: 12px;
  letter-spacing: .08em;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
  display: grid;

  grid-template-columns: 1fr 1fr;

  min-height: 650px;
}

.final-image {
  overflow: hidden;
}

.final-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.final-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 90px 10%;

  background: var(--cream-deep);
}

.final-content h2 {
  max-width: 500px;

  margin-bottom: 28px;

  font-size: clamp(52px, 5.5vw, 75px);
}

.final-content > p:not(.eyebrow) {
  max-width: 390px;

  margin-bottom: 30px;

  color: var(--ink-soft);

  font-size: 15px;
}

.button {
  align-self: flex-start;

  display: inline-flex;
  align-items: center;
  gap: 20px;

  padding: 15px 25px;

  border: none;

  background: var(--rose-dark);
  color: white;

  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;

  cursor: pointer;

  transition: background .25s ease, gap .25s ease;
}

.button:hover {
  background: var(--rose-deep);
  gap: 27px;
}


/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-section {
  background: var(--cream);
}

.contact-grid {
  display: grid;

  grid-template-columns: .8fr 1.2fr;

  gap: 100px;
}

.contact-copy h2 {
  margin-bottom: 26px;

  font-size: clamp(42px, 5vw, 56px);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 400px;

  margin-bottom: 34px;

  color: var(--ink-soft);

  font-size: 15px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;

  padding-top: 28px;

  border-top: 1px solid var(--line);

  font-size: 14px;
}

.contact-detail .label {
  display: block;

  margin-bottom: 3px;

  color: var(--rose-deep);

  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-note {
  margin-top: 30px;
  padding-top: 26px;

  border-top: 1px solid var(--line);

  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

form { display: flex; flex-direction: column; gap: 26px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.field label {
  display: block;

  margin-bottom: 10px;

  color: var(--ink-soft);

  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;

  padding: 10px 2px 12px;

  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;

  color: var(--ink);
  font-size: 15px;

  transition: border-color .2s ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--rose-dark);
}

.field .error {
  display: none;

  margin-top: 8px;

  color: var(--error);
  font-size: 12px;
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--error);
}

.field.has-error .error {
  display: block;
}

.submit-btn {
  align-self: flex-start;
  margin-top: 6px;
}

.form-success {
  display: none;

  padding: 26px;

  background: var(--rose-pale);

  color: var(--rose-dark);
  font-size: 15px;
  line-height: 1.7;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  background: var(--ink);

  color: rgba(255,255,255,.7);
}

.footer-top {
  display: grid;

  grid-template-columns: 1.5fr 1fr 1fr;

  gap: 50px;

  padding-top: 65px;
  padding-bottom: 65px;
}

.footer-logo {
  color: white;

  font-family: var(--serif);
  font-size: 35px;
}

.footer-logo em {
  color: var(--rose-light);
}

.footer-top p {
  font-size: 12px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;

  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-top: 20px;
  padding-bottom: 25px;

  border-top: 1px solid rgba(255,255,255,.12);

  font-size: 10px;
  letter-spacing: .06em;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .wrap {
    width: min(100% - 40px, 680px);
  }

  .nav {
    height: 78px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-bottom: 100px;
  }

  .hero h1 {
    font-size: clamp(62px, 15vw, 100px);
  }

  .hero-caption {
    display: none;
  }

  .page-hero {
    min-height: 360px;
  }

  .section {
    padding: 90px 0;
  }

  .intro-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .intro-number {
    display: none;
  }

  .about-grid {
    gap: 60px;
  }

  .about-image {
    max-width: 520px;
  }

  .feature-image {
    height: 560px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 220px 220px;
  }

  .gallery-large {
    grid-row: 1 / span 3;
  }

  .full-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .sessions-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .session-item {
    grid-template-columns: 50px 1fr 30px;
    gap: 15px;
  }

  .session-item h3 {
    font-size: 29px;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-image {
    min-height: 500px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo {
    grid-column: 1 / -1;
  }

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


@media (max-width: 560px) {

  .wrap {
    width: calc(100% - 32px);
  }

  .nav-contact {
    font-size: 10px;
  }

  .hero {
    min-height: 670px;
  }

  .hero-content {
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .page-hero {
    min-height: 320px;
  }

  .page-hero-content h1 {
    font-size: 42px;
  }

  .intro-copy h2,
  .section-heading h2,
  .about-content h2,
  .sessions-heading h2,
  .final-content h2 {
    font-size: 49px;
  }

  .feature-image {
    height: 450px;
  }

  .feature-caption {
    left: 16px;
    right: 16px;

    font-size: 8px;
  }

  .gallery {
    display: flex;
    flex-direction: column;
  }

  .gallery-item,
  .gallery-large {
    height: 340px;
  }

  .full-gallery {
    grid-template-columns: 1fr;
  }

  .session-item {
    grid-template-columns: 35px 1fr;
  }

  .session-arrow {
    display: none;
  }

  .quote-section {
    padding: 100px 20px;
  }

  .quote-section blockquote {
    font-size: 43px;
  }

  .final-image {
    min-height: 400px;
  }

  .final-content {
    padding: 75px 25px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-logo {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

}
