@charset "UTF-8";

@property --bg {
  syntax: "<color>";
  inherits: false;
  initial-value: #F0EEE9;
}

:root {
  --primary: #E05A45;
  --secondary: #0f0a04;
  --text: #0f0a04;
  --text-h: #08060d;
  --bg: #F0EEE9;
  --border: #e5e4e7;
  --code-bg: #f4f3ec;
  --accent: #aa3bff;
  --accent-bg: rgba(170, 59, 255, 0.1);
  --accent-border: rgba(170, 59, 255, 0.5);
  --social-bg: rgba(244, 243, 236, 0.5);
  --shadow:
    rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;

  --sans: "Montserrat";
  --heading: "Crafter Rough";
  --nav-display: "Bebas Neue";
  --mono: "Orbitron";

  font: 18px/145% var(--sans);
  letter-spacing: 0.18px;
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  @media (max-width: 1024px) {
    font-size: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #16171d;
    --border: #2e303a;
    --code-bg: #1f2028;
    --accent: #c084fc;
    --accent-bg: rgba(192, 132, 252, 0.15);
    --accent-border: rgba(192, 132, 252, 0.5);
    --social-bg: rgba(47, 48, 58, 0.5);
    --shadow:
      rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
  }

  #social .button-icon {
    filter: invert(1) brightness(2);
  }
}

/* Give the page nice wide margins on both sides with these two rules
 * This makes the text 75% of the total width, and the left margin a bit wider than the right one.
 */
body {
   padding-top: 18px;
  margin-left: 15%;
  margin-right: 10%;
  background-color: #F0EEE9;
  color: #1F3A5F;
  width: 60%;
  font-family: "Montserrat";
     text-align: center;
}

/* Homepage: full-width layout for header + hero graphics */
body:has(.home-hero) {
  --header-top-gap: 1.125rem; /* 18px — restores space above header red line */
  margin: 0;
  padding-top: var(--header-top-gap);
  width: 100%;
  max-width: 100%;
  text-align: initial;
  overflow-x: hidden;
  overflow-y: visible;
}

body:has(.home-hero) > header {
  top: var(--header-top-gap);
}

h1,
h2 {
  font-family: var(--heading);
  font-weight: 500;
  color: var(--text-h);
}

h1 {

     color: #4A6FAF;
   font-family: "Crafter Rough";
    font-weight: 700;
    font-size: 2.5rem;
  }

h2 {
  font-size: 24px;
  line-height: 118%;
  letter-spacing: -0.24px;
  margin: 0 0 8px;
  @media (max-width: 1024px) {
    font-size: 20px;
  }
}

/* the indent of the first line of most paragraphs is set to 1.8 em
 */
p {
   text-indent: 1.8rem;
  font-family: "Montserrat";
  font-weight: 400;

}

.index-glass-card__title {
  font-family: "Crafter Rough";
  text-indent: 0;
  font-weight: 600;
}

code,
.counter {
  font-family: var(--mono);
  display: inline-flex;
  border-radius: 4px;
  color: var(--text-h);
}

code {
  font-size: 15px;
  line-height: 135%;
  padding: 4px 8px;
  background: var(--code-bg);
}

.counter {
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--accent);
  background: var(--accent-bg);
  border: 2px solid transparent;
  transition: border-color 0.3s;
  margin-bottom: 24px;

  &:hover {
    border-color: var(--accent-border);
  }
  &:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
}

.hero {
  position: relative;

  .base,
  .framework,
  .vite {
    inset-inline: 0;
    margin: 0 auto;
  }

  .base {
    width: 170px;
    position: relative;
    z-index: 0;
  }

  .framework,
  .vite {
    position: absolute;
  }

  .framework {
    z-index: 1;
    top: 34px;
    height: 28px;
    transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg)
      scale(1.4);
  }

  .vite {
    z-index: 0;
    top: 107px;
    height: 26px;
    width: auto;
    transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg)
      scale(0.8);
  }
}

#app {
  width: 1126px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  border-inline: 1px solid var(--border);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

#center {
  display: flex;
  flex-direction: column;
  gap: 25px;
  place-content: center;
  place-items: center;
  flex-grow: 1;

  @media (max-width: 1024px) {
    padding: 32px 20px 24px;
    gap: 18px;
  }
}

#next-steps {
  display: flex;
  border-top: 1px solid var(--border);
  text-align: left;

  & > div {
    flex: 1 1 0;
    padding: 32px;
    @media (max-width: 1024px) {
      padding: 24px 20px;
    }
  }

  .icon {
    margin-bottom: 16px;
    width: 22px;
    height: 22px;
  }

  @media (max-width: 1024px) {
    flex-direction: column;
    text-align: center;
  }
}

#docs {
  border-right: 1px solid var(--border);

  @media (max-width: 1024px) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

#next-steps ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 8px;
  margin: 32px 0 0;

  .logo {
    height: 18px;
  }

  a {
    color: var(--text-h);
    font-size: 16px;
    border-radius: 6px;
    background: var(--social-bg);
    display: flex;
    padding: 6px 12px;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: box-shadow 0.3s;

    &:hover {
      box-shadow: var(--shadow);
    }
    .button-icon {
      height: 18px;
      width: 18px;
    }
  }

  @media (max-width: 1024px) {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;

    li {
      flex: 1 1 calc(50% - 8px);
    }

    a {
      width: 100%;
      justify-content: center;
      box-sizing: border-box;
    }
  }
}

#spacer {
  height: 88px;
  border-top: 1px solid var(--border);
  @media (max-width: 1024px) {
    height: 48px;
  }
}

.ticks {
  position: relative;
  width: 100%;

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: -4.5px;
    border: 5px solid transparent;
  }

  &::before {
    left: 0;
    border-left-color: var(--border);
  }
  &::after {
    right: 0;
    border-right-color: var(--border);
  }
}

/* Use floating elements instead of tables */
DIV.menu { 
  float: right;
  width: 15rem;
}

pre {
  margin-left: 1.8rem;
}


.logo {
  padding-top: 88px;
 width: 80%;
    max-width: 600px;
    height: auto;
    display: block;
    margin-left: auto;
       

}

@media (max-width: 768px) {
    .logo {
        width: 90%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 95%;
        max-width: 300px;
    }
}




button {
    font-family: "Montserrat";
    font-weight: 400;
    background-color: #F0EEE9;
    border: 7px #E05A45 solid;
    border-radius: 20px;
    font-size: 0.8em;
}



.shadow-overlay {
  position: fixed;
  top: -1.5rem;
  right: -1.5rem;
  width: 100%;
  height: 110vh;
  background: linear-gradient(225deg, rgba(54, 16, 12, 0.25) 33%, transparent 0%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 9999;
}





:root {
  --primary: #E05A45;
  --secondary: #0f0a04;
  --bg: #F0EEE9;
  --text: #0f0a04;
  --fixed-header-offset: 11rem; /* updated by script.js from measured header height */
  --first-section-padding-top: calc(var(--fixed-header-offset) + 0.75rem);
}

html {
  overflow-y: scroll;
}



/* Brutalist card style */
.brutalist {
  background: var(--bg);
  color: #0f0a04;
  border-top: 1px solid var(--primary);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);

}

nav a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: var(--secondary);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav li {
  display: inline-flex;
  align-items: center;
}

nav i {
  font-size: 1.2rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

nav a:hover i {
  transform: scale(1.2);
  opacity: 0.7;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a.header-logo-link::after {
  display: none;
}

/* Match logo display height (h-6 = 1.5rem / 24px); slight optical bump for icon glyphs */
header nav ul i.header-social-icon {
  font-size: 1.5625rem;
  line-height: 1;
}

.contact-modal-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.contact-modal-trigger i {
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.25s ease;
}

.contact-modal-trigger:hover i {
  transform: scale(1.15) rotate(-6deg);
  opacity: 0.75;
}

body.contact-modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 4, 0.35);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.contact-modal.is-open .contact-modal__backdrop {
  opacity: 1;
}

.contact-modal.is-closing .contact-modal__backdrop {
  opacity: 0;
  transition-duration: 0.4s;
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 36rem);
  padding: 1.75rem 1.5rem 2.5rem;
  border-top: 1px solid var(--primary);
  border-radius: 10px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
  text-align: left;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(110%, 1.25rem, 0) rotate(3deg);
  will-change: transform, opacity;
}

