:root {
  --bg: #f7f2eb;
  --bg-soft: #fbf8f4;
  --panel: #ffffff;
  --accent-soft: #e6f4fa;
  --text: #24303a;
  --muted: #6e7781;
  --line: #e6ddd3;
  --blue-deep: #7fb9cf;
  --shadow: 0 18px 45px rgba(36, 48, 58, 0.08);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-soft);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

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

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 244, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 221, 211, 0.7);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.hero {
  padding: 5rem 0 4.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.cta-band h2,
.about-copy h2,
.contact-copy h2,
.instagram-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.75rem);
  max-width: 9.5ch;
}

.hero-text,
.section-heading p,
.about-copy p,
.contact-copy p,
.cta-band p,
.instagram-copy p,
.footer-note {
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-text {
  max-width: 34rem;
  margin: 1.15rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 10px 25px rgba(127, 185, 207, 0.28);
}

.btn-primary:hover {
  background: #70adc6;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: #d8cab8;
}

.hero-image-card,
.about-image-card,
.gallery-card,
.sports-card,
.contact-form,
.instagram-follow-card {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image-card {
  transform: rotate(-1.2deg);
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
}

.section {
  padding: 4.5rem 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.4rem;
}

.section-heading h2 {
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  margin-bottom: 0.75rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.gallery-card {
  min-height: 320px;
}

.gallery-card img,
.sports-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alt-section {
  background: var(--accent-soft);
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.sports-card {
  min-height: 360px;
}

.cta-band {
  padding: 2rem 0 1rem;
}

.cta-band-inner {
  background: linear-gradient(135deg, #e6f4fa 0%, #f8f3ec 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 0.6rem;
}

.about-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.about-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.about-image-card {
  min-height: 380px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eaf5fa 0%, #f9f4ee 100%);
}

.about-logo-large {
  width: min(290px, 70%);
  border-radius: 50%;
}

.about-copy h2,
.contact-copy h2,
.instagram-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 0.9rem;
}

.signature {
  margin-top: 1rem;
  font-family: "Caveat", cursive;
  font-size: 2rem;
  color: var(--text);
}

.instagram-section {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.instagram-follow-card {
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(180deg, #fbf8f4 0%, #f4ede5 100%);
  border: 1px solid var(--line);
}

.instagram-copy {
  max-width: 650px;
}

.instagram-actions {
  flex-shrink: 0;
}

.contact-section {
  padding-top: 3rem;
}

.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.contact-form {
  padding: 1.5rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 4px rgba(127, 185, 207, 0.15);
}

.submit-btn {
  border: 0;
  cursor: pointer;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-details a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(36, 48, 58, 0.2);
  text-underline-offset: 3px;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.25rem;
  background: #f2ebe3;
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: 1.1fr 0.7fr 0.8fr;
}

.footer-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.site-footer h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li + li {
  margin-top: 0.55rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(230, 221, 211, 0.8);
  color: var(--muted);
  font-size: 0.92rem;
}

.image-hover-wrap {
  overflow: hidden;
}

.image-hover {
  transition: transform 0.45s ease;
}

.image-hover-wrap:hover .image-hover {
  transform: scale(1.045);
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .sports-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-band-inner,
  .instagram-follow-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-image-card {
    transform: rotate(0deg);
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 0.9rem 1.1rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-image {
    aspect-ratio: 4 / 4;
  }

  .section,
  .site-footer {
    padding-left: 0;
    padding-right: 0;
  }

  .cta-band-inner,
  .contact-form,
  .instagram-follow-card {
    padding: 1.25rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* =========================
   FINAL POLISH OVERRIDES
========================= */

.hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  max-width: 8.5ch;
  line-height: 1.05;
}

.section {
  padding: 5.5rem 0;
}

.gallery-grid {
  gap: 1.5rem;
}

.gallery-card {
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.sports-card {
  min-height: 380px;
  border-radius: 20px;
}

.instagram-follow-card {
  padding: 2.75rem;
}

.cta-band-inner {
  padding: 3rem;
}

.image-hover {
  transition: transform 0.4s ease;
}

.image-hover-wrap:hover .image-hover {
  transform: scale(1.04);
}

/* =========================
   FINAL VISUAL POLISH
========================= */

/* HERO TIGHTENING */
.hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.02;
  max-width: 7.5ch;
}

.hero p {
  max-width: 480px;
  margin-top: 1rem;
}

/* SECTION SPACING CONSISTENCY */
.section {
  padding: 5rem 0;
}

/* =========================
   FEATURED GRID UPGRADE
========================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

/* Make layout feel more editorial */
.gallery-card:nth-child(1) {
  grid-column: span 1;
}

.gallery-card:nth-child(2) {
  grid-column: span 1;
}

.gallery-card:nth-child(3) {
  grid-column: span 1;
}

/* Make ONE card slightly bigger for visual interest */
.gallery-card:nth-child(6) {
  grid-column: span 2;
}

/* Image styling */
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slight randomness in height */
.gallery-card {
  min-height: 260px;
}

.gallery-card:nth-child(4),
.gallery-card:nth-child(5) {
  min-height: 300px;
}

/* =========================
   HOVER EFFECT (SUBTLE)
========================= */

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  transition: transform 0.45s ease;
}

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

/* =========================
   SPORTS GRID POLISH
========================= */

.sports-grid {
  gap: 1.75rem;
}

.sports-card img {
  transition: transform 0.45s ease;
}

.sports-card:hover img {
  transform: scale(1.04);
}

/* =========================
   INSTAGRAM SECTION IMPROVEMENT
========================= */

.instagram-follow-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 3rem;
}

/* Add subtle background texture feel */
.instagram-follow-card {
  background: linear-gradient(
    135deg,
    #f6f3ef 0%,
    #f2eee9 100%
  );
}

/* =========================
   CTA BAND CLEANUP
========================= */

.cta-band-inner {
  padding: 2.75rem 3rem;
}

/* =========================
   GLOBAL POLISH
========================= */

img {
  border-radius: 18px;
}

h2 {
  letter-spacing: -0.02em;
}

/* =========================
   FIX HERO + FEATURED
========================= */

/* HERO: wider, less tall */
.hero-grid {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.8rem, 4.2vw, 4.6rem);
  line-height: 1.04;
  max-width: 11ch;
}

.hero-text {
  max-width: 34rem;
}

.hero-copy {
  max-width: 560px;
}

/* FEATURED: reset weird editorial overrides */
.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-card,
.gallery-card:nth-child(4),
.gallery-card:nth-child(5),
.gallery-card:nth-child(6) {
  min-height: 280px;
}

.gallery-card:nth-child(6) {
  grid-column: auto;
}

.gallery-card:nth-child(1),
.gallery-card:nth-child(2),
.gallery-card:nth-child(3),
.gallery-card:nth-child(4),
.gallery-card:nth-child(5),
.gallery-card:nth-child(6) {
  grid-column: auto;
}

.gallery-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

/* Slightly shorter Ellie card feel without breaking layout */
.gallery-card:last-child img {
  object-position: center;
}

/* Mobile safety */
@media (max-width: 980px) {
  .hero-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
  }

  .gallery-card:nth-child(6) {
    grid-column: auto;
  }
}

/* =========================
   MOBILE REFINEMENT (FINAL)
========================= */

@media (max-width: 768px) {

  /* HERO — reduce vertical bulk */
  .hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.08;
    margin-bottom: 0.75rem;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .hero-buttons {
    margin-top: 1rem;
  }

  /* FEATURED — make it feel less endless */
  .gallery-grid {
    gap: 0.85rem;
  }

  .gallery-card {
    min-height: 200px;
  }

  /* Add subtle breathing space between rows */
  .gallery-card:not(:last-child) {
    margin-bottom: 0.25rem;
  }

  /* SECTION TITLES — tighten */
  h2 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  /* SPORTS — give images breathing room */
  .sports-grid {
    gap: 1.25rem;
  }

  /* CTA BAND — cleaner stacking */
  .cta-band-inner {
    padding: 1.75rem;
  }

  /* ABOUT — balance spacing */
  .about-grid {
    gap: 1.5rem;
  }

  /* INSTAGRAM SECTION */
  .instagram-follow-card {
    padding: 1.75rem;
    text-align: center;
  }

  .instagram-follow-card .btn {
    margin-top: 0.75rem;
  }

  /* FORM — more breathing room */
  .form-grid {
    gap: 1rem;
  }

  input, textarea {
    padding: 0.85rem;
  }

  /* FOOTER — less cramped */
  .footer-grid {
    gap: 1.5rem;
  }

}

/* =========================
   MOBILE HERO REORDER
========================= */
@media (max-width: 768px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-copy {
    order: 1;
    max-width: 100%;
  }

  .hero-image-card {
    order: 2;
    width: 100%;
    transform: none;
  }

  .hero-actions {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.25rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.65rem;
    line-height: 1.05;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-image {
    width: 100%;
    aspect-ratio: 4 / 3.7;
    object-fit: cover;
  }

  .hero .btn {
    width: 100%;
    justify-content: center;
  }
}
