/* ==========================================================================
   The Coastline — brand tokens
   Pulled from coastlinestamford.com: logo navy #0a2a45, wave teal #448a9a,
   site teal #528e9b, accent aqua #09c6bd, sand #f9f2e8, sky #a9c5e0.
   Futura on the original site → Jost (Futura-inspired) here.
   ========================================================================== */
:root {
  --sand: #f9f2e8;
  --sand-2: #f2e6d4;
  --white: #ffffff;
  --navy: #0a2a45;
  --navy-soft: #3c556b;
  --teal: #528e9b;
  --teal-deep: #3e7885;
  --wave: #448a9a;
  --aqua: #09c6bd;
  --sky: #a9c5e0;
  --line: rgba(10, 42, 69, .12);

  --font: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--sand); color: var(--navy); font: 400 18px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--aqua); color: var(--white); }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
em { font-style: italic; font-weight: 300; color: var(--wave); }

.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--teal); margin: 0 0 22px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ''; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: rgba(255,255,255,.85); }
.h2 { font-size: clamp(38px, 5.4vw, 84px); font-weight: 400; line-height: 1.02; letter-spacing: .01em; margin: 0; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 30px; border-radius: 999px; font-weight: 500; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn span { position: relative; z-index: 1; }
.btn::before { content: ''; position: absolute; left: -10%; right: -10%; top: 100%; height: 220%; z-index: 0; border-radius: 45% 45% 0 0; transition: top .7s var(--ease); }
.btn:hover::before { top: -30%; }
.btn--aqua { background: var(--aqua); color: var(--white); }
.btn--aqua::before { background: var(--navy); }
.btn--glass { background: rgba(255,255,255,.18); color: var(--white); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(10px); }
.btn--glass::before { background: var(--white); }
.btn--glass:hover { color: var(--navy); }
.btn--sand { background: var(--sand); color: var(--navy); }
.btn--sand::before { background: var(--aqua); }
.btn--sand:hover { color: var(--white); }
.btn span { transition: color .4s; }

.link { display: inline-flex; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--wave); padding-bottom: 6px; border-bottom: 2px solid currentColor; }
.link i { font-style: normal; transition: transform .4s var(--ease); }
.link:hover i { transform: translateX(6px); }

/* ==========================================================================
   Preloader — tide in, tide out
   ========================================================================== */
.loader { position: fixed; inset: 0; z-index: 1000; background: var(--sand); display: grid; place-items: center; overflow: hidden; pointer-events: none; }
html:not(.js) .loader, .loader.is-done { display: none; }
.loader__logo { position: relative; z-index: 2; width: min(340px, 70vw); opacity: 0; }
.loader__tag { position: absolute; z-index: 2; left: 0; right: 0; bottom: 14vh; text-align: center; font-style: italic; font-weight: 300; letter-spacing: .3em; text-transform: uppercase; font-size: 14px; color: var(--teal); opacity: 0; }
.loader__tide { position: absolute; left: 0; right: 0; bottom: 0; height: 120%; background: var(--wave); transform: translateY(100%); z-index: 3; }
.loader__wave { position: absolute; left: 0; bottom: 100%; width: 200%; height: 90px; fill: var(--wave); margin-bottom: -1px; animation: drift 2.4s linear infinite; }
@keyframes drift { to { transform: translateX(-50%); } }

/* ==========================================================================
   Cursor
   ========================================================================== */
.cursor { position: fixed; top: 0; left: 0; z-index: 960; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor__ring { position: fixed; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--aqua); mix-blend-mode: multiply; display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), background .3s; }
.cursor__ring em { font-style: normal; color: var(--white); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; opacity: 0; transition: opacity .3s; }
.cursor.is-link .cursor__ring { width: 46px; height: 46px; background: rgba(9,198,189,.35); }
.cursor.is-view .cursor__ring { width: 96px; height: 96px; background: var(--aqua); mix-blend-mode: normal; }
.cursor.is-view .cursor__ring em { opacity: 1; }

/* ==========================================================================
   Nav + menu
   ========================================================================== */