.contact-modal.is-open .contact-modal__dialog {
  animation: contact-modal-sail-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.contact-modal.is-closing .contact-modal__dialog {
  animation: contact-modal-sail-out 0.55s cubic-bezier(0.55, 0, 0.68, 0.2) forwards;
}

@keyframes contact-modal-sail-in {
  0% {
    opacity: 0;
    transform: translate3d(110%, 1.25rem, 0) rotate(3deg);
  }
  55% {
    opacity: 1;
    transform: translate3d(-1.25rem, -0.35rem, 0) rotate(-0.6deg);
  }
  78% {
    transform: translate3d(0.65rem, 0.2rem, 0) rotate(0.35deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0);
  }
}

@keyframes contact-modal-sail-out {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0);
  }
  100% {
    opacity: 0;
    transform: translate3d(95%, 0.75rem, 0) rotate(2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-modal__dialog {
    transform: none;
    opacity: 1;
  }

  .contact-modal.is-open .contact-modal__dialog,
  .contact-modal.is-closing .contact-modal__dialog {
    animation: none;
    transition: opacity 0.2s ease;
  }

  .contact-modal:not(.is-open) .contact-modal__dialog {
    opacity: 0;
  }

  .contact-modal.is-open .contact-modal__dialog {
    opacity: 1;
  }

  .contact-modal.is-closing .contact-modal__dialog {
    opacity: 0;
  }
}

.contact-modal__layout {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.5rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
  padding-right: 2.75rem;
}

.contact-modal__image {
  width: auto;
  height: 100%;
  max-width: 12rem;
  object-fit: contain;
  object-position: center left;
}

.contact-modal__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 639px) {
  .contact-modal {
    padding: 1rem;
  }

  .contact-modal__dialog {
    width: 100%;
    max-width: 22rem;
    padding: 1.5rem 1.25rem 2.5rem;
  }

  .contact-modal__layout {
    grid-template-columns: 1fr;
    row-gap: 1rem;
    column-gap: 0;
    padding-right: 0;
    margin-bottom: 1.25rem;
  }

  .contact-modal__image {
    justify-self: center;
    width: auto;
    height: auto;
    max-width: 10rem;
    max-height: none;
  }

  .contact-modal__content {
    text-align: left;
  }

  .contact-modal__link {
    word-break: break-word;
  }
}

.contact-modal__close {
  position: absolute;
  bottom: 0.85rem;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: none;
  background: none;
  color: var(--primary);
  font-family: "Montserrat";
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-modal__close:hover {
  opacity: 0.7;
}

.contact-modal__label,
.contact-modal__link-wrap {
  margin: 0 0 0.5rem;
  font-family: "Montserrat";
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary);
}

#contact-modal-title {
  font-family: "Montserrat";
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-modal__link-wrap {
  margin-bottom: 0.6rem;
}

.contact-modal__content .contact-modal__link-wrap:last-of-type {
  margin-bottom: 0;
}

.contact-modal__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  color: #0f0a04;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-modal__link:hover {
  opacity: 0.75;
}

.contact-modal__link-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: currentColor;
}

/* Fade-in animation */
.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-section.visible {
  opacity: 1;
  transform: none;
}

/* Image hover effect */
.img-hover:hover {
  transform: scale(1.05) rotate(1deg);
}

/* Fix for Tailwind + CSS variable border */
.custom-border {
  border: 4px solid var(--primary);
}

/* Back-to-top button */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--secondary);
  transition: background 0.3s;
}

#back-to-top:hover {
  background: var(--secondary);
}

header {
  transition: transform 0.3s ease;

}

.header-hidden {
  transform: translateY(-130%);
}

/* Neumorphic nav — shared across site */
:root {
  --neu-bg: #f0f0f3;
  /* Grid item 1 — raised/default */
  --neu-raised-shadow:
    -8px -8px 24px 0 #fff,
    8px 8px 24px 0 rgba(174, 174, 192, 0.4);
  /* Grid item 3 — pressed/active */
  --neu-pressed-shadow:
    inset -8px -8px 8px 0 rgba(255, 255, 255, 0.7),
    inset 8px 8px 8px 0 rgba(174, 174, 192, 0.2);
  /* Grid item 2 — hover */
  --neu-hover-shadow:
    inset -8px -8px 8px 0 rgba(174, 174, 192, 0.25),
    inset 8px 8px 8px 0 #fff,
    -8px -8px 24px 0 #fff,
    8px 8px 24px 0 rgba(174, 174, 192, 0.4);
  --home-media-radius: 8px; /* matches neumorphic nav buttons */
  --nav-text: #1F3A5F;
  --nav-text-active: #1F3A5F;
  --nav-icon: rgba(224, 90, 69, 0.75);
  --nav-icon-active: #e05a45;
  --nav-logo-color: #e05a45;
}

.liquid-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 50;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(0.75rem, 2.5vw, 1.25rem);
  background: none;
  border: none;
  box-shadow: none;
}

.liquid-nav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 1vw, 0.5rem);
  width: min(100%, 80rem);
  max-width: 100%;
}

.liquid-glass-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 clamp(12px, 1.8vw, 16px);
  border: none;
  border-radius: 8px;
  overflow: visible;
  background: var(--neu-bg);
  box-shadow: var(--neu-raised-shadow);
  font-family: "Montserrat";
  font-size: clamp(0.6875rem, 1.6vw, 0.8125rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--nav-text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 0.2s ease, color 0.2s ease;
}

.liquid-glass-btn::before,
.liquid-glass-btn__glare {
  display: none;
}

.liquid-glass-btn > :not(.liquid-glass-btn__glare):not(.sr-only) {
  position: relative;
  z-index: 3;
}

.liquid-nav-bar a.liquid-glass-btn:not(.liquid-glass-btn--logo):not(.liquid-glass-btn--icon) {
  font-family: var(--nav-display);
  font-size: clamp(0.75rem, 1.8vw, 0.9375rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.liquid-nav-bar a.liquid-glass-btn:not(.liquid-glass-btn--logo):not(.liquid-glass-btn--icon),
.liquid-nav-bar a.liquid-glass-btn:not(.liquid-glass-btn--logo):not(.liquid-glass-btn--icon):hover,
.liquid-nav-bar a.liquid-glass-btn:not(.liquid-glass-btn--logo):not(.liquid-glass-btn--icon)[aria-current="page"] {
  color: #1F3A5F;
}

.liquid-nav-bar a.liquid-glass-btn:not(.liquid-glass-btn--logo):not(.liquid-glass-btn--icon):not([aria-current="page"]):hover {
  box-shadow: var(--neu-hover-shadow);
}

.liquid-nav-bar .liquid-glass-btn[aria-current="page"] {
  box-shadow: var(--neu-pressed-shadow);
  font-weight: 400;
}

.liquid-glass-btn:not([aria-current="page"]):active {
  box-shadow: var(--neu-pressed-shadow);
  transform: none;
}

.liquid-glass-btn--logo {
  padding: 8px clamp(10px, 1.6vw, 12px);
  --nav-logo-color: #e05a45;
}

.liquid-glass-btn--logo--alt {
  --nav-logo-color: #4a6faf;
}

.liquid-glass-btn--logo .nav-logo-wordmark {
  font-family: "Crafter Rough";
  font-size: clamp(0.8125rem, 3vw, 1.125rem);
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--nav-logo-color);
  white-space: nowrap;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

html.crafter-rough-loaded .liquid-glass-btn--logo .nav-logo-wordmark {
  position: relative;
  display: block;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}

html.crafter-rough-loaded .liquid-glass-btn--logo .nav-logo-fallback {
  display: none;
}

.liquid-glass-btn--logo .nav-logo-fallback {
  position: relative;
  display: block;
  height: 1.75rem;
  width: auto;
  max-width: none;
  max-height: 1.75rem;
}

.liquid-nav-bar > .liquid-glass-btn--logo {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  min-height: 44px;
  box-sizing: border-box;
}

.liquid-glass-btn--icon {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  gap: 0;
}

.liquid-glass-btn--icon .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.liquid-glass-btn--icon i {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--nav-icon);
  transition: color 0.3s ease, transform 0.2s cubic-bezier(0.32, 0.72, 0, 1);
}

.liquid-glass-btn--icon:hover i {
  color: var(--nav-icon-active);
}

.liquid-glass-btn.contact-modal-trigger {
  background: var(--neu-bg);
  border: none !important;
  box-shadow: var(--neu-raised-shadow);
}

.liquid-nav-bar a.liquid-glass-btn::after,
.liquid-nav-bar .liquid-glass-btn.header-logo-link::after {
  display: none;
}

.liquid-nav-bar .contact-modal-trigger i {
  transition: color 0.3s ease, transform 0.2s cubic-bezier(0.32, 0.72, 0, 1);
}

.liquid-nav-bar .contact-modal-trigger:hover i {
  color: var(--nav-icon-active);
}

/* Fire / Ice nav buttons — themed via --nav-fire-* / --nav-ice-* on each page body */
:root {
  --nav-fire-highlight: #ffeca8;
  --nav-fire-primary: #ff8a30;
  --nav-fire-secondary: #f0601d;
  --nav-fire-label: #fff8eb;
  --nav-fire-shadow: #5c1c00;
  --nav-fire-shadow-soft: #3c0f00;
  --nav-fire-fill: 60%;
  --nav-fire-fill-hover: 80%;
  --nav-ice-highlight: #a8ecff;
  --nav-ice-primary: #308aff;
  --nav-ice-secondary: #1d60f0;
  --nav-ice-label: #f0f9ff;
  --nav-ice-shadow: #003078;
  --nav-ice-shadow-soft: #001e5a;
  --nav-ice-fill: 50%;
  --nav-ice-fill-hover: 80%;
}

.liquid-nav-bar .button {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: skewX(-10deg);
  height: 50px;
  min-width: 200px;
  width: auto;
  padding: 0 1.25rem;
  border-radius: 20px 5px 20px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 clamp(0.75rem, 1.45vw, 0.875rem) "Montserrat";
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  text-shadow: none;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  animation: nav-button-breath2 2s 0.5s infinite alternate;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: none;
  background: none;
  overflow: visible;
}

.liquid-nav-bar .button::before {
  content: "";
  display: block;
  width: calc(100% - 22px);
  height: calc(50px - 8px);
  animation: nav-button-breath 2s infinite alternate;
  left: 10px;
  top: 3px;
  position: absolute;
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 15px 3px 15px 3px;
  pointer-events: none;
}

.liquid-nav-bar .button__label,
.liquid-nav-bar .button > i {
  position: relative;
  z-index: 1;
  display: inline-block;
  transform: skewX(10deg);
  line-height: 1.2;
}

.liquid-nav-bar .button__label {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.liquid-nav-bar .button.fire .button__label {
  color: var(--nav-fire-label);
  text-shadow:
    0 1px 0 var(--nav-fire-shadow),
    0 2px 6px color-mix(in srgb, var(--nav-fire-shadow-soft) 55%, transparent),
    0 0 1px rgba(255, 255, 255, 0.9);
}

.liquid-nav-bar .button.ice .button__label {
  color: var(--nav-ice-label);
  text-shadow:
    0 1px 0 var(--nav-ice-shadow),
    0 2px 6px color-mix(in srgb, var(--nav-ice-shadow-soft) 55%, transparent),
    0 0 1px rgba(255, 255, 255, 0.9);
}

.liquid-nav-bar .button.fire > i {
  color: var(--nav-fire-label);
  text-shadow: 0 1px 3px color-mix(in srgb, var(--nav-fire-shadow-soft) 65%, transparent);
}

.liquid-nav-bar .button.ice > i {
  color: var(--nav-ice-label);
  text-shadow: 0 1px 3px color-mix(in srgb, var(--nav-ice-shadow-soft) 65%, transparent);
}

.liquid-nav-bar .button.fire {
  border-color: var(--nav-fire-highlight);
  background-image: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--nav-fire-primary) var(--nav-fire-fill), transparent),
    color-mix(in srgb, var(--nav-fire-secondary) var(--nav-fire-fill), transparent)
  );
  box-shadow:
    0 0 70px color-mix(in srgb, var(--nav-fire-primary) var(--nav-fire-fill), transparent),
    0 5px 20px color-mix(in srgb, var(--nav-fire-primary) var(--nav-fire-fill), transparent),
    inset 0 1px var(--nav-fire-highlight),
    inset 0 -1px var(--nav-fire-highlight);
  color: var(--nav-fire-highlight);
}

