/* C.M.T. Ranch — site styles.
 *
 * Ported from the design mockup, which carried every rule as an inline style
 * attribute plus a non-standard style-hover attribute. Both had to go: inline
 * styles are blocked by the Content-Security-Policy in _headers, and
 * style-hover was a mockup convention with no meaning in a browser, so none of
 * the hover states in the design actually worked.
 */

/* ---------------------------------------------------------------- fonts */
/* Self-hosted rather than fetched from fonts.googleapis.com, which would leak
 * every visitor's IP to Google and force two extra origins into the CSP. */

@font-face {
  font-family: "Alfa Slab One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/alfa-slab-one-latin.woff2") format("woff2");
  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: "Alfa Slab One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/alfa-slab-one-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Karla";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/karla-latin.woff2") format("woff2");
  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: "Karla";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/karla-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------- tokens */

:root {
  --cream: #faf5ea;
  --cream-lift: #fffdf7;
  --band: #f2e9d6;
  --band-hover: #f6eedd;
  --ink: #2e2118;
  --ink-deep: #1e140d;
  --body: #4a3728;
  --body-soft: #5c4a38;
  --muted: #8a7a63;
  --muted-deep: #7a6a52;
  --rule: #e3d6be;
  --rule-strong: #c9b896;
  --field-rule: #d8c9ac;

  --rust: #a6432c;
  --gold: #c4741f;
  --sage: #6e7b55;
  --tan: #b79758;
  --gold-soft: #e7c98c;

  --on-dark: #f0e6d2;
  --shell: 1240px;
  --pad: 22px;
  --radius: 6px;
}

/* ----------------------------------------------------------------- base */

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

html {
  scroll-behavior: smooth;
  /* Keep anchored sections clear of the sticky header. */
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Karla, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
video {
  display: block;
  max-width: 100%;
}

/* Every responsive image is wrapped in a <picture> for the WebP source, which
 * puts an extra auto-height block between the sized container and the <img>.
 * Without this, `height: 100%` on the image has no definite parent height to
 * resolve against and the image refuses to fill its aspect-ratio box. */
.hero-media picture,
.card-media picture,
.gal-item picture,
.loc-media picture {
  width: 100%;
  height: 100%;
}

a {
  color: var(--rust);
  text-decoration: none;
}
a:hover {
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: "Alfa Slab One", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

/* A single visible focus treatment everywhere. The mockup had none, which left
 * the whole page unusable by keyboard. */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  font-weight: 700;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  color: var(--cream);
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--pad);
  width: 100%;
}

/* ---------------------------------------------------------- typography */

