/* ==========================================================================
   Ikon Sana — homepage
   Visual logic: dark forest frames the page top and bottom; a warm paper
   middle lets the photographs carry the colour. Display serif for voice,
   calm grotesk for everything functional. Hairlines instead of boxes.
   ========================================================================== */

/* 1. Tokens
   ------------------------------------------------------------------------ */
:root {
  /* Palette */
  --color-paper: #f3ebdd;
  --color-sand: #dfceb6;
  --color-forest: #172a24;
  --color-forest-deep: #101e1a;
  --color-forest-raised: #213a32;
  --color-ink: #30251f;
  --color-ink-muted: #5a4a3e;
  --color-terracotta: #a44f34;
  --color-terracotta-deep: #8a3f27;
  --color-olive: #70765b; /* decorative lines only: 4.0:1 on paper is too low for small text */
  --color-on-dark: #f3ebdd;
  --color-on-dark-muted: #cdbfa8;
  --line-light: rgb(48 37 31 / 0.2);
  --line-dark: rgb(243 235 221 / 0.16);
  --line-dark-strong: rgb(243 235 221 / 0.45);

  /* Type */
  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-label: 0.75rem;
  --text-small: 0.875rem;
  --text-body: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --text-lead: clamp(1.0625rem, 0.99rem + 0.35vw, 1.25rem);
  --title-s: clamp(1.375rem, 1.22rem + 0.5vw, 1.75rem);
  --title-m: clamp(2.125rem, 1.5rem + 2.2vw, 3.5rem);
  --title-l: clamp(2.5rem, 1.25rem + 4.72vw, 5.5rem);

  /* Space */
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
  --space-2xl: clamp(3rem, 2rem + 3.5vw, 5rem);
  --space-3xl: clamp(4rem, 2.5rem + 5.5vw, 7.5rem);
  --space-4xl: clamp(5rem, 3rem + 7.5vw, 10rem);

  /* Layout */
  --container-max: 90rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --grid-gap: clamp(1rem, 0.6rem + 1.4vw, 2rem);
  --measure: 34rem;
  --header-h: 3.75rem;

  --radius-s: 2px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --focus-color: var(--color-terracotta-deep);
}

@media (min-width: 60em) {
  :root { --header-h: 4.5rem; }
}

/* 2. Base
   ------------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { height: auto; }

h1, h2, h3, p, figure, ul { margin: 0; }

ul[role="list"] { list-style: none; padding: 0; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input { font: inherit; color: inherit; }

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 3px;
}

.on-dark { --focus-color: var(--color-on-dark); }

::selection {
  background: var(--color-terracotta);
  color: var(--color-on-dark);
}

section[id] { scroll-margin-top: var(--header-h); }

/* 3. Utilities
   ------------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: var(--gutter);
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-paper);
  color: var(--color-ink);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.icon {
  width: 1.375rem;
  height: 1.375rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--arrow { width: 1.125rem; height: 1.125rem; }

/* Card pattern: the title link covers the whole card */
.stretched-link { text-decoration: none; }

.stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.stretched-link:focus-visible { outline: none; }

.stretched-link:focus-visible::after {
  outline: 2px solid var(--focus-color);
  outline-offset: 6px;
}

/* 4. Typography & small components
   ------------------------------------------------------------------------ */
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--title-m);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.eyebrow {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* The element captions (Fire / Air / Earth / Water) are the page's recurring device */
.element-label {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.element-label::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.125rem;
  padding: 0.8rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.button--primary {
  background: var(--color-terracotta);
  color: var(--color-on-dark);
}

.button--primary:hover { background: var(--color-terracotta-deep); }

.button--outline {
  border-color: currentColor;
  background: transparent;
}

.button--outline:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-paper);
}

.button--light {
  background: var(--color-on-dark);
  color: var(--color-forest);
}

.button--light:hover { background: var(--color-sand); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.4em;
  transition: text-decoration-color 0.2s;
}

.text-link:hover { text-decoration-color: currentColor; }

.text-link--small { font-size: var(--text-small); }