.nav { position: fixed; z-index: 800; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 36px; padding: 20px var(--gutter); transition: background .5s, padding .5s var(--ease), box-shadow .5s, transform .5s var(--ease); }
.nav__logo img { height: 52px; width: auto; filter: brightness(0) invert(1); transition: filter .5s, height .5s var(--ease); }
.nav__links { display: flex; gap: 34px; margin-left: auto; }
.nav__links a { font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--white); position: relative; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--aqua); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { height: 46px; padding: 0 22px; font-size: 12px; }
.nav.is-solid { background: rgba(249,242,232,.88); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); padding-top: 12px; padding-bottom: 12px; }
.nav.is-solid .nav__logo img { filter: none; height: 44px; }
.nav.is-solid .nav__links a { color: var(--navy); }
.nav.is-hidden { transform: translateY(-100%); }
.burger { display: none; width: 46px; height: 46px; position: relative; margin-left: auto; z-index: 2; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); transition: .45s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.nav.is-solid .burger span, .menu-open .burger span { background: var(--navy); }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }
.menu-open .nav__logo img { filter: none; }
.menu { position: fixed; inset: 0; z-index: 790; background: var(--sand); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .9s var(--ease); }
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu nav { display: flex; flex-direction: column; gap: 4px; }
.menu nav a { font-size: clamp(34px, 9vw, 60px); font-weight: 400; line-height: 1.15; }
.menu nav a:last-child { color: var(--aqua); font-style: italic; font-weight: 300; }
.menu__crest { width: 90px; height: 38px; fill: var(--wave); margin-top: 40px; }
@media (max-width: 1000px) { .nav__links { display: none; } .burger { display: block; } .nav__cta { margin-left: auto; } .burger { margin-left: 0; } }
@media (max-width: 560px) { .nav__cta { display: none; } .burger { margin-left: auto; } .nav__logo img { height: 42px; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: flex; align-items: center; color: var(--white); }
.hero__img { position: absolute; inset: -4% 0 0; background: url(../img/hero-front.jpg) center 40% / cover; transform-origin: 50% 60%; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,42,69,.62) 0%, rgba(10,42,69,.2) 55%, rgba(10,42,69,0) 80%), linear-gradient(0deg, rgba(10,42,69,.35), transparent 40%); }
.hero__content { position: relative; z-index: 2; padding: 0 var(--gutter); width: 100%; max-width: 1400px; margin: 0 auto; }
.hero__kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 28px; }
.pill { padding: 9px 16px; border-radius: 999px; background: var(--aqua); color: var(--white); letter-spacing: .2em; }
.hero__title { font-size: clamp(54px, 9.6vw, 168px); font-weight: 400; line-height: .98; letter-spacing: -.005em; margin: 0 0 44px; text-shadow: 0 4px 40px rgba(10,42,69,.25); }
.hero__title .row { display: block; white-space: nowrap; }
.hero__title em { color: var(--white); }
.hero__title .ch { display: inline-block; will-change: transform; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 22vh; min-height: 140px; z-index: 3; }

/* ==========================================================================
   Intro + building stack
   ========================================================================== */
.intro { padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 8vw, 120px); }
.intro__title { font-size: clamp(48px, 8vw, 132px); font-weight: 400; line-height: 1; margin: 0 0 40px; }
.intro__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.intro__title .line > span { display: inline-block; }
.intro__lede { font-size: clamp(22px, 2.4vw, 36px); line-height: 1.35; font-weight: 300; max-width: 1050px; margin: 0; }
.tide-words .w { color: rgba(10,42,69,.18); transition: color .25s; }
html:not(.js) .tide-words .w { color: inherit; }

