/* =========================================================================
   Irish Wine Estates — Visit, Our Vineyard, Plan Your Visit, Private
   Vineyard Visits, Journal and 404

   Same design language as Contact Us and Our Story: the hero, labels,
   buttons, framed photos, FAQ, enquiry panel and Preview Tours band come
   from inner.css. Everything here is scoped under body.iwe-inner and uses
   the iwe-p- prefix. Content follows the Sept 2026 brief, sections 7, 11,
   12, 16-17, 47 and 54.
   ========================================================================= */

/* -------------------------------------------------------------------------
   Shared pieces
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-lc { text-transform: none; }

body.iwe-inner .iwe-p-sec {
  position: relative;
  overflow: hidden;
  padding-block: clamp(60px, 6.4vw, 110px);
}

body.iwe-inner .iwe-p-sand  { background: #f3ecdf; }
body.iwe-inner .iwe-p-grey  { background: var(--iwe-mineral-grey); }
body.iwe-inner .iwe-p-teal  { background: var(--iwe-deep-teal); }
body.iwe-inner .iwe-p-plum  { background: #3a2432; }
body.iwe-inner .iwe-p-night { background: var(--iwe-midnight); }

/* Light text on dark sections. */
body.iwe-inner .iwe-c.iwe-p-dark,
body.iwe-inner .iwe-c.iwe-p-dark p { color: rgba(247, 240, 227, .86); }
body.iwe-inner .iwe-c.iwe-p-dark .iwe-c-h2,
body.iwe-inner .iwe-c.iwe-p-dark h2,
body.iwe-inner .iwe-c.iwe-p-dark h3 { color: var(--iwe-ivory); }
body.iwe-inner .iwe-c.iwe-p-dark p.iwe-c-label { color: var(--iwe-champagne); }

/* Section heading block. */
body.iwe-inner .iwe-p-head {
  max-width: 760px;
  margin-bottom: clamp(34px, 3.6vw, 60px);
}

body.iwe-inner .iwe-p-head--center {
  margin-inline: auto;
  text-align: center;
}

body.iwe-inner .iwe-p-head--center p.iwe-c-label { justify-content: center; }
body.iwe-inner .iwe-p-head--center p.iwe-c-label::before {
  content: "";
  flex: none;
  width: 46px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

/* Label and heading on the left, intro text bottom-aligned on the right. */
body.iwe-inner .iwe-p-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 80px);
  align-items: end;
  max-width: none;
}

body.iwe-inner .iwe-p-head--split > p.iwe-c-label { grid-column: 1; grid-row: 1; }
body.iwe-inner .iwe-p-head--split > h2 { grid-column: 1; grid-row: 2; margin-bottom: 0; }

body.iwe-inner .iwe-c .iwe-p-head--split > p:not(.iwe-c-label) {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
}

@media (max-width: 980px) {
  body.iwe-inner .iwe-p-head--split > p.iwe-c-label,
  body.iwe-inner .iwe-p-head--split > h2,
  body.iwe-inner .iwe-c .iwe-p-head--split > p:not(.iwe-c-label) { grid-column: 1; grid-row: auto; }
  body.iwe-inner .iwe-c .iwe-p-head--split > p:not(.iwe-c-label) { margin-top: 16px; }
}

body.iwe-inner .iwe-p-head p:not(.iwe-c-label) { max-width: 56ch; }
body.iwe-inner .iwe-p-head--center p:not(.iwe-c-label) { margin-inline: auto; }

/* Long H1s (the brief's SEO headings) set smaller than CONTACT US. */
body.iwe-inner .iwe-p-hero--long h1 {
  max-width: 17ch;
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.25;
}

body.iwe-inner .iwe-c .iwe-p-hero__lede {
  max-width: 46ch;
  margin: 22px 0 0;
  font-size: clamp(16px, 1.2vw, 19px);
  color: rgba(247, 240, 227, .9);
}

body.iwe-inner .iwe-c .iwe-p-hero__lede strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--iwe-font-display);
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 500;
  color: var(--iwe-champagne);
}

body.iwe-inner .iwe-p-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

body.iwe-inner .iwe-c-btn--ghost {
  border: 1px solid rgba(247, 240, 227, .75);
  color: var(--iwe-ivory);
  background: rgba(16, 24, 44, .18);
}

body.iwe-inner .iwe-c-btn--ghost:hover {
  background: var(--iwe-ivory);
  border-color: var(--iwe-ivory);
  color: var(--iwe-midnight);
}

body.iwe-inner .iwe-c-btn--copper {
  border: 1px solid var(--iwe-deep-teal);
  color: var(--iwe-ivory);
  background: var(--iwe-deep-teal);
}

body.iwe-inner .iwe-c-btn--copper:hover {
  background: var(--iwe-midnight);
  border-color: var(--iwe-midnight);
}

body.iwe-inner .iwe-p-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-family: var(--iwe-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--iwe-deep-teal);
}

body.iwe-inner .iwe-p-link .iwe-c-arrow {
  width: 16px;
  height: 16px;
  transition: transform .4s var(--iwe-ease);
}

body.iwe-inner .iwe-p-link:hover .iwe-c-arrow { transform: translateX(4px); }