.h2 {
  font-size: clamp(29px, 4.4vw, 47px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.eyebrow-gold {
  color: var(--gold-soft);
  letter-spacing: 0.28em;
  margin-bottom: 20px;
}
.eyebrow-tan {
  color: var(--tan);
}

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}
.lede + .lede {
  margin-top: 18px;
}

.on-dark {
  color: var(--cream);
}
.on-dark-muted {
  color: rgb(240 230 210 / 0.7);
}

.section-head {
  max-width: 52ch;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.section-head .h2 {
  margin-bottom: 14px;
}
.section-head-split {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
}
.section-head-split > div {
  max-width: 46ch;
}
.section-head-split .section-sub {
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.6;
}
.section-head-center {
  text-align: center;
  max-width: 46ch;
  margin-inline: auto;
}

.link-underline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  color: var(--ink);
}
.link-underline:hover {
  color: var(--gold);
}

/* -------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
  padding: 11px 18px;
  font-size: 13px;
}
.btn-ink:hover {
  background: var(--rust);
  color: var(--cream);
}

.btn-accent {
  background: var(--gold);
  color: var(--cream-lift);
  padding: 17px 30px;
  font-size: 14.5px;
  box-shadow: 0 10px 28px rgb(46 33 24 / 0.35);
}
.btn-accent:hover {
  background: var(--rust);
  color: var(--cream-lift);
}

.btn-ghost {
  border-color: rgb(250 245 234 / 0.45);
  color: var(--cream);
  padding: 16px 26px;
  font-size: 14px;
}
.btn-ghost:hover {
  background: rgb(250 245 234 / 0.14);
  color: var(--cream);
}

.btn-outline {
  border-color: var(--rule-strong);
  color: var(--ink);
  padding: 11px 18px;
  font-size: 13px;
}
.btn-outline:hover {
  background: var(--band-hover);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn-row-tight {
  gap: 10px;
  margin-top: 24px;
}

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(250 245 234 / 0.93);
  border-bottom: 1px solid var(--rule);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header {
    backdrop-filter: blur(10px);
  }
}

.header-inner {
  padding-block: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--ink);
}
.wordmark:hover {
  color: var(--ink);
}
.wordmark-name {
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 19px;
}
.wordmark-place {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.nav-list a {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--body);
  white-space: nowrap;
}
.nav-list a:hover {
  color: var(--rust);
}

.lang-switch {
  display: flex;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  overflow: hidden;
}
.lang-opt {
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #6b5b45;
}
.lang-opt:hover {
  background: var(--band);
  color: var(--ink);
}
.lang-opt.is-active,
.lang-opt.is-active:hover {
  background: var(--ink);
  color: var(--cream);
}

/* The mockup toggled the nav's display from a JS resize listener, so below
 * 860px the links simply vanished with nothing to open in their place. This is a
 * real disclosure: a media query handles layout, and the button only matters on
 * small screens. */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-aside {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 859px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    padding: 8px var(--pad) 20px;
    box-shadow: 0 18px 30px rgb(46 33 24 / 0.14);
    /* Collapsed by default, and genuinely removed from the tab order rather
     * than merely hidden from view. */
    display: none;
  }
  .site-nav.is-open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-list a {
    display: block;
    padding: 15px 2px;
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
  }
  .nav-aside {
    margin-top: 18px;
    justify-content: space-between;
  }
  .header-inner {
    position: relative;
  }
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(46 33 24 / 0.42) 0%,
    rgb(46 33 24 / 0.18) 34%,
    rgb(46 33 24 / 0.9) 100%
  );
}
.hero-body {
  position: relative;
  padding-bottom: 76px;
}
.hero-title {
  font-size: clamp(40px, 8vw, 84px);
  line-height: 1.02;
  color: var(--cream);
  margin-bottom: 20px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-tagline {
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.45;
  color: rgb(250 245 234 / 0.9);
  margin-bottom: 34px;
  max-width: 34ch;
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- stats */

.stats {
  background: var(--ink);
  color: var(--on-dark);
}
.stats-inner {
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px 48px;
  justify-content: space-between;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 120px;
}
.stat-n {
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 29px;
  line-height: 1;
  color: var(--gold-soft);
}
.stat-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(240 230 210 / 0.72);
}

/* ----------------------------------------------------------------- tour */

.tour {
  background: var(--ink);
  padding-block: clamp(48px, 7vw, 80px);
}
.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-deep);
}
.tour-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.video-fallback {
  padding: 24px;
  color: var(--on-dark);
}

/* ---------------------------------------------------------------- about */