.liquid-nav-bar .button.fire::before {
  box-shadow: inset 0 0 30px 0 var(--nav-fire-highlight);
}

.liquid-nav-bar .button.ice {
  border-color: var(--nav-ice-highlight);
  background-image: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--nav-ice-primary) var(--nav-ice-fill), transparent),
    color-mix(in srgb, var(--nav-ice-secondary) var(--nav-ice-fill), transparent)
  );
  box-shadow:
    0 0 70px color-mix(in srgb, var(--nav-ice-primary) var(--nav-ice-fill), transparent),
    0 5px 20px color-mix(in srgb, var(--nav-ice-primary) var(--nav-ice-fill), transparent),
    inset 0 1px var(--nav-ice-highlight),
    inset 0 -1px var(--nav-ice-highlight);
  color: var(--nav-ice-highlight);
}

.liquid-nav-bar .button.ice::before {
  box-shadow: inset 0 0 30px 0 var(--nav-ice-highlight);
}

.liquid-nav-bar .button.fire:hover {
  box-shadow:
    0 0 70px color-mix(in srgb, var(--nav-fire-primary) var(--nav-fire-fill-hover), transparent),
    0 5px 20px color-mix(in srgb, var(--nav-fire-primary) var(--nav-fire-fill-hover), transparent),
    inset 0 1px var(--nav-fire-highlight),
    inset 0 -1px var(--nav-fire-highlight);
}

.liquid-nav-bar .button.fire:hover::before {
  box-shadow: inset 0 0 50px 0 var(--nav-fire-highlight);
}

.liquid-nav-bar .button.ice:hover {
  box-shadow:
    0 0 70px color-mix(in srgb, var(--nav-ice-primary) var(--nav-ice-fill-hover), transparent),
    0 5px 20px color-mix(in srgb, var(--nav-ice-primary) var(--nav-ice-fill-hover), transparent),
    inset 0 1px var(--nav-ice-highlight),
    inset 0 -1px var(--nav-ice-highlight);
}

.liquid-nav-bar .button.ice:hover::before {
  box-shadow: inset 0 0 50px 0 var(--nav-ice-highlight);
}

.liquid-nav-bar .button + .button {
  animation-delay: 0.3s;
}

.liquid-nav-bar .button--logo {
  min-width: 0;
  width: auto;
  padding: 0 clamp(1rem, 2.5vw, 1.35rem);
  text-transform: none;
  flex: 0 0 auto;
}

.liquid-nav-bar .button--logo::before {
  width: calc(100% - 22px);
  left: 10px;
}

.liquid-nav-bar .button--logo .nav-logo-wordmark,
.liquid-nav-bar .button--logo .nav-logo-fallback {
  position: relative;
  z-index: 1;
  display: inline-block;
  transform: skewX(10deg);
  line-height: 1;
}

