/* Casa Lagares coming-soon page.
   Fraunces and Outfit are licensed under the SIL Open Font License.
   See fonts/OFL-Fraunces.txt and fonts/OFL-Outfit.txt. */

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Fraunces;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #070708;
  --ink: #12110f;
  --cream: #f6f1e7;
  --cream-dim: #d7cdb8;
  --gold: #e6c36a;
  --gold-deep: #c6a15b;
  --terra: #c46a52;
  --green: #8eae96;
  --line: rgba(230, 195, 106, 0.35);
  --serif: Fraunces, "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 5;
  transform: translateY(-180%);
  background: var(--cream);
  color: var(--night);
  padding: 0.65rem 0.9rem;
  font-weight: 560;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: var(--night);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  background: var(--night);
  color: var(--cream);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 56% 30% at 50% 44%,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 34%,
      rgba(0, 0, 0, 0.5) 64%,
      rgba(0, 0, 0, 0.75) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.28) 16%,
      rgba(0, 0, 0, 0.06) 32%,
      rgba(0, 0, 0, 0.06) 54%,
      rgba(0, 0, 0, 0.58) 72%,
      rgba(0, 0, 0, 0.84) 100%
    );
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 2.4rem, 40rem);
  padding: 0 0 calc(8vh + env(safe-area-inset-bottom));
  text-align: center;
}

.opening {
  margin: 0;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(2.05rem, 4.6vw, 3.35rem);
  font-variation-settings: "opsz" 72, "wght" 520;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}

.where {
  margin: 0.7rem 0 0;
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.countdown {
  margin: 1.05rem 0 0;
  color: var(--gold);
}

.ticks {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.28rem;
}

.tick {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.7rem;
}

.tick-num {
  display: block;
  min-width: 2ch;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-weight: 500;
  font-size: clamp(1.35rem, 4.8vw, 1.95rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.tick-label {
  margin-top: 0.38rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.tick-sep {
  color: var(--gold);
  font-size: clamp(1.15rem, 4vw, 1.65rem);
  font-weight: 500;
  line-height: 0.9;
  opacity: 0.72;
}

.now-open {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 520;
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.countdown:not(.is-ready) .tick-num {
  visibility: hidden;
}

main {
  background: var(--ink);
}

.sheet {
  width: min(100% - 2.5rem, 42rem);
  margin: 0 auto;
  padding: 3.25rem 0 0;
}

.hello {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.65rem;
  font-variation-settings: "opsz" 48, "wght" 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.lede {
  margin: 0;
  max-width: 18em;
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

.body-copy {
  max-width: 38rem;
  margin: 1.1rem 0 0;
  color: var(--cream-dim);
  font-size: 1.075rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.visit {
  margin-top: 2.5rem;
}

.rule {
  width: 4.5rem;
  height: 1px;
  margin: 0 0 1.3rem;
  background: var(--terra);
  position: relative;
}

.rule::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--green);
  transform: translateY(-50%) rotate(45deg);
}

.visit h2 {
  margin: 0 0 0.75rem;
  color: var(--cream);
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

address {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: 0 0 1rem;
  color: var(--cream);
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.35;
}

.directions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  margin-bottom: 1.35rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  width: fit-content;
}

.directions:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

.directions svg {
  display: block;
}

.map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #1c1a17;
  box-shadow: inset 0 0 0 1px var(--line);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

footer {
  background: var(--ink);
  padding-bottom: calc(1.75rem + env(safe-area-inset-bottom));
}

footer .sheet {
  padding-top: 2.5rem;
  padding-bottom: 0.25rem;
  border-top: 1px solid rgba(230, 195, 106, 0.22);
}

footer p {
  margin: 0.15rem 0;
  color: var(--cream-dim);
  font-size: 0.98rem;
  line-height: 1.45;
}

footer .legal {
  margin-bottom: 0.35rem;
  color: var(--cream);
  font-weight: 560;
}

.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;
}

@media (max-width: 759px) {
  .hero {
    min-height: 0;
    aspect-ratio: 5 / 6;
  }

  .hero-photo {
    object-position: center 42%;
  }
}

@media (min-width: 900px) {
  .map {
    height: 22rem;
    aspect-ratio: auto;
  }
}

@media (max-width: 380px) {
  .where {
    font-size: 0.98rem;
    letter-spacing: 0.02em;
  }
}

@media (forced-colors: active) {
  .hero,
  main,
  footer,
  .skip {
    background: Canvas;
    color: CanvasText;
  }

  .hero-shade {
    display: none;
  }

  .opening,
  .where,
  .countdown,
  .lede,
  .hello,
  .visit h2,
  footer .legal {
    color: CanvasText;
    text-shadow: none;
  }

  .directions {
    color: LinkText;
    border-bottom-color: LinkText;
  }
}

@media print {
  body,
  .hero,
  main,
  footer {
    background: #fff;
    color: #000;
  }

  .hero {
    min-height: auto;
  }

  .hero-photo,
  .hero-shade {
    display: none;
  }

  .opening,
  .where,
  .countdown,
  .lede,
  .hello,
  .body-copy,
  .visit h2,
  address,
  footer p,
  footer .legal {
    color: #000;
    text-shadow: none;
  }

  .map {
    display: none;
  }

  a {
    text-decoration: underline;
  }
}
