/* HighFields Coorg — version two
   Image-led, full-bleed, in the register of the better resort sites.
   Palette: bone, stone, forest, laterite. No JavaScript. */

:root {
  --bone: #efe9dd;
  --stone: #e2dac9;
  --forest: #172320;
  --forest-2: #20302a;
  --ink: #1b2420;
  --muted: #5a615b;
  --laterite: #96492a;
  --line: rgba(27, 36, 32, 0.16);
  --line-light: rgba(239, 233, 221, 0.22);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --text-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --section: clamp(56px, 7vw, 100px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
img { background: var(--stone); }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; margin: 0; line-height: 1.1; letter-spacing: 0.005em; }
ul, ol, dl { margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--laterite); outline-offset: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: var(--bone); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

/* Type helpers */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.dark .eyebrow { color: rgba(239, 233, 221, 0.6); }
.display-xl { font-size: clamp(2.4rem, 5.2vw, 4.4rem); max-width: 16ch; }
.display-l  { font-size: clamp(2rem, 3.9vw, 3.3rem); max-width: 20ch; }
.display-m  { font-size: clamp(1.7rem, 2.8vw, 2.4rem); max-width: 22ch; font-weight: 400; }
.lede { font-size: 1.15rem; line-height: 1.65; max-width: 52ch; }
.muted { color: var(--muted); }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow, .center h2, .center p { margin-inline: auto; }
.measure { max-width: 56ch; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px 14px;
  border: 1px solid currentColor;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.dark .btn:hover, .hero .btn:hover { background: var(--bone); color: var(--forest); border-color: var(--bone); }
.btn-solid { background: var(--laterite); border-color: var(--laterite); color: var(--bone); }
.btn-solid:hover { background: #7d3a20; border-color: #7d3a20; color: var(--bone); }
.textlink { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }

/* Header over hero */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  color: var(--bone);
  padding: 22px var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.site-header .nav { display: flex; gap: 30px; list-style: none; }
.site-header .nav a, .site-header .right a { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; }
.site-header .nav a:hover { border-bottom: 1px solid currentColor; }
.site-header .logo { display: block; }
.site-header .logo img { width: clamp(120px, 13vw, 168px); height: auto; background: none; }
.site-header .right { display: flex; justify-content: flex-end; }
.site-header .menu { display: none; }
@media (max-width: 859px) {
  .site-header { grid-template-columns: 1fr auto 1fr; padding: 16px var(--pad); }
  .site-header .nav { display: none; }
  .site-header .menu { display: block; position: relative; }
  .site-header .menu summary { list-style: none; cursor: pointer; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; }
  .site-header .menu summary::-webkit-details-marker { display: none; }
  .site-header .menu ul { position: absolute; left: 0; top: 36px; list-style: none; background: var(--forest); padding: 18px 22px; display: grid; gap: 14px; min-width: 200px; }
  .site-header .menu a { text-decoration: none; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; }
}

/* Hero */
.hero { position: relative; height: 100svh; min-height: 560px; background: var(--forest); color: var(--bone); overflow: hidden; }
.hero video, .hero .poster, .hero .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero .still { animation: drift 48s ease-in-out infinite alternate; transform-origin: 45% 60%; will-change: transform; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero .poster { display: none; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(23,35,32,0.55) 0%, rgba(23,35,32,0) 32%),
    linear-gradient(to top, rgba(23,35,32,0.78) 0%, rgba(23,35,32,0.45) 30%, rgba(23,35,32,0) 60%),
    rgba(23,35,32,0.18);
}
.hero .content, .site-header { text-shadow: 0 1px 2px rgba(0,0,0,0.25), 0 2px 24px rgba(0,0,0,0.3); }
.site-header .logo img { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)) drop-shadow(0 4px 18px rgba(0,0,0,0.3)); }
.site-header .right a { background: var(--laterite); border-color: var(--laterite); color: var(--bone); text-shadow: none; }
.site-header .right a:hover { background: #7d3a20; border-color: #7d3a20; color: var(--bone); }
.hero .content {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 0 var(--pad) clamp(40px, 7vh, 80px);
  text-align: center;
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.9rem); font-weight: 300; max-width: 22ch; margin: 0 auto 28px; }
.hero .eyebrow { color: var(--bone); }
.hero .scroll { display: inline-block; font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(239,233,221,0.9); text-decoration: none; }
.hero .scroll::after { content: ""; display: block; width: 1px; height: 36px; background: rgba(239,233,221,0.8); margin: 12px auto 0; }
@media (prefers-reduced-motion: reduce) {
  .hero video { display: none; }
  .hero .poster { display: block; }
  .hero .still { animation: none; }
}
.hero .poster-portrait { display: none; }
@media (prefers-reduced-motion: reduce) and (max-aspect-ratio: 4/5) {
  .hero .poster-landscape { display: none; }
  .hero .poster-portrait { display: block; }
}

/* Layout */
.wrap { padding-inline: var(--pad); max-width: var(--max); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * 0.55); }
.intro { max-width: 720px; margin-inline: auto; text-align: center; }
.intro > * { margin-inline: auto; }
.intro h2 { margin-bottom: 22px; }