.liquid-nav-bar .button--logo .nav-logo-wordmark {
  font-family: "Crafter Rough";
  font-size: clamp(0.8125rem, 3vw, 1.125rem);
  font-weight: normal;
  font-style: normal;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
  color: var(--nav-fire-label);
  text-shadow:
    0 1px 0 var(--nav-fire-shadow),
    0 2px 6px color-mix(in srgb, var(--nav-fire-shadow-soft) 55%, transparent),
    0 0 1px rgba(255, 255, 255, 0.9);
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

html.crafter-rough-loaded .liquid-nav-bar .button--logo .nav-logo-wordmark {
  position: relative;
  display: block;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}

html.crafter-rough-loaded .liquid-nav-bar .button--logo .nav-logo-fallback {
  display: none;
}

.liquid-nav-bar .button--logo .nav-logo-fallback {
  height: 1.75rem;
  width: auto;
  max-width: none;
  max-height: 1.75rem;
}

.liquid-nav-bar .button--icon {
  min-width: 50px;
  width: 50px;
  padding: 0;
}

.liquid-nav-bar .button--icon::before {
  width: calc(100% - 12px);
  left: 5px;
}

.liquid-nav-bar a.button::after {
  display: none;
}

@keyframes nav-button-breath {
  0% { transform: scaleX(1); }
  100% { transform: scaleX(0.95); }
}

@keyframes nav-button-breath2 {
  0% { transform: skewX(-10deg) scaleX(1); }
  100% { transform: skewX(-10deg) scaleX(0.95); }
}

/* Nav button palettes matched to each page background */
body.index-home {
  --nav-fire-highlight: #fef3c7;
  --nav-fire-primary: #fbbf24;
  --nav-fire-secondary: #d97706;
  --nav-fire-label: #fffbeb;
  --nav-fire-shadow: #78350f;
  --nav-fire-shadow-soft: #92400e;
  --nav-ice-highlight: #bfdbfe;
  --nav-ice-primary: #3b82f6;
  --nav-ice-secondary: #1f3a5f;
  --nav-ice-label: #eff6ff;
  --nav-ice-shadow: #1e3a5f;
  --nav-ice-shadow-soft: #172554;
}

body.day-sailing-home:not(.the-capitana-nav):not(.the-sailing-yacht-nav):not(.cocktail-sundowner-home):not(.legal-page-nav) {
  --nav-fire-highlight: #ffd699;
  --nav-fire-primary: #ff9500;
  --nav-fire-secondary: #ff2a5f;
  --nav-fire-label: #fff7ed;
  --nav-fire-shadow: #9a3412;
  --nav-fire-shadow-soft: #7f1d1d;
  --nav-ice-highlight: #a8d4ff;
  --nav-ice-primary: #007aff;
  --nav-ice-secondary: #0051d5;
  --nav-ice-label: #eff6ff;
  --nav-ice-shadow: #1e3a8a;
  --nav-ice-shadow-soft: #1e40af;
}

body.private-1on1-page {
  --nav-fire-highlight: #fef08a;
  --nav-fire-primary: #fbbf24;
  --nav-fire-secondary: #f59e0b;
  --nav-fire-label: #fffbeb;
  --nav-fire-shadow: #92400e;
  --nav-fire-shadow-soft: #78350f;
  --nav-ice-highlight: #fde68a;
  --nav-ice-primary: #facc15;
  --nav-ice-secondary: #eab308;
  --nav-ice-label: #fefce8;
  --nav-ice-shadow: #854d0e;
  --nav-ice-shadow-soft: #713f12;
}

body.day-sailing-page {
  --nav-fire-highlight: #fed7aa;
  --nav-fire-primary: #f97316;
  --nav-fire-secondary: #dc2626;
  --nav-fire-label: #fff7ed;
  --nav-fire-shadow: #7c2d12;
  --nav-fire-shadow-soft: #431407;
  --nav-ice-highlight: #fef08a;
  --nav-ice-primary: #facc15;
  --nav-ice-secondary: #ca8a04;
  --nav-ice-label: #fefce8;
  --nav-ice-shadow: #713f12;
  --nav-ice-shadow-soft: #422006;
}

body.cocktail-sundowner-home {
  --nav-fire-highlight: #fbcfe8;
  --nav-fire-primary: #fc2dfc;
  --nav-fire-secondary: #e70065;
  --nav-fire-label: #fdf2f8;
  --nav-fire-shadow: #831843;
  --nav-fire-shadow-soft: #500724;
  --nav-ice-highlight: #ddd6fe;
  --nav-ice-primary: #a78bfa;
  --nav-ice-secondary: #8357eb;
  --nav-ice-label: #f5f3ff;
  --nav-ice-shadow: #4c1d95;
  --nav-ice-shadow-soft: #2e1065;
}

body.the-sailing-yacht-nav {
  --nav-fire-highlight: #fecaca;
  --nav-fire-primary: #e8552a;
  --nav-fire-secondary: #c0340b;
  --nav-fire-label: #fff7ed;
  --nav-fire-shadow: #7f1d1d;
  --nav-fire-shadow-soft: #450a0a;
  --nav-ice-highlight: #99f6e4;
  --nav-ice-primary: #2dd4bf;
  --nav-ice-secondary: #0f766e;
  --nav-ice-label: #f0fdfa;
  --nav-ice-shadow: #134e4a;
  --nav-ice-shadow-soft: #042f2e;
}

body.the-capitana-nav {
  --nav-fire-highlight: #fde68a;
  --nav-fire-primary: #fbbf24;
  --nav-fire-secondary: #d97706;
  --nav-fire-label: #fffbeb;
  --nav-fire-shadow: #78350f;
  --nav-fire-shadow-soft: #451a03;
  --nav-ice-highlight: #93c5fd;
  --nav-ice-primary: #4a6faf;
  --nav-ice-secondary: #1c5b8f;
  --nav-ice-label: #eff6ff;
  --nav-ice-shadow: #1f3a5f;
  --nav-ice-shadow-soft: #172554;
}

body.legal-page-nav {
  --nav-fire-highlight: #fecaca;
  --nav-fire-primary: #fb6753;
  --nav-fire-secondary: #f97316;
  --nav-fire-label: #fff7ed;
  --nav-fire-shadow: #9a3412;
  --nav-fire-shadow-soft: #7c2d12;
  --nav-ice-highlight: #99f6e4;
  --nav-ice-primary: #5eead4;
  --nav-ice-secondary: #14b8a6;
  --nav-ice-label: #f0fdfa;
  --nav-ice-shadow: #134e4a;
  --nav-ice-shadow-soft: #042f2e;
}

@media (prefers-reduced-motion: reduce) {
  .liquid-nav-bar .button,
  .liquid-nav-bar .button::before {
    animation: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.day-sailing-home.the-capitana-nav,
body.day-sailing-home.the-sailing-yacht-nav {
  --nav-icon: rgba(74, 111, 175, 0.75);
  --nav-icon-active: #4A6FAF;
}

body.day-sailing-home.the-capitana-nav .liquid-glass-btn--logo .nav-logo-fallback,
body.day-sailing-home.the-sailing-yacht-nav .liquid-glass-btn--logo .nav-logo-fallback,
body.day-sailing-home.the-capitana-nav .liquid-nav-bar .button--logo .nav-logo-fallback,
body.day-sailing-home.the-sailing-yacht-nav .liquid-nav-bar .button--logo .nav-logo-fallback {
  filter: none;
}

@media (max-width: 1024px) {
  .liquid-header {
    box-sizing: border-box;
    justify-content: center;
    padding-inline: clamp(0.75rem, 2.5vw, 1.25rem);
  }

  .liquid-nav-bar {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    justify-content: center;
    align-items: center;
    align-content: center;
    column-gap: clamp(0.35rem, 1vw, 0.5rem);
    row-gap: clamp(0.4rem, 1.5vw, 0.65rem);
  }

  /* Force logo onto its own row, then center links + icon together below */
  .liquid-nav-bar::before {
    content: "";
    flex: 0 0 100%;
    width: 0;
    height: 0;
    order: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .liquid-nav-bar > .liquid-glass-btn--logo,
  .liquid-nav-bar > .button--logo {
    flex: 0 0 auto;
    order: -1;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    justify-content: center;
    padding: 10px clamp(16px, 4vw, 24px);
  }

  .liquid-glass-btn--logo .nav-logo-wordmark,
  .liquid-nav-bar .button--logo .nav-logo-wordmark {
    font-size: clamp(1.25rem, 6vw, 1.625rem);
  }

  .liquid-nav-bar > .liquid-glass-btn--logo .nav-logo-fallback,
  .liquid-nav-bar .button--logo .nav-logo-fallback {
    height: clamp(1.875rem, 6.5vw, 2.375rem);
    max-height: none;
    max-width: none;
  }

  .liquid-nav-bar a.liquid-glass-btn:not(.liquid-glass-btn--logo):not(.liquid-glass-btn--icon) {
    font-size: clamp(0.9375rem, 4.2vw, 1.0625rem);
    letter-spacing: 0.08em;
  }

  .liquid-glass-btn--icon {
    width: 52px;
    min-width: 52px;
    height: 52px;
  }

  .liquid-glass-btn--icon i {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
  }

  .liquid-nav-bar .button {
    min-width: min(200px, 100%);
    font-size: clamp(0.875rem, 3.8vw, 1rem);
  }

  .liquid-nav-bar .button--logo {
    min-width: 0;
  }
}

/* Tablet: larger nav link type for readability; home logo stays as-is */
@media (min-width: 768px) and (max-width: 1024px) {
  .liquid-header {
    padding-inline: clamp(0.5rem, 1.5vw, 0.85rem);
  }

  .liquid-nav-bar {
    width: 100%;
    max-width: 100%;
    column-gap: clamp(0.4rem, 1.1vw, 0.6rem);
    row-gap: clamp(0.45rem, 1.3vw, 0.7rem);
  }

  .liquid-nav-bar a.liquid-glass-btn:not(.liquid-glass-btn--logo):not(.liquid-glass-btn--icon) {
    font-size: clamp(1.125rem, 2.4vw, 1.375rem);
    letter-spacing: 0.06em;
    padding-inline: clamp(14px, 2vw, 20px);
  }

  .liquid-nav-bar .button:not(.button--logo):not(.button--icon) {
    font-size: clamp(1.0625rem, 2.3vw, 1.3125rem);
  }

  .liquid-glass-btn--icon {
    width: 56px;
    min-width: 56px;
    height: 56px;
  }

  .liquid-glass-btn--icon i {
    width: 1.625rem;
    height: 1.625rem;
    font-size: 1.625rem;
  }
}

@media (max-width: 767px) {
  .home-hero,
  .day-sailing-hero {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

@media (max-width: 639px) {
  .liquid-glass-btn {
    min-height: 44px;
    padding: 0 clamp(12px, 3vw, 16px);
    font-size: 0.8125rem;
  }

  .liquid-nav-bar a.liquid-glass-btn:not(.liquid-glass-btn--logo):not(.liquid-glass-btn--icon) {
    font-size: clamp(0.9375rem, 4.2vw, 1.0625rem);
    letter-spacing: 0.08em;
  }

  .liquid-glass-btn--icon {
    width: 52px;
    min-width: 52px;
    height: 52px;
  }

  .liquid-glass-btn--icon i {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
  }
}

body > main.home-hero,
body > main.day-sailing-hero,
.page-top-glow-zone > main.home-hero {
  padding-top: var(--first-section-padding-top);
}

.home-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
  min-height: 100dvh;
  padding-right: clamp(1rem, 4vw, 2rem);
  padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
  padding-left: clamp(1rem, 4vw, 2rem);
  overflow-x: hidden;
  overflow-y: visible;
}

.home-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  width: min(72rem, 100%);
  margin: 0 auto;
}

.home-intro {
  --home-content-max-width: 52rem; /* matches accordion width cap */
  box-sizing: border-box;
  width: 100%;
  padding: clamp(1.25rem, 4vw, 2rem) 0 0;
  background-color: #f0eee9;
}

.home-intro__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.5rem);
  width: 92vw;
  max-width: var(--home-content-max-width, 52rem);
  margin: 0 auto;
}

.home-intro__image {
  order: 2;
  width: 100%;
  aspect-ratio: 1400 / 652;
  border-radius: var(--home-media-radius);
  background-image: url("./img/dufour41-intro.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.home-intro__content {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 20rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
}

.home-intro__arrow {
  display: block;
  flex-shrink: 0;
  width: 1px;
  height: clamp(3.5rem, 10vh, 5.5rem);
  background-color: #1f3a5f;
  opacity: 0.45;
}

.home-intro__text {
  margin: 0;
  text-indent: 0;
  font-family: "Montserrat";
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #1f3a5f;
  text-align: center;
}

@media (max-width: 639px) {
  .home-intro__inner {
    padding-bottom: clamp(0.75rem, 3vw, 1rem);
  }

  .home-intro__text {
    font-size: 1.0625rem;
    line-height: 1.6;
  }
}

.home-hero__tagline,
.home-hero__graphic {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.home-hero__graphic {
  animation: hero-sail-bob 7s ease-in-out infinite;
}

.home-intro__arrow {
  animation: intro-arrow-drift 3.5s ease-in-out infinite;
}

@keyframes hero-sail-bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(0.6deg);
  }
}

@keyframes intro-arrow-drift {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(0);
  }
  50% {
    opacity: 0.65;
    transform: translateY(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__graphic,
  .home-intro__arrow {
    animation: none;
  }
}

/* Mobile: graphic above tagline */
.home-hero__graphic {
  order: 1;
}

.home-hero__tagline {
  order: 2;
  width: min(100%, 22rem);
  max-height: min(28vh, 10rem);
}

.home-hero__graphic {
  width: min(76%, 15rem);
  max-height: min(42vh, 18rem);
}

@media (min-width: 480px) {
  .home-hero__tagline {
    width: min(100%, 28rem);
    max-height: min(30vh, 12rem);
  }

  .home-hero__graphic {
    width: min(70%, 16.5rem);
    max-height: min(46vh, 22rem);
  }
}

@media (min-width: 640px) {
  .home-intro {
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem);
  }

  .home-intro__inner {
    position: relative;
    max-width: var(--home-content-max-width);
    aspect-ratio: 1400 / 652;
  }

  .home-intro__image {
    position: absolute;
    inset: 0;
    order: unset;
    border-radius: var(--home-media-radius);
  }

  .home-intro__content {
    position: absolute;
    top: 50%;
    left: clamp(0.75rem, 3vw, 1.25rem);
    z-index: 1;
    order: unset;
    align-items: flex-start;
    max-width: min(14rem, 42%);
    margin: 0;
    padding: 0.75rem 1rem;
    text-align: left;
    background-color: rgba(240, 238, 233, 0.88);
    border: 1px solid var(--primary);
    border-radius: 1rem;
    box-shadow:
      0 1px 2px rgba(31, 58, 95, 0.06),
      0 4px 12px rgba(31, 58, 95, 0.1);
    transform: translateY(-50%);
  }

  .home-intro__text {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .home-hero {
    padding-inline: clamp(1.5rem, 5vw, 2.5rem);
  }

  .home-hero__content {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: center;
    max-height: calc(100dvh - clamp(5.5rem, 14vh, 7rem) - clamp(1.5rem, 4vh, 2.5rem));
  }

  .home-hero__tagline {
    order: 1;
    justify-self: start;
    width: 100%;
    max-width: 100%;
    max-height: min(34vh, 14rem);
    object-position: left center;
  }

  .home-hero__graphic {
    order: 2;
    justify-self: center;
    width: 100%;
    max-width: 100%;
    max-height: min(62vh, 28rem);
    object-position: center;
  }

  .home-intro__content {
    max-width: min(16rem, 40%);
    padding: 1rem 1.125rem;
  }

  .home-intro__arrow {
    height: clamp(4.5rem, 14vh, 7.5rem);
  }

  .home-intro__text {
    font-size: clamp(0.8125rem, 1.15vw, 0.9375rem);
  }
}

@media (min-width: 1024px) {
  .home-hero__content {
    gap: clamp(1.5rem, 4vw, 3.5rem);
  }

  .home-hero__tagline {
    max-height: min(38vh, 16rem);
  }

  .home-hero__graphic {
    max-height: min(68vh, 32rem);
  }

  .home-intro__arrow {
    height: clamp(5rem, 15vh, 8.5rem);
  }
}

@media (min-width: 1280px) {
  .home-hero__tagline {
    max-height: min(40vh, 18rem);
  }

  .home-hero__graphic {
    max-height: min(72vh, 36rem);
  }

  .home-intro__arrow {
    height: clamp(5.5rem, 16vh, 9rem);
  }
}


/* Day Sailing home — blue/cream palette (#D3E4F1 bg, #F0EEE9 accent) */

body.day-sailing-home {
  --bg: #D3E4F1;
  --primary: #F0EEE9;
  --header-top-gap: 1.125rem;
  margin: 0;
  padding-top: var(--header-top-gap);
  width: 100%;
  max-width: 100%;
  text-align: initial;
  overflow-x: hidden;
  overflow-y: visible;
  background-color: #D3E4F1;
}

body.day-sailing-home > header {
  top: var(--header-top-gap);
}

body.day-sailing-home .brutalist {
  background: var(--bg);
  border-top-color: var(--primary);
}

body.day-sailing-home button {
  background-color: #D3E4F1;
  border-color: #F0EEE9;
}

body.day-sailing-home .home-intro {
  background-color: #D3E4F1;
}

body.day-sailing-home .video-intro,
body.day-sailing-home .day-sailing-cta {
  background-color: #F0EEE9;
}

body.day-sailing-home .instagram-section {
  --cloud-dancer: #D3E4F1;
  background-color: #F0EEE9;
}

body.day-sailing-home .accordion-dot-decoration {
  background-color: #D3E4F1;
}

body.day-sailing-home .home-accordion--images-only .pane {
  cursor: pointer;
}

/* Desktop: accordion pane strip fills min-h-screen section via .home-accordion__panes */
body.day-sailing-home {
  --day-sailing-panel-media-height: 24rem; /* match index-like image height */
}

body.day-sailing-home .day-sailing-panel .home-intro__inner {
  width: 100%;
  max-width: var(--home-content-max-width, 52rem);
  margin: 0 auto;
}

/* Mobile: same padding, layout, and image band across all three panels */
@media (max-width: 639px) {
  body.day-sailing-home .day-sailing-panel {
    display: block;
    min-height: auto;
    padding-bottom: 0;
    padding-inline: 0;
    overflow-x: hidden;
  }

  body.day-sailing-home .home-hero.home-hero--intro.day-sailing-panel {
    align-items: stretch;
    justify-content: flex-start;
  }

  body.day-sailing-home .day-sailing-panel .home-intro__inner {
    width: 92vw;
    max-width: 52rem;
    gap: clamp(1rem, 3vw, 1.5rem);
    margin: 0 auto;
    padding-bottom: clamp(0.75rem, 3vw, 1rem);
  }

  body.day-sailing-home .day-sailing-panel .home-intro__content {
    box-sizing: border-box;
    min-height: clamp(10.5rem, 38vw, 14rem);
    background-color: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  body.day-sailing-home main.day-sailing-panel.home-hero--intro .home-intro__content {
    padding-top: 0;
  }

  body.day-sailing-home .day-sailing-panel .home-intro__image {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1400 / 652;
    border-radius: var(--home-media-radius);
  }
}

@media (min-width: 640px) {
  body.day-sailing-home .day-sailing-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 100dvh;
    padding-inline: 0.5rem;
    padding-bottom: 0.5rem;
  }

  body.day-sailing-home main.day-sailing-panel.home-hero--intro {
    padding-inline: 0.5rem;
    padding-bottom: 0.5rem;
  }

  body.day-sailing-home .day-sailing-panel.home-hero--intro {
    min-height: 100dvh;
    align-items: center;
  }

  body.day-sailing-home .day-sailing-panel .home-intro__inner {
    position: relative;
    height: var(--day-sailing-panel-media-height);
    min-height: var(--day-sailing-panel-media-height);
    aspect-ratio: unset;
    flex-direction: column;
    gap: 0;
  }

  body.day-sailing-home .day-sailing-panel .home-intro__image {
    position: absolute;
    inset: 0;
    order: unset;
    flex: none;
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: var(--home-media-radius);
  }
}

/* Wrapped nav (≤767px): don’t vertically center hero — it slides under the header */
@media (min-width: 640px) and (max-width: 767px) {
  body.day-sailing-home .day-sailing-panel,
  body.day-sailing-home .day-sailing-panel.home-hero--intro {
    align-items: flex-start;
    justify-content: flex-start;
    min-height: auto;
  }
}

body.day-sailing-home .site-footer__link,
body.day-sailing-home .site-footer__copyright {
  color: #1F3A5F;
}

body.day-sailing-home .site-footer__link::after {
  background-color: #1F3A5F;
}

/* Hero replaced with intro layout — text on the right of the image */
.home-hero.home-hero--intro {
  --home-content-max-width: 52rem;
  min-height: auto;
  align-items: flex-start;
  justify-content: center;
}

.home-hero.home-hero--in-flow:not(.day-sailing-panel) {
  padding-top: clamp(1.25rem, 4vw, 2rem);
  padding-bottom: clamp(1.25rem, 4vw, 2rem);
}

.home-hero.home-hero--intro .home-intro__inner {
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.5rem);
  width: min(72rem, 100%);
  max-width: var(--home-content-max-width);
}

/* Mobile: match .home-intro — text above, full-width image */
.home-hero.home-hero--intro .home-intro__content {
  order: 1;
  align-items: center;
  max-width: 20rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  text-align: center;
}

.home-hero.home-hero--intro .home-intro__image {
  order: 2;
  width: 100%;
  max-width: 100%;
}

.home-hero.home-hero--intro .home-intro__text {
  text-align: center;
  font-weight: 400;
}

@media (max-width: 639px) {
  .home-hero.home-hero--intro:not(.day-sailing-panel) {
    padding-inline: 0;
  }

  .home-hero.home-hero--intro:not(.day-sailing-panel) .home-intro__inner {
    width: 100%;
    max-width: 100%;
  }
}

body.day-sailing-home .home-hero.home-hero--intro {
  background-color: #D3E4F1;
}

@media (min-width: 640px) {
  body.day-sailing-home .home-hero.home-hero--intro .home-intro__content,
  body.day-sailing-home .home-intro.home-intro--text-right .home-intro__content {
    background-color: rgba(211, 228, 241, 0.88);
  }

  body.day-sailing-home .home-intro.home-intro--text-right .home-intro__content {
    left: auto;
    right: clamp(0.75rem, 3vw, 1.25rem);
    align-items: flex-end;
    text-align: right;
  }

  body.day-sailing-home .home-intro.home-intro--text-right .home-intro__text {
    text-align: right;
  }
}

@media (min-width: 768px) {
  body.day-sailing-home .home-intro.home-intro--text-right .home-intro__content {
    max-width: min(16rem, 40%);
  }
}

@media (min-width: 640px) {
  .home-hero.home-hero--intro .home-intro__content {
    order: unset;
    left: auto;
    right: clamp(0.75rem, 3vw, 1.25rem);
    align-items: flex-end;
    max-width: min(14rem, 42%);
    margin: 0;
    padding: 0.75rem 1rem;
    text-align: right;
  }

  .home-hero.home-hero--intro .home-intro__image {
    order: unset;
  }

  .home-hero.home-hero--intro .home-intro__text {
    text-align: right;
  }
}

@media (min-width: 768px) {
  .home-hero.home-hero--intro .home-intro__content {
    max-width: min(16rem, 40%);
  }
}

/* Day sailing pizza sub-page — Tailwind yellow palette */

body.day-sailing-page {
  --header-top-gap: 1.125rem;
  --day-sailing-page-bg: #fde047; /* yellow-300 */
  --day-sailing-hero-bg: #facc15; /* yellow-400 */
  --day-sailing-accent: #ca8a04; /* yellow-600 */
  margin: 0;
  padding-top: var(--header-top-gap);
  width: 100%;
  max-width: 100%;
  text-align: initial;
  overflow-x: hidden;
  overflow-y: visible;
  background-color: var(--day-sailing-page-bg);
  color: #422006; /* yellow-950 */
}

body.day-sailing-page > header {
  top: var(--header-top-gap);
}

body.day-sailing-page .brutalist {
  background: var(--day-sailing-page-bg);
  border-top-color: var(--day-sailing-accent);
  box-shadow: 0 10px 18px rgba(66, 32, 6, 0.12);
}

.day-sailing-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
  min-height: 100dvh;
  padding-right: 0;
  padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
  padding-left: 0;
  overflow-x: hidden;
  overflow-y: visible;
  background-color: var(--day-sailing-hero-bg);
}

.day-sailing-hero__content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.day-sailing-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.day-sailing-hero__tomato {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.day-sailing-hero__copy {
  position: absolute;
  left: 50%;
  bottom: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: min(92%, 20rem);
  transform: translateX(-50%);
  text-align: center;
}

.day-sailing-hero__title {
  margin: 0;
  padding: 0.35rem 0;
  border-block: 2px solid #fef08a; /* yellow-200 */
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fef9c3; /* yellow-100 */
  text-shadow: 0 1px 2px rgba(66, 32, 6, 0.35);
}

.day-sailing-hero__subtitle {
  margin: 0;
  text-indent: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(0.8125rem, 2.5vw, 0.9375rem);
  line-height: 1.5;
  color: #fffbeb; /* yellow-50 */
  text-shadow: 0 1px 2px rgba(66, 32, 6, 0.25);
}

.day-sailing-intro {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1rem, 4vw, 2rem);
  background-color: var(--day-sailing-page-bg);
}

.day-sailing-intro__inner {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
}

.day-sailing-intro__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 3vw, 1rem);
}