.text-link .icon--arrow,
.service-list__arrow { transition: transform 0.25s var(--ease-out); }

.text-link:hover .icon--arrow { transform: translateX(3px); }

/* Section heading row: title (and optional intro) left, a quiet link right */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-l);
  margin-bottom: var(--space-xl);
}

.section-head__intro {
  max-width: var(--measure);
  margin-top: var(--space-s);
  color: var(--color-ink-muted);
}

/* 5. Header
   ------------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--color-forest);
  color: var(--color-on-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: transform 0.35s var(--ease-out);
}

.site-header.is-hidden { transform: translateY(-100%); }

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* The official logo, reversed for dark grounds: cream lettering, original pink fan */
.brand {
  --logo-h: 2.125rem;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.brand__logo {
  width: auto;
  height: var(--logo-h);
}

.brand--large { --logo-h: clamp(3rem, 2.4rem + 2vw, 3.75rem); }

/* Optical centring: the lettering sits in the lower half of the mark, under the
   fan, so the logo is lifted until the letters line up with the navigation */
.site-header .brand,
.menu-dialog .brand { transform: translateY(calc(var(--logo-h) * -0.2)); }

@media (min-width: 60em) {
  .site-header .brand { --logo-h: 2.5rem; }
}

.primary-nav { display: none; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.5rem);
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  text-underline-offset: 0.5em;
}

.primary-nav a:hover { text-decoration: underline; }

/* Shop is the main route: framed, not just listed */
.primary-nav .primary-nav__shop {
  padding-inline: 1.125rem;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-s);
  transition: background-color 0.2s, color 0.2s;
}

.primary-nav .primary-nav__shop:hover {
  background: var(--color-on-dark);
  color: var(--color-forest);
  text-decoration: none;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.125rem;
  margin-right: -0.625rem;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.625rem;
  border: 0;
  border-radius: var(--radius-s);
  background: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.icon-button:hover { background: rgb(243 235 221 / 0.08); }

.icon-button[aria-expanded="true"] { background: var(--color-forest-raised); }

.icon-button__label { display: none; }

@media (min-width: 60em) {
  .site-header__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .site-header__bar .brand { justify-self: start; }

  .primary-nav { display: block; }
  .icon-button__label { display: inline; }
  .menu-toggle { display: none; }
}

/* Search */
.search-panel {
  background: var(--color-forest-raised);
  border-top: 1px solid var(--line-dark);
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--space-xs) var(--space-s);
  padding-block: var(--space-m) var(--space-l);
}

.search-form__label {
  grid-column: 1 / -1;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}

.search-form__input {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  background: var(--color-paper);
  color: var(--color-ink);
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}

.search-form__input::-webkit-search-cancel-button { -webkit-appearance: none; }

@media (min-width: 60em) {
  .search-form { grid-template-columns: minmax(0, 36rem) auto; justify-content: center; }
}

/* Mobile menu (native modal dialog: focus is trapped and Esc closes it) */
.menu-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--color-forest);
  color: var(--color-on-dark);
}

.menu-dialog[open] {
  display: flex;
  flex-direction: column;
}

.menu-dialog::backdrop { background: rgb(16 30 26 / 0.6); }

@media (prefers-reduced-motion: no-preference) {
  .menu-dialog[open] { animation: menu-in 0.28s var(--ease-out); }
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-0.75rem); }
}

.menu-dialog__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-inline: var(--gutter) calc(var(--gutter) - 0.625rem);
  border-bottom: 1px solid var(--line-dark);
}

.menu-dialog__nav {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-l) var(--gutter);
}

.menu-list > li + li { border-top: 1px solid var(--line-dark); }

.menu-list > li > a {
  display: flex;
  align-items: center;
  min-height: 3.75rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
}

.menu-sublist { padding-bottom: var(--space-s); }

.menu-sublist a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--color-on-dark-muted);
  text-decoration: none;
}

.menu-sublist a:hover,
.menu-list > li > a:hover { text-decoration: underline; }

.menu-dialog__foot {
  display: flex;
  gap: var(--space-l);
  padding: var(--space-s) var(--gutter) var(--space-l);
  border-top: 1px solid var(--line-dark);
}

