/* Our Garden Rooms page-specific styles.
   Showcase page (Addendum B): Hanken Grotesk for everything inside <main class="ggr-ogr">.
   The shared header, nav and footer are untouched. */

/* ---------- Type foundation (main only) ---------- */
.ggr-ogr {
  --ogr-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  /* the page's names for the site tokens in style.css */
  --ogr-ink: var(--color-secondary);
  --ogr-ink-soft: var(--color-ink-soft);  /* secondary text only (was grey-blue #3D5159) */
  --ogr-paving: var(--color-stone);
  font-family: var(--ogr-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ogr-ink);
}
.ggr-ogr :where(h1, h2, h3) {
  font-family: var(--ogr-body);
  font-weight: 600;
  text-transform: none;
}
.ggr-ogr h1 {
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ogr-ink);
  margin: 0 0 24px;
}
.ggr-ogr h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ogr-ink);
  margin: 0 0 16px;
}
.ggr-ogr h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ogr-ink);
  margin: 0 0 8px;
}
.ggr-ogr p { margin: 0 0 1em; }

/* the site's one container: same edge as the header logo and the footer */
.ggr-wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons inside main: Hanken Grotesk 500, sentence case ---------- */
.ggr-ogr .btn {
  font-family: var(--ogr-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 17px;
  line-height: 1.2;
}
.ggr-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ggr-actions .btn[hidden] { display: none; }
.btn.ggr-btn--outline { background: transparent; color: var(--color-btn) !important; border: 1.5px solid var(--color-btn); }
.btn.ggr-btn--outline:hover, .btn.ggr-btn--outline:focus-visible { background: var(--color-btn); color: var(--color-white) !important; }
.ggr-close .btn.ggr-btn--outline { background: transparent; color: var(--color-white) !important; border-color: var(--color-white); }
.ggr-close .btn.ggr-btn--outline:hover, .ggr-close .btn.ggr-btn--outline:focus-visible { background: var(--color-white); color: var(--ogr-ink) !important; }
.ggr-close .btn:not(.ggr-btn--outline) { background: var(--color-white); color: var(--ogr-ink) !important; }
.ggr-close .btn:not(.ggr-btn--outline):hover,
.ggr-close .btn:not(.ggr-btn--outline):focus-visible { background: var(--color-sage); }
.ggr-intro .btn:focus-visible { outline: 3px solid var(--color-btn); outline-offset: 3px; }
.ggr-close .btn:focus-visible { outline: 3px solid var(--color-sage); outline-offset: 3px; }

/* ---------- 1. Intro: split, text left, photo right ---------- */
.ggr-intro { padding: 64px 0 96px; }
.ggr-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 11fr);
  gap: 56px;
  align-items: center;
}
.ggr-intro__lead {
  max-width: 30em;
  margin: 0 0 32px;
  font-size: 21px;
  line-height: 1.55;
  color: var(--ogr-ink);
}
.ggr-intro__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ---------- 2. A garden room for every use (navy grid / rail) ---------- */
.ggr-uses { background: var(--color-secondary); color: #fff; padding: 104px 0 112px; }
.ggr-uses__inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.ggr-uses__head { max-width: 820px; margin-bottom: 56px; }
.ggr-uses__head h2 { color: #fff; }
.ggr-uses__head p { font-size: 18px; line-height: 1.6; color: #C9D1D5; margin: 0; }
.ggr-uses__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.ggr-use { display: flex; flex-direction: column; min-width: 0; }
.ggr-use__media { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: var(--color-secondary-deep); }
.ggr-use__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ggr-use__media--empty { display: grid; place-items: center; border: 1px dashed rgba(255, 255, 255, 0.28); }
.ggr-use__media--empty span { font-size: 15px; line-height: 1.4; color: #9AA7AD; padding: 0 24px; text-align: center; }
.ggr-uses .ggr-use h3 { font-size: 26px; line-height: 1.15; color: #fff; margin: 22px 0 8px; }
.ggr-use p { font-size: 16px; line-height: 1.6; color: #C9D1D5; margin: 0 0 14px; max-width: 36ch; }
.ggr-use a {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex; align-items: center; min-height: 44px; /* tap target */
  color: var(--color-sage);
  font-weight: 500;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.ggr-use a:hover, .ggr-use a:focus-visible { color: #fff; }
.ggr-use a:focus-visible { outline: 2px solid var(--color-sage); outline-offset: 4px; }

/* Text-only ninth tile: same footprint as a photo tile, outlined, no image */
.ggr-use__card {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
}
.ggr-uses .ggr-use__card h3 { margin-top: 0; }
.ggr-use__card a { margin-top: 4px; }
/* Tablet and desktop: the uses without a photo are plain text under the photo row (name, sentence,
   link), not hollow boxes that read as missing pictures. The phone rail keeps the outlined card. */
@media (min-width: 768px) {
  .ggr-use__card { aspect-ratio: auto; justify-content: flex-start; padding: 28px 0 0; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.22); border-radius: 0; position: relative; }
  .ggr-use__card::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 3px; background: var(--color-primary); }
}

/* ---------- 3. Designed around you (paving-stone, 2x2) ---------- */
.ggr-options { background: var(--ogr-paving); padding: 104px 0 112px; }
.ggr-options__head { max-width: 820px; margin-bottom: 56px; }
.ggr-options__head p { font-size: 18px; line-height: 1.6; color: var(--ogr-ink); margin: 0; }
.ggr-options__link {
  display: inline-block;
  padding-block: 8px; margin: 6px 0 -8px; /* 44px tap target; same 14px gap above as before */
  color: var(--color-primary-dark); /* 7:1 on stone */
  font-weight: 500;
  font-size: 17px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.ggr-options__link:hover { color: var(--ogr-ink); }
.ggr-options__link:focus-visible { outline: 2px solid var(--color-primary-dark); outline-offset: 4px; }

/* ---------- Zig-zag rows (Designed around you + Included in every room) ----------
   Photo and text side by side, the photo swapping sides on every other row. */
.ggr-zz { display: flex; flex-direction: column; gap: 96px; margin: 0; padding: 0; list-style: none; }
.ggr-zz__row {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 72px;
  align-items: center;
}
.ggr-zz__row:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ggr-zz__row:nth-child(even) .ggr-zz__media { order: 2; }
.ggr-zz__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--color-stone);
}
.ggr-zz__text { max-width: 30em; }
.ggr-zz__text::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 22px;
  background: var(--color-primary);
}
.ggr-ogr .ggr-zz__text h3 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; margin: 0 0 14px; }
.ggr-zz__text p { color: var(--ogr-ink); margin: 0; }

/* Layouts waiting for the page restructure (site-critique change 7); no effect until the markup uses them:
   .ggr-uses__list  the uses without a photo, as a three-column text list under the photo row
   .ggr-zz--grid    "Included in every room" as a 3 x 2 grid of cards (photo 4:3 on top, heading, text) */
.ggr-uses__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin: 56px 0 0; padding: 0; list-style: none; }
.ggr-zz.ggr-zz--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.ggr-zz--grid .ggr-zz__row, .ggr-zz--grid .ggr-zz__row:nth-child(even) { display: block; }
.ggr-zz--grid .ggr-zz__media { margin-bottom: 24px; }
.ggr-zz--grid .ggr-zz__text::before { display: none; }
@media (max-width: 1024px) { .ggr-uses__list, .ggr-zz.ggr-zz--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ggr-uses__list, .ggr-zz.ggr-zz--grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* ---------- 4. Included detail (white, two-column typographic list) ---------- */
.ggr-detail { background: #fff; padding: 104px 0 112px; }
.ggr-detail h2 { margin-bottom: 64px; }

/* ---------- 5. Closing CTA band ---------- */
/* Navy, like every other closing section (the dark green band is retired: green is the action
   colour). Same heading scale and spacing as the shared .site-close in style.css. */
.ggr-close { background: var(--color-secondary); text-align: center; padding: var(--space-section-lg) 0; }
.ggr-ogr .ggr-close h2 { max-width: 20ch; margin: 0 auto 32px; font-size: clamp(34px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.03em; color: var(--color-white); }
/* the "included" items: one centred line of text with middots, not pills */
.ggr-close__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  max-width: 46em;
  margin: 0 auto 40px;
}
.ggr-close__chips li {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-white);
}
/* a tick before each item (a dot between items left a stray dot at the start of a wrapped line) */
.ggr-close__chips { justify-content: center; gap: 10px 28px; max-width: 900px; margin-inline: auto; }
.ggr-close__chips li::before { content: "\2713"; margin-right: 8px; color: var(--color-sage); font-weight: 600; }
.ggr-close .ggr-actions { justify-content: center; }
.ggr-close .ggr-close__price { color: var(--color-white); font-size: 18px; line-height: 1.5; max-width: 640px; margin: -12px auto 32px; text-align: center; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .ggr-uses__grid { grid-template-columns: repeat(2, 1fr); }
  .ggr-intro__grid { gap: 40px; }
  .ggr-zz { gap: 72px; }
  .ggr-zz__row, .ggr-zz__row:nth-child(even) { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .ggr-ogr { font-size: 16px; }
  .ggr-ogr h3 { font-size: 22px; }

  /* Photo first: the page is a showcase and the photo is the LCP element,
     so it should land straight under the header; the h1 follows at once. */
  .ggr-intro { padding: 20px 0 56px; }
  .ggr-intro__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ggr-intro__media { order: -1; }
  .ggr-intro__lead { font-size: 18px; margin-bottom: 24px; }
  .ggr-actions .btn { width: 100%; justify-content: center; }

  .ggr-uses { padding: 64px 0 72px; }
  .ggr-uses__inner { padding: 0; }
  .ggr-uses__head { padding: 0 20px; margin-bottom: 32px; }
  .ggr-uses__head p { font-size: 16px; }
  .ggr-uses__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px 8px;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ggr-uses__grid::-webkit-scrollbar { display: none; }
  .ggr-use { scroll-snap-align: start; }
  .ggr-uses .ggr-use h3 { font-size: 24px; margin-top: 16px; }
  .ggr-use p { font-size: 15px; }
  .ggr-use__card { padding: 20px; }

  .ggr-options { padding: 64px 0 72px; }
  .ggr-options__head { margin-bottom: 32px; }
  .ggr-options__head p { font-size: 16px; }

  .ggr-zz { gap: 48px; }
  .ggr-zz__row, .ggr-zz__row:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ggr-zz__row:nth-child(even) .ggr-zz__media { order: 0; }
  .ggr-zz__text::before { margin-bottom: 16px; }
  .ggr-ogr .ggr-zz__text h3 { font-size: 24px; margin-bottom: 10px; }

  .ggr-detail { padding: 64px 0 72px; }
  .ggr-detail h2 { margin-bottom: 36px; }

  .ggr-ogr .ggr-close h2 { margin-bottom: 24px; }
  .ggr-close__chips { margin-bottom: 32px; }
  .ggr-close__chips li { font-size: 16px; }
  .ggr-close .ggr-actions .btn { max-width: 360px; }
}

/* ==========================================================================
   Final design pass (2026-11-13): page restructure
   ========================================================================== */
/* Designed around you: one photo beside the four options as a 2 x 2 green-bar text grid */
.ggr-around { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ggr-around__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
.ggr-around__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin: 0; padding: 0; list-style: none; }
.ggr-around__list li { position: relative; padding-top: 24px; border-top: 1px solid rgba(50, 63, 70, 0.16); }
.ggr-around__list li::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 3px; background: var(--color-primary); }
.ggr-ogr .ggr-around__list h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.2; }
.ggr-around__list p { margin: 0 0 10px; font-size: 17px; line-height: 1.6; color: var(--ogr-ink); }
.ggr-around__list p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .ggr-around { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .ggr-around__list { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Included in every room: heading beside its opening statement, then a 3 x 2 grid of cards */
.ggr-detail__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-bottom: 64px; }
.ggr-detail .ggr-detail__head h2 { margin-bottom: 0; }
.ggr-detail__lead { position: relative; padding-top: 24px; border-top: 1px solid rgba(50, 63, 70, 0.16); }
.ggr-detail__lead::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 3px; background: var(--color-primary); }
.ggr-ogr .ggr-detail__lead h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.2; }
.ggr-detail__lead p { margin: 0; color: var(--ogr-ink); }
.ggr-ogr .ggr-zz--grid .ggr-zz__text h3 { font-size: 24px; line-height: 1.2; margin-bottom: 10px; }
.ggr-zz--grid .ggr-zz__text { max-width: none; }
.ggr-zz--grid .ggr-zz__text p { font-size: 17px; line-height: 1.6; }
.ggr-zz--grid .ggr-zz__media img { aspect-ratio: 3 / 2; }
@media (max-width: 900px) { .ggr-detail__head { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 48px; } }