.day-sailing-intro__arrow {
  display: block;
  flex-shrink: 0;
  width: 1px;
  height: clamp(3.5rem, 10vh, 5.5rem);
  background-color: #a16207; /* yellow-700 */
  opacity: 0.5;
  animation: intro-arrow-drift 3.5s ease-in-out infinite;
}

.day-sailing-intro__title {
  margin: 0;
  font-family: var(--heading);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f766e; /* teal-700 */
  text-align: center;
}

.day-sailing-intro__tagline {
  margin: 0;
  text-indent: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(0.8125rem, 2.5vw, 0.9375rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #713f12; /* yellow-900 */
  text-align: center;
}

.day-sailing-section {
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
}

.day-sailing-cta {
  background-color: #fbd014;
  padding: clamp(1.25rem, 3.5vw, 2rem) clamp(0.75rem, 3vw, 1.75rem)
    clamp(1.5rem, 4vw, 2.5rem);
  overflow: hidden;
}

.day-sailing-cta__stage {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 52rem;
  min-height: clamp(26rem, 88vw, 42rem);
  margin: 0 auto;
}

.day-sailing-cta__logo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: clamp(8.25rem, 34vw, 12.5rem);
  height: auto;
}

.day-sailing-cta__yum {
  position: absolute;
  top: clamp(0.25rem, 2vw, 1rem);
  right: 0;
  z-index: 2;
  display: block;
  width: clamp(4.75rem, 17vw, 8rem);
  height: auto;
}

