/*
Theme Name: Landmark Teaser
Description: Landmark Orchard teaser — Figma 5A / 5B with Singapore day and night themes.
Version: 1.0.1
Requires at least: 7.1
Requires PHP: 8.3
Text Domain: landmark-teaser
License: GPL-2.0-or-later
*/

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root { color-scheme: light; --ink: #342a2a; --link: #262626; --surface: #e6d6bc; }
:root[data-period="night"] { color-scheme: dark; --ink: #e4f1ea; --link: #e4f1ea; --surface: #00151c; }
* { box-sizing: border-box; }
html { margin: 0; background: var(--surface); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "DM Sans", sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 7px; border-radius: 1px; }
img { display: block; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 10; left: 16px; top: 16px; width: auto; height: auto; clip-path: none; padding: 12px 18px; background: var(--surface); }
.teaser { overflow: hidden; }
.period-night { display: none; }
[data-period="night"] .period-day { display: none; }
[data-period="night"] .period-night { display: block; }

/* Original source artwork contains its text. Keep the Figma hero slot for both periods. */
.hero { position: relative; width: 100%; aspect-ratio: 1920 / 891; overflow: hidden; background: #00151c; }
.hero-isolation { position: absolute; left: -46.8229167%; top: -4.826038%; width: 147.708333%; aspect-ratio: 2836 / 934; }
.hero-isolation > img { position: absolute; inset: 0; width: 100%; height: auto; }
.hero-art { position: absolute; object-fit: cover; width: 100.8854167%; height: auto; right: 0; }
.hero-art.period-day { top: -0.785634%; aspect-ratio: 2574 / 1193; }
.hero-art.period-night { top: -0.448934%; aspect-ratio: 2573 / 1190; }
.hero-art.hero-art-client { inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; }

.lower { position: relative; min-height: 51.8229167vw; display: flex; flex-direction: column; overflow: hidden; }
.backdrop { position: absolute; pointer-events: none; z-index: 0; }
.backdrop-day { left: -2.7604167%; top: 0; width: 105.104167%; height: 105.929648%; overflow: hidden; }
.backdrop-day img { position: absolute; top: -39.6%; left: 0; width: 100.01%; height: 141.1%; }
.backdrop-night { left: -14.1145833%; top: -26.0416667vw; width: 130%; height: 114.3229167vw; }
.backdrop-night img { position: absolute; left: 50%; top: 50%; width: 114.3229167vw; height: 130vw; transform: translate(-50%, -50%) rotate(90deg); }
.intro { position: relative; z-index: 1; margin: 6.5104167vw auto 0; text-align: center; width: 30.9895833%; }
.intro p { font-size: clamp(18px, 1.3541667vw, 30px); line-height: 1.3; font-variation-settings: "opsz" 14; margin: 0; }
.actions { display: flex; align-items: flex-start; justify-content: center; gap: 4.3229167vw; margin-top: 3.4270833vw; }
.cta { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; height: 2.34375vw; font-size: clamp(17px, 1.25vw, 28px); color: var(--link); padding-bottom: .7291667vw; white-space: nowrap; }
.cta-follow { width: 7.03125vw; }
.cta-discover { width: 10.2604167vw; }
.cta-arrow { width: .46875vw; aspect-ratio: 9 / 18; flex: none; }
.cta-arrow img { width: 100%; height: auto; }
.cta-rule { position: absolute; bottom: 0; height: auto; }
.cta-follow .cta-rule { left: .3645833vw; width: 6.4583333vw; }
.cta-discover .cta-rule { right: 0; width: 9.6354167vw; }
.cta[aria-disabled="true"] { cursor: default; }
.site-footer { position: relative; z-index: 1; width: 66.9270833%; margin: auto auto 4.6875vw; padding-top: 1.3020833vw; font-size: clamp(13px, .9895833vw, 22px); line-height: 1.13; }
.footer-rule { position: absolute; left: 0; top: -2px; width: 99.922179%; height: auto; }
.footer-top { display: flex; align-items: center; gap: 1.4583333vw; }
.divider { width: 1px; height: 1.1458333vw; position: relative; margin-inline: .0520833vw; }
.divider img { position: absolute; left: 50%; top: 50%; width: 1.1458333vw; height: auto; transform: translate(-50%, -50%) rotate(-90deg); }
.footer-contacts { display: flex; gap: 3.4375vw; margin-top: .9375vw; padding-right: 11vw; }
.contact-link { display: flex; align-items: center; gap: .78125vw; white-space: nowrap; }
.contact-icon { display: block; width: 1.3020833vw; height: .9895833vw; flex: none; position: relative; }
.contact-icon > img { width: 100%; height: auto; }
.contact-icon.instagram img { position: absolute; right: 0; width: 76%; height: auto; }
.brand { position: absolute; right: 0; top: 1.4583333vw; display: block; width: 8.5416667vw; height: 1.9270833vw; }
.brand-landmark img { width: 100%; height: auto; }
.brand-orchard { position: absolute; right: 0; top: 63.84%; width: 67.14%; }
.brand-orchard img { width: 100%; height: auto; }
.content-page { max-width: 900px; min-height: 70vh; padding: 80px 24px; margin: auto; line-height: 1.7; }
.content-page h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.1; }
.content-page a { text-decoration: underline; }
.page-footer { text-align: center; padding: 32px 24px; }

@media (min-width: 2200px) {
  .intro p { font-size: 1.3541667vw; }
  .cta { font-size: 1.25vw; }
  .site-footer { font-size: .9895833vw; }
}
@media (max-width: 1200px) {
  .lower { min-height: 650px; }
  .intro { width: min(595px, 78%); margin-top: 64px; }
  .intro p { font-size: 21px; }
  .actions { margin-top: 36px; gap: 48px; }
  .cta { font-size: 19px; height: 40px; padding-bottom: 12px; }
  .cta-follow { width: 115px; }
  .cta-discover { width: 162px; }
  .cta-arrow { width: 8px; }
  .cta-follow .cta-rule { left: 5px; width: 106px; }
  .cta-discover .cta-rule { width: 154px; }
  .site-footer { width: 82%; font-size: 14px; margin-bottom: 44px; padding-top: 24px; }
  .footer-top { gap: 20px; }
  .divider { height: 18px; }
  .divider img { width: 18px; }
  .footer-contacts { gap: 18px; flex-wrap: wrap; padding-right: 0; margin-top: 20px; }
  .contact-link { gap: 10px; }
  .contact-icon { width: 21px; height: 16px; }
  .brand { width: 130px; height: 29.33px; top: 22px; }
  .backdrop-night { left: -14.1145833%; top: -500px; width: 130%; height: 2195px; }
  .backdrop-night img { width: 2195px; height: 130vw; min-height: 1100px; }
}
@media (max-width: 560px) {
  .lower { min-height: max(660px, calc(100svh - 46.40625vw)); }
  .intro { width: auto; margin: 48px 28px 0; }
  .intro p { font-size: 18px; line-height: 1.45; }
  .actions { gap: 28px; margin-top: 32px; }
  .cta { min-height: 44px; font-size: 17px; }
  .cta-follow { width: 102px; }
  .cta-discover { width: 145px; }
  .cta-follow .cta-rule { width: 95px; }
  .cta-discover .cta-rule { width: 138px; }
  .site-footer { width: calc(100% - 56px); margin-bottom: 32px; padding-top: 28px; }
  .footer-top { gap: 16px; }
  .footer-contacts { flex-direction: column; gap: 20px; margin-top: 24px; }
  .brand { position: relative; top: auto; right: auto; margin-top: 32px; }
  .footer-top > a, .footer-top > span:not(.divider) { padding-block: 9px; }
  .contact-link { min-height: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