/* Photo filling a positioned box; no aspect-ratio ever on the <img>. */
body.iwe-inner .iwe-p-fill {
  position: relative;
  margin: 0;
  overflow: hidden;
}

body.iwe-inner .iwe-p-fill img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.iwe-inner .iwe-p-icon {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--iwe-deep-teal);
}

body.iwe-inner .iwe-p-dark .iwe-p-icon { color: var(--iwe-champagne); }

/* Status chips for practical details that are not confirmed yet. */
body.iwe-inner .iwe-p-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--iwe-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.iwe-inner .iwe-p-chip--ok {
  background: rgba(10, 118, 93, .12);
  color: var(--iwe-emerald);
}

body.iwe-inner .iwe-p-chip--tbc {
  background: rgba(199, 101, 50, .1);
  color: #a8481b;
}

body.iwe-inner .iwe-p-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}


/* -------------------------------------------------------------------------
   Visit - What visitors will discover: four arches
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-arches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: arch;
}

body.iwe-inner .iwe-p-arch {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.iwe-inner .iwe-p-arch:nth-child(even) { margin-top: clamp(30px, 4vw, 70px); }

body.iwe-inner .iwe-p-arch__img {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4.3;
  border: 1px solid rgba(217, 182, 111, .9);
  border-radius: 999px 999px 0 0;
  padding: 6px;
  background: #fffdf8;
}

body.iwe-inner .iwe-p-arch__img img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px 999px 0 0;
  object-fit: cover;
  transition: transform 1s var(--iwe-ease);
}

body.iwe-inner .iwe-p-arch:hover .iwe-p-arch__img img { transform: scale(1.04); }

body.iwe-inner .iwe-c p.iwe-p-arch__num {
  margin: 20px 0 4px;
  font-family: var(--iwe-font-display);
  font-size: 22px;
  color: var(--iwe-deep-teal);
}

body.iwe-inner .iwe-c .iwe-p-arch h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--iwe-midnight);
}

body.iwe-inner .iwe-c .iwe-p-arch p:not(.iwe-p-arch__num) {
  font-size: 15px;
  line-height: 1.6;
}


/* -------------------------------------------------------------------------
   Visit - 2027 Preview Tours facts board
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-board {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
}

body.iwe-inner .iwe-c p.iwe-p-board__year {
  margin: 0;
  font-family: var(--iwe-font-display);
  font-size: clamp(90px, 11vw, 190px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--iwe-champagne);
}

body.iwe-inner .iwe-p-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(217, 182, 111, .35);
}

body.iwe-inner .iwe-p-facts li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 0;
  padding: 22px 18px 22px 0;
  list-style: none;
  border-bottom: 1px solid rgba(217, 182, 111, .35);
}

body.iwe-inner .iwe-p-facts li:nth-child(odd) { border-right: 1px solid rgba(217, 182, 111, .2); }
body.iwe-inner .iwe-p-facts li:nth-child(even) { padding-left: 22px; }

body.iwe-inner .iwe-c .iwe-p-facts h3 {
  margin: 4px 0 4px;
  font-family: var(--iwe-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--iwe-champagne);
}

body.iwe-inner .iwe-c .iwe-p-facts p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

body.iwe-inner .iwe-c .iwe-p-board__note {
  margin: 26px 0 0;
  padding: 14px 18px;
  border-left: 2px solid var(--iwe-burnt-copper);
  background: rgba(247, 240, 227, .06);
  font-size: 14px;
}


/* -------------------------------------------------------------------------
   Visit - Tour list signup (Formidable form #2)
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-signup {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: stretch;
  scroll-margin-top: 40px;
}

body.iwe-inner .iwe-p-signup__media { min-height: 460px; }

body.iwe-inner .iwe-p-signup__card {
  padding: clamp(40px, 4.6vw, 80px) clamp(24px, 4vw, 72px);
  background: #fffdf8;
}

body.iwe-inner .iwe-p-signup__card .iwe-c-h2 { font-size: clamp(28px, 2.8vw, 46px); }

body.iwe-inner .iwe-c-form .frm_forms .frm_description {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(23, 33, 38, .66);
}

body.iwe-inner .iwe-c-form .frm_forms .frm_description a { color: var(--iwe-emerald); }

body.iwe-inner .iwe-c-form .frm_forms input[type="number"],
body.iwe-inner .iwe-c-form .frm_forms input.frm_date,
body.iwe-inner .iwe-c-form .frm_forms input[type="date"] {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 16px;
  background-color: #fffdf8;
  border: 1px solid rgba(23, 33, 38, .22);
  border-radius: 0;
  box-shadow: none;
  font-family: var(--iwe-font-body);
  font-size: 16px;
  color: var(--iwe-charcoal);
}

body.iwe-inner .iwe-c-form .iwe-p-inline-options .frm_opt_container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}


/* -------------------------------------------------------------------------
   Split band: photo one side, dark text the other (private visits, shed)
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(420px, 36vw, 600px);
}

body.iwe-inner .iwe-p-split--flip .iwe-p-split__media { order: 2; }

body.iwe-inner .iwe-p-split__text {
  align-self: center;
  max-width: 680px;
  padding: clamp(48px, 5vw, 90px) var(--iwe-gutter) clamp(48px, 5vw, 90px) clamp(32px, 5vw, 90px);
}

body.iwe-inner .iwe-p-split--flip .iwe-p-split__text {
  justify-self: end;
  padding: clamp(48px, 5vw, 90px) clamp(32px, 5vw, 90px) clamp(48px, 5vw, 90px) var(--iwe-gutter);
}

body.iwe-inner .iwe-c .iwe-p-split__text .iwe-p-quote {
  margin: 26px 0 30px;
  padding: 18px 22px;
  border: 1px solid rgba(217, 182, 111, .45);
  font-family: var(--iwe-font-display);
  font-size: clamp(18px, 1.5vw, 23px);
  font-style: italic;
  line-height: 1.4;
  color: var(--iwe-champagne);
}

body.iwe-inner .iwe-p-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
}

body.iwe-inner .iwe-p-dark .iwe-p-link { color: var(--iwe-champagne); }


/* -------------------------------------------------------------------------
   Link cards: where to go next
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-next {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

body.iwe-inner .iwe-p-next li { margin: 0; padding: 0; list-style: none; }

body.iwe-inner .iwe-p-next a {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  overflow: hidden;
  padding: 26px;
  color: var(--iwe-ivory);
  text-decoration: none;
}

body.iwe-inner .iwe-p-next img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--iwe-ease);
}

body.iwe-inner .iwe-p-next a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 24, 44, 0) 30%, rgba(16, 24, 44, .85) 100%);
}

body.iwe-inner .iwe-p-next a:hover img { transform: scale(1.05); }

body.iwe-inner .iwe-p-next__text {
  position: relative;
  z-index: 2;
  display: block;
}

body.iwe-inner .iwe-p-next__kicker {
  display: block;
  margin-bottom: 6px;
  font-family: var(--iwe-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--iwe-champagne);
}

body.iwe-inner .iwe-p-next__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--iwe-font-display);
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.1;
}


/* -------------------------------------------------------------------------
   Our Vineyard - stats band
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

body.iwe-inner .iwe-p-stats li {
  margin: 0;
  padding: 10px clamp(14px, 2vw, 34px);
  list-style: none;
  border-left: 1px solid rgba(217, 182, 111, .35);
}

body.iwe-inner .iwe-p-stats li:first-child { border-left: 0; padding-left: 0; }

body.iwe-inner .iwe-p-stats strong {
  display: block;
  font-family: var(--iwe-font-display);
  font-size: clamp(44px, 5vw, 84px);
  font-weight: 700;
  line-height: .9;
  color: var(--iwe-champagne);
}

body.iwe-inner .iwe-p-stats span {
  display: block;
  margin-top: 10px;
  font-family: var(--iwe-font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247, 240, 227, .86);
}


/* -------------------------------------------------------------------------
   Our Vineyard - two sites
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-sites {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
}

body.iwe-inner .iwe-p-site { position: relative; }
body.iwe-inner .iwe-p-site:nth-child(2) { margin-top: clamp(40px, 6vw, 110px); }

body.iwe-inner .iwe-p-site .iwe-c-frame__img { aspect-ratio: 16 / 11; }

body.iwe-inner .iwe-p-site__year {
  position: absolute;
  top: -.42em;
  right: 0;
  z-index: 2;
  font-family: var(--iwe-font-display);
  font-size: clamp(64px, 7vw, 120px);
  font-weight: 700;
  line-height: 1;
  color: var(--iwe-ivory);
  -webkit-text-stroke: 1px rgba(199, 101, 50, .8);
  pointer-events: none;
}

body.iwe-inner .iwe-p-site__body { padding: 26px 0 0 clamp(12px, 1.2vw, 18px); }

body.iwe-inner .iwe-c .iwe-p-site h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--iwe-midnight);
}

body.iwe-inner .iwe-p-dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 20px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(23, 33, 38, .15);
}

body.iwe-inner .iwe-p-dl dt {
  font-family: var(--iwe-font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--iwe-deep-teal);
}

body.iwe-inner .iwe-p-dl dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--iwe-charcoal);
}


/* -------------------------------------------------------------------------
   Our Vineyard - varieties: bar chart + experimental chips
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-varieties {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
}

body.iwe-inner .iwe-c .iwe-p-varieties h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 8px;
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--iwe-midnight);
}

body.iwe-inner .iwe-c .iwe-p-varieties h3 small {
  font-family: var(--iwe-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--iwe-deep-teal);
}

body.iwe-inner .iwe-p-bars {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

body.iwe-inner .iwe-p-bars li {
  display: grid;
  grid-template-columns: minmax(150px, .9fr) minmax(0, 2fr) 56px;
  gap: 16px;
  align-items: center;
  margin: 0;
  padding: 11px 0;
  list-style: none;
  border-bottom: 1px dashed rgba(23, 33, 38, .15);
}

body.iwe-inner .iwe-p-bars__name {
  font-family: var(--iwe-font-display);
  font-size: 18px;
  color: var(--iwe-midnight);
}

body.iwe-inner .iwe-p-bars__track {
  position: relative;
  height: 10px;
  background: rgba(23, 33, 38, .07);
}

body.iwe-inner .iwe-p-bars__track::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  background: linear-gradient(90deg, var(--iwe-emerald), var(--iwe-living-emerald));
}

body.iwe-inner .iwe-p-bars__count {
  font-family: var(--iwe-font-body);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  color: var(--iwe-charcoal);
}

body.iwe-inner .iwe-p-trials {
  padding: clamp(28px, 3vw, 44px);
  background: var(--iwe-midnight);
  box-shadow: 0 24px 50px rgba(16, 24, 44, .22);
}

body.iwe-inner .iwe-c .iwe-p-trials h3 { color: var(--iwe-ivory); }
body.iwe-inner .iwe-c .iwe-p-trials h3 small { color: var(--iwe-champagne); }
body.iwe-inner .iwe-c .iwe-p-trials p { color: rgba(247, 240, 227, .82); font-size: 15px; }

body.iwe-inner .iwe-p-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}

body.iwe-inner .iwe-p-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 12px;
  list-style: none;
  border: 1px solid rgba(217, 182, 111, .45);
  font-family: var(--iwe-font-body);
  font-size: 13px;
  color: var(--iwe-ivory);
}

body.iwe-inner .iwe-p-tags li span {
  font-size: 11px;
  font-weight: 700;
  color: var(--iwe-champagne);
}

body.iwe-inner .iwe-p-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid rgba(217, 182, 111, .3);
  font-family: var(--iwe-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--iwe-champagne);
}

body.iwe-inner .iwe-p-traits li { margin: 0; padding: 0; list-style: none; }

body.iwe-inner .iwe-p-photostrip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(40px, 4vw, 70px);
}

body.iwe-inner .iwe-p-photostrip .iwe-p-fill { aspect-ratio: 3 / 4; }
body.iwe-inner .iwe-p-photostrip .iwe-p-fill:nth-child(even) { transform: translateY(24px); }


/* -------------------------------------------------------------------------
   Topic tiles: How we're learning / Practical information / Who it's for
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(23, 33, 38, .12);
  border: 1px solid rgba(23, 33, 38, .12);
}

body.iwe-inner .iwe-p-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.iwe-inner .iwe-p-tiles--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

body.iwe-inner .iwe-p-tiles > li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: clamp(22px, 2.2vw, 34px);
  list-style: none;
  background: var(--iwe-ivory);
  transition: background-color .4s var(--iwe-ease);
}

body.iwe-inner .iwe-p-sand .iwe-p-tiles > li { background: #f7f1e6; }
body.iwe-inner .iwe-p-tiles > li:hover { background: #fffdf8; }

body.iwe-inner .iwe-c .iwe-p-tiles h3 {
  margin: 4px 0 0;
  font-size: clamp(19px, 1.5vw, 23px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--iwe-midnight);
}

body.iwe-inner .iwe-c .iwe-p-tiles p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

body.iwe-inner .iwe-p-tiles .iwe-p-link { margin-top: auto; align-self: flex-start; }

body.iwe-inner .iwe-p-tiles__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}


/* -------------------------------------------------------------------------
   Horizon / steps: short-medium-long term, booking steps, private flow
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr));
  gap: clamp(20px, 3vw, 50px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

body.iwe-inner .iwe-p-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--iwe-burnt-copper) 0 6px, transparent 6px 12px);
}

body.iwe-inner .iwe-p-dark .iwe-p-steps::before {
  background: repeating-linear-gradient(90deg, var(--iwe-champagne) 0 6px, transparent 6px 12px);
}

body.iwe-inner .iwe-p-steps > li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-increment: step;
}

body.iwe-inner .iwe-p-steps > li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border: 1px solid var(--iwe-burnt-copper);
  border-radius: 50%;
  background: var(--iwe-ivory);
  font-family: var(--iwe-font-display);
  font-size: 18px;
  color: var(--iwe-deep-teal);
}

body.iwe-inner .iwe-p-sand .iwe-p-steps > li::before { background: #f3ecdf; }

body.iwe-inner .iwe-p-dark .iwe-p-steps > li::before {
  border-color: var(--iwe-champagne);
  background: var(--iwe-deep-teal);
  color: var(--iwe-champagne);
}

body.iwe-inner .iwe-c .iwe-p-steps h3 {
  margin: 0 0 8px;
  font-family: var(--iwe-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--iwe-deep-teal);
}

body.iwe-inner .iwe-p-dark .iwe-p-steps h3 { color: var(--iwe-champagne); }

body.iwe-inner .iwe-c .iwe-p-steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

body.iwe-inner .iwe-c .iwe-p-steps p strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--iwe-font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--iwe-midnight);
}

body.iwe-inner .iwe-p-dark .iwe-p-steps p strong { color: var(--iwe-ivory); }


/* -------------------------------------------------------------------------
   Plan Your Visit - location with click-to-load map
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-where {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  box-shadow: 0 30px 60px rgba(16, 24, 44, .16);
}

body.iwe-inner .iwe-p-where__card {
  padding: clamp(34px, 3.6vw, 60px);
  background: var(--iwe-deep-teal);
}

body.iwe-inner .iwe-c .iwe-p-where__card address {
  margin: 20px 0 26px;
  font-family: var(--iwe-font-display);
  font-size: clamp(22px, 1.9vw, 30px);
  font-style: normal;
  line-height: 1.3;
  color: var(--iwe-ivory);
}

body.iwe-inner .iwe-p-gmap {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #e5e3d6;
}

body.iwe-inner .iwe-p-gmap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.6) brightness(.75);
}

body.iwe-inner .iwe-p-gmap__consent {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: rgba(16, 24, 44, .45);
}

body.iwe-inner .iwe-c .iwe-p-gmap__consent p {
  max-width: 40ch;
  margin: 0;
  font-size: 13px;
  color: rgba(247, 240, 227, .92);
}

body.iwe-inner .iwe-p-gmap button {
  cursor: pointer;
  font: inherit;
}

body.iwe-inner .iwe-p-gmap iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
}

body.iwe-inner .iwe-p-gmap.is-loaded .iwe-p-gmap__consent,
body.iwe-inner .iwe-p-gmap.is-loaded > img { display: none; }


/* -------------------------------------------------------------------------
   Plan Your Visit - getting here route list
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-routes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(20px, 2.4vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

body.iwe-inner .iwe-p-routes li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 22px 0;
  list-style: none;
  border-top: 1px solid rgba(23, 33, 38, .16);
}

body.iwe-inner .iwe-p-routes__place {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--iwe-font-display);
  font-size: clamp(22px, 1.8vw, 28px);
  color: var(--iwe-midnight);
}

body.iwe-inner .iwe-p-routes__place::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border: 2px solid var(--iwe-burnt-copper);
  border-radius: 50%;
}

body.iwe-inner .iwe-p-routes__time {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--iwe-font-body);
  font-size: 12px;
  color: rgba(23, 33, 38, .6);
}

/* The measured journey time reads as a value, not a status chip: the chip is
   10px uppercase with wide tracking, which is unreadable for "1 hr 35 min". */