.day-sailing-cta__headline {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(88%, 21rem);
  max-width: 100%;
  margin: clamp(3.75rem, 11vw, 5.5rem) auto 0;
}

.day-sailing-cta__title {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.day-sailing-cta__lol {
  position: absolute;
  top: clamp(9.5rem, 32vw, 14rem);
  right: clamp(0, 4vw, 2.5rem);
  z-index: 3;
  display: block;
  width: clamp(4.25rem, 15vw, 7rem);
  height: auto;
  pointer-events: none;
}

.day-sailing-cta__figure {
  display: block;
  width: 100%;
  height: auto;
  margin: clamp(0.35rem, 1.2vw, 0.65rem) 0 0;
  object-fit: contain;
  transform-origin: center bottom;
  animation: day-sailing-cta-dance 2.8s ease-in-out infinite;
}

@keyframes day-sailing-cta-dance {
  0%,
  100% {
    transform: rotate(-5deg) translateY(0);
  }

  25% {
    transform: rotate(2deg) translateY(-4px);
  }

  50% {
    transform: rotate(6deg) translateY(0);
  }

  75% {
    transform: rotate(-2deg) translateY(-3px);
  }
}

@media (max-width: 639px) {
  .day-sailing-cta__stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.5rem;
    row-gap: clamp(0.35rem, 2vw, 0.75rem);
    align-items: end;
    min-height: auto;
  }

  .day-sailing-cta__logo,
  .day-sailing-cta__yum {
    position: static;
    z-index: 2;
  }

  .day-sailing-cta__logo {
    width: clamp(8.5rem, 42vw, 11.5rem);
    justify-self: start;
    align-self: end;
  }

  .day-sailing-cta__yum {
    width: clamp(4.5rem, 22vw, 6.75rem);
    justify-self: end;
    align-self: start;
  }

  .day-sailing-cta__headline {
    grid-column: 1 / -1;
    margin: 0 auto;
    width: min(92%, 21rem);
  }

  .day-sailing-cta__lol {
    position: static;
    align-self: flex-end;
    width: clamp(3.5rem, 28vw, 5.5rem);
    margin: clamp(0.2rem, 1vw, 0.45rem) 0 0;
  }
}

@media (min-width: 640px) {
  .day-sailing-cta__stage {
    min-height: clamp(30rem, 72vh, 44rem);
  }

  .day-sailing-cta__logo {
    width: clamp(9.5rem, 30vw, 14rem);
  }

  .day-sailing-cta__headline {
    position: static;
    width: min(72%, 24rem);
    margin-top: clamp(4.5rem, 9vh, 6rem);
  }

  .day-sailing-cta__lol {
    top: clamp(11rem, 28vh, 15.5rem);
    right: clamp(1rem, 8vw, 5rem);
  }
}

