/* HighFields Coorg — site styles
   Palette taken from the photographs: laterite, paddy, mist, paper. */

:root {
  --paper: #f4f0e7;
  --paper-2: #e9e3d6;
  --ink: #1f2a22;
  --ink-2: #5a645d;
  --rule: #d5cdbd;
  --laterite: #95492b;
  --laterite-2: #7a3a21;
  --paddy: #5f7a3c;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --max: 1120px;
  --gutter: 16px;
  --space: clamp(56px, 9vw, 112px);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* Reset, the short version */
*, *::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(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 720px) { body { font-size: 1.125rem; } }
img { display: block; max-width: 100%; height: auto; background: var(--paper-2); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--laterite); }
:focus-visible { outline: 2px solid var(--laterite); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.prose { max-width: 60ch; }
.prose p + p { margin-top: 1em; }

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

/* Labels and small type */
.label {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.small { font-size: 0.92rem; color: var(--ink-2); }

/* Header */
.site-header { padding: 20px 0 16px; border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.wordmark { font-family: var(--serif); font-size: 1.35rem; text-decoration: none; letter-spacing: -0.01em; }
.wordmark:hover { color: var(--ink); }
.wordmark small { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-left: 10px; }
.nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; font-size: 0.98rem; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav .phone { color: var(--laterite); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 719px) {
  .wordmark small { display: none; }
  .nav { width: 100%; margin-left: 0; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; }
.hero h1 {
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  line-height: 1.06;
  max-width: 18ch;
  margin: 14px 0 22px;
}
.hero .lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; max-width: 46ch; color: var(--ink); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 28px 0 44px; }
.hero figure { margin: 0; }

.btn {
  display: inline-block;
  background: var(--laterite);
  color: var(--paper);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 2px;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { background: var(--laterite-2); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* Facts strip */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px var(--gutter);
  list-style: none;
  padding: 22px 0 0;
  margin-top: 18px;
  border-top: 1px solid var(--rule);
}
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.facts span { color: var(--ink-2); font-size: 0.95rem; }

/* Figures */
figure { margin: 0; }
figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ink-2);
  margin-top: 10px;
  line-height: 1.4;
}
.ratio-wide img { aspect-ratio: 32 / 15; object-fit: cover; width: 100%; }
.ratio-photo img { aspect-ratio: 40 / 23; object-fit: cover; width: 100%; }

/* Sections */
.section { padding: var(--space) 0 0; }
.section + .section { margin-top: var(--space); border-top: 1px solid var(--rule); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  max-width: 22ch;
  margin-top: 10px;
}
.num { font-variant-numeric: tabular-nums; margin-right: 10px; }

/* Two-column text + image */
.split { display: grid; gap: 36px var(--gutter); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
  .split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split.flip > :first-child { order: 2; }
}
.stack { display: grid; gap: 28px; }

/* Photo grids */
.grid { display: grid; gap: 14px var(--gutter); grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 719px) { .grid-3 > :last-child:nth-child(odd) { grid-column: span 2; } }
.grid .span-2 { grid-column: span 2; }

/* Definition lists */
.facts-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.facts-list > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts-list dt { font-weight: 600; }
.facts-list dd { margin: 0; color: var(--ink); }
@media (max-width: 479px) { .facts-list > div { grid-template-columns: 1fr; gap: 2px; } }

/* Things to do */
.things { list-style: none; display: grid; gap: 22px var(--gutter); }
@media (min-width: 720px) { .things { grid-template-columns: 1fr 1fr; } }
.things li { padding-top: 14px; border-top: 1px solid var(--rule); }
.things h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 6px; }
.things p { color: var(--ink); }

/* Testimonials */
.quotes { display: grid; gap: 36px var(--gutter); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quotes blockquote { margin: 0; padding-top: 16px; border-top: 1px solid var(--rule); }
.quotes blockquote p { font-family: var(--serif); font-size: 1.22rem; line-height: 1.4; }
.quotes blockquote p::before { content: "\201C"; margin-left: -0.45em; }
.quotes cite { display: block; font-style: normal; font-size: 0.95rem; color: var(--ink-2); margin-top: 12px; }

/* Getting here */
.routes th, .routes td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.routes tr:first-child th, .routes tr:first-child td { border-top: 1px solid var(--rule); }
.routes th { font-weight: 600; width: 40%; padding-right: 16px; }
.address { font-style: normal; line-height: 1.5; }

/* Contact */
.contact h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.08; max-width: 16ch; }
.contact .tel { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.5rem); text-decoration: none; display: inline-block; margin: 18px 0 8px; font-variant-numeric: tabular-nums; }
.contact .ways { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Footer */
.site-footer { margin-top: var(--space); padding: 28px 0 40px; border-top: 1px solid var(--rule); font-size: 0.92rem; color: var(--ink-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }
.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 18px; }

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