/* ============================================================
   Artisan Felt and Craft House — Site styles (2026 redesign)
   ============================================================ */

:root {
  --cream: #FBF7F0;
  --cream-2: #F5EEE3;
  --sand: #E8DCCB;
  --line: #E3D7C5;
  --ink: #2C2521;
  --body: #51473F;
  --muted: #7A6D63;
  --green: #22402D;
  --green-deep: #1D3B29;
  --terracotta: #C0532E;
  --terracotta-dark: #A24322;
  --brown: #6A4E42;
  --sage: #8A9A7B;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 18px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  color: var(--green);
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 30;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.85rem); line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 3.1vw, 2.65rem); line-height: 1.14; }
h3 { font-size: 1.12rem; line-height: 1.3; }
h1, h2 { text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Centred panel: section sits inside the page column with margins either side */
.boxed {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.boxed .container { padding-left: clamp(24px, 5vw, 64px); padding-right: clamp(24px, 5vw, 64px); }

.eyebrow {
  margin-bottom: 14px;
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow span { margin: 0 0.55em; opacity: .7; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font: 600 0.88rem/1 var(--font-sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--small { padding: 11px 20px; font-size: 0.8rem; }
.btn--primary { background: var(--terracotta); color: #fff; box-shadow: 0 8px 22px -10px rgba(192, 83, 46, .7); }
.btn--primary:hover { background: var(--terracotta-dark); transform: translateY(-1px); }
.btn--outline { border-color: var(--terracotta); color: var(--terracotta); background: transparent; }
.btn--outline:hover { background: var(--terracotta); color: #fff; }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.text-link {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(34, 64, 45, .3);
  text-underline-offset: 5px;
  transition: color .2s, text-decoration-color .2s;
}
.text-link:hover { color: var(--terracotta); text-decoration-color: currentColor; }
.text-link--arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.text-link--arrow svg { color: var(--terracotta); transition: transform .25s var(--ease); }
.text-link--arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(60, 40, 20, .5); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.site-header__logo img { width: auto; height: 32px; }

.site-nav { display: flex; gap: clamp(20px, 3vw, 40px); }
.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--terracotta); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.icon-link {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--green);
  transition: background .2s, color .2s;
}
.icon-link:hover { background: var(--cream-2); color: #1FA855; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  height: 1.5px;
  background: var(--green);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 8px var(--gutter) 24px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}
.mobile-nav a[aria-current="page"] { color: var(--terracotta); }
.mobile-nav .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 50vw, 600px);
  margin-top: 16px;
  background: var(--cream);
  box-shadow: 0 30px 60px -44px rgba(60, 40, 20, .45);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.hero::after {
  /* keeps the copy legible whatever the viewport crop */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 247, 240, .94) 0%, rgba(251, 247, 240, .8) 36%, rgba(251, 247, 240, 0) 58%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 72px; }
.hero__content { max-width: 520px; }
.hero h1 { margin-bottom: 22px; font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.hero__lead { max-width: 400px; margin-bottom: 36px; color: var(--body); font-size: 1rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

/* ---------- Values strip ---------- */
.values {
  position: relative;
  margin-top: 20px;
  padding: 48px 0;
  background: var(--cream-2);
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  justify-content: center;
}
.value {
  padding: 4px 28px;
  text-align: center;
}
.value + .value { border-left: 1px solid var(--sand); }
.value__icon {
  width: 36px; height: 36px;
  margin: 0 auto 14px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value h3 { margin-bottom: 6px; font-family: var(--font-sans); font-size: 0.86rem; font-weight: 600; color: var(--ink); letter-spacing: 0; }
.value p { color: var(--muted); font-size: 0.8rem; line-height: 1.6; }

.sprig { position: absolute; color: var(--sand); pointer-events: none; }
.sprig--left { left: 3%; bottom: -24px; width: 92px; transform: scaleX(-1) rotate(-10deg); }
.sprig--right { right: 3%; top: -12px; width: 104px; transform: rotate(14deg); }

/* ---------- Story ---------- */
.story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding-top: 96px;
  padding-bottom: 96px;
}
.story__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
  box-shadow: 0 30px 60px -36px rgba(60, 40, 20, .55);
}
.story__video { width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute;
  right: 16px; bottom: 16px;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 247, 240, .88);
  color: var(--green);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.video-toggle:hover { background: #fff; transform: scale(1.06); }
.video-toggle[data-state="playing"] .video-toggle__play,
.video-toggle[data-state="paused"] .video-toggle__pause { display: none; }

.story__text { max-width: 500px; }
.story__text h2 { margin-bottom: 24px; }
.story__text p:not(.eyebrow) { margin-bottom: 30px; }
.sprig--story { right: -60px; bottom: 40px; width: 110px; transform: rotate(8deg); }

/* ---------- Collections ---------- */
.collections { padding: 24px 0 104px; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { margin-bottom: 16px; }
.section-head p:not(.eyebrow) { color: var(--body); }

.collections__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.collection-card {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.collection-card + .collection-card::before {
  /* divider centred in the column gap */
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -24px;
  border-left: 1px solid var(--line);
}
.collection-card__img {
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--sand);
}
.collection-card__img img {
  width: 100%;
  aspect-ratio: 720 / 611;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.collection-card:hover .collection-card__img img { transform: scale(1.05); }
.collection-card h3 { margin-bottom: 8px; transition: color .2s; }
.collection-card:hover h3 { color: var(--terracotta); }
.collection-card p { flex: 1; margin-bottom: 18px; color: var(--muted); font-size: 0.86rem; line-height: 1.65; }
.collection-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta);
  font-size: 0.8rem;
  font-weight: 600;
}
.collection-card__link svg { transition: transform .25s var(--ease); }
.collection-card:hover .collection-card__link svg { transform: translateX(4px); }

/* ---------- Featured carousel ---------- */
.featured {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #ECEEE3 0%, #F4F0E6 45%, #F5ECDF 100%);
}
.featured__slides { display: grid; }
.slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 460px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.slide__inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 88px; }
.slide__text { max-width: 460px; }
.slide__text h2 { margin-bottom: 18px; }
.slide__text p:not(.eyebrow) { margin-bottom: 30px; }
.slide__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 60%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}
.slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s linear;
}
.slide.is-active .slide__media img { transform: scale(1); }

.featured__dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
.featured__dots button {
  width: 10px; height: 10px;
  padding: 0;
  border: 1.5px solid var(--terracotta);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .25s, width .3s var(--ease), border-radius .3s;
}
.featured__dots button.is-active { width: 26px; border-radius: 6px; background: var(--terracotta); }

/* ---------- Impact ---------- */
.impact { position: relative; padding: 104px 0; overflow: hidden; }
.impact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}
.impact__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -36px rgba(60, 40, 20, .55);
}
.impact__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.impact__text h2 { margin-bottom: 20px; }
.impact__text > p:not(.eyebrow) { max-width: 440px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 36px 0;
  max-width: 460px;
}
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 0 20px; text-align: center; }
.stats div:first-child { padding-left: 0; }
.stats div + div { border-left: 1px solid var(--sand); }
.stats dd {
  margin: 0;
  color: var(--brown);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.6vw, 2.25rem);
  line-height: 1.1;
}
.stats dt { margin-top: 6px; color: var(--muted); font-size: 0.74rem; font-weight: 500; letter-spacing: .02em; }
.sprig--impact { right: 2%; top: 64px; width: 120px; transform: rotate(-6deg); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--green-deep);
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(255, 255, 255, .06), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(192, 83, 46, .12), transparent 50%);
  color: #E9E2D4;
  margin-bottom: 8px;
}
.newsletter__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 460px);
  align-items: center;
  gap: 28px 40px;
  padding-top: 52px;
  padding-bottom: 52px;
}
.newsletter__icon {
  width: 56px; height: 56px;
  fill: none;
  stroke: #D9A57E;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.newsletter h2 { margin-bottom: 6px; color: #FBF7F0; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.newsletter__copy p { color: rgba(233, 226, 212, .8); font-size: 0.9rem; }

.newsletter__form {
  position: relative;
  display: flex;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: #fff;
}
.newsletter__form input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 400 0.9rem var(--font-sans);
}
.newsletter__form input:focus { outline: none; }
.newsletter__form:focus-within { box-shadow: 0 0 0 3px rgba(217, 165, 126, .55); }
.newsletter__form .btn { padding: 13px 24px; box-shadow: none; }
.newsletter__status {
  position: absolute;
  left: 0; top: calc(100% + 10px);
  font-size: 0.82rem;
  color: #F0C9A8;
}
.newsletter__status.is-success { color: #B9D8B0; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding-top: 72px;
  background: var(--cream);
  font-size: 0.84rem;
}
.site-footer::after {
  /* woven border detail */
  content: "";
  display: block;
  height: 14px;
  margin-top: 8px;
  background:
    linear-gradient(135deg, var(--sand) 25%, transparent 25%) -7px 0 / 14px 14px,
    linear-gradient(225deg, var(--sand) 25%, transparent 25%) -7px 0 / 14px 14px,
    linear-gradient(315deg, var(--sand) 25%, transparent 25%) 0 0 / 14px 14px,
    linear-gradient(45deg, var(--sand) 25%, transparent 25%) 0 0 / 14px 14px;
  opacity: .7;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.2fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.site-footer__brand img { width: 150px; margin-bottom: 16px; }
.site-footer__brand p { color: var(--muted); }
.site-footer h3 {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; color: var(--muted); }
.site-footer li a { color: var(--muted); text-decoration: none; transition: color .2s; }
.site-footer li a:hover { color: var(--terracotta); }
.site-footer__col > p { margin-bottom: 18px; color: var(--muted); }
.site-footer__social { display: flex; align-items: center; gap: 10px; }
.site-footer__social a:not(.text-link) {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  transition: background .2s, color .2s, border-color .2s;
}
.site-footer__social a:not(.text-link):hover { background: var(--green); border-color: var(--green); color: #fff; }
.site-footer__social .text-link { margin-left: 8px; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 0.76rem;
  background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px no-repeat;
}
.heart { color: var(--terracotta); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .site-nav, .site-header__cta { display: none; }
  .menu-toggle { display: flex; }

  .collections__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-card:nth-child(odd)::before { display: none; }

  .newsletter__inner { grid-template-columns: auto minmax(0, 1fr); }
  .newsletter__form { grid-column: 1 / -1; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero::after {
    background: linear-gradient(90deg, rgba(251, 247, 240, .94) 0%, rgba(251, 247, 240, .82) 45%, rgba(251, 247, 240, .2) 75%);
  }
  .story, .impact__grid { grid-template-columns: 1fr; }
  .story { padding-top: 72px; padding-bottom: 72px; }
  .story__text { max-width: 620px; }
  .impact { padding: 80px 0; }
  .slide__media { width: 72%; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }
  body { font-size: 15px; }
  .site-header__logo img { height: 28px; }

  /* Hero: copy first, product photo below */
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero::after { display: none; }
  .hero__media { position: relative; order: 2; }
  .hero__media img { aspect-ratio: 5 / 4; object-position: 80% center; }
  .hero__inner { padding-top: 40px; padding-bottom: 32px; }
  .hero__lead { margin-bottom: 28px; }

  .values { padding: 40px 0; }
  .values__grid { grid-template-columns: 1fr; gap: 28px; }
  .value + .value { border-left: 0; }
  .sprig--left, .sprig--right { width: 64px; }

  .story { padding-top: 56px; padding-bottom: 56px; }
  .boxed { --radius-lg: 14px; }
  .boxed .container { padding-left: 20px; padding-right: 20px; }
  .hero { margin-top: 8px; }
  .sprig--story, .sprig--impact { display: none; }

  .collections { padding-bottom: 72px; }
  .section-head { margin-bottom: 36px; }
  .collections__grid { grid-template-columns: 1fr; gap: 40px; }
  .collection-card + .collection-card::before { display: none; }

  /* Carousel: copy above, image below */
  .slide { flex-direction: column; align-items: stretch; min-height: 0; }
  .slide__inner { padding-top: 48px; padding-bottom: 28px; }
  .slide__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  }
  .featured__dots { bottom: 18px; }

  .stats div { padding: 0 12px; }

  .newsletter__inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 64px; }
  .newsletter__icon { width: 44px; height: 44px; }

  .site-footer { padding-top: 56px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; }
}

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

/* ============================================================
   Inner pages — About, Collections, Impact, Contact
   ============================================================ */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(400px, 38vw, 480px);
  margin-top: 16px;
  background: var(--cream-2);
}
.page-hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 56%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 64px; }
.page-hero__content { max-width: 500px; }
.page-hero h1 { margin-bottom: 20px; font-size: clamp(2.1rem, 3.6vw, 3.1rem); }
.page-hero h1 em { color: var(--terracotta); font-style: italic; font-weight: 400; }
.page-hero__lead { max-width: 440px; font-size: 1rem; }
.page-hero .hero__actions { margin-top: 32px; }

