/* IQ Hotel — site styles */

@font-face { font-family: "Cormorant"; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(/fonts/cormorant-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url(/fonts/cormorant-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant"; font-style: italic; font-display: swap; font-weight: 300 700;
  src: url(/fonts/cormorant-latin-wght-italic.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/jost-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/fonts/jost-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #F7F4EF;
  --sand: #EEE8DF;
  --ink: #1E1D1B;
  --stone: #67635C;
  --rule: #D8D0C4;
  --sea: #1F3A40;
  --mist: #C7D2D0;

  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --gutter: clamp(22px, 5vw, 72px);
  --section: clamp(96px, 13vw, 200px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; font-weight: 400; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 16px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3rem, 7.2vw, 6.6rem); line-height: 1; letter-spacing: -0.015em; font-weight: 400; }
h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1.04; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.15; font-weight: 500; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 32px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.btn:hover { background: var(--ink); color: var(--paper); }

/* Header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background-color 240ms ease, box-shadow 240ms ease; }
.top.is-scrolled { background: rgba(247, 244, 239, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--rule); }
.top__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 84px; padding: 0 var(--gutter); }
.top__nav { display: flex; gap: 34px; font-size: 0.9375rem; letter-spacing: 0.02em; }
.top__nav a, .top__cta { text-decoration: none; }
.top__nav a:hover, .top__cta:hover { text-decoration: underline; }
.top__cta { justify-self: end; font-size: 0.9375rem; letter-spacing: 0.02em; }
.wordmark { font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: 0.38em; text-transform: uppercase; text-decoration: none; padding-left: 0.38em; white-space: nowrap; }

/* Hero: a Miami morning, sky over sea */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.hero__sky { position: absolute; inset: 0 0 26% 0; z-index: -2; overflow: hidden;
  background: linear-gradient(180deg, #DDE4E6 0%, #E8E8E3 34%, #F2E4D8 72%, #F1D8C6 100%); }
.hero__sun { position: absolute; left: 50%; bottom: 0; width: min(46vw, 560px); aspect-ratio: 1; transform: translate(-50%, 50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 230, 0.98) 0%, rgba(253, 228, 205, 0.75) 32%, rgba(246, 214, 190, 0) 68%); }
.hero__sea { position: absolute; inset: 74% 0 0 0; z-index: -2;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0 1px, rgba(255, 255, 255, 0) 1px 11px),
    radial-gradient(40% 18% at 50% 0%, rgba(255, 238, 220, 0.55), rgba(255, 238, 220, 0) 100%),
    linear-gradient(180deg, #AFC1C1 0%, #93ABAE 35%, #6F8D93 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .4 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__copy { width: min(100%, 980px); padding: 100px var(--gutter) 0; margin-bottom: 29vh; }
.hero__where { font-size: 0.9375rem; letter-spacing: 0.04em; color: var(--stone); }
.hero h1 { margin: 22px auto 0; max-width: 12ch; }
.hero__lede { margin: 26px auto 0; max-width: 30em; font-size: 1.1875rem; color: #45423D; }
.hero .btn { margin-top: 40px; }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 1100ms cubic-bezier(.2, .7, .2, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: 120ms; }
  .hero__copy > :nth-child(3) { animation-delay: 260ms; }
  .hero__copy > :nth-child(4) { animation-delay: 380ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Intro */
.intro { padding: var(--section) var(--gutter) calc(var(--section) * 0.7); }
.intro__text { max-width: 980px; margin: 0 auto; text-align: center; font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 3.1vw, 2.75rem); line-height: 1.3; }

/* Pillars */
.stay { padding: 0 var(--gutter) var(--section); }
.pillars { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.pillar { padding: 48px clamp(24px, 3vw, 48px) 0; }
.pillar + .pillar { border-left: 1px solid var(--rule); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar p { margin-top: 18px; color: var(--stone); max-width: 30em; }

/* The app */
.app { background: var(--sand); padding: var(--section) var(--gutter); }
.app__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px clamp(48px, 8vw, 140px); align-items: center; }
.app h2 { max-width: 11ch; }
.app__copy > p { margin-top: 26px; max-width: 28em; color: var(--stone); font-size: 1.125rem; }
.moments { margin-top: 48px; display: grid; gap: 4px; justify-items: start; }
.moment { position: relative; padding: 8px 0 8px 0; border: 0; background: none; color: #9A948B; font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 1.8rem); font-weight: 400; line-height: 1.25; text-align: left; cursor: pointer; transition: color 200ms ease, padding-left 260ms ease; }
.moment::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--ink); transition: width 260ms ease; }
.moment:hover { color: var(--ink); }
.moment[aria-selected="true"] { color: var(--ink); padding-left: 52px; }
.moment[aria-selected="true"]::before { width: 36px; }

.phone { justify-self: center; width: min(100%, 340px); aspect-ratio: 9 / 18.8; padding: 11px; border-radius: 54px; background: #1E1D1B; box-shadow: 0 50px 90px -40px rgba(30, 29, 27, 0.45), 0 0 0 1px #3A3834 inset; }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 44px; background: #FFFDF9; padding: 64px 26px 28px; }
.phone__screen::before { content: ""; position: absolute; top: 14px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #1E1D1B; }
.ui__brand { text-align: center; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.36em; text-transform: uppercase; padding-left: 0.36em; }
.ui { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.ui[hidden] { display: none; }
.ui__eyebrow { font-size: 0.8125rem; color: var(--stone); letter-spacing: 0.02em; }
.ui__title { margin-top: -14px; font-family: var(--serif); font-size: 2.05rem; line-height: 1.05; }
.ui__list div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid #ECE5DA; font-size: 0.875rem; }
.ui__list div:last-child { border-bottom: 1px solid #ECE5DA; }
.ui__list dt { color: var(--stone); }
.ui__list dd { font-weight: 500; text-align: right; }
.ui__btn { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; text-align: center; padding: 0 18px; }
.ui__qr { align-self: center; width: 172px; padding: 14px; border: 1px solid #ECE5DA; border-radius: 18px; color: var(--ink); }
.ui__qr svg { display: block; width: 100%; height: auto; shape-rendering: crispEdges; }
.ui__small { font-size: 0.875rem; color: var(--stone); text-align: center; }
.ui__key { position: relative; height: 180px; display: grid; place-items: center; }
.ui__key span, .ui__key::before, .ui__key::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--sea); }
.ui__key span { width: 64px; height: 64px; background: var(--sea); }
.ui__key::before { width: 112px; height: 112px; opacity: 0.35; }
.ui__key::after { width: 164px; height: 164px; opacity: 0.15; }
.ui__menu li { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid #ECE5DA; font-size: 0.9375rem; font-weight: 500; }
.ui__menu li:last-child { border-bottom: 1px solid #ECE5DA; }
.ui__menu em { font-style: normal; font-weight: 400; font-size: 0.8125rem; color: var(--stone); }
.ui__status { padding: 14px 16px; border-radius: 14px; background: #EEF2F1; color: var(--sea); font-size: 0.875rem; font-weight: 500; }
@media (prefers-reduced-motion: no-preference) { .ui:not([hidden]) { animation: fade 320ms ease; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* People */
.people { background: var(--sea); color: var(--paper); padding: var(--section) var(--gutter); text-align: center; }
.people__inner { max-width: 1000px; margin: 0 auto; }
.people h2 { font-weight: 300; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.06; }
.people p { margin: 34px auto 0; max-width: 36em; color: var(--mist); font-size: 1.125rem; }

/* Café */
.cafe { padding: var(--section) var(--gutter); }
.cafe__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(48px, 8vw, 140px); align-items: baseline; padding-top: 48px; border-top: 1px solid var(--rule); }
.cafe p { max-width: 30em; color: var(--stone); font-size: 1.125rem; }

/* Opening list */
.list { background: var(--sand); padding: var(--section) var(--gutter); text-align: center; }
.list__inner { max-width: 760px; margin: 0 auto; }
.list > .list__inner > p { margin-top: 22px; color: var(--stone); font-size: 1.125rem; }
.signup { margin: 44px auto 0; display: flex; gap: 14px; max-width: 580px; }
.signup input { flex: 1; min-width: 0; min-height: 54px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 1.0625rem; border-radius: 0; }
.signup input::placeholder { color: #8E887F; }
.signup input:focus-visible { outline: none; border-bottom-width: 2px; }
.signup__note { margin-top: 18px; font-size: 0.9375rem; color: var(--stone); }
.signup__note[data-state="error"] { color: #9A3B24; }
.signup__note[data-state="ok"] { color: var(--sea); font-weight: 500; }

/* Footer */
.foot { padding: 72px var(--gutter) 56px; font-size: 0.9375rem; color: var(--stone); }
.foot__grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1.3fr auto; gap: 32px 48px; align-items: start; }
.wordmark--foot { color: var(--ink); }
.foot a:not(.wordmark) { color: var(--ink); }
.foot__end { text-align: right; }

/* Responsive */
@media (max-width: 960px) {
  .top__nav { display: none; }
  .top__row { grid-template-columns: auto 1fr; }
  .wordmark { justify-self: start; padding-left: 0; }
  .pillars { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .pillar, .pillar:first-child, .pillar:last-child { padding: 36px 0; border-top: 1px solid var(--rule); }
  .pillar + .pillar { border-left: 0; }
  .app__grid, .cafe__grid { grid-template-columns: minmax(0, 1fr); }
  .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__end { text-align: left; }
}
@media (max-width: 560px) {
  .top__cta { font-size: 0.875rem; }
  .wordmark { font-size: 0.875rem; letter-spacing: 0.3em; }
  .hero__copy { margin-bottom: 26vh; }
  .signup { flex-direction: column; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
}