body.iwe-inner .iwe-p-routes__value {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--iwe-midnight);
  letter-spacing: 0;
  text-transform: none;
}

body.iwe-inner .iwe-p-routes__dist {
  font-size: 11px;
  color: rgba(23, 33, 38, .45);
  letter-spacing: .04em;
}

body.iwe-inner .iwe-p-routes__via {
  font-family: var(--iwe-font-body);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--iwe-deep-teal);
}

body.iwe-inner .iwe-p-routes__dist::before {
  content: "·";
  margin-right: 8px;
}


/* -------------------------------------------------------------------------
   Plan Your Visit - advance booking statement
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
}

body.iwe-inner .iwe-c .iwe-p-statement__big {
  margin: 0;
  font-family: var(--iwe-font-display);
  font-size: clamp(40px, 4.8vw, 82px);
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
  color: var(--iwe-ivory);
}

body.iwe-inner .iwe-c .iwe-p-statement__big em {
  display: block;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  color: var(--iwe-champagne);
}


/* -------------------------------------------------------------------------
   Arrival window graphic (Plan Your Visit + Private Visits)
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-window {
  padding: clamp(26px, 3vw, 44px);
  background: rgba(247, 240, 227, .06);
  border: 1px solid rgba(217, 182, 111, .35);
}

body.iwe-inner .iwe-p-window__track {
  position: relative;
  height: 64px;
  margin: 46px 0 18px;
  background:
    repeating-linear-gradient(90deg, rgba(247, 240, 227, .22) 0 1px, transparent 1px 12.5%),
    rgba(247, 240, 227, .05);
}

body.iwe-inner .iwe-p-window__range {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30%;
  width: 34%;
  background: linear-gradient(90deg, rgba(217, 182, 111, .25), rgba(217, 182, 111, .55), rgba(217, 182, 111, .25));
  border-inline: 2px solid var(--iwe-champagne);
}

body.iwe-inner .iwe-p-window__range::before {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--iwe-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--iwe-champagne);
}

body.iwe-inner .iwe-p-window__ping {
  position: absolute;
  top: 50%;
  left: 51%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--iwe-living-emerald);
  color: var(--iwe-midnight);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px rgba(19, 184, 137, .2);
}

body.iwe-inner .iwe-p-window__ping svg { width: 20px; height: 20px; }

body.iwe-inner .iwe-p-window__scale {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--iwe-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247, 240, 227, .6);
}

body.iwe-inner .iwe-p-window__scale li { margin: 0; padding: 0; list-style: none; }

body.iwe-inner .iwe-c .iwe-p-window__caption {
  margin: 20px 0 0;
  font-size: 14px;
  color: rgba(247, 240, 227, .8);
}


/* -------------------------------------------------------------------------
   Plan Your Visit - discover the area
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-area {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

body.iwe-inner .iwe-p-area li { margin: 0; padding: 0; list-style: none; }
body.iwe-inner .iwe-p-area li:nth-child(2) { margin-top: clamp(24px, 3vw, 50px); }

body.iwe-inner .iwe-p-area .iwe-p-fill {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 0 0;
}

body.iwe-inner .iwe-c .iwe-p-area h3 {
  margin: 20px 0 6px;
  font-size: clamp(26px, 2.3vw, 38px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--iwe-midnight);
}

body.iwe-inner .iwe-c .iwe-p-area p { margin: 0 0 12px; font-size: 15px; }


/* -------------------------------------------------------------------------
   Journal - featured story, topics, cards, pager, author, Kelly shed
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-card {
  display: flex;
  flex-direction: column;
  background: #fffdf8;
  box-shadow: 0 1px 0 rgba(23, 33, 38, .06);
  transition: box-shadow .5s var(--iwe-ease), transform .5s var(--iwe-ease);
}

body.iwe-inner .iwe-p-card:hover {
  box-shadow: 0 24px 44px rgba(16, 24, 44, .12);
  transform: translateY(-3px);
}

body.iwe-inner .iwe-p-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--iwe-mineral-grey);
}

body.iwe-inner .iwe-p-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--iwe-ease);
}

body.iwe-inner .iwe-p-card:hover .iwe-p-card__media img { transform: scale(1.04); }

body.iwe-inner .iwe-p-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 26px;
}

body.iwe-inner .iwe-c .iwe-p-card__meta {
  margin: 0 0 10px;
  font-family: var(--iwe-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(23, 33, 38, .55);
}

body.iwe-inner .iwe-p-card__meta a {
  color: var(--iwe-deep-teal);
  text-decoration: none;
}

body.iwe-inner .iwe-c .iwe-p-card__title {
  margin: 0 0 10px;
  font-size: clamp(19px, 1.45vw, 23px);
  font-weight: 600;
  line-height: 1.25;
}

body.iwe-inner .iwe-p-card__title a {
  color: var(--iwe-midnight);
  text-decoration: none;
}

body.iwe-inner .iwe-p-card__title a:hover { color: var(--iwe-emerald); }

body.iwe-inner .iwe-c .iwe-p-card__excerpt {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
}

body.iwe-inner .iwe-p-card .iwe-p-link { margin-top: auto; align-self: flex-start; }

body.iwe-inner .iwe-p-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px);
}

body.iwe-inner .iwe-p-featured { margin-bottom: clamp(40px, 4vw, 64px); }

body.iwe-inner .iwe-p-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

body.iwe-inner .iwe-p-card--featured .iwe-p-card__media { aspect-ratio: auto; min-height: 400px; }

body.iwe-inner .iwe-p-card--featured .iwe-p-card__body {
  justify-content: center;
  padding: clamp(28px, 3.6vw, 60px);
}

body.iwe-inner .iwe-c .iwe-p-card--featured .iwe-p-card__title { font-size: clamp(26px, 2.6vw, 42px); line-height: 1.1; }
body.iwe-inner .iwe-c .iwe-p-card--featured .iwe-p-card__excerpt { font-size: 16px; }

body.iwe-inner .iwe-p-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 0 0 clamp(30px, 3vw, 48px);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(23, 33, 38, .14);
}

body.iwe-inner .iwe-p-cats__title {
  font-family: var(--iwe-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--iwe-charcoal);
}

body.iwe-inner .iwe-p-cats ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.iwe-inner .iwe-p-cats li { margin: 0; padding: 0; list-style: none; }

body.iwe-inner .iwe-p-cats a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(23, 33, 38, .2);
  border-radius: 999px;
  font-size: 14px;
  color: var(--iwe-midnight);
  text-decoration: none;
  transition: background-color .3s var(--iwe-ease), color .3s var(--iwe-ease), border-color .3s var(--iwe-ease);
}

body.iwe-inner .iwe-p-cats a span {
  font-size: 11px;
  font-weight: 700;
  color: var(--iwe-deep-teal);
}

body.iwe-inner .iwe-p-cats a:hover {
  background: var(--iwe-deep-teal);
  border-color: var(--iwe-deep-teal);
  color: var(--iwe-ivory);
}

body.iwe-inner .iwe-p-cats a:hover span { color: var(--iwe-champagne); }

body.iwe-inner .iwe-p-pager ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: clamp(36px, 3.6vw, 56px) 0 0;
  padding: 0;
  list-style: none;
}

body.iwe-inner .iwe-p-pager li { margin: 0; padding: 0; list-style: none; }

body.iwe-inner .iwe-p-pager a,
body.iwe-inner .iwe-p-pager span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(23, 33, 38, .2);
  font-family: var(--iwe-font-body);
  font-weight: 700;
  color: var(--iwe-midnight);
  text-decoration: none;
}

body.iwe-inner .iwe-p-pager span[aria-current] {
  background: var(--iwe-deep-teal);
  border-color: var(--iwe-deep-teal);
  color: var(--iwe-ivory);
}

body.iwe-inner .iwe-p-author {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 50px);
  align-items: center;
  max-width: 980px;
  margin-inline: auto;
}

body.iwe-inner .iwe-p-author__photo {
  display: block;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border: 3px solid var(--iwe-ivory);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--iwe-champagne), 0 16px 34px rgba(16, 24, 44, .18);
}

body.iwe-inner .iwe-p-author__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

body.iwe-inner .iwe-c .iwe-p-author blockquote {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  font-family: var(--iwe-font-display);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.4;
  color: var(--iwe-midnight);
}


/* -------------------------------------------------------------------------
   404
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-lost {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(86vh, 820px);
  overflow: hidden;
  background: var(--iwe-midnight);
}

body.iwe-inner .iwe-p-lost__media {
  position: absolute;
  inset: 0;
}

body.iwe-inner .iwe-p-lost__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

body.iwe-inner .iwe-p-lost__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 24, 44, .94) 0%, rgba(16, 24, 44, .78) 45%, rgba(16, 24, 44, .25) 100%);
}

body.iwe-inner .iwe-p-lost .iwe-c__wrap { padding-block: clamp(60px, 7vw, 120px); }

body.iwe-inner .iwe-c .iwe-p-lost__code {
  position: absolute;
  top: 50%;
  right: 0;
  margin: 0;
  transform: translateY(-50%);
  font-family: var(--iwe-font-display);
  font-size: clamp(120px, 20vw, 340px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217, 182, 111, .55);
  pointer-events: none;
}

body.iwe-inner .iwe-p-lost p.iwe-c-label { color: var(--iwe-champagne); }

body.iwe-inner .iwe-c.iwe-p-lost h1 {
  max-width: 16ch;
  margin: 0 0 20px;
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--iwe-ivory);
}

body.iwe-inner .iwe-c .iwe-p-lost__text {
  max-width: 48ch;
  color: rgba(247, 240, 227, .86);
}

body.iwe-inner .iwe-p-lost__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 260px));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

body.iwe-inner .iwe-p-lost__links li { margin: 0; padding: 0; list-style: none; }

body.iwe-inner .iwe-p-lost__links a {
  position: relative;
  display: block;
  height: 100%;
  padding: 20px 50px 20px 20px;
  border: 1px solid rgba(217, 182, 111, .5);
  background: rgba(16, 24, 44, .45);
  color: var(--iwe-ivory);
  text-decoration: none;
  transition: background-color .4s var(--iwe-ease), border-color .4s var(--iwe-ease);
}

body.iwe-inner .iwe-p-lost__links a:hover {
  background: var(--iwe-deep-teal);
  border-color: var(--iwe-deep-teal);
}

body.iwe-inner .iwe-p-lost__label {
  display: block;
  font-family: var(--iwe-font-display);
  font-size: 21px;
}

body.iwe-inner .iwe-p-lost__hint {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(247, 240, 227, .75);
}

body.iwe-inner .iwe-p-lost__links .iwe-c-arrow {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
}


/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  body.iwe-inner .iwe-p-tiles--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.iwe-inner .iwe-p-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  body.iwe-inner .iwe-p-arches,
  body.iwe-inner .iwe-p-tiles,
  body.iwe-inner .iwe-p-photostrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  body.iwe-inner .iwe-p-arch:nth-child(even) { margin-top: 0; }

  body.iwe-inner .iwe-p-head--split,
  body.iwe-inner .iwe-p-board,
  body.iwe-inner .iwe-p-signup,
  body.iwe-inner .iwe-p-split,
  body.iwe-inner .iwe-p-sites,
  body.iwe-inner .iwe-p-varieties,
  body.iwe-inner .iwe-p-where,
  body.iwe-inner .iwe-p-statement,
  body.iwe-inner .iwe-p-card--featured { grid-template-columns: 1fr; }

  body.iwe-inner .iwe-p-site:nth-child(2) { margin-top: 30px; }

  body.iwe-inner .iwe-p-split--flip .iwe-p-split__media { order: 0; }
  body.iwe-inner .iwe-p-split__media { min-height: clamp(280px, 60vw, 460px); }

  body.iwe-inner .iwe-p-split__text,
  body.iwe-inner .iwe-p-split--flip .iwe-p-split__text {
    justify-self: stretch;
    max-width: none;
    padding-inline: var(--iwe-gutter);
  }

  body.iwe-inner .iwe-p-signup__media { min-height: 300px; }

  body.iwe-inner .iwe-p-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 0; }
  body.iwe-inner .iwe-p-stats li:nth-child(3) { border-left: 0; padding-left: 0; }

  body.iwe-inner .iwe-p-cards,
  body.iwe-inner .iwe-p-next,
  body.iwe-inner .iwe-p-area { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  body.iwe-inner .iwe-p-area li:nth-child(2) { margin-top: 0; }

  body.iwe-inner .iwe-p-steps { grid-template-columns: 1fr; gap: 30px; }
  body.iwe-inner .iwe-p-steps::before { top: 28px; bottom: 28px; left: 28px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--iwe-burnt-copper) 0 6px, transparent 6px 12px); }
  body.iwe-inner .iwe-p-dark .iwe-p-steps::before { background: repeating-linear-gradient(180deg, var(--iwe-champagne) 0 6px, transparent 6px 12px); }
  body.iwe-inner .iwe-p-steps > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; }
  body.iwe-inner .iwe-p-steps > li::before { margin: 0; }

  body.iwe-inner .iwe-p-card--featured .iwe-p-card__media { min-height: 0; aspect-ratio: 16 / 10; }

  body.iwe-inner .iwe-p-lost__links { grid-template-columns: 1fr; max-width: 420px; }
  body.iwe-inner .iwe-p-lost__media::after { background: linear-gradient(180deg, rgba(16, 24, 44, .92) 0%, rgba(16, 24, 44, .8) 60%, rgba(16, 24, 44, .6) 100%); }
  body.iwe-inner .iwe-c .iwe-p-lost__code { top: 22%; opacity: .5; }
}

@media (max-width: 767px) {
  body.iwe-inner .iwe-p-arches,
  body.iwe-inner .iwe-p-tiles,
  body.iwe-inner .iwe-p-tiles--3,
  body.iwe-inner .iwe-p-tiles--5,
  body.iwe-inner .iwe-p-facts,
  body.iwe-inner .iwe-p-cards,
  body.iwe-inner .iwe-p-next,
  body.iwe-inner .iwe-p-area,
  body.iwe-inner .iwe-p-routes,
  body.iwe-inner .iwe-p-author { grid-template-columns: 1fr; }

  body.iwe-inner .iwe-p-facts li,
  body.iwe-inner .iwe-p-facts li:nth-child(even) { padding-left: 0; border-right: 0; }

  body.iwe-inner .iwe-p-photostrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.iwe-inner .iwe-p-photostrip .iwe-p-fill:nth-child(even) { transform: none; }

  body.iwe-inner .iwe-p-bars li { grid-template-columns: minmax(0, 1fr) 48px; gap: 6px 12px; }
  body.iwe-inner .iwe-p-bars__track { grid-column: 1 / -1; grid-row: 2; }

  body.iwe-inner .iwe-p-arch__img { aspect-ratio: 4 / 4.2; }
  body.iwe-inner .iwe-p-next a { min-height: 240px; }

  body.iwe-inner .iwe-p-gmap { min-height: 320px; }
  body.iwe-inner .iwe-p-window__scale li:nth-child(even) { visibility: hidden; }

  body.iwe-inner .iwe-p-author { justify-items: center; text-align: center; }
  body.iwe-inner .iwe-p-author p.iwe-c-label { justify-content: center; }

  body.iwe-inner .iwe-p-hero__actions .iwe-c-btn { width: 100%; justify-content: center; }
}

/* -------------------------------------------------------------------------
   Legal pages - Privacy, Cookies, Terms
   ------------------------------------------------------------------------- */

