:root {
  --clay-50: #fff3e6;
  --clay-100: #ffe1c5;
  --clay-300: #f8b37a;
  --clay-500: #e9742f;
  --clay-700: #bb4f19;
  --clay-800: #8e3a12;
  --ink-900: #171513;
  --ink-700: #2f2b27;
  --ink-500: #5a4e46;
  --sand: #f3eadb;
  --line: #e2cfba;
  --white: #ffffff;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(23, 21, 19, 0.07);
  --shadow: 0 16px 36px rgba(23, 21, 19, 0.11);
  --shadow-lg: 0 28px 54px rgba(23, 21, 19, 0.16);
  --max-width: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(ellipse 70% 50% at 10% 15%, rgba(248, 179, 122, 0.16), transparent),
    radial-gradient(ellipse 60% 40% at 90% 5%, rgba(233, 116, 47, 0.12), transparent),
    linear-gradient(160deg, #fffaf4 0%, #fde9d2 52%, #f8dcc2 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 160px;
  z-index: -1;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* ── Header ───────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  background-color: rgba(255, 250, 244, 0.7);
  border-bottom: 1px solid rgba(187, 79, 25, 0.1);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 4px 22px rgba(23, 21, 19, 0.09);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink-900);
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
  background: linear-gradient(145deg, var(--clay-800), var(--clay-500));
  box-shadow: 0 5px 14px rgba(142, 58, 18, 0.36);
  flex-shrink: 0;
}

.brand-text {
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  gap: 0.1rem;
}

.main-nav a {
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.93rem;
  padding: 0.38rem 0.7rem;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}

.main-nav a:hover {
  background: rgba(187, 79, 25, 0.08);
  color: var(--clay-700);
}

/* ── Buttons ──────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border: none;
  border-radius: 999px;
  padding: 0.68rem 1.25rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--white);
  background: linear-gradient(130deg, var(--clay-800), var(--clay-500));
  box-shadow: 0 8px 20px rgba(142, 58, 18, 0.3);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(142, 58, 18, 0.36);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(142, 58, 18, 0.28);
}

.btn:focus-visible {
  outline: 3px solid var(--clay-300);
  outline-offset: 3px;
}

.btn-small {
  padding: 0.52rem 0.95rem;
  font-size: 0.86rem;
}

/* ── Hero ─────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(105deg, rgba(10, 7, 5, 0.88) 0%, rgba(10, 7, 5, 0.62) 40%, rgba(10, 7, 5, 0.18) 68%),
    linear-gradient(180deg, rgba(100, 44, 16, 0.28), rgba(110, 50, 18, 0.44)),
    url("assets/tennis-grip-types-explained-how-to-hold-the-tennis-racket-correctly_9d1f05d7-70a7-421a-aaf9-f1cde1171a15.webp");
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.03);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: min(84vh, 820px);
  padding-block: clamp(4rem, 8vh, 7rem);
}

.hero-copy {
  max-width: 58ch;
}

/* ── Typography ───────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.72rem;
  color: var(--clay-700);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  flex-shrink: 0;
}

.hero .eyebrow {
  color: #ffd0a8;
}

h1, h2, h3 {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: #fffaf4;
  margin-bottom: 1rem;
}

h1 span {
  display: block;
  color: #ffc99a;
  font-size: clamp(1.3rem, 2.7vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-top: 0.4rem;
}

.lead {
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  color: rgba(255, 238, 220, 0.86);
  max-width: 50ch;
  line-height: 1.68;
}

.hero-cta {
  margin-top: 1.8rem;
  margin-bottom: 1.8rem;
}

.btn-hero {
  background: var(--white);
  color: var(--clay-800);
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(6, 4, 3, 0.4);
  letter-spacing: -0.01em;
}

.btn-hero:hover,
.btn-hero:focus-visible {
  background: #fff8f2;
  color: var(--clay-800);
  box-shadow: 0 22px 44px rgba(6, 4, 3, 0.46);
}

.hero-stats {
  display: flex;
  align-items: center;
  padding: 0.9rem 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  width: fit-content;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-inline: 1.15rem;
  text-align: center;
}

.hero-stat strong {
  color: #fffaf4;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-stat span {
  color: rgba(255, 225, 195, 0.7);
  font-size: 0.74rem;
  white-space: nowrap;
}

.hero-stat-divider {
  width: 1px;
  height: 2rem;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

/* ── Sections ─────────────────────────── */