.stack { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; margin-top: clamp(70px, 9vw, 130px); }
.stack__building { position: relative; }
.stack__roof { height: 46px; margin: 0 8% 6px; border-radius: 10px 10px 0 0; background: linear-gradient(90deg, var(--aqua), var(--sky)); display: grid; place-items: center; color: var(--white); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; position: relative; overflow: hidden; }
.stack__roof::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255,255,255,.25) 18px 22px); animation: shimmer 3s linear infinite; }
@keyframes shimmer { to { background-position: 80px 0; } }
.stack__floors { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 6px; }
.stack__floors li { height: clamp(22px, 2.6vw, 34px); border-radius: 4px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-size: 11px; letter-spacing: .2em; color: var(--navy-soft); position: relative; overflow: hidden; }
.stack__floors li::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--wave), var(--aqua)); transform: scaleX(var(--fill, 0)); transform-origin: left; transition: transform .7s var(--ease); }
.stack__floors li span { position: relative; z-index: 1; transition: color .4s; }
.stack__floors li.is-lit span { color: var(--white); }
.stack__floors li i { position: relative; z-index: 1; display: flex; gap: 5px; }
.stack__floors li i b { width: 10px; height: 8px; border-radius: 2px; background: currentColor; opacity: .25; }
.stack__floors li.is-lit i { color: var(--white); }
.stack__floors li.is-lit i b { opacity: .7; }
.stack__ground { margin-top: 6px; height: 54px; border-radius: 4px; background: var(--navy); color: var(--sand); display: grid; place-items: center; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.stack__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 32px 24px 32px 0; border-bottom: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(54px, 6.4vw, 104px); font-weight: 300; line-height: 1; color: var(--wave); margin-bottom: 12px; letter-spacing: -.02em; }
.stat > span { font-size: 15px; letter-spacing: .06em; color: var(--navy-soft); }
.types { position: relative; height: 1em; overflow: hidden; }
.types__word { display: inline-block; font-size: .78em; }
@media (max-width: 820px) {
  .stack { grid-template-columns: 1fr; }
  .stack__building { max-width: 340px; width: 100%; margin: 0 auto; }
}
@media (max-width: 480px) { .stack__stats { grid-template-columns: 1fr; } }

/* Wave divider */
.divider { line-height: 0; margin-bottom: -1px; overflow: hidden; }
.divider svg { width: 200%; height: clamp(50px, 6vw, 80px); display: block; animation: drift 14s linear infinite; }
.divider__a { fill: var(--sky); opacity: .55; }
.divider__b { fill: var(--teal); }

/* ==========================================================================
   Amenities — sticky stage with ripple reveal
   ========================================================================== */