.menu-dialog__foot a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* 6. Hero
   ------------------------------------------------------------------------ */
.hero {
  display: flex;
  flex-direction: column;
  background: var(--color-forest);
  color: var(--color-on-dark);
}

.hero__media {
  position: relative;
  order: -1;
  height: min(88vw, 52svh);
  overflow: hidden;
  background: #0f1a14;
}

.hero__media picture,
.hero__media img {
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: 55% 46%;
}

/* Sits on dark moss; the soft shadow keeps it legible where the dress or bright moss passes behind */
.hero__label {
  position: absolute;
  left: var(--gutter);
  bottom: 1.125rem;
  color: var(--color-on-dark);
  text-shadow: 0 1px 10px rgb(10 18 14 / 0.75);
}

.hero__label::before { box-shadow: 0 1px 6px rgb(10 18 14 / 0.6); }

.hero__content {
  padding: var(--space-l) var(--gutter) var(--space-2xl);
}

.hero__eyebrow { color: var(--color-on-dark-muted); }

.hero__title {
  margin-top: var(--space-s);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--title-l);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 30rem;
  margin-top: var(--space-m);
  font-size: var(--text-lead);
  line-height: 1.6;
  color: var(--color-on-dark-muted);
}

/* What the shop holds, then how it relates to Natalie's work: two statements, two lines */
.hero__lead-line { display: block; }

.hero__lead,
.hero__lead-line { text-wrap: balance; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-s) var(--space-l);
  margin-top: var(--space-l);
}

@media (max-width: 29.99em) {
  .hero__actions .button { flex: 1 1 100%; }
}

@media (min-width: 48em) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    min-height: clamp(34rem, calc(100svh - var(--header-h)), 46rem);
  }

  .hero__media {
    order: 0;
    height: auto;
  }

  /* The photo fills its column without dictating the row height */
  .hero__media picture {
    position: absolute;
    inset: 0;
  }

  .hero__label { left: 1.75rem; bottom: 1.5rem; }

  .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: var(--space-2xl);
    padding-left: max(var(--gutter), calc((100vw - var(--container-max)) / 2 + var(--gutter)));
    padding-right: clamp(1.5rem, 4.5vw, 4.5rem);
  }
}

@media (min-width: 64em) {
  .hero { min-height: clamp(36rem, calc(100svh - var(--header-h)), 58rem); }
}

/* 7. Collection & product grids
   ------------------------------------------------------------------------ */
.collection { padding-block: var(--space-3xl); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl) var(--grid-gap);
}

@media (min-width: 64em) {
  .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.category-card,
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.category-card__media,
.product-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-sand);
}

.category-card__media img,
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .category-card__media img,
  .product-card__media img { transition: transform 0.9s var(--ease-out); }

  .category-card:hover .category-card__media img,
  .product-card:hover .product-card__media img { transform: scale(1.03); }
}

.category-card__title {
  margin-top: var(--space-s);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--title-s);
  line-height: 1.15;
  text-wrap: balance;
}

.category-card:hover .stretched-link { text-decoration: underline; }

.category-card__note {
  margin-top: 0.375rem;
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--color-ink-muted);
}

/* An index of the smaller categories, so everything in the shop is one click away */
.shop-index {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2xs) var(--space-l);
  margin-top: var(--space-2xl);
  padding-top: var(--space-s);
  border-top: 1px solid var(--line-light);
}

.shop-index__label {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.shop-index__list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.25rem;
  margin-inline: -0.5rem;
}

/* Side padding keeps even short names like "Art" a comfortable tap target */
.shop-index__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.5rem;
  font-size: var(--text-small);
  text-decoration-color: var(--line-light);
}

.shop-index__list a:hover { text-decoration-color: currentColor; }

.shop-index__all { margin-left: auto; }

@media (max-width: 47.99em) {
  .shop-index__label { flex-basis: 100%; }
  .shop-index__all { margin-left: 0; }
}

/* Products: the store's photos at their own 2:3 proportion, taller than the
   4:5 category entrances, so the pieces carry more weight than the navigation */
