:root {
  --blue: #08a4de;
  --blue-deep: #007fb8;
  --ink: #10222d;
  --muted: #60737e;
  --pale: #eef8fc;
  --line: #dce8ed;
  --white: #ffffff;
  --side: max(24px, calc((100vw - 1180px) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, sans-serif;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-color: rgb(16 34 45 / 8%);
  background: rgb(255 255 255 / 90%);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1380px, calc(100% - 48px));
  height: 96px;
  margin-inline: auto;
}

.brand {
  width: 212px;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.global-nav a {
  position: relative;
}

.global-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.global-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.global-nav span {
  margin-right: 7px;
  color: var(--blue);
  font-size: 10px;
}

.nav-contact {
  padding: 14px 22px;
  color: var(--white);
  background: var(--ink);
  transition: background-color 0.2s ease;
}

.nav-contact:hover {
  background: var(--blue);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  height: 100svh;
  overflow: hidden;
  background: linear-gradient(110deg, #fff 0%, #f8fbfd 60%, #ecf8fc 100%);
  place-items: center;
}

.hero::after {
  position: absolute;
  top: 0;
  right: -18vw;
  width: 55vw;
  height: 100%;
  content: "";
  opacity: 0.92;
  background: var(--blue);
  clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-grid {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.4;
  background-image: linear-gradient(rgb(8 164 222 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(8 164 222 / 8%) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
}

.hero-copy {
  padding-top: 64px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--blue);
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1.25;
}

.hero h1 span {
  position: relative;
  z-index: 1;
  color: var(--blue);
}

.hero h1 span::after {
  position: absolute;
  z-index: -1;
  right: -8px;
  bottom: 0.08em;
  left: -4px;
  height: 0.14em;
  content: "";
  background: rgb(8 164 222 / 13%);
}

.hero-lead {
  margin: 28px 0 38px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  border-bottom: 1px solid var(--ink);
  padding: 0 2px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.text-link span {
  color: var(--blue);
}

.hero-mark {
  position: relative;
  z-index: 4;
  justify-self: end;
  width: min(470px, 38vw);
  color: var(--white);
}

.mark-letter {
  font-size: clamp(250px, 32vw, 470px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.16em;
  line-height: 0.75;
  opacity: 0.22;
}

.hero-mark p {
  position: absolute;
  right: 0;
  bottom: -45px;
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.8;
  text-align: right;
}

.hero-orbit {
  position: absolute;
  z-index: 2;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 50%;
}

.hero-orbit-one {
  top: -280px;
  right: -130px;
  width: 760px;
  height: 760px;
}

.hero-orbit-two {
  right: 80px;
  bottom: -240px;
  width: 520px;
  height: 520px;
}

.hero-foot {
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.24em;
  transform: rotate(90deg);
  transform-origin: left center;
}

.hero-foot i {
  display: block;
  width: 54px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.hero-foot i::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--blue);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

.section {
  padding: 140px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 8vw;
}

.section-number {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section-label {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.about-copy h2,
.section-heading h2,
.company-heading h2 {
  margin: 0;
  font-size: clamp(36px, 4.8vw, 66px);
  letter-spacing: -0.05em;
  line-height: 1.35;
}

.about-copy p {
  max-width: 620px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 0.045em;
  line-height: 2.2;
}

.business {
  background: var(--pale);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 70px;
}

.business-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.business-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 20px 70px rgb(24 81 106 / 8%);
}

.card-visual {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.fitness-card .card-visual {
  background: var(--blue);
}

.food-card .card-visual {
  background: var(--ink);
}

.visual-number {
  position: absolute;
  top: 22px;
  right: 26px;
  color: rgb(255 255 255 / 85%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.motion-line {
  position: absolute;
  left: 50%;
  display: block;
  width: 105%;
  height: 54px;
  border: 2px solid rgb(255 255 255 / 40%);
  transform: translateX(-50%) skewX(-35deg) rotate(-12deg);
}

.line-one { top: 54px; }
.line-two { top: 132px; border-width: 8px; border-color: #fff; }
.line-three { top: 220px; }

.plate {
  position: absolute;
  display: block;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 50%;
}

.plate::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48%;
  height: 48%;
  border: 14px solid var(--blue);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.plate-large {
  top: -100px;
  left: 55px;
  width: 410px;
  height: 410px;
}

.plate-small {
  right: -55px;
  bottom: -95px;
  width: 220px;
  height: 220px;
}

.plate-small::after {
  border-width: 8px;
}

.card-copy {
  padding: 38px 42px 44px;
}

.card-copy p {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.card-copy h3 {
  margin: 0 0 18px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.card-copy span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.company-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 8vw;
}

.company-heading h2 {
  margin-top: 46px;
}

.company-details {
  margin: 0;
  border-top: 1px solid var(--ink);
}

.company-details > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
}

.company-details dt {
  font-size: 13px;
  font-weight: 700;
}

.company-details dd {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.035em;
  line-height: 1.9;
}

.map-link {
  display: inline-block;
  margin-top: 12px;
  border-bottom: 1px solid var(--blue);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  color: var(--white);
  background: var(--blue);
}

.contact-shape {
  position: absolute;
  top: 50%;
  right: 5vw;
  font-size: min(48vw, 680px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.18em;
  line-height: 0.6;
  opacity: 0.1;
  transform: translateY(-50%);
}

.contact-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-inner > p {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.contact h2 {
  margin: 0 0 48px;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.04em;
}

.contact a {
  position: relative;
  display: grid;
  width: min(570px, 100%);
  margin-inline: auto;
  border: 1px solid rgb(255 255 255 / 48%);
  padding: 28px 70px 30px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.contact a:hover {
  color: var(--blue);
  background: var(--white);
}

.contact a small {
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 700;
}

.contact a strong {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.04em;
}

.contact-icon {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 21px;
}

.site-footer {
  padding: 64px 0 34px;
  color: rgb(255 255 255 / 66%);
  background: var(--ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.footer-brand {
  width: 200px;
  padding: 12px 14px;
  background: var(--white);
}

.site-footer p {
  grid-column: 1;
  margin: 28px 0 0;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.site-footer small {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .header-inner {
    height: 78px;
  }

  .brand {
    width: 174px;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    border: 0;
    padding: 12px 8px;
    background: transparent;
    cursor: pointer;
    place-content: center;
    gap: 7px;
  }

  .menu-button span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    padding: 100px 9vw 50px;
    visibility: hidden;
    opacity: 0;
    background: rgb(255 255 255 / 98%);
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .global-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .global-nav a {
    font-size: 22px;
  }

  .global-nav span {
    font-size: 11px;
  }

  .nav-contact {
    width: 100%;
    margin-top: 12px;
    text-align: center;
  }

  .hero {
    min-height: 700px;
  }

  .hero::after {
    right: -36vw;
    width: 77vw;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    position: absolute;
    right: -20vw;
    width: 55vw;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .about-grid,
  .company-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .business-list {
    gap: 16px;
  }

  .card-visual {
    height: 250px;
  }

  .card-copy {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .container,
  .header-inner {
    width: calc(100% - 40px);
  }

  .hero {
    min-height: 680px;
  }

  .hero::after {
    top: auto;
    right: -35vw;
    bottom: 0;
    width: 105vw;
    height: 35%;
    clip-path: polygon(33% 0, 100% 0, 100% 100%, 0 100%);
  }

  .hero-grid {
    background-size: 40px 40px;
  }

  .hero-copy {
    align-self: start;
    padding-top: 150px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 62px);
    line-height: 1.32;
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 14px;
  }

  .hero-mark {
    right: -16vw;
    bottom: 8vh;
    width: 70vw;
  }

  .mark-letter {
    font-size: 71vw;
  }

  .hero-mark p {
    right: 12vw;
    bottom: -18px;
    font-size: 8px;
  }

  .hero-foot {
    display: none;
  }

  .section {
    padding: 92px 0;
  }

  .about-grid,
  .company-grid {
    gap: 38px;
  }

  .about-copy h2,
  .section-heading h2,
  .company-heading h2 {
    font-size: 38px;
  }

  .about-copy p {
    margin-top: 28px;
    font-size: 14px;
    line-height: 2.05;
  }

  .section-heading {
    display: block;
    margin-bottom: 38px;
  }

  .section-heading h2 {
    margin-top: 28px;
  }

  .business-list {
    grid-template-columns: 1fr;
  }

  .card-visual {
    height: 220px;
  }

  .plate-large {
    left: 28px;
  }

  .card-copy {
    padding: 28px 26px 32px;
  }

  .company-heading h2 {
    margin-top: 28px;
  }

  .company-details > div {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 23px 4px;
  }

  .company-details dt {
    color: var(--blue-deep);
    font-size: 11px;
  }

  .contact {
    padding: 88px 0;
  }

  .contact h2 {
    margin-bottom: 34px;
  }

  .contact a {
    padding: 24px 42px 26px;
  }

  .contact-icon {
    top: 16px;
    right: 18px;
  }

  .footer-inner {
    display: block;
  }

  .footer-brand {
    width: 180px;
  }

  .site-footer p {
    max-width: 300px;
    line-height: 1.8;
  }

  .site-footer small {
    display: block;
    margin-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
