/* ============================================================
   Orion — inner page layer.
   Loaded only on non-front pages, so nothing here can reach the
   home page. Every value comes from the tokens already declared
   in style.css :root — this file adds layout, never new colours.

   Structure follows the WIREFRAME 25/12/25 Figma page; the visual
   language follows the home page that was already built.
   ============================================================ */

/* ---------- page hero -------------------------------------- */
/* ============================================================
   Page hero.

   The site header is transparent with white text and only turns
   solid on scroll. For that to read, something dark has to sit
   behind it — on the front page .hero does it with
   margin-top:-104px / padding-top:104px. Inner pages mirror those
   exact numbers so the overlay behaves identically everywhere.

   Consequence: EVERY inner page needs a dark hero as its first
   block, 404 included. .op-hero--plain is dark for that reason.
   ============================================================ */
.op-hero {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: -104px;              /* pull the nav up over the image */
  padding-top: 200px;              /* 104 clearance + 96 breathing room */
  padding-bottom: 96px;
  min-height: 664px;               /* 560 visible + the 104 hidden behind the nav */
  text-align: center;
  background: var(--ink);
  overflow: hidden;
}
.op-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.op-hero::after {
  content: "";
  position: absolute; inset: 0;
  /*
   * Two layers. The first is a short, stronger scrim across the top ~200px,
   * where the transparent header sits — without it a bright hero (a backlit
   * shala, an overcast sky) leaves the white nav barely legible. The second
   * is the overall tint that keeps the headline readable.
   */
  background:
    linear-gradient(180deg, rgba(20, 28, 32, .55) 0, rgba(20, 28, 32, .22) 200px, transparent 300px),
    linear-gradient(180deg, rgba(20, 28, 32, .38), rgba(20, 28, 32, .62));
}
.op-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
}
.op-hero__eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--btn-tan);
  margin-bottom: 18px;
}
.op-hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.08;
  color: #fff;
  text-wrap: balance;
}
.op-hero__sub {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.4;
  color: rgba(255, 255, 255, .92);
  margin-top: 20px;
}
.op-hero__text {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .88);
  margin-top: 18px;
}
/* No photograph available — a deep ink field, still dark enough for the nav. */
.op-hero--plain { min-height: 520px; background: var(--ink); }
.op-hero--plain::after {
  background: radial-gradient(120% 90% at 50% 0%, rgba(174, 189, 206, .18), transparent 70%);
}

/* ---------- section shell ---------------------------------- */
.op-sec { padding-block: clamp(56px, 7vw, 96px); background: #fff; }
.op-sec--sand { background: var(--sand); }
.op-sec--mist { background: var(--mist); }
.op-sec--ink  { background: var(--ink); }

.op-head { text-align: center; max-width: 900px; margin-inline: auto; margin-bottom: 56px; }
.op-head--start { text-align: start; margin-inline: 0; }
.op-head__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}
.op-head__sub {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: clamp(17px, 1.7vw, 26px);
  line-height: 1.4;
  color: var(--muted);
  margin-top: 16px;
}
.op-sec--ink .op-head__title { color: #fff; }
.op-sec--ink .op-head__sub { color: rgba(249, 247, 242, .78); }

/* ---------- generic card grid ------------------------------ */
.op-grid { display: grid; gap: 28px; }
.op-grid--2 { grid-template-columns: repeat(2, 1fr); }
.op-grid--3 { grid-template-columns: repeat(3, 1fr); }
.op-grid--4 { grid-template-columns: repeat(4, 1fr); }

.op-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.op-sec--sand .op-card,
.op-sec--mist .op-card { border-color: transparent; box-shadow: var(--shadow-sm); }
.op-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.op-card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--accent);
  margin-bottom: 6px;
}
.op-card__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.op-card__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.25;
  color: var(--ink);
}
.op-card__desc {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(85, 85, 71, .88);
}

/* ---------- split: text beside media ----------------------- */
.op-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.op-split--flip .op-split__text { order: 2; }
.op-split--flip .op-split__media { order: 1; }
.op-split__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.op-split__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  color: var(--ink);
}
.op-split__body {
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.75;
  color: rgba(85, 85, 71, .9);
}
.op-split__body + .op-split__body { margin-top: -6px; }
.op-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.op-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }

/* ---------- checked feature list --------------------------- */
.op-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.op-list--2 { grid-template-columns: repeat(2, 1fr); column-gap: 36px; }
.op-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(85, 85, 71, .92);
}
.op-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--sand)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b98a5e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E")
    center / 12px 12px no-repeat;
}

/* ---------- spec strip (duration / certification / …) ------ */
.op-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.op-spec {
  text-align: center;
  padding: 30px 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.op-spec__label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.op-spec__value {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 10px;
}

/* ---------- daily schedule timeline ------------------------ */
.op-timeline { display: grid; gap: 0; max-width: 860px; margin-inline: auto; }
.op-tl {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  align-items: baseline;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.op-timeline .op-tl:last-child { border-bottom: 0; }
.op-tl__time {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  color: var(--accent);
  white-space: nowrap;
}
.op-tl__what {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 21px;
  color: var(--ink);
}

/* ---------- pricing ---------------------------------------- */
.op-price {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}
.op-price--featured { border-color: var(--accent); box-shadow: var(--shadow-md); }
.op-price__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 25px;
  color: var(--ink);
}
.op-price__amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.op-price__desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}
.op-price .btn,
.op-price .btn-outlined { align-self: stretch; }

/* ---------- FAQ accordion ---------------------------------- */
.op-faq { max-width: 880px; margin-inline: auto; display: grid; gap: 14px; }
.op-faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.op-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: start;
  padding: 22px 26px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.op-faq__q:hover { background: var(--sand); }
.op-faq__q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.op-faq__chev {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  stroke: var(--accent); fill: none; stroke-width: 2;
  transition: transform .25s ease;
}
.op-faq__q[aria-expanded="true"] .op-faq__chev { transform: rotate(180deg); }
.op-faq__a {
  padding: 0 26px;
  max-height: 0;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(85, 85, 71, .9);
  transition: max-height .3s ease, padding .3s ease;
}
.op-faq__item.is-open .op-faq__a { padding: 0 26px 24px; max-height: 460px; }

/* ---------- contact: form + details ------------------------ */
.op-contact { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.op-panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 3vw, 44px);
}
.op-sec--sand .op-panel,
.op-sec--mist .op-panel { box-shadow: var(--shadow-md); }
.op-panel__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  color: var(--ink);
}
.op-panel__sub {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 28px;
}

.op-info { display: grid; gap: 26px; }
.op-info__row { display: flex; gap: 16px; align-items: flex-start; }
.op-info__ic {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--accent);
}
.op-info__ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.op-info__label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint, var(--muted));
}
.op-info__value {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin-top: 4px;
}
.op-info__value a:hover { color: var(--accent); }

.op-hours { display: grid; gap: 8px; margin-top: 6px; }
.op-hours__row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(85, 85, 71, .92);
  padding-block: 6px;
  border-bottom: 1px solid var(--line);
}
.op-hours__row:last-child { border-bottom: 0; }
.op-hours__row span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); }