.pieces { padding-block: var(--space-3xl); }

.card-grid--products { row-gap: var(--space-2xl); }

.product-card__media {
  aspect-ratio: 2 / 3;
  background: #e7e3dc;
}

.product-card__category {
  margin-top: var(--space-s);
  font-size: var(--text-small);
  line-height: 1.4;
  color: var(--color-ink-muted);
}

.product-card__title {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.375rem, 1.2rem + 0.45vw, 1.625rem);
  line-height: 1.15;
  text-wrap: balance;
}

.product-card__detail {
  margin-block: 0.375rem var(--space-s);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-ink-muted);
}

/* Price and link share one ruled line, aligned across the row */
.product-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: var(--space-s);
  margin-top: auto;
  padding-top: var(--space-2xs);
  border-top: 1px solid var(--line-light);
}

.product-card__price {
  font-size: 1.0625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.product-card:hover .text-link { text-decoration-color: currentColor; }
.product-card:hover .text-link .icon--arrow { transform: translateX(3px); }

.pieces__fallback { color: var(--color-ink-muted); }

/* 8. Story
   ------------------------------------------------------------------------ */
/* Same container width as every other section; the sand band frames it */
.story {
  background: var(--color-sand);
  padding-block: var(--space-2xl);
}

.story__grid {
  display: grid;
  gap: var(--space-xl);
}

.story__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 45% 30%;
}

.story__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.story__body p {
  max-width: var(--measure);
  margin-top: var(--space-m);
}

.story__body .button { margin-top: var(--space-l); }

/* The detail follows the text on small screens and is left out on phones */
.story__detail {
  display: none;
  order: 1;
}

.story__detail img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 55% 62%;
}

@media (min-width: 40em) {
  /* Tablets: a wider crop keeps face, necklace and drum without filling the
     screen, and the detail sits beside the text instead of below it */
  .story__media img {
    aspect-ratio: 4 / 3;
    object-position: 45% 9%;
  }

  .story__content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    column-gap: var(--grid-gap);
    align-items: end;
  }

  .story__body { grid-area: 1 / 1; }

  .story__detail {
    display: block;
    grid-area: 1 / 2;
  }
}

@media (min-width: 64em) {
  /* Portrait and detail share one top edge; the text settles at the bottom.
     The section is only as tall as its content needs. */
  .story__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
    align-items: stretch;
  }

  .story__media {
    position: relative;
    grid-column: 1 / span 6;
  }

  /* Keeps the portrait at least 5:6, whatever the text column measures */
  .story__media::before {
    content: "";
    display: block;
    padding-top: 120%;
  }

  .story__media picture {
    position: absolute;
    inset: 0;
  }

  .story__media img {
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    object-position: 42% 22%;
  }

  .story__content {
    grid-column: 8 / span 5;
    display: flex;
    justify-content: space-between;
  }

  .story__detail {
    order: 0;
    align-self: flex-end;
    /* three of the column's five grid tracks, flush right */
    width: calc((100% - 4 * var(--grid-gap)) / 5 * 3 + 2 * var(--grid-gap));
  }

  /* Square here keeps the section compact and the portrait close to its own 2:3 */
  .story__detail img { aspect-ratio: 1 / 1; }
}

@media (min-width: 80em) {
  .story__media { grid-column: 1 / span 5; }
  .story__content { grid-column: 7 / span 6; }

  .story__detail {
    /* three of six tracks */
    width: calc((100% - 5 * var(--grid-gap)) / 6 * 3 + 2 * var(--grid-gap));
  }
}

/* 9. Nature
   ------------------------------------------------------------------------ */
/* Shares the paper tone with the products above: the gap between them is
   3xl + 2xl, wide enough to read as a new chapter without a dividing line */
.nature { padding-block: var(--space-2xl) var(--space-3xl); }

.nature__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-l) var(--grid-gap);
}

.nature__intro { grid-column: 1 / -1; }

.nature__line {
  max-width: 26ch;
  margin-top: var(--space-m);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.375rem, 1.15rem + 0.9vw, 2rem);
  line-height: 1.3;
  color: var(--color-ink-muted);
}