.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Generic sections ---------- */
.section { position: relative; padding-top: 104px; padding-bottom: 104px; }
.section--tight { padding-top: 72px; padding-bottom: 72px; }
.section .section-head { margin-bottom: 52px; }

.prose p + p { margin-top: 18px; }
.prose h2 { margin-bottom: 24px; }

/* Two-column media + text */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}
.split--reverse .split__media { order: 2; }
.media-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
  box-shadow: 0 30px 60px -36px rgba(60, 40, 20, .55);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Overlapping image pair */
.img-stack { position: relative; padding: 0 56px 56px 0; }
.img-stack__main { aspect-ratio: 4 / 5; }
.img-stack__accent {
  position: absolute;
  right: 0; bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border: 6px solid var(--cream);
}

/* Stats variant with four items */
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 560px; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FFFCF7;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); border-color: var(--sand); box-shadow: 0 24px 48px -32px rgba(60, 40, 20, .45); }
.card h3 { margin-bottom: 10px; font-size: 1.22rem; }
.card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
.card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--cream-2);
}
.card__icon svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card--feature { padding: 48px 44px; }
.card--feature h3 { font-size: 1.6rem; }
.card--feature p { font-size: 1.02rem; color: var(--body); }

/* Leadership */
.leader {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px clamp(28px, 6vw, 64px);
  text-align: center;
}
.leader__mark { width: 64px; margin: 0 auto 20px; }
.leader h3 { font-size: 1.5rem; }
.leader__role { margin: 6px 0 20px; color: var(--terracotta); font-size: 0.74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* People row */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.people figure { margin: 0; }
.people .media-frame { aspect-ratio: 4 / 5; }
.people figcaption { margin-top: 14px; color: var(--muted); font-size: 0.84rem; text-align: center; }

/* ---------- CTA band (green panel) ---------- */
.cta-band {
  margin-bottom: 8px;
  padding: clamp(48px, 7vw, 80px) clamp(24px, 6vw, 72px);
  background: var(--green-deep);
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(255, 255, 255, .06), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(192, 83, 46, .14), transparent 50%);
  color: rgba(233, 226, 212, .85);
  text-align: center;
}
.cta-band .eyebrow { color: #E2A882; }
.cta-band h2 { margin-bottom: 16px; color: #FBF7F0; }
.cta-band p:not(.eyebrow) { max-width: 620px; margin: 0 auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.btn--light { border-color: rgba(251, 247, 240, .5); color: #FBF7F0; background: transparent; }
.btn--light:hover { background: #FBF7F0; color: var(--green-deep); }

/* ---------- Collections page ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #FFFCF7;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--terracotta); color: var(--terracotta); }

.feature-list { display: grid; gap: clamp(64px, 9vw, 112px); }
.feature-row { scroll-margin-top: calc(var(--header-h) + 24px); }
.feature-row .media-frame { aspect-ratio: 4 / 3; }
.feature-row h2 { margin-bottom: 16px; }
.feature-row p:not(.eyebrow) { margin-bottom: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.tags li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--brown);
  font-size: 0.74rem;
  font-weight: 500;
}

.gallery { columns: 4 220px; column-gap: 18px; }
.gallery figure {
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: var(--radius);
  break-inside: avoid;
  background: var(--sand);
}
.gallery img { width: 100%; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #FFFCF7;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 500;
}
.badges svg,
.check-list svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--terracotta); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.check-list { margin: 26px 0 34px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; align-items: baseline; padding: 7px 0; }
.check-list svg { transform: translateY(2px); }

.quote-frame { position: relative; aspect-ratio: 4 / 5; }
.quote-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 59, 41, 0) 35%, rgba(29, 59, 41, .82) 100%);
}
.quote-frame blockquote {
  position: absolute;
  left: 32px; right: 32px; bottom: 32px;
  z-index: 1;
  margin: 0;
  color: #FBF7F0;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.3;
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact-intro h2 { margin-bottom: 18px; }
.info-list { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FFFCF7;
}
.info-item .card__icon { flex: none; width: 44px; height: 44px; margin: 0; }
.info-item .card__icon svg { width: 20px; height: 20px; }
.info-item h3 { margin-bottom: 2px; font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600; color: var(--ink); letter-spacing: .04em; }
.info-item p,
.info-item a { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.info-item a { text-decoration: none; }
.info-item a:hover { color: var(--terracotta); }
.info-item a.wa-link { color: var(--terracotta); font-weight: 600; font-size: 0.82rem; }

.form-panel {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FFFCF7;
  box-shadow: 0 30px 60px -44px rgba(60, 40, 20, .5);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.form-panel h2 { margin-bottom: 8px; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.form-panel > p { margin-bottom: 28px; color: var(--muted); font-size: 0.9rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 0.8rem; font-weight: 600; }
.field label .req { color: var(--terracotta); }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--cream);
  color: var(--ink);
  font: 400 0.92rem/1.5 var(--font-sans);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%237A6D63' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--terracotta); background-color: #fff; box-shadow: 0 0 0 3px rgba(192, 83, 46, .14); }
.field.has-error input,
.field.has-error textarea { border-color: #B3261E; }
.field__error { color: #B3261E; font-size: 0.76rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.form-status { font-size: 0.86rem; }
.form-status.is-success { color: #2F6B45; }
.form-status.is-error { color: #B3261E; }

.map-frame { height: clamp(320px, 40vw, 440px); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 16px; color: var(--muted); font-size: 0.86rem; }

/* ---------- Inner pages — responsive ---------- */
@media (max-width: 1080px) {
  .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .stats--4 div:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(245, 238, 227, .95) 0%, rgba(245, 238, 227, .75) 55%, rgba(245, 238, 227, .1) 100%);
  }
  .page-hero__media { width: 70%; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .card-grid--2 { grid-template-columns: 1fr; }
  .img-stack { max-width: 520px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
}

@media (max-width: 640px) {
  .page-hero { flex-direction: column; align-items: stretch; min-height: 0; margin-top: 8px; }
  .page-hero::after { display: none; }
  .page-hero__media {
    position: relative;
    order: 2;
    width: 100%;
    aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  }
  .page-hero__inner { padding-top: 40px; padding-bottom: 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section--tight { padding-top: 48px; padding-bottom: 48px; }
  .people { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .img-stack { padding: 0 32px 32px 0; }
  .card { padding: 28px 24px; }
  .card--feature { padding: 32px 26px; }
  .gallery { columns: 2; column-gap: 12px; }
  .gallery figure { margin-bottom: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-frame blockquote { left: 22px; right: 22px; bottom: 22px; }
}

/* Centre an uneven last row of cards (e.g. five pillars) */
.card-grid--center { display: flex; flex-wrap: wrap; justify-content: center; }
.card-grid--center > * { flex: 0 1 calc((100% - 48px) / 3); min-width: 260px; }
@media (max-width: 640px) { .card-grid--center > * { flex-basis: 100%; min-width: 0; } }
@media (max-width: 640px) { .card--feature h3 { font-size: 1.3rem; } }
