:root {
  --page-bg: rgb(255, 245, 239);
  --text: rgb(8, 8, 8);
  --hero-text: rgb(255, 241, 237);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

.site {
  overflow-x: hidden;
}

.frame {
  position: relative;
  width: min(100%, 1200px);
  margin: 0 auto;
}

section[id],
footer[id],
h2[id] {
  scroll-margin-top: 32px;
}

.section-title {
  margin: 0;
  font-family: "Bodoni 72", "Didot", "Times New Roman", serif;
  font-size: 79px;
  line-height: 0.98;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.body-copy {
  margin: 0;
  font-size: 25px;
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: -0.015em;
}

.body-copy p {
  margin: 0 0 26px;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.hero .frame {
  min-height: 873px;
  background: url("assets/hero-bg.webp") center top / cover no-repeat;
}

.hero__logo {
  position: absolute;
  top: 34px;
  left: 39px;
  width: 493px;
}

.hero__tagline {
  position: absolute;
  right: 104px;
  bottom: 46px;
  max-width: 760px;
  margin: 0;
  color: var(--hero-text);
  font-size: 21px;
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: 0.012em;
  text-align: right;
  text-shadow: 0 1px 2px rgba(34, 14, 8, 0.24);
}

.hero__tagline span {
  display: block;
  white-space: nowrap;
}

.hero__cta {
  position: absolute;
  top: 396px;
  left: 208px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 308px;
  min-height: 58px;
  padding: 0 30px;
  border: 1px solid rgba(255, 245, 239, 0.72);
  border-radius: 999px;
  color: rgba(255, 249, 245, 0.98);
  background: rgba(255, 245, 239, 0.06);
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 23px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.018em;
  text-shadow: 0 1px 2px rgba(31, 16, 10, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(36, 18, 11, 0.06);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  background: rgba(255, 245, 239, 0.12);
  border-color: rgba(255, 245, 239, 0.92);
  transform: translateY(-1px);
  outline: none;
}

.hero__nav {
  position: absolute;
  top: 36px;
  right: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 640px;
}

.hero__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(255, 225, 199, 0.58);
  border-radius: 999px;
  color: rgba(255, 249, 245, 0.98);
  background: rgba(181, 100, 55, 0.22);
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(31, 16, 10, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(56, 26, 13, 0.11);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero__nav a:hover,
.hero__nav a:focus-visible {
  background: rgba(197, 110, 62, 0.32);
  border-color: rgba(255, 234, 215, 0.88);
  transform: translateY(-1px);
  outline: none;
}

.hero__menu-toggle {
  display: none;
}

.about .frame {
  min-height: 1327px;
}

.about__title {
  position: absolute;
  top: 142px;
  left: 57px;
  width: 300px;
}

.about__copy {
  position: absolute;
  top: 247px;
  left: 50px;
  width: 602px;
}

.about__copy strong,
.courts-section__infra-copy strong {
  font-weight: 500;
}

.about__player {
  position: absolute;
  top: 141px;
  left: 708px;
  width: 492px;
  height: 615px;
  object-fit: cover;
}

.about__court {
  position: absolute;
  top: 621px;
  left: 0;
  width: 493px;
  height: 706px;
  object-fit: cover;
}

.about__mark {
  position: absolute;
  top: 975px;
  left: 708px;
  width: 265px;
}

.courts-section .frame {
  min-height: 1225px;
}

.courts-section__title {
  position: absolute;
  top: 147px;
  left: 60px;
  width: 300px;
}

.courts-section__copy {
  position: absolute;
  top: 144px;
  left: 553px;
  width: 593px;
}

.courts-section__image {
  position: absolute;
  top: 521px;
  left: 0;
  width: 493px;
  height: 703px;
  object-fit: cover;
}

.courts-section__infra-title {
  position: absolute;
  top: 519px;
  left: 554px;
  width: 378px;
}

.courts-section__infra-copy {
  position: absolute;
  top: 691px;
  left: 554px;
  width: 592px;
}

.courts-section__infra-copy em,
.membership__copy em {
  font-style: italic;
  font-weight: 400;
}

.essentials .frame {
  min-height: 981px;
}

.essentials__title {
  position: absolute;
  top: 169px;
  left: 396px;
  width: 407px;
}

.product {
  position: absolute;
  text-align: center;
}

.product img {
  width: 100%;
  height: auto;
}

.product h3,
.product p {
  margin: 0;
  font-size: 25px;
  line-height: 1.14;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.product h3 {
  margin-top: 42px;
}

.product p {
  margin-top: 22px;
  font-weight: 300;
}

.product--cap {
  top: 370px;
  left: 0;
  width: 361px;
}

.product--cap h3,
.product--cap p {
  width: 269px;
  margin-left: auto;
  margin-right: auto;
}

.product--bottle {
  top: 370px;
  left: 424px;
  width: 362px;
}

.product--bottle h3,
.product--bottle p {
  width: 220px;
  margin-left: auto;
  margin-right: auto;
}

.product--racket {
  top: 370px;
  left: 844px;
  width: 356px;
}

.product--racket h3,
.product--racket p {
  width: 260px;
  margin-left: auto;
  margin-right: auto;
}

.membership .frame {
  min-height: 908px;
}

.membership__title {
  position: absolute;
  top: 146px;
  left: 56px;
  width: 506px;
}

.membership__copy {
  position: absolute;
  top: 346px;
  left: 64px;
  width: 578px;
}

.membership__image {
  position: absolute;
  top: 146px;
  left: 708px;
  width: 492px;
  height: 616px;
  object-fit: cover;
}

.footer__frame {
  min-height: 980px;
  padding: 78px 56px 64px;
  background:
    linear-gradient(90deg, rgba(73, 34, 18, 0.18) 0%, rgba(73, 34, 18, 0.08) 42%, rgba(28, 16, 12, 0.18) 100%),
    url("assets/footer-bg.webp") center top / 150% auto no-repeat;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 488px);
  gap: 44px;
  align-items: stretch;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  color: white;
}

.footer__logo {
  width: 419px;
}

.footer__contact-stack {
  display: grid;
  gap: 28px;
  margin-top: auto;
  padding-bottom: 58px;
}

.footer__links {
  display: grid;
  gap: 14px;
  max-width: 420px;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: white;
  text-decoration: none;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.footer__link:hover,
.footer__link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.footer__icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  color: rgba(255, 241, 237, 0.92);
}

.footer__icon svg,
.footer__social svg {
  width: 100%;
  height: 100%;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 241, 237, 0.5);
  border-radius: 50%;
  color: rgba(255, 241, 237, 0.92);
  background: rgba(255, 241, 237, 0.08);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.footer__social:hover,
.footer__social:focus-visible {
  background: rgba(255, 241, 237, 0.18);
  border-color: rgba(255, 241, 237, 0.9);
  outline: none;
}

.footer__form-card {
  padding: 34px 32px 30px;
  border: 1px solid rgba(255, 241, 237, 0.28);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 245, 239, 0.12) 0%, rgba(255, 245, 239, 0.07) 100%);
  box-shadow: 0 18px 48px rgba(17, 7, 4, 0.12);
  color: white;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.footer__form-title {
  margin: 0;
  font-family: "Bodoni 72", "Didot", "Times New Roman", serif;
  font-size: 58px;
  line-height: 0.98;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.footer__form-text {
  margin: 20px 0 0;
  color: rgba(255, 244, 240, 0.9);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 300;
}

.visit-form {
  margin-top: 28px;
}

.visit-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}

.visit-form__field {
  display: grid;
  gap: 8px;
}

.visit-form__field span,
.visit-form__consent span {
  color: rgba(255, 244, 240, 0.92);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.visit-form__field input,
.visit-form__field textarea {
  width: 100%;
  border: 1px solid rgba(255, 241, 237, 0.24);
  border-radius: 18px;
  background: rgba(255, 245, 239, 0.08);
  color: white;
  font: inherit;
  font-size: 17px;
  line-height: 1.4;
  padding: 16px 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.visit-form__field input::placeholder,
.visit-form__field textarea::placeholder {
  color: rgba(255, 244, 240, 0.54);
}

.visit-form__field textarea {
  resize: vertical;
  min-height: 116px;
}

.visit-form__field input:focus,
.visit-form__field textarea:focus {
  outline: 2px solid rgba(255, 241, 237, 0.36);
  outline-offset: 2px;
}

.visit-form__field--full {
  grid-column: 1 / -1;
}

.visit-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.visit-form__consent input {
  margin-top: 3px;
  accent-color: rgba(255, 245, 239, 0.92);
}

.visit-form__submit {
  min-width: 100%;
  min-height: 60px;
  margin-top: 22px;
  padding: 0 24px;
  border: 1px solid rgba(255, 241, 237, 0.52);
  border-radius: 999px;
  background: rgba(255, 245, 239, 0.08);
  color: rgba(255, 249, 245, 0.98);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(31, 16, 10, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(20, 8, 4, 0.06);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.visit-form__submit:hover,
.visit-form__submit:focus-visible {
  background: rgba(255, 245, 239, 0.14);
  border-color: rgba(255, 241, 237, 0.88);
  transform: translateY(-1px);
  outline: none;
}

.visit-form__note {
  margin: 16px 0 0;
  color: rgba(255, 244, 240, 0.68);
  font-size: 14px;
  line-height: 1.45;
}

.visit-form__status {
  min-height: 22px;
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
}

.visit-form__status[data-state="success"] {
  color: rgb(38, 119, 72);
}

.visit-form__status[data-state="error"] {
  color: rgb(173, 59, 38);
}

@media (max-width: 1220px) {
  .hero .frame,
  .about .frame,
  .courts-section .frame,
  .essentials .frame,
  .membership .frame,
  .footer .frame {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .hero .frame {
    min-height: clamp(680px, 76vw, 873px);
    background-position: 58% top;
  }

  .hero__logo {
    top: 28px;
    width: min(41vw, 430px);
    left: 28px;
  }

  .hero__nav {
    top: 28px;
    right: 16px;
    gap: 6px;
    max-width: 520px;
  }

  .hero__nav a {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .hero__cta {
    top: 336px;
    left: 148px;
    min-width: 272px;
    min-height: 54px;
    padding: 0 24px;
    font-size: 21px;
  }

  .hero__tagline {
    right: 82px;
    bottom: 35px;
    max-width: 560px;
    font-size: 17px;
  }

  .footer__frame {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
    gap: 28px;
    padding: 64px 32px 56px;
  }

  .footer__logo {
    width: min(40vw, 380px);
  }
}

@media (max-width: 900px) {
  .section-title {
    font-size: clamp(48px, 8vw, 79px);
  }

  .body-copy,
  .product h3,
  .product p,
  .footer__text,
  .footer__form-text,
  .hero__tagline {
    font-size: 20px;
    line-height: 1.24;
  }

  .about .frame,
  .courts-section .frame,
  .essentials .frame,
  .membership .frame,
  .footer .frame {
    min-height: auto;
    padding: 56px 16px;
  }

  .about .frame,
  .courts-section .frame,
  .membership .frame {
    display: grid;
    gap: 28px;
  }

  .essentials .frame {
    display: grid;
    gap: 36px;
  }

  .hero .frame {
    min-height: clamp(560px, 142vw, 760px);
    background-position: 56% top;
  }

  .hero .frame::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 210px;
    background: linear-gradient(180deg, rgba(109, 55, 27, 0) 0%, rgba(109, 55, 27, 0.2) 28%, rgba(109, 55, 27, 0.72) 100%);
    pointer-events: none;
  }

  .hero__logo,
  .hero__cta,
  .hero__tagline,
  .about__title,
  .about__copy,
  .about__player,
  .about__court,
  .about__mark,
  .courts-section__title,
  .courts-section__copy,
  .courts-section__image,
  .courts-section__infra-title,
  .courts-section__infra-copy,
  .essentials__title,
  .product,
  .membership__title,
  .membership__copy,
  .membership__image,
  .footer__logo,
  .footer__text {
    position: static;
    width: 100%;
    height: auto;
  }

  .hero__logo {
    position: absolute;
    top: 18px;
    right: 16px;
    left: auto;
    width: min(72vw, 318px);
    margin: 0;
    padding: 0;
    z-index: 3;
  }

  .hero__menu-toggle {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 4;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 232, 217, 0.32);
    border-radius: 999px;
    background: rgba(112, 61, 35, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    appearance: none;
  }

  .hero__menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(255, 246, 241, 0.96);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .hero--menu-open .hero__menu-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .hero--menu-open .hero__menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .hero--menu-open .hero__menu-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero__nav {
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 8px;
    width: min(220px, calc(100vw - 32px));
    max-width: none;
    margin: 0;
    padding: 12px;
    border: 1px solid rgba(255, 232, 217, 0.2);
    border-radius: 20px;
    background: rgba(93, 50, 28, 0.64);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 3;
  }

  .hero--menu-open .hero__nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero__nav a {
    width: 100%;
    min-height: 38px;
    justify-content: flex-start;
    padding: 0 14px;
    border-color: rgba(255, 230, 210, 0.34);
    background: rgba(160, 92, 55, 0.18);
    font-size: 12px;
    letter-spacing: 0.018em;
    text-shadow: 0 1px 2px rgba(31, 16, 10, 0.16);
    box-shadow: none;
  }

  .hero__tagline {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 26px;
    width: auto;
    max-width: none;
    font-size: clamp(16px, 4.45vw, 18px);
    line-height: 1.12;
    letter-spacing: -0.008em;
    text-align: left;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(34, 17, 10, 0.32);
    text-wrap: balance;
  }

  .hero__tagline span {
    white-space: normal;
  }

  .hero__cta {
    position: absolute;
    top: 206px;
    right: 20px;
    left: auto;
    width: min(43vw, 184px);
    min-width: 0;
    min-height: 38px;
    margin: 0;
    padding: 0 12px;
    border-color: rgba(255, 241, 237, 0.5);
    background: rgba(255, 245, 239, 0.09);
    font-size: 12px;
    line-height: 1.08;
    text-align: center;
    box-shadow: none;
    z-index: 3;
  }

  .about__player {
    display: none;
  }

  .about__mark {
    max-width: 220px;
    margin: 0 auto;
    transform: translateY(26px);
  }

  .courts-section__copy {
    margin-top: -10px;
    margin-bottom: -6px;
  }

  .product {
    text-align: center;
  }

  .product h3,
  .product p {
    width: min(280px, 100%);
  }

  .membership__image,
  .about__player,
  .about__court,
  .courts-section__image {
    justify-self: stretch;
  }

  .footer__logo {
    width: min(56vw, 240px);
    margin-bottom: 12px;
    margin-left: auto;
  }

  .footer__text {
    max-width: 452px;
  }

  .footer__frame {
    position: relative;
    isolation: isolate;
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding: 34px 14px 24px;
    background:
      linear-gradient(180deg, rgba(77, 37, 20, 0.68) 0%, rgba(58, 27, 15, 0.86) 100%),
      url("assets/footer-bg.webp") center center / cover no-repeat;
    overflow: hidden;
  }

  .footer__frame::before {
    content: "";
    position: absolute;
    inset: 0 0 28% 0;
    background:
      linear-gradient(180deg, rgba(98, 54, 32, 0.08) 0%, rgba(98, 54, 32, 0.18) 18%, rgba(43, 18, 10, 0.22) 100%),
      url("assets/footer-bg.webp") center top / cover no-repeat;
    pointer-events: none;
    z-index: 0;
  }

  .footer__frame::after {
    content: "";
    position: absolute;
    inset: 26% 0 0 0;
    background:
      linear-gradient(180deg, rgba(82, 39, 22, 0.14) 0%, rgba(43, 18, 10, 0.28) 100%),
      url("assets/footer-bg-rotated.webp") center bottom / cover no-repeat;
    pointer-events: none;
    z-index: 0;
  }

  .footer__brand,
  .footer__form-card {
    position: relative;
    z-index: 1;
  }

  .footer__links {
    margin-top: 0;
    gap: 10px;
  }

  .footer__link {
    font-size: 16px;
  }

  .footer__contact-stack {
    gap: 16px;
    padding-bottom: 0;
  }

  .footer__form-card {
    padding: 22px 16px 18px;
    border: 1px solid rgba(255, 239, 231, 0.16);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(177, 106, 67, 0.96) 0%, rgba(153, 88, 52, 0.97) 100%);
    box-shadow: 0 14px 32px rgba(29, 12, 7, 0.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .footer__form-title {
    font-size: clamp(40px, 9vw, 58px);
  }

  .footer__text {
    width: 100%;
    font-size: clamp(28px, 7vw, 34px);
    line-height: 1;
    margin-top: 24px;
  }

  .visit-form__grid {
    grid-template-columns: 1fr;
  }

  .visit-form__field input,
  .visit-form__field textarea,
  .visit-form__submit {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .visit-form__field input,
  .visit-form__field textarea {
    border-color: rgba(255, 241, 237, 0.16);
    background: rgba(255, 245, 239, 0.08);
  }

  .visit-form__submit {
    min-height: 54px;
    border-color: rgba(255, 241, 237, 0.46);
    background: rgba(255, 245, 239, 0.08);
    box-shadow: none;
  }
}