.nature__item figcaption {
  margin-top: var(--space-xs);
  color: var(--color-ink-muted);
}

.nature__item figcaption::before { background: var(--color-olive); }

.nature__item img {
  width: 100%;
  object-fit: cover;
}

.nature__item--air { grid-column: 1 / -1; }
.nature__item--air img { aspect-ratio: 3 / 2; }
.nature__item--earth img,
.nature__item--water img { aspect-ratio: 2 / 3; }
.nature__item--earth img { object-position: 55% 50%; }
.nature__item--water img { object-position: 50% 40%; }

@media (min-width: 64em) {
  .nature__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto;
    row-gap: var(--space-xl);
  }

  .nature__item--earth {
    grid-column: 1 / span 4;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
  }

  /* Earth stretches to the height of the column beside it */
  .nature__item--earth picture {
    position: relative;
    flex: 1;
    min-height: 24rem;
  }

  .nature__item--earth img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
  }

  .nature__intro {
    grid-column: 5 / span 5;
    grid-row: 1;
    padding-top: var(--space-l);
  }

  .nature__item--air {
    grid-column: 5 / span 5;
    grid-row: 2;
    align-self: end;
  }

  .nature__item--water {
    grid-column: 10 / span 3;
    grid-row: 1 / span 2;
    align-self: start;
  }
}

/* 10. Experiences
   ------------------------------------------------------------------------ */
.experiences {
  background: var(--color-forest);
  color: var(--color-on-dark);
  padding-block: var(--space-3xl);
}

.experiences__grid {
  display: grid;
  gap: var(--space-xl);
}

.experiences__lead {
  max-width: 26rem;
  margin-top: var(--space-m);
  font-size: var(--text-lead);
  color: var(--color-on-dark-muted);
}

.experiences__head .button { margin-top: var(--space-l); }

.service-list { border-top: 1px solid var(--line-dark); }

.service-list li { border-bottom: 1px solid var(--line-dark); }

.service-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: var(--space-m);
  padding-block: var(--space-m);
  text-decoration: none;
}

.service-list__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--title-s);
  line-height: 1.2;
}

.service-list__detail {
  grid-column: 1;
  margin-top: 0.25rem;
  font-size: var(--text-small);
  color: var(--color-on-dark-muted);
}

.service-list__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.service-list a:hover .service-list__name { text-decoration: underline; }
.service-list a:hover .service-list__arrow { transform: translateX(4px); }

@media (min-width: 64em) {
  .experiences__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
    align-items: start;
  }

  .experiences__head { grid-column: 1 / span 5; }
  .service-list { grid-column: 7 / span 6; }
}

/* 11. Footer
   ------------------------------------------------------------------------ */
.site-footer {
  background: var(--color-forest-deep);
  color: var(--color-on-dark);
  padding-block: var(--space-3xl) var(--space-m);
  font-size: var(--text-small);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl) var(--grid-gap);
}

.site-footer__brand { grid-column: 1 / -1; }

.site-footer__brand p {
  max-width: 24rem;
  margin-block: var(--space-s) var(--space-2xs);
  font-size: var(--text-body);
  color: var(--color-on-dark-muted);
}

.footer-heading {
  margin-bottom: var(--space-2xs);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}

.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer li a:hover { text-decoration: underline; }

.footer-col--contact { grid-column: 1 / -1; }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-l);
  margin-top: var(--space-2xl);
  padding-top: var(--space-s);
  border-top: 1px solid var(--line-dark);
  color: var(--color-on-dark-muted);
}

.site-footer__base ul {
  display: flex;
  gap: var(--space-l);
}

@media (min-width: 40em) {
  .footer-col--contact { grid-column: auto; }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Four columns only once each link list has room for its longest label */
@media (min-width: 80em) {
  .site-footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / span 4; }
  .footer-col--shop { grid-column: 6 / span 2; }
  .footer-col--about { grid-column: 8 / span 2; }
  .footer-col--contact { grid-column: 10 / span 3; }
}