@media (min-width: 1024px) {
  .day-sailing-cta__stage {
    max-width: 58rem;
    min-height: 40rem;
  }

  .day-sailing-cta__logo {
    width: clamp(10.5rem, 22vw, 15rem);
  }

  .day-sailing-cta__headline {
    width: min(58%, 26rem);
  }

  .day-sailing-cta__lol {
    top: 13.5rem;
    right: 6%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .day-sailing-cta__figure {
    animation: none;
  }
}

/* the-capitana.html — Super Capitana CTA */
.the-capitana-cta {
  background-color: #f4a80b;
  padding: clamp(1.25rem, 3.5vw, 2rem) clamp(0.75rem, 3vw, 1.75rem)
    clamp(2rem, 5vw, 3rem);
  overflow: visible;
}

.the-capitana-cta__stage {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  overflow: visible;
  display: grid;
  grid-template-areas: "stack";
  min-height: 75vw;
}

.the-capitana-cta__stickers-bg,
.the-capitana-cta__stage-inner {
  grid-area: stack;
}

.the-capitana-cta__stickers-bg {
  position: absolute;
  top: 0;
  right: auto;
  bottom: 0;
  left: 50%;
  z-index: 0;
  display: block;
  width: 100vw;
  max-width: none;
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
  object-fit: contain;
  object-position: center center;
  user-select: none;
}

.the-capitana-cta__stage-inner {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100%;
  z-index: 1;
  align-self: stretch;
  overflow: visible;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.the-capitana-cta__stickers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

.the-capitana-cta__sticker {
  position: absolute;
  display: block;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 0.45rem 0.85rem rgba(0, 0, 0, 0.28));
}

.the-capitana-cta__sticker--splash {
  bottom: clamp(1.5rem, 10%, 3.5rem);
  left: clamp(0.25rem, 2vw, 1.25rem);
  width: clamp(5rem, 16vw, 8.5rem);
  transform: rotate(-10deg);
  animation: capitana-sticker-pop 4.2s ease-in-out infinite reverse;
  --sticker-tilt: -10deg;
}

.the-capitana-cta__sticker--ring {
  top: 38%;
  right: clamp(0.25rem, 3vw, 1.5rem);
  left: auto;
  width: clamp(4.5rem, 14vw, 7rem);
  --sticker-tilt: 11deg;
  animation: capitana-sticker-float 4.8s ease-in-out -1.8s infinite;
}

@keyframes capitana-sticker-float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--sticker-tilt, 0deg));
  }

  50% {
    transform: translateY(-6px) rotate(calc(var(--sticker-tilt, 0deg) + 3deg));
  }
}

@keyframes capitana-sticker-pop {
  0%,
  100% {
    transform: rotate(var(--sticker-tilt, 8deg)) scale(1);
  }

  50% {
    transform: rotate(calc(var(--sticker-tilt, 8deg) + 4deg)) scale(1.06);
  }
}

.the-capitana-cta__logo {
  position: absolute;
  top: clamp(0.5rem, 3vh, 1.5rem);
  left: clamp(0.25rem, 2vw, 1rem);
  z-index: 2;
  display: block;
  width: clamp(8.25rem, 34vw, 12.5rem);
  height: auto;
  animation: capitana-cta-float 7s ease-in-out -0.8s infinite;
  will-change: transform;
}

.the-capitana-cta__yum {
  position: absolute;
  top: clamp(2.5rem, 10vh, 5rem);
  right: clamp(0.25rem, 2vw, 1rem);
  z-index: 2;
  display: block;
  width: clamp(4.75rem, 17vw, 8rem);
  height: auto;
  animation: capitana-cta-float 6.2s ease-in-out -2.2s infinite;
  will-change: transform;
}

.the-capitana-cta__headline {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(88%, 21rem);
  max-width: 100%;
  margin: clamp(3.75rem, 11vw, 5.5rem) auto 0;
  overflow: visible;
  flex-shrink: 0;
}