.section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.section-head {
  margin-bottom: 2.8rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 0;
}

.section-rule {
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--clay-500);
  margin: 0.9rem auto 0;
}

.section-rule-left {
  margin-left: 0;
}

.section-light {
  background: transparent;
}

.section-dark {
  background: linear-gradient(150deg, #421a07 0%, #6a2c0c 100%);
  color: #fff6ed;
}

.section-dark .section-head h2 {
  color: #fff6ed;
}

.section-dark .section-rule {
  background: rgba(255, 185, 130, 0.55);
}

/* ── Cards ────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(226, 207, 186, 0.55);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(187, 79, 25, 0.26);
}

.card-icon {
  width: 42px;
  height: 42px;
  color: var(--clay-700);
  margin-bottom: 1.1rem;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--ink-900);
}

.card p {
  font-size: 0.94rem;
  color: var(--ink-500);
  line-height: 1.68;
  margin: 0;
}

/* ── Steps ────────────────────────────── */

.steps {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: calc(2rem + 26px);
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 140, 0.28), transparent);
  pointer-events: none;
}

.step {
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
  text-align: center;
  transition: background 0.22s;
}

.step:hover {
  background: rgba(255, 255, 255, 0.07);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 190, 140, 0.14);
  border: 1.5px solid rgba(255, 190, 140, 0.3);
  margin: 0 auto 1.1rem;
}

.step-num span {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffc79c;
  letter-spacing: 0.03em;
  line-height: 1;
}

.step-content h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.42rem;
  color: #fff6ed;
}

.step-content p {
  font-size: 0.91rem;
  color: rgba(255, 225, 200, 0.72);
  margin: 0;
  line-height: 1.62;
}

/* ── Contact ──────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy .eyebrow {
  color: var(--clay-700);
}

.contact-copy h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.contact-intro {
  color: var(--ink-500);
  font-size: 0.98rem;
  margin: 1rem 0 1.4rem;
  line-height: 1.68;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.82rem 1rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(226, 207, 186, 0.65);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink-900);
  transition: background 0.22s, border-color 0.22s, transform 0.22s var(--ease);
}

a.contact-row:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(187, 79, 25, 0.28);
  transform: translateX(3px);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(187, 79, 25, 0.1);
  color: var(--clay-700);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 17px;
  height: 17px;
}

.contact-row-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.contact-row-text strong {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--clay-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.contact-row-text span {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-900);
}

.contact-call-btn {
  width: 100%;
  justify-content: center;
  padding: 0.88rem;
  font-size: 0.97rem;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  min-height: 440px;
  display: block;
}

/* ── Footer ───────────────────────────── */

.site-footer {
  padding: 1.5rem 0 2.2rem;
  color: #7a5c48;
  border-top: 1px solid rgba(187, 79, 25, 0.13);
}

.footer-wrap {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 0.86rem;
}

/* ── Scroll reveal ────────────────────── */

.reveal,
.reveal-delay {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}

.reveal-delay {
  transition-delay: 0.16s;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────── */

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .contact-grid,
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .step {
    text-align: left;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 220, 190, 0.14);
    border-radius: var(--radius);
  }

  .step-num {
    margin: 0;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
  }

  .step-content {
    padding-top: 0.1rem;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 1.4rem, var(--max-width));
  }

  .site-header .btn-small {
    width: auto;
    flex-shrink: 0;
  }

  .hero-inner {
    padding-block: clamp(3rem, 6vh, 5rem);
  }

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

  .hero-stat span {
    display: none;
  }

  .hero-stat {
    padding-inline: 0.9rem;
  }

  .hero-cta,
  .hero-copy {
    text-align: center;
  }

  .hero-cta {
    display: flex;
    justify-content: center;
  }

  .hero-copy .lead {
    margin-inline: auto;
  }

  .section-rule-left {
    margin-inline: auto;
  }

  .contact-call-btn {
    width: 100%;
  }
}