.about {
  padding-block: clamp(56px, 8vw, 92px);
}
.about-copy {
  max-width: 58ch;
}
.about-copy .h2 {
  margin-bottom: 20px;
}
.about-note {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----------------------------------------------------------------- host */

.host {
  background: var(--band);
  border-block: 1px solid var(--rule);
  padding-block: clamp(64px, 9vw, 104px);
}

/* Explicit column counts rather than auto-fit. With exactly four cards, auto-fit
 * resolved to three columns at desktop width and stranded the fourth alone on a
 * second row beside a half-empty band. Fixed counts guarantee 4 / 2x2 / stacked. */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
@media (min-width: 620px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.card:hover {
  border-color: var(--rule-strong);
}
.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dccba8;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-rule {
  height: 4px;
}
.accent-rust {
  background: var(--rust);
}
.accent-gold {
  background: var(--gold);
}
.accent-sage {
  background: var(--sage);
}
.accent-tan {
  background: var(--tan);
}
.card-body {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.card-title {
  font-size: 21px;
  line-height: 1.2;
}
.card-blurb {
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--body-soft);
  flex: 1;
  text-wrap: pretty;
}
.card-meta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----------------------------------------------------------- facilities */

.facilities {
  padding-block: clamp(64px, 9vw, 110px);
}
/* Six tiles, so three columns divide evenly into two rows. auto-fit produced
 * four columns and left two empty cells showing the grid's own background. */
.fac-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.fac {
  background: var(--cream);
  padding: 30px 26px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 210px;
  transition: background-color 0.18s ease;
}
.fac:hover {
  background: var(--band-hover);
}
.fac-n {
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: clamp(27px, 3.2vw, 34px);
  line-height: 1;
  color: var(--sage);
}
.fac-title {
  font-size: 17px;
}
.fac-blurb {
  font-size: 14.8px;
  line-height: 1.55;
  color: var(--body-soft);
  text-wrap: pretty;
}

@media (min-width: 620px) {
  .fac-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .fac-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------------- gallery */

.gallery {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: clamp(64px, 9vw, 104px);
}
/* Six tiles on a uniform 3x2 grid. The mockup mixed 4/5 and 1/1 tiles, which
 * only reads as a mosaic when every row happens to fill; at real widths it left
 * short tiles floating against ragged gaps. A single ratio also suits the source
 * photography, which is landscape almost throughout. */
.gal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 620px) {
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .gal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gal-item {
  position: relative;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #42311f;
  aspect-ratio: 4 / 3;
}
.gal-item picture,
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gal-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 26px 16px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(250 245 234 / 0.95);
  background: linear-gradient(180deg, rgb(30 20 13 / 0), rgb(30 20 13 / 0.82));
}

/* ------------------------------------------------------------- location */

.location {
  padding-block: clamp(64px, 9vw, 110px);
}
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.loc-address {
  font-weight: 600;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  margin-block: 22px 18px;
}
.loc-media {
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.loc-media picture,
.loc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.drives-heading {
  font-size: 11px;
  font-family: Karla, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-block: 32px 12px;
}
.drives li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 9px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--body);
}
.drive-time {
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* -------------------------------------------------------------- contact */

.contact {
  background: var(--band);
  border-top: 1px solid var(--rule);
  padding-block: clamp(64px, 9vw, 104px);
}
.contact-inner {
  max-width: 920px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.contact-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.contact-card:hover {
  border-color: var(--rule-strong);
  background: var(--cream-lift);
  color: var(--ink);
}
.contact-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-deep);
  font-weight: 600;
}
.contact-value {
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 20px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

/* Shown only while src/content.mjs still has no contact channels filled in. */
.contact-pending {
  background: var(--cream);
  border: 1px dashed var(--rule-strong);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  color: var(--body-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

.contact-visit {
  margin-top: 34px;
  text-align: center;
}
.contact-visit .loc-address {
  margin-block: 0;
}

/* --------------------------------------------------------------- footer */

.site-footer {
  background: var(--ink);
  color: var(--on-dark);
}
.footer-grid {
  padding-block: clamp(48px, 7vw, 72px) 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 36px;
}
.footer-mark {
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 21px;
  color: var(--cream);
  margin-bottom: 10px;
}
.footer-address,
.footer-links a,
.footer-social a {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgb(240 230 210 / 0.78);
}
.footer-links a:hover,
.footer-social a:hover {
  color: var(--gold-soft);
}
.footer-heading {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 14px;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social a {
  display: inline-block;
  border: 1px solid rgb(240 230 210 / 0.28);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-social a:hover {
  border-color: var(--tan);
}
.footer-base {
  border-top: 1px solid rgb(240 230 210 / 0.16);
  padding-top: 18px;
  padding-bottom: 34px;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgb(240 230 210 / 0.55);
}

/* --------------------------------------------------------- image focal */
/* The source photographs are wide landscapes. In a 4:3 or square crop most of
 * them need to sit low, or the frame fills with empty sky. */

.focal-upper {
  object-position: center 30%;
}
.focal-center {
  object-position: center center;
}
.focal-lower {
  object-position: center 62%;
}
.focal-bottom {
  object-position: center 80%;
}

/* -------------------------------------------------------------- reveal */
/* Progressive enhancement. The mockup set opacity:0 from JavaScript on load, so
 * any script failure left a blank page. Here content is visible by default and
 * site.js only opts in once it is certain it can animate back to visible. */

[data-reveal].reveal-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 0.68, 0.28, 1);
}
[data-reveal].reveal-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal].reveal-init {
    opacity: 1;
    transform: none;
  }
}