.the-capitana-cta__title {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.the-capitana-cta__lol {
  position: absolute;
  top: auto;
  bottom: clamp(28%, 32vw, 38%);
  left: clamp(0.25rem, 3vw, 2rem);
  right: auto;
  z-index: 3;
  display: block;
  width: clamp(4rem, 14vw, 6.5rem);
  height: auto;
  pointer-events: none;
  animation: capitana-cta-float 5.8s ease-in-out -1.4s infinite;
  will-change: transform;
}

.the-capitana-cta__underwater-scene {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  align-self: center;
  width: min(100%, clamp(16rem, 58vw, 28rem));
  max-width: 100%;
  margin: clamp(0.35rem, 1.5vw, 0.85rem) auto 0;
  overflow: visible;
  line-height: 0;
}

.the-capitana-cta__micro {
  position: relative;
  z-index: 1;
  display: block;
  flex-shrink: 0;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  transform-origin: center bottom;
  animation: capitana-micro-drift 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes capitana-cta-float {
  0%,
  100% {
    transform: translateY(0) rotate(-0.55deg);
  }
  50% {
    transform: translateY(-7px) rotate(0.65deg);
  }
}

@keyframes capitana-micro-drift {
  0%,
  100% {
    transform: translateY(0) rotate(-0.6deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.7deg);
  }
}

@media (max-width: 639px) {
  .the-capitana-cta__stage-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.5rem;
    row-gap: clamp(0.35rem, 2vw, 0.75rem);
    align-items: start;
  }

  .the-capitana-cta__logo,
  .the-capitana-cta__yum {
    position: static;
    z-index: 2;
  }

  .the-capitana-cta__logo {
    width: clamp(8.5rem, 42vw, 11.5rem);
    justify-self: start;
    align-self: end;
  }

  .the-capitana-cta__yum {
    width: clamp(4.5rem, 22vw, 6.75rem);
    justify-self: end;
    align-self: start;
  }

  .the-capitana-cta__headline,
  .the-capitana-cta__underwater-scene {
    grid-column: 1 / -1;
    margin: 0 auto;
    width: min(92%, 21rem);
  }

  .the-capitana-cta__underwater-scene {
    width: min(100%, 20rem);
  }

  .the-capitana-cta__micro {
    width: clamp(9.5rem, 44vw, 13.5rem);
    margin-inline: auto;
  }

  .the-capitana-cta__lol {
    bottom: auto;
    top: 42%;
    left: clamp(0.15rem, 2vw, 0.75rem);
    width: clamp(3.25rem, 12vw, 4.75rem);
  }

  .the-capitana-cta__sticker--ring {
    display: none;
  }
}

@media (min-width: 640px) {
  .the-capitana-cta__logo {
    width: clamp(9.5rem, 30vw, 14rem);
  }

  .the-capitana-cta__headline {
    position: static;
    width: min(72%, 24rem);
    margin-top: clamp(4.5rem, 9vh, 6rem);
  }
}

@media (min-width: 1024px) {
  .the-capitana-cta__stage {
    max-width: 58rem;
  }

  .the-capitana-cta__logo {
    width: clamp(10.5rem, 22vw, 15rem);
  }

  .the-capitana-cta__headline {
    width: min(58%, 26rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .the-capitana-cta__logo,
  .the-capitana-cta__yum,
  .the-capitana-cta__lol,
  .the-capitana-cta__micro,
  .the-capitana-cta__sticker {
    animation: none;
    transform: none;
  }
}

.day-sailing-footer {
  width: 100%;
  background-color: var(--day-sailing-page-bg);
}

.day-sailing-page .day-sailing-footer .site-footer__link,
.day-sailing-page .day-sailing-footer .site-footer__copyright {
  color: #713f12; /* yellow-900 */
}

.day-sailing-page .day-sailing-footer .site-footer__link::after {
  background-color: #a16207; /* yellow-700 */
}

.day-sailing-page .instagram-section {
  --cloud-dancer: #713f12; /* yellow-900 for handle link */
  background-color: var(--day-sailing-page-bg);
}

.day-sailing-page .instagram-section__inner {
  max-width: none;
  padding-inline: 0;
}

.day-sailing-page .instagram-section__handle {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: clamp(0.85rem, 2.5vw, 1.35rem) clamp(1rem, 4vw, 2rem);
  text-align: center;
  font-size: clamp(1.75rem, 7vw, 4rem);
  letter-spacing: 0.05em;
}

.day-sailing-page .instagram-section__handle a {
  display: block;
  width: 100%;
}

.day-sailing-page .instagram-grid {
  max-width: var(--home-content-max-width, 42rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

@media (min-width: 768px) {
  .day-sailing-hero__title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
}

@media (min-width: 1024px) {
  .day-sailing-hero {
    min-height: 80vh;
    height: auto;
    max-height: none;
    padding-bottom: 0;
    overflow: hidden;
    align-items: stretch;
  }

  .day-sailing-hero__content {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    align-items: stretch;
  }

  .day-sailing-hero__visual {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    align-items: flex-start;
  }

  .day-sailing-hero__tomato {
    width: 100%;
    height: 100%;
    max-width: 100%;
    
    margin-bottom: -20%;
    object-fit: contain;
    object-position: center;
  }

  .day-sailing-intro__arrow {
    height: clamp(5rem, 15vh, 8.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .day-sailing-intro__arrow {
    animation: none;
  }
}

/* accordion */

.home-accordion__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: 0.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.home-accordion__panes {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  flex-grow: 1;
  align-items: stretch;
  width: 100%;
  max-width: 42rem;
  min-height: 0;
  height: auto !important;
  overflow: hidden;
}

@media (min-width: 640px) {
  .home-accordion__panes {
    flex-direction: row;
    min-width: 28rem;
  }
}

.home-accordion .day-sailing-intro {
  flex-shrink: 0;
}

.home-accordion > div > div {
  width: 92vw;
  max-width: 52rem;
}

.home-accordion .pane {
  --accordion-radius: var(--home-media-radius);
  position: relative;
  flex-grow: 1;
  margin: 0.5rem;
  min-height: 3.5rem;
  border-radius: var(--home-media-radius) !important;
  overflow: hidden;
  cursor: default;
  transition: all 700ms ease-in-out;
}

@media (min-width: 640px) {
  .home-accordion .pane {
    min-width: 3.5rem;
  }
}

.home-accordion .pane > div {
  position: absolute;
  inset: 0;
  z-index: 10;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(0.8);
  transition: all 700ms ease-in-out;
}

.home-accordion .pane .label {
  right: 0;
  bottom: 0.5rem;
  margin-bottom: 0;
  text-decoration: none;
  background-color: rgba(240, 238, 233, 0.88);
  color: #1f3a5f;
  font-family: "Montserrat";
  cursor: pointer;
  padding: 0.5rem 0.875rem;
  border-radius: var(--accordion-radius) 0 0 var(--accordion-radius);
  border: 1px solid var(--primary);
  border-right: none;
  box-shadow:
    0 1px 2px rgba(31, 58, 95, 0.06),
    0 4px 12px rgba(31, 58, 95, 0.1);
  letter-spacing: 0.02em;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    opacity 0.7s ease,
    visibility 0.7s ease,
    transform 0.35s ease;
}

@media (max-width: 639px) {
  .home-accordion .pane:not(.active) .label {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .home-accordion .pane.active .label {
    opacity: 1;
    visibility: visible;
  }
}

.home-accordion .label .content {
  text-align: left;
}

.home-accordion .pane.active .label {
  background-color: rgba(240, 238, 233, 0.92);
  border-color: var(--primary);
  box-shadow:
    0 2px 4px rgba(31, 58, 95, 0.08),
    0 6px 16px rgba(31, 58, 95, 0.14);
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .home-accordion .pane:hover .label {
    background-color: rgba(240, 238, 233, 0.92);
    border-color: var(--primary);
    box-shadow:
      0 2px 4px rgba(31, 58, 95, 0.08),
      0 6px 16px rgba(31, 58, 95, 0.14);
  }
}

.home-accordion .label .content > div:first-child {
  font-family: "Crafter Rough";
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25;
}

.home-accordion .label .content > div:last-child {
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.35;
  margin-top: 0.125rem;
  color: rgba(31, 58, 95, 0.82);
}

.video-intro {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1400 / 652;
  min-height: fit-content;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2rem);
  background-color: #E05A45;
}

.instagram-section {
  --home-content-max-width: 42rem;
  --cloud-dancer: #f0eee9;
  box-sizing: border-box;
  width: 100%;
  padding: clamp(1.75rem, 5vw, 2.75rem) 0 0;
  background-color: #e05a45;
  overflow: hidden;
}

.instagram-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  width: 100%;
  max-width: var(--home-content-max-width);
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.instagram-section__handle {
  margin: 0;
  font-family: "Crafter Rough";
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.instagram-section__handle a {
  color: var(--cloud-dancer);
  text-decoration: none;
}

.instagram-section__handle a:hover {
  text-decoration: underline;
}

.instagram-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.instagram-grid li {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.instagram-grid a {
  display: block;
  width: 100%;
  height: 100%;
}

.instagram-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Towel stripe decorations — shared layout (colors per page) */
.towel-stripes,
.towel-stripes-blue {
  width: min(92vw, 52rem);
  height: clamp(2.2rem, 6vw, 3.5rem);
  margin: clamp(1rem, 2.5vw, 1.5rem) auto 0;
  border-radius: var(--home-media-radius);
  background-color: transparent;
}

.dot-decoration {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(4.5rem, 14vw, 7.5rem);
  padding: clamp(1rem, 3vw, 1.75rem) 0;
  box-sizing: border-box;
  background-size: 10px 10px;
  background-position: center;
  pointer-events: none;
}

.instagram-dot-decoration {
  margin-top: clamp(1rem, 3vw, 1.5rem);
  background-color: transparent;
  background-image: radial-gradient(circle, var(--cloud-dancer) 1.5px, transparent 1.6px);
}

.accordion-dot-decoration {
  background-color: #f0eee9;
  background-image: radial-gradient(circle, var(--primary) 1.5px, transparent 1.6px);
}

.video-intro__embed {
  position: relative;
  width: 92vw;
  max-width: 52rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

.video-intro__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 639px) {
  .video-intro {
    aspect-ratio: auto;
    height: auto;
    min-height: auto;
    padding: 0.5rem;
  }

  .video-intro__embed {
    width: 92vw;
    max-width: 52rem;
    flex-shrink: 0;
    border-radius: 1.5rem;
  }
}

.bg-blue-img {
	background-image: url("https://thecoup.de/test/capitana.jpeg?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&fit=crop&w=460&h=340&q=80");
}
.bg-green-img {
	background-image: url("https://thecoup.de/test/cocktail-sundowner.jpeg?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&fit=crop&w=460&h=340&q=80");
}
.bg-purple-img {
	background-image: url("./img/interior-orange-pink.webp");
}
.bg-red-img {
	background-image: url("https://thecoup.de/test/day-sailing.jpeg?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&fit=crop&w=460&h=340&q=80");
}
.bg-yellow-img {
	background-image: url("https://thecoup.de/test/pizza-workshop.jpeg?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&fit=crop&w=460&h=340&q=80");
}

/* The Sailing Yacht — accordion panel images (same class pattern as bg-red-img etc.) */
.bg-yacht-red-img {
	background-image: url("./img/seating-palm.webp");
}
.bg-yacht-yellow-img {
	background-image: url("./img/orange-coffee-accordion.webp");
}
.bg-yacht-green-img {
	background-image: url("./img/green-mirror.webp");
}
.bg-yacht-blue-img {
	background-image: url("./img/green-wall-bathrobe.webp");
}
.bg-yacht-purple-img {
	background-image: url("./img/tableknife.webp");
}

.pane.active {
	flex-grow: 10;
	max-width: 100%;
	min-height: 7rem;

	.background {
		scale: 1.25 1.25;
	}

	.label {
		@media (min-width: 640px) {
			translate: 0.5rem 0;
		}

		.content > * {
			opacity: 1;
			translate: 0;
		}
	}

	.shadow {
		opacity: 0.75;
		translate: 0;
	}
}

/* accordion end */

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem clamp(1.25rem, 4vw, 2.5rem);
  width: 100%;
  max-width: var(--home-content-max-width, 42rem);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2rem) clamp(1.75rem, 5vw, 2.75rem);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  margin-left: auto;
}

.site-footer__copyright {
  display: inline-block;
  margin: 0;
  font-family: var(--nav-display);
  font-size: clamp(0.75rem, 1.8vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0eee9;
}

.site-footer__link {
  position: relative;
  display: inline-block;
  margin: 0;
  text-indent: 0;
  font-family: var(--nav-display);
  font-size: clamp(0.75rem, 1.8vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0eee9;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: #f0eee9;
  transition: width 0.3s ease;
}

.site-footer__link:hover {
  opacity: 0.75;
}

.site-footer__link:hover::after {
  width: 100%;
}

@media (max-width: 767px) {
  .instagram-section {
    overflow-x: visible;
    overflow-y: visible;
  }

  .site-footer__nav {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(1rem, 5vw, 1.5rem);
    padding-bottom: clamp(1.25rem, 4vw, 2rem);
  }

  .site-footer__copyright {
    width: 100%;
    font-size: clamp(0.875rem, 2.6vw, 1.05rem);
    text-align: left;
    align-self: stretch;
  }

  .site-footer__legal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(0.45rem, 2vw, 0.875rem);
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer__link {
    flex: 0 1 auto;
    max-width: 100%;
    font-size: clamp(0.875rem, 2.6vw, 1.05rem);
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .site-footer__legal {
    gap: 0.4rem;
  }
}