body.iwe-inner .iwe-p-legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
}

body.iwe-inner .iwe-p-legal__toc {
  position: sticky;
  top: 30px;
  padding: 26px 24px;
  background: #f3ecdf;
  border-top: 3px solid var(--iwe-burnt-copper);
}

body.iwe-inner .iwe-p-legal__toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

body.iwe-inner .iwe-p-legal__toc li {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-increment: toc;
}

/* Numbering applies to the contents list only, not the Related links. */
body.iwe-inner .iwe-p-legal__toc ol a {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(23, 33, 38, .1);
  font-size: 14px;
  line-height: 1.4;
  color: var(--iwe-midnight);
  text-decoration: none;
}

body.iwe-inner .iwe-p-legal__toc ol a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  font-family: var(--iwe-font-display);
  color: var(--iwe-deep-teal);
}

body.iwe-inner .iwe-p-legal__toc ol a:hover { color: var(--iwe-deep-teal); }

body.iwe-inner .iwe-c .iwe-p-legal__related {
  margin: 18px 0 0;
  font-size: 13px;
}

body.iwe-inner .iwe-p-legal__related a { color: var(--iwe-emerald); }

body.iwe-inner .iwe-p-legal__body { max-width: 74ch; }

body.iwe-inner .iwe-c .iwe-p-legal__intro {
  margin: 0 0 34px;
  font-family: var(--iwe-font-display);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.45;
  color: var(--iwe-midnight);
}