.amenities { background: var(--teal); color: var(--white); padding: clamp(70px, 8vw, 120px) 0 clamp(90px, 10vw, 160px); }
.amenities em { color: var(--sand); }
.amenities .h2 { margin-bottom: clamp(50px, 6vw, 90px); }
.amen { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.amen__list { list-style: none; margin: 0; padding: 0; }
.amen__list li { display: flex; gap: 24px; padding: clamp(26px, 4vh, 44px) 0; border-top: 1px solid rgba(255,255,255,.25); opacity: .45; transition: opacity .5s; cursor: default; }
.amen__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.25); }
.amen__list li.is-active { opacity: 1; }
.amen__n { font-size: 13px; letter-spacing: .2em; padding-top: 10px; color: var(--sand); }
.amen__list h3 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 400; line-height: 1.1; margin: 0 0 8px; }
.amen__list p { margin: 0; font-size: 17px; color: rgba(255,255,255,.88); max-width: 440px; }
.amen__stage { position: sticky; top: 14vh; }
.amen__frame { position: relative; aspect-ratio: 4 / 5; max-height: 72vh; border-radius: 200px 200px 16px 16px; overflow: hidden; background: var(--teal-deep); box-shadow: 0 40px 80px -30px rgba(10,42,69,.5); }
.amen__frame .layer { position: absolute; inset: 0; background-size: cover; background-position: center; clip-path: circle(0% at 50% 100%); }
.amen__frame .layer.is-in { clip-path: circle(150% at 50% 100%); transition: clip-path 1.1s var(--ease); }
.amen__frame .layer.is-base { clip-path: none; }
.amen__frame .layer.rippling { filter: url(#ripple); }
.amen__caption { margin: 16px 0 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); }
@media (max-width: 820px) {
  .amen { grid-template-columns: 1fr; }
  .amen__stage { display: none; }
  .amen__list li { opacity: 1; flex-wrap: wrap; }
  .amen__list li::after { content: ''; flex-basis: 100%; aspect-ratio: 16 / 10; border-radius: 12px; background: var(--img) center / cover; margin-top: 8px; }
}

/* ==========================================================================
   Rooftop
   ========================================================================== */
.rooftop { position: relative; min-height: 120vh; display: flex; align-items: center; justify-content: flex-end; padding: 12vh var(--gutter); overflow: hidden; }
.rooftop__img { position: absolute; inset: 0; background-size: cover; background-position: center 55%; }
.rooftop__grill { position: absolute; z-index: 1; left: var(--gutter); bottom: 10vh; width: clamp(180px, 22vw, 320px); aspect-ratio: 1; margin: 0; border-radius: 50%; overflow: hidden; border: 6px solid var(--sand); box-shadow: 0 30px 60px -20px rgba(10,42,69,.45); cursor: zoom-in; }
.rooftop__grill div { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.rooftop__grill:hover div { transform: scale(1.1); }
.rooftop__card { position: relative; z-index: 2; max-width: 540px; background: rgba(249,242,232,.94); backdrop-filter: blur(10px); padding: clamp(32px, 4vw, 56px); border-radius: 220px 220px 20px 20px; text-align: center; box-shadow: 0 40px 100px -30px rgba(10,42,69,.45); }
.rooftop__card .eyebrow { justify-content: center; }
.rooftop__card .eyebrow::before { display: none; }
.rooftop__card .h2 { font-size: clamp(34px, 3.8vw, 56px); margin-bottom: 20px; }
.rooftop__card p:not(.eyebrow) { color: var(--navy-soft); margin: 0 0 26px; }
.rooftop__crest { width: 70px; height: 30px; fill: var(--wave); margin: 26px auto 10px; display: block; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--wave); color: var(--wave); font-size: 14px; }
@media (max-width: 820px) {
  .rooftop { flex-direction: column; justify-content: flex-end; min-height: 0; padding-top: 50vh; }
  .rooftop__grill { top: 6vh; bottom: auto; width: 150px; }
  .rooftop__card { border-radius: 160px 160px 16px 16px; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { background: var(--white); padding: 30px 0; overflow: hidden; border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: drift 38s linear infinite; }
.marquee__row { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee__row span { font-size: clamp(30px, 4vw, 58px); font-weight: 400; white-space: nowrap; color: var(--navy); }
.marquee__row svg { width: 56px; height: 24px; fill: var(--aqua); flex: none; }

/* ==========================================================================
   Gallery — horizontal, pinned on desktop
   ========================================================================== */
.gallery { background: var(--white); padding-top: clamp(80px, 9vw, 130px); overflow: hidden; }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 50px; }
.gallery__hint { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin: 0; }
.gallery__viewport { padding-bottom: clamp(80px, 9vw, 130px); }
.gallery__track { display: flex; align-items: center; gap: 22px; padding: 0 var(--gutter); width: max-content; }
.g { margin: 0; position: relative; height: clamp(300px, 52vh, 560px); aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; cursor: zoom-in; flex: none; }
.g--tall { aspect-ratio: 3 / 4; border-radius: 240px 240px 14px 14px; }
.g--wide { aspect-ratio: 16 / 9; }
.g div { position: absolute; inset: 0 -12%; background-size: cover; background-position: center; will-change: transform; }
.g figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(249,242,232,.92); color: var(--navy); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; transform: translateY(150%); transition: transform .5s var(--ease); }
.g:hover figcaption, .g:focus-visible figcaption { transform: none; }
.g:focus-visible { outline: 3px solid var(--aqua); outline-offset: 4px; }
@media (hover: none), (max-width: 900px) {
  .gallery__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery__viewport::-webkit-scrollbar { display: none; }
  .g { scroll-snap-align: center; height: 56vh; max-height: 460px; }
  .g--tall, .g--wide, .g { aspect-ratio: auto; width: 80vw; }
  .g figcaption { transform: none; }
}

/* ==========================================================================
   Location
   ========================================================================== */
.location { padding: clamp(80px, 10vw, 150px) 0; background: var(--sand); }
.location__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.location__copy p:not(.eyebrow) { color: var(--navy-soft); margin: 26px 0; max-width: 480px; }
.location address { font-size: 24px; line-height: 1.4; margin-bottom: 26px; }
.location__map { position: relative; aspect-ratio: 1 / 1; max-height: 640px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 12px var(--white), 0 0 0 13px var(--line), 0 50px 100px -40px rgba(10,42,69,.45); }
.location__map iframe { position: absolute; inset: -10%; width: 120%; height: 120%; border: 0; filter: grayscale(.6) sepia(.25) hue-rotate(150deg) saturate(1.3) contrast(.95); }
.location__map::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; box-shadow: inset 0 0 60px rgba(82,142,155,.45); }
.location__pin { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; background: var(--aqua); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(9,198,189,.6); animation: ping 2.2s infinite; }
.location__pin svg { width: 48px; height: 20px; fill: var(--white); }
@keyframes ping { 70% { box-shadow: 0 0 0 28px rgba(9,198,189,0); } 100% { box-shadow: 0 0 0 0 rgba(9,198,189,0); } }
@media (max-width: 860px) { .location__grid { grid-template-columns: 1fr; } .location__map { width: 100%; max-width: 520px; margin: 0 auto; } }

/* ==========================================================================
   Waitlist
   ========================================================================== */
.waitlist { position: relative; background: var(--wave); color: var(--white); padding: clamp(110px, 12vw, 180px) 0 clamp(90px, 10vw, 150px); overflow: hidden; }
.waitlist em { color: var(--sand); }
.waitlist__waves { position: absolute; left: 0; top: 0; width: 100%; height: 130px; transform: scaleY(-1); }
.waitlist__grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.waitlist__lede { color: rgba(255,255,255,.88); max-width: 420px; margin: 26px 0 0; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 26px 18px 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1); color: var(--white); font: 400 17px/1.4 var(--font); outline: none; transition: border-color .3s, background .3s; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--white); background: rgba(255,255,255,.18); }
.field label { position: absolute; left: 19px; top: 18px; font-size: 16px; color: rgba(255,255,255,.75); pointer-events: none; transition: .3s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.field.is-invalid input { border-color: #ffd2c2; background: rgba(255,120,90,.15); }
.form .btn { height: 60px; }
.form__status { margin: 0; min-height: 1.6em; font-size: 15px; color: var(--sand); }
@media (max-width: 860px) { .waitlist__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--white); padding-top: 70px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.footer address { font-size: 18px; line-height: 1.5; margin-bottom: 14px; }
.footer__ig { display: inline-flex; align-items: center; gap: 10px; color: var(--wave); font-size: 15px; }
.footer__ig:hover { color: var(--aqua); }
.footer__logo { width: 200px; }
.footer__dev { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--navy-soft); }
.footer__dev img { width: 170px; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.footer__dev:hover img { transform: translateY(-3px); }
.footer__giant { margin-top: 60px; text-align: center; line-height: .8; overflow: hidden; }
.footer__giant span { display: inline-block; font-size: 12.4vw; font-weight: 500; letter-spacing: .02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(68,138,154,.45); background: linear-gradient(0deg, var(--wave) 50%, transparent 50%); background-size: 100% 200%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; transition: background-position 1.2s var(--ease); transform: translateY(12%); }
.footer__giant:hover span { background-position: 0 100%; }
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 26px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-soft); position: relative; background: var(--white); }
.footer__bar a:hover { color: var(--aqua); }
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__dev { justify-self: center; align-items: center; }
  .footer__logo { order: -1; }
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(249,242,232,.97); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 12px; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; min-width: 0; }
.lightbox__img { width: min(1200px, 100%); aspect-ratio: 16 / 10; max-height: 78vh; background: center / contain no-repeat; }
.lightbox__cap { font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); text-align: center; }
.lightbox__nav, .lightbox__close { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); font-size: 22px; transition: .3s; }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--aqua); color: var(--white); border-color: transparent; }
.lightbox__close { position: absolute; top: 18px; right: 18px; font-size: 30px; }
@media (max-width: 700px) {
  .lightbox { grid-template-columns: 1fr 1fr; padding: 70px 16px 24px; }
  .lightbox__fig { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__prev { grid-row: 2; justify-self: start; } .lightbox__next { grid-row: 2; justify-self: end; }
}

@media (hover: hover) and (pointer: fine) { [data-zoom], .g, .rooftop__grill { cursor: none; } }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .loader { display: none; }
  .tide-words .w { color: inherit; }
  .amen__frame .layer.rippling { filter: none; }
}