/* ---------- room types ------------------------------------- */
.op-rooms { display: grid; gap: clamp(40px, 5vw, 72px); }
.op-room {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.op-room:nth-child(even) .op-room__media { order: 2; }
.op-room__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.op-room__body { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.op-room__type {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.op-room__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  color: var(--ink);
}
.op-room__desc {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: rgba(85, 85, 71, .9);
}
.op-room__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.op-chip {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--sand);
  border-radius: 999px;
  padding: 7px 15px;
  white-space: nowrap;
}
.op-room__featlabel {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- booking info ----------------------------------- */
.op-booking { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }

/* Form styling deliberately lives in style.css under .cform — every form on
   the site, front page included, renders through the same rules so they can
   never drift apart. Nothing form-related belongs in this file. */

/* ---------- gallery band ----------------------------------- */
.op-band { position: relative; min-height: 520px; display: grid; place-items: center; overflow: hidden; }
.op-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.op-band::after { content: ""; position: absolute; inset: 0; background: rgba(20, 28, 32, .48); }
.op-band__inner { position: relative; z-index: 1; text-align: center; max-width: 820px; padding: 40px 24px; }
.op-band__text {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.3;
  color: #fff;
  margin-bottom: 26px;
  text-wrap: balance;
}
.op-band .btn-outlined { color: #fff; border-color: rgba(255, 255, 255, .7); }
.op-band .btn-outlined:hover { background: #fff; color: var(--ink); }

/* ---------- guest quote cards ------------------------------ */
.op-quote {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.op-quote__stars { color: var(--accent); display: flex; gap: 3px; }
.op-quote__stars svg { width: 17px; height: 17px; fill: currentColor; }
.op-quote__text {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(85, 85, 71, .9);
  flex: 1;
}
.op-quote__who { font-family: var(--font-ui); font-size: 15px; font-weight: 600; color: var(--ink); }
.op-quote__where { font-family: var(--font-ui); font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ---------- closing CTA ------------------------------------ */
.op-cta { text-align: center; }
.op-cta__text {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ---------- generic article (page.php / single.php) -------- */
.op-article { max-width: 820px; margin-inline: auto; font-family: var(--font-body); font-size: 17.5px; line-height: 1.8; color: rgba(85, 85, 71, .95); }
.op-article > * + * { margin-top: 1.1em; }
.op-article h2, .op-article h3, .op-article h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin-top: 1.8em; }
.op-article h2 { font-size: 34px; font-weight: 700; }
.op-article h3 { font-size: 26px; font-weight: 600; }
.op-article h4 { font-size: 21px; font-weight: 600; }
.op-article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.op-article ul, .op-article ol { padding-inline-start: 22px; }
.op-article li + li { margin-top: .5em; }
.op-article img { border-radius: var(--radius); }
.op-article blockquote {
  border-inline-start: 3px solid var(--accent);
  padding-inline-start: 22px;
  font-size: 20px;
  font-style: italic;
  color: var(--ink);
}

/* ---------- 404 -------------------------------------------- */
.op-404 { text-align: center; padding-block: clamp(80px, 12vw, 160px); background: var(--sand); }
.op-404__code {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(80px, 14vw, 180px);
  line-height: 1;
  color: var(--btn-tan);
}
.op-404__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 40px);
  color: var(--ink);
  margin-top: 8px;
}
.op-404__text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 540px;
  margin: 18px auto 30px;
}
.op-404__links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- responsive ------------------------------------- */
@media (max-width: 1100px) {
  .op-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .op-specs   { grid-template-columns: repeat(2, 1fr); }
  .op-contact { grid-template-columns: 1fr; }
  .op-booking { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .op-grid--2, .op-grid--3 { grid-template-columns: 1fr; }
  .op-split, .op-split--flip { grid-template-columns: 1fr; }
  .op-split__text, .op-split--flip .op-split__text { order: 2; }
  .op-split__media, .op-split--flip .op-split__media { order: 1; }
  .op-room { grid-template-columns: 1fr; }
  .op-room__media, .op-room:nth-child(even) .op-room__media { order: 1; }
  .op-room__body { order: 2; }
  .op-list--2 { grid-template-columns: 1fr; }
  .op-hero { min-height: 524px; padding-top: 176px; padding-bottom: 72px; }
}

@media (max-width: 640px) {
  .op-grid--4, .op-specs { grid-template-columns: 1fr; }
  .op-tl { grid-template-columns: 1fr; gap: 4px; }
  .op-hours__row { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .op-card, .op-faq__chev, .op-faq__a { transition: none; }
  .op-card:hover { transform: none; }
}

/* ---------- small odds and ends ---------------------------- */
.op-article__pages {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 2em; padding-top: 1.4em;
  border-top: 1px solid var(--line);
  font-family: var(--font-ui); font-size: 15px;
}
.op-article__pages a { color: var(--accent); }

.op-404__suggest .op-chip { transition: background .18s ease, color .18s ease; }
.op-404__suggest .op-chip:hover { background: var(--btn-tan); }