body.iwe-inner .iwe-p-legal__body section {
  padding: 30px 0;
  border-top: 1px solid rgba(23, 33, 38, .14);
  scroll-margin-top: 30px;
}

body.iwe-inner .iwe-c .iwe-p-legal__body h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--iwe-midnight);
}

body.iwe-inner .iwe-c .iwe-p-legal__body li {
  margin: 0 0 10px;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: rgba(23, 33, 38, .82);
}

body.iwe-inner .iwe-p-legal__body ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

body.iwe-inner .iwe-p-legal__body a { color: var(--iwe-deep-teal); }
body.iwe-inner .iwe-p-legal__body .iwe-c-btn { color: var(--iwe-ivory); }

body.iwe-inner .iwe-p-legal__contact {
  margin-top: 20px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--iwe-mineral-grey);
}

@media (max-width: 980px) {
  body.iwe-inner .iwe-p-legal { grid-template-columns: 1fr; }
  body.iwe-inner .iwe-p-legal__toc { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  body.iwe-inner .iwe-p-arch__img img,
  body.iwe-inner .iwe-p-next img,
  body.iwe-inner .iwe-p-card,
  body.iwe-inner .iwe-p-card__media img,
  body.iwe-inner .iwe-p-link .iwe-c-arrow { transition: none; }

  body.iwe-inner .iwe-p-card:hover { transform: none; }
}

/* An empty topic is still listed so the reader can see what the Journal
   covers (brief section 17), but it is set back from the topics that have
   articles in them. */
body.iwe-inner .iwe-p-cats a.is-empty {
  border-style: dashed;
  color: rgba(23, 33, 38, .6);
}

body.iwe-inner .iwe-p-cats a.is-empty:hover {
  color: var(--iwe-ivory);
}

/* Explains how the variety count is arrived at (Our Vineyard). Set quieter
   than body copy: it is a clarifying footnote, not part of the argument. */
body.iwe-inner .iwe-c .iwe-p-note {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(23, 33, 38, .14);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(23, 33, 38, .68);
}

body.iwe-inner .iwe-c.iwe-p-dark .iwe-p-note {
  border-top-color: rgba(217, 182, 111, .25);
  color: rgba(247, 240, 227, .72);
}
