/* =========================================================
   MIZU
   ========================================================= */

:root {
  --navy-dark: #050a2e;
  --navy: #0d1647;
  --navy-light: #3a4577;

  --bg: #f4f7fd;
  --bg-light: #fafbff;

  --accent: #8fa3d1;
  --accent-light: #c3cfe9;

  --text: #14172b;

  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Jost", Arial, sans-serif;
}


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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: var(--bg);
  color: var(--text);

  font-family: var(--body);
  line-height: 1.6;
}

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


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.site {
  display: flex;
  min-height: 100vh;
}


/* =========================================================
   SIDEBAR
   ========================================================= */
.sidebar {
  width: 260px;
  min-height: 100vh;

  padding: 42px 28px 28px;

  display: flex;
  flex-direction: column;

  background: var(--navy-dark);
  color: var(--bg);

  flex-shrink: 0;
}


/* BRAND */

.brand {
  margin-bottom: 55px;
}

.brand {
  text-align: center;
}

.brand-symbol {
  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 18px;

  font-family: var(--display);
  font-size: 42px;
  font-style: italic;
}

.brand h1 {
  margin: 0;

  color: var(--bg);

  font-family: var(--display);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.brand p {
  margin: 8px 0 0;

  color: var(--accent-light);

  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


/* NAVIGATION */

.navigation {
  display: flex;
  flex-direction: column;

  gap: 5px;
}

.nav-link {
  display: flex;
  align-items: center;

  gap: 14px;

  padding: 12px 10px;

  color: var(--bg);

  font-size: 14px;

  border-left: 2px solid transparent;

  opacity: 0.65;

  transition: 0.2s ease;
}

.nav-link span {
  width: 22px;

  color: var(--accent);

  font-size: 10px;
  letter-spacing: 1px;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link.active {
  opacity: 1;

  background: rgba(255, 255, 255, 0.05);

  border-left-color: var(--accent);
}


/* SIDEBAR FOOTER */

.sidebar-bottom {
  margin-top: auto;

  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-bottom p {
  margin: 0;

  color: rgba(255, 255, 255, 0.4);

  font-size: 11px;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.content {
  flex: 1;

  min-width: 0;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 600px;

  padding: 80px 8%;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;

  gap: 80px;
}


/* Hero without a card: use the full width */
.hero:not(:has(.hero-card)) {
  grid-template-columns: 1fr;
}


/* HERO TEXT */

.eyebrow {
  margin: 0 0 18px;

  color: var(--navy-light);

  font-size: 11px;
  font-weight: 500;

  letter-spacing: 2px;
}

.hero h2 {
  margin: 0 0 28px;

  color: var(--navy-dark);

  font-family: var(--display);
  font-size: clamp(55px, 6vw, 90px);
  font-weight: 500;
  line-height: 0.88;
}

.hero h2 em {
  color: var(--accent);
  font-weight: 400;
}

.hero-description {
  max-width: 470px;

  margin: 0 0 32px;

  color: #5a607a;

  font-size: 15px;
  font-weight: 300;
}


/* BUTTONS */

.buttons {
  display: flex;
  align-items: center;

  gap: 15px;
}

.button {
  display: inline-block;

  padding: 12px 22px;

  font-size: 13px;

  transition: 0.2s ease;
}

.button.primary {
  background: var(--navy-dark);
  color: var(--bg);
}

.button.primary:hover {
  background: var(--navy);
}

.button.secondary {
  color: var(--navy-dark);

  border-bottom: 1px solid var(--accent);
}


/* =========================================================
   HERO CARD
   ========================================================= */

.hero-card {
  min-height: 430px;

  padding: 28px;

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

  background: var(--navy);

  color: var(--bg);
}


.card-top {
  display: flex;
  justify-content: space-between;

  color: var(--accent-light);

  font-size: 10px;
  letter-spacing: 2px;
}


.card-circle {
  width: 190px;
  height: 190px;

  margin: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--accent);

  border-radius: 50%;

  color: var(--bg);

  font-family: var(--display);
  font-size: 110px;
  font-style: italic;
}


.card-bottom {
  display: flex;
  flex-direction: column;

  color: var(--bg);

  font-family: var(--display);
  font-size: 24px;
  line-height: 1.05;
}


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

#contactinfo {
  min-height: auto !important;
  padding-bottom: 40px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 80px;

  padding: 70px 8%;

  border-top: 1px solid var(--accent-light);
}

.about h3 {
  margin: 0;

  color: var(--navy-dark);

  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  line-height: 0.95;
}

.about h3 em {
  color: var(--accent);
  font-weight: 400;
}

.about > p {
  max-width: 500px;

  margin: 20px 0 0;

  color: #5d637c;

  font-size: 15px;
  font-weight: 300;
}

.external_link {
  transition: opacity 0.3s ease, background 0.3s ease, text-shadow 0.3s ease;
}

.external_link:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  text-shadow: 0 0 12px rgba(143, 163, 209, 0.8);
}

/* Highlighted words inside about text */
.about > p b {
  color: var(--navy-dark);
  font-weight: 500;
}

.about > p .external_link {
  color: var(--navy-dark);
  font-weight: 400;
  border-bottom: 1px solid var(--accent);
}

/* Team list */
.team {
  max-width: 500px;

  margin: 20px 0 0;
  padding: 0;

  list-style: none;
}

.team li {
  display: flex;
  flex-direction: column;

  gap: 2px;

  padding: 14px 0;

  border-bottom: 1px solid var(--accent-light);
}

.team li:first-child {
  padding-top: 0;
}

.team li:last-child {
  border-bottom: none;
}

.team .role {
  color: var(--navy-light);

  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.team .name {
  color: var(--navy-dark);

  font-family: var(--display);
  font-size: 26px;
  line-height: 1.1;
}


/* =========================================================
   STATS
   ========================================================= */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  margin: 0 8% 80px;

  border-top: 1px solid var(--accent-light);
  border-bottom: 1px solid var(--accent-light);
}

.stat {
  padding: 30px;

  border-right: 1px solid var(--accent-light);
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  color: var(--navy-dark);

  font-family: var(--display);
  font-size: 55px;
  font-weight: 500;
  line-height: 1;
}

.stat span {
  margin-left: 5px;

  color: var(--accent);

  font-size: 10px;
  letter-spacing: 1.5px;
}

.stat p {
  margin: 8px 0 0;

  color: #6e7490;

  font-size: 12px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

  .sidebar {
    width: 210px;
  }

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

    padding: 60px 6%;

    gap: 50px;
  }

  .hero-card {
    min-height: 350px;
  }

  .about {
    grid-template-columns: 1fr;

    gap: 20px;
  }

}


@media (max-width: 600px) {

  .site {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    min-height: auto;

    padding: 25px;
  }

  .brand {
    margin-bottom: 25px;
  }

  .navigation {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-bottom {
    display: none;
  }

  .hero {
    padding: 50px 25px;
  }

  .hero h2 {
    font-size: 58px;
  }

  .about {
    padding: 50px 25px;
  }

  .stats {
    grid-template-columns: 1fr;

    margin: 0 25px 50px;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--accent-light);
  }

  .stat:last-child {
    border-bottom: none;
  }

}


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

.hero-compact {
  min-height: auto;
  padding-bottom: 40px;
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;

  padding: 60px 8%;

  border-top: 1px solid var(--accent-light);
}

.contact-item {
  margin-bottom: 36px;
}

.contact-item .eyebrow {
  margin-bottom: 10px;
}

.contact-item a {
  display: block;

  width: fit-content;
  margin-bottom: 6px;

  color: var(--navy-dark);

  font-family: var(--display);
  font-size: 26px;
  line-height: 1.2;

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

  transition: 0.2s ease;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-note {
  max-width: 340px;
  margin: 0;

  color: #5a607a;

  font-size: 15px;
  font-weight: 300;
}


/* FORM */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;

  color: var(--navy-light);

  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 13px 14px;

  background: var(--bg-light);
  color: var(--text);

  border: 1px solid var(--accent-light);
  border-radius: 0;

  font-family: var(--body);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;

  transition: 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.contact-form .button {
  align-self: flex-start;

  border: none;
  cursor: pointer;

  font-family: var(--body);
}

.closing-line {
  margin: 0;
  padding: 50px 8% 80px;

  border-top: 1px solid var(--accent-light);

  color: var(--navy-dark);

  font-family: var(--display);
  font-size: 34px;
  text-align: center;
}

.closing-line em {
  color: var(--accent);
}

@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .contact {
    padding: 50px 25px;
  }

  .closing-line {
    font-size: 26px;
  }
}


/* =========================================================
   PRODUCTS PAGE
   ========================================================= */

.card-circle-text {
  font-size: 50px;
}

.products {
  padding: 70px 8%;

  border-top: 1px solid var(--accent-light);
}

.section-head {
  margin-bottom: 45px;
}

.section-head h3 {
  margin: 0;

  color: var(--navy-dark);

  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  line-height: 0.95;
}

.section-head h3 em {
  color: var(--accent);
  font-weight: 400;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.product-card .eyebrow {
  margin: 20px 0 6px;
}

.product-card h4 {
  margin: 0 0 8px;

  color: var(--navy-dark);

  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.product-text {
  margin: 0 0 18px;

  color: #5a607a;

  font-size: 14px;
  font-weight: 300;
}

.product-image {
  aspect-ratio: 4 / 5;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--bg-light);

  border: 1px dashed var(--accent);

  color: var(--accent);

  font-size: 11px;
  letter-spacing: 2px;
}

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

  padding-top: 14px;

  border-top: 1px solid var(--accent-light);
}

.product-price {
  color: var(--navy-dark);

  font-family: var(--display);
  font-size: 24px;
}

.product-bottom .button {
  padding: 4px 0;
}


/* APP */

.app {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;

  gap: 60px;

  margin: 0 8% 70px;
  padding: 60px;

  background: var(--navy);
  color: var(--bg);
}

.app .eyebrow {
  color: var(--accent-light);
}

.app h3 {
  margin: 0 0 20px;

  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  line-height: 0.95;
}

.app h3 em {
  color: var(--accent);
  font-weight: 400;
}

.app-text > p:not(.eyebrow) {
  max-width: 430px;

  margin: 0 0 30px;

  color: var(--accent-light);

  font-size: 15px;
  font-weight: 300;
}

.button.store {
  border: 1px solid var(--accent);

  color: var(--bg);
}

.button.store:hover {
  background: rgba(255, 255, 255, 0.08);
}

.app-phone {
  width: 100%;
  max-width: 260px;

  margin: 0 auto;

  overflow: hidden;

  border: 1px solid var(--accent);
  border-radius: 28px;

  background: var(--bg);
}

.app-phone img {
  display: block;

  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app {
    grid-template-columns: 1fr;

    padding: 45px;
  }
}

@media (max-width: 600px) {
  .products {
    padding: 50px 25px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .section-head h3,
  .app h3 {
    font-size: 38px;
  }

  .app {
    margin: 0 25px 50px;
    padding: 35px 25px;
  }
}


/* =========================================================
   SMOOTH PAGE TRANSITIONS
   ========================================================= */

@view-transition {
  navigation: auto;
}

/* Sidebar stays put, only the content fades */
.sidebar {
  view-transition-name: sidebar;
}

.content {
  view-transition-name: content;
}

/* Keep the sidebar perfectly still (no cross-fade flicker) */
::view-transition-old(sidebar) {
  display: none;
}

::view-transition-new(sidebar) {
  animation: none;
}

/* Pages have different heights and scroll offsets: don't morph the
   box between them (that caused the stretch / jump), just fade. */
::view-transition-group(content) {
  animation: none;
  overflow: clip;
}

::view-transition-old(content),
::view-transition-new(content) {
  height: auto;
  width: 100%;
  object-fit: none;
  object-position: top;
}

::view-transition-old(content) {
  animation: page-out 0.22s ease-in both;
}

::view-transition-new(content) {
  animation: page-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

@keyframes page-out {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}


/* =========================================================
   INTERACTIONS
   ========================================================= */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;

  width: 100%;
  height: 3px;

  background: linear-gradient(90deg, var(--accent), var(--navy));

  transform: scaleX(0);
  transform-origin: left;

  pointer-events: none;
}

/* Sticky sidebar on desktop */
@media (min-width: 601px) {
  .sidebar {
    position: sticky;
    top: 0;

    height: 100vh;
  }
}

/* Logo */
.logo {
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-symbol:hover .logo {
  transform: rotate(-8deg) scale(1.06);
}

/* Navigation */
.nav-link {
  position: relative;
}

.nav-link:hover {
  padding-left: 16px;

  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active:hover {
  padding-left: 10px;
}

/* Buttons */
.button {
  position: relative;
  overflow: hidden;
}

.button.primary:hover {
  transform: translateY(-2px);

  box-shadow: 0 10px 24px -10px rgba(5, 10, 46, 0.55);
}

.button.primary:active {
  transform: translateY(0);
}

.button.secondary {
  border-bottom-color: transparent;

  background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1px no-repeat;

  transition: background-size 0.3s ease, color 0.2s ease, letter-spacing 0.3s ease;
}

.button.secondary:hover {
  color: var(--navy);

  background-size: 100% 100%;
  background-image: linear-gradient(var(--accent-light), var(--accent-light));
}

.button.store:hover {
  transform: translateY(-2px);
}

/* Click ripple */
.ripple {
  position: absolute;

  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: rgba(195, 207, 233, 0.55);

  transform: translate(-50%, -50%) scale(0);

  animation: ripple 0.6s ease-out forwards;

  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: translate(-50%, -50%) scale(40);
    opacity: 0;
  }
}

/* External link hover (was a white glow on a light background) */
.about > p .external_link {
  background: linear-gradient(var(--accent-light), var(--accent-light)) left bottom / 100% 0 no-repeat;

  transition: background-size 0.3s ease;
}

.about > p .external_link:hover {
  background-size: 100% 100%;
  text-shadow: none;
}

/* Hero: animated water waves */
.hero {
  position: relative;
  overflow: hidden;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-waves {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;

  height: 110px;

  pointer-events: none;
}

.hero-waves svg {
  position: absolute;
  bottom: 0;
  left: 0;

  width: 200%;
  height: 100%;

  animation: wave 14s linear infinite;
}

.hero-waves svg + svg {
  opacity: 0.5;

  animation-duration: 22s;
  animation-direction: reverse;
}

@keyframes wave {
  to {
    transform: translateX(-50%);
  }
}

/* Hero entrance */
.hero-text > * {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.hero-text > :nth-child(2) { animation-delay: 0.08s; }
.hero-text > :nth-child(3) { animation-delay: 0.16s; }
.hero-text > :nth-child(4) { animation-delay: 0.24s; }

.hero-card {
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* Hero card: 3D tilt + glare */
.hero-card {
  position: relative;
  overflow: hidden;

  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));

  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.hero-card:hover {
  box-shadow: 0 30px 60px -25px rgba(5, 10, 46, 0.6);

  transition: transform 0.1s linear, box-shadow 0.4s ease-out;
}

.hero-card::after {
  content: "";

  position: absolute;
  inset: 0;

  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(195, 207, 233, 0.22), transparent 55%);

  opacity: 0;

  transition: opacity 0.3s ease;

  pointer-events: none;
}

.hero-card:hover::after {
  opacity: 1;
}

.card-circle {
  position: relative;
}

.card-circle::before,
.card-circle::after {
  content: "";

  position: absolute;
  inset: -1px;

  border: 1px solid var(--accent);
  border-radius: 50%;

  animation: pulse-ring 3.6s ease-out infinite;
}

.card-circle::after {
  animation-delay: 1.8s;
}

@keyframes pulse-ring {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  to {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* Scroll reveal (only applied when JS is running) */
.js .reveal {
  opacity: 0;

  transform: translateY(30px);

  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;

  transform: none;
}

/* Team list */
.team li {
  transition: padding-left 0.3s ease, border-color 0.3s ease;
}

.team li:hover {
  padding-left: 12px;

  border-bottom-color: var(--accent);
}

.team li:last-child:hover {
  border-bottom-color: transparent;
}

.team .name {
  transition: color 0.3s ease;
}

.team li:hover .name {
  color: var(--accent);
}

/* Product cards */
.product-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-image {
  overflow: hidden;

  transition: border-color 0.3s ease, background 0.3s ease;
}

.product-image span {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-image img {
  display: block;

  max-width: 70%;
  max-height: 85%;

  object-fit: contain;
}

.product-card:hover .product-image {
  border-color: var(--navy);
  border-style: solid;

  background: #fff;
}

.product-card:hover .product-image span {
  transform: scale(1.06) rotate(-2deg);
}

/* Expandable product description */
.product-text.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;

  overflow: hidden;
}

.read-more {
  margin: -10px 0 18px;
  padding: 0;

  background: none;
  border: none;

  color: var(--navy-dark);

  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 1px;

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

  cursor: pointer;
}

/* App phone float */
.app-phone {
  animation: float 6s ease-in-out infinite;

  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.6);
}

@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}

/* Stats */
.stat {
  transition: background 0.3s ease;
}

.stat:hover {
  background: var(--bg-light);
}

/* Contact form */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(143, 163, 209, 0.25);
}

.contact-form .button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.char-count {
  align-self: flex-end;

  color: var(--accent);

  font-size: 10px;
  letter-spacing: 1px;
}

.form-status {
  margin: 0;

  font-size: 14px;
  font-weight: 300;
}

.form-status.success {
  color: var(--navy);
}

.form-status.error {
  color: #a33a3a;
}

/* Hydration calculator */
.calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 80px;

  padding: 70px 8%;

  border-top: 1px solid var(--accent-light);
}

.calculator h3 {
  margin: 0 0 20px;

  color: var(--navy-dark);

  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  line-height: 0.95;
}

.calculator h3 em {
  color: var(--accent);
  font-weight: 400;
}

.calc-controls {
  display: flex;
  flex-direction: column;

  gap: 26px;

  max-width: 420px;
}

.calc-controls label {
  display: flex;
  flex-direction: column;

  gap: 10px;

  color: var(--navy-light);

  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.calc-controls output {
  color: var(--navy-dark);

  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
}

.calc-controls input[type="range"] {
  width: 100%;

  accent-color: var(--navy);

  cursor: pointer;
}

.activity {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;
}

.activity button {
  padding: 8px 14px;

  background: transparent;
  color: var(--navy-dark);

  border: 1px solid var(--accent-light);

  font-family: var(--body);
  font-size: 13px;

  cursor: pointer;

  transition: 0.2s ease;
}

.activity button:hover {
  border-color: var(--accent);
}

.activity button[aria-pressed="true"] {
  background: var(--navy-dark);
  color: var(--bg);

  border-color: var(--navy-dark);
}

.calc-result {
  display: flex;
  align-items: center;

  gap: 40px;
}

.bottle-meter {
  position: relative;

  width: 110px;
  height: 230px;

  flex-shrink: 0;

  overflow: hidden;

  border: 1px solid var(--accent);
  border-radius: 34px 34px 22px 22px;

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

.bottle-meter::before {
  content: "";

  position: absolute;
  top: -1px;
  left: 50%;
  z-index: 2;

  width: 44px;
  height: 14px;

  background: var(--accent-light);

  transform: translateX(-50%);

  border-radius: 0 0 4px 4px;
}

.bottle-fill {
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: var(--fill, 50%);

  background: linear-gradient(180deg, var(--accent), var(--navy));

  transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.bottle-fill::before {
  content: "";

  position: absolute;
  top: -10px;
  left: 0;

  width: 200%;
  height: 20px;

  background: radial-gradient(circle at 10px -4px, transparent 12px, var(--accent) 13px) 0 0 / 20px 20px repeat-x;

  animation: wave 3s linear infinite;
}

.calc-numbers strong {
  display: block;

  color: var(--navy-dark);

  font-family: var(--display);
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
}

.calc-numbers strong small {
  margin-left: 4px;

  color: var(--accent);

  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 1.5px;
}

.calc-numbers p {
  margin: 10px 0 0;

  color: #5a607a;

  font-size: 14px;
  font-weight: 300;
}

.calc-numbers b {
  color: var(--navy-dark);
  font-weight: 500;
}

@media (max-width: 900px) {
  .calculator {
    grid-template-columns: 1fr;

    gap: 40px;
  }
}

@media (max-width: 600px) {
  .calculator {
    padding: 50px 25px;
  }

  .calc-result {
    gap: 25px;
  }

  .calc-numbers strong {
    font-size: 56px;
  }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after,
  ::view-transition-old(content),
  ::view-transition-new(content) {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-card {
    transform: none;
  }
}

.activity button {
  position: relative;
  overflow: hidden;
}