/* Feature: image + text */
.feature { display: grid; gap: 40px var(--pad); align-items: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: repeat(12, 1fr); }
  .feature .media { grid-column: 1 / span 7; }
  .feature .text { grid-column: 9 / span 4; }
  .feature.flip .media { grid-column: 6 / span 7; grid-row: 1; }
  .feature.flip .text { grid-column: 1 / span 4; grid-row: 1; }
}
.feature .text h3 { margin-bottom: 22px; }
.feature figcaption, .strip figcaption, .caption {
  font-family: var(--text-serif); font-style: normal; font-size: 1.05rem; line-height: 1.45; color: #2f3a34; margin-top: 12px;
}

/* Full-bleed chapter */
.bleed { position: relative; height: min(64vh, 600px); min-height: 380px; overflow: hidden; background: var(--forest); }
.bleed img { width: 100%; height: 100%; object-fit: cover; }
.bleed .label {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--bone); text-align: center; padding: var(--pad);
  background: linear-gradient(to bottom, rgba(23,35,32,0.1), rgba(23,35,32,0.35));
}
.bleed .label p { font-family: var(--display); font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 300; margin: 0; }
.bleed .label small { display: block; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.26em; text-transform: uppercase; margin-bottom: 14px; opacity: 0.85; }

/* Horizontal strip */
.strip {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px var(--pad) 24px; margin-top: 48px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.strip > figure { flex: 0 0 auto; scroll-snap-align: start; width: clamp(240px, 32vw, 460px); }
.strip > figure.tall { width: clamp(200px, 24vw, 340px); }
.strip img { width: 100%; height: clamp(280px, 32vw, 460px); object-fit: cover; }
.strip-hint { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* Three-up */
.trio { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 700px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio figure { position: relative; overflow: hidden; background: var(--forest); }
.trio img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.trio .tag {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px;
  color: var(--bone); font-family: var(--display); font-size: 1.5rem; font-weight: 400;
  background: linear-gradient(to top, rgba(23,35,32,0.6), rgba(23,35,32,0));
}
.trio.plain figure { background: var(--stone); }
.trio.plain img { aspect-ratio: 4 / 3; }

/* Facts list */
.facts { border-top: 1px solid var(--line); margin-top: 32px; }
.facts > div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { margin: 0; }
.dark .facts { border-color: var(--line-light); }
.dark .facts > div { border-color: var(--line-light); }
.dark .facts dt { color: rgba(239,233,221,0.6); }
@media (max-width: 479px) { .facts > div { grid-template-columns: 1fr; gap: 4px; } }

/* Around list */
.around { list-style: none; display: grid; gap: 14px 40px; margin-top: 36px; }
@media (min-width: 700px) { .around { grid-template-columns: 1fr 1fr 1fr; } }
.around li { border-top: 1px solid var(--line); padding-top: 14px; }
.around b { display: block; font-family: var(--text-serif); font-weight: 400; font-size: 1.12rem; line-height: 1.3; margin-bottom: 4px; }
.around span { color: var(--muted); }

/* Quotes */
.rating { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 300; line-height: 1; }
.rating small { display: block; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.quotes { margin-top: 48px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.quotes .track { display: flex; width: max-content; animation: quotes-slide 90s linear infinite; }
.quotes:hover .track { animation-play-state: paused; }
@keyframes quotes-slide { to { transform: translateX(-50%); } }
.quotes blockquote { flex: 0 0 clamp(270px, 30vw, 440px); margin: 0 var(--pad) 0 0; border-top: 1px solid var(--line); padding-top: 22px; }
.quotes p { font-family: var(--text-serif); font-size: 1.2rem; line-height: 1.5; font-weight: 400; }
.quotes cite { display: block; font-style: normal; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }

/* Dark sections */
.dark { background: var(--forest); color: var(--bone); }
.dark .muted { color: rgba(239,233,221,0.65); }
.dark a { color: inherit; }
.dark img { background: var(--forest-2); }
.journey { display: grid; gap: 40px var(--pad); }
@media (min-width: 900px) { .journey { grid-template-columns: 5fr 7fr; } }
.routes { width: 100%; border-collapse: collapse; }
.routes th, .routes td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.routes tr:first-child th, .routes tr:first-child td { border-top: 1px solid var(--line-light); }
.routes th { font-weight: 400; width: 42%; padding-right: 20px; font-family: var(--text-serif); font-size: 1.05rem; line-height: 1.35; }
.address { font-style: normal; line-height: 1.6; }

/* Enquire */
.enquire { border-top: 1px solid var(--line-light); }
.enquire .tel { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 300; text-decoration: none; display: inline-block; margin: 24px 0 10px; font-variant-numeric: tabular-nums; }
.enquire .ways { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.site-footer { padding: 36px 0 48px; border-top: 1px solid var(--line-light); font-size: 0.82rem; color: rgba(239,233,221,0.65); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* Mobile enquire pill */
.fab {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  display: grid; grid-template-columns: 1.4fr 1fr;
  background: var(--forest); box-shadow: 0 -6px 24px rgba(0,0,0,0.18);
  padding-bottom: env(safe-area-inset-bottom);
}
.fab a {
  display: block; text-align: center; color: var(--bone); text-decoration: none;
  font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.06em; font-weight: 500;
  padding: 16px 12px; white-space: nowrap;
}
.fab .wa { background: var(--laterite); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
@media (max-width: 859px) { body { padding-bottom: 52px; } }
@media (min-width: 860px) { .fab { display: none; } }

[id] { scroll-margin-top: 20px; }

/* Night to morning (pavilion figure): a slow, continuous cycle */
.dawn .frame { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; }
.dawn .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; display: block; }
.dawn .night { position: absolute; top: 0; left: 0; pointer-events: none;
  animation: dawn-loop 9s ease-in-out infinite; }
@keyframes dawn-loop {
  0%, 22%  { opacity: 1; }   /* night, lamps on, stars out */
  45%, 78% { opacity: 0; }   /* morning */
  100%     { opacity: 1; }   /* dusk falls again */
}
@media (prefers-reduced-motion: reduce) {
  .dawn .night { display: none; }
  .quotes { -webkit-mask-image: none; mask-image: none; }
  .quotes .track { animation: none; width: auto; flex-wrap: wrap; row-gap: 40px; }
  .quotes .dup { display: none; }
}

/* Type: Fraunces + Figtree (chosen over Cormorant/Newsreader/Source Sans for legibility) */
body { font-family: var(--sans); font-size: 1.04rem; line-height: 1.6; font-weight: 400; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-variation-settings: "SOFT" 60, "WONK" 0; letter-spacing: -0.012em; line-height: 1.08; }
.display-xl { font-weight: 340; }
.display-l  { font-weight: 360; }
.display-m  { font-weight: 420; }
.hero h1 { font-weight: 340; }
.lede { font-size: 1.14rem; line-height: 1.65; }
.eyebrow, .site-header .nav a, .site-header .right a, .btn, .fab, .quotes cite, .facts dt, .bleed .label small, .scroll, .strip-hint { font-weight: 500; }
.quotes p, .feature figcaption, .strip figcaption, .caption, .around b, .routes th { font-family: var(--text-serif); font-variation-settings: "SOFT" 40, "WONK" 0; }
.quotes p { font-size: 1.22rem; line-height: 1.5; font-weight: 400; }
.feature figcaption, .strip figcaption, .caption { font-style: italic; font-size: 1.02rem; color: #2f3a34; }
.around b { font-size: 1.15rem; font-weight: 500; }
.routes th { font-size: 1.08rem; font-weight: 500; }
.trio .tag, .bleed .label p { font-weight: 400; font-variation-settings: "SOFT" 60, "WONK" 0; }
.enquire .tel { font-weight: 400; font-variation-settings: "SOFT" 60, "WONK" 0; }

/* The film: a self-hosted poster inside the iframe (srcdoc); YouTube is contacted only when the visitor presses play */
.hero .content .btn { display: block; width: max-content; margin: 30px auto 0; }
.hero .content .scroll { margin-top: 26px; }
.film .frame { position: relative; aspect-ratio: 16 / 9; max-width: 1040px; margin: 36px auto 0; background: var(--forest-2); overflow: hidden; }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* Header contact: number in the clear, call and WhatsApp beside it */
.site-header .right { gap: 10px; align-items: center; }
.site-header .right .phone { font-family: var(--sans); font-size: 0.92rem; letter-spacing: 0.04em; text-transform: none; color: var(--bone); background: none; border: 0; padding: 0 8px; }
.site-header .right .phone:hover { background: none; color: var(--bone); border-bottom: 1px solid currentColor; }
.site-header .right .ghost { background: transparent; border-color: rgba(239,233,221,0.75); color: var(--bone); }
.site-header .right .ghost:hover { background: var(--bone); border-color: var(--bone); color: var(--forest); }
@media (max-width: 859px) {
  .site-header .right .phone, .site-header .right .ghost { display: none; }
}
