/* Beckney Studios — new site layout (mockup-aligned) */

:root {
  --navy: #3d615d;
  --navy-deep: #2f4d4a;
  --steel: #5a7f7a;
  --steel-soft: #8aa9a5;
  --title-blue: #3d615d;
  --title-stroke: #2f4d4a;
  --band-blue: #f6efdd;
  --accent-orange: #f6efdd;
  --btn: #3d615d;
  --btn-hover: #2f4d4a;
  --about-band: #f6efdd;
  --books-band: #f6efdd;
  --extra-band: #f6efdd;
  --ink: #1c2430;
  --muted: #4a5564;
  --paper: #f6efdd;
  --shadow: 0 10px 28px rgba(8, 18, 33, 0.14);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --max: 1100px;
  --header-h: 52px;
  --accent-h: 0px;
  --header-stack: calc(var(--header-h) + var(--accent-h));
  --nav-max: 52rem;
  /* Home title width locks to menu lower edge (mockup @ 1920 → 754px) */
  --angled-nav-bottom: 62px;
  --hero-title-gap: 108px;
  --hero-title-width: 754px;
  --hero-title-side: 583px;
  /* Vertical centre of brand title within the hero (upper mid-sky) */
  --hero-title-sky: 45%;
  --gold-script: #c4a35a;
  /* Approximate crest of the landscape within heroes */
  --hills-line: 52%;
  --hills-line-secondary: 62%;
}

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

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: var(--bs-body-font-size, 1.05rem);
  line-height: var(--bs-body-line-height, 1.65);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #16325a;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  font-family: var(--font-display);
}

.skip-link:focus {
  top: 0.75rem;
}

/* ——— Header / Nav (angled central bar) ——— */

.site-header {
  position: relative;
  background: var(--navy);
}

.site-header--overlay {
  background: transparent;
}

.site-header__chrome {
  position: relative;
  z-index: 40;
}

.site-header--overlay .site-header__chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.site-header--overlay .site-header__chrome .site-nav,
.site-header--overlay .site-header__chrome .site-nav__toggle,
.site-header--overlay .site-header__chrome .mobile-nav {
  pointer-events: auto;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-h);
  padding: 0 1rem;
  position: relative;
  background: transparent;
}

.site-header__bar--angled {
  background: transparent;
  padding: 0.35rem 0 0;
  min-height: 0;
  width: 100%;
}

.site-header--overlay .site-header__bar {
  background: transparent;
}

.site-header--overlay .site-header__bar--angled {
  background: transparent;
}

.site-header__accent {
  display: none;
}

.site-nav--angled {
  position: relative;
  width: min(100%, var(--nav-max));
  margin: 0 auto;
  padding: 0.75rem 2.6rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.site-nav__shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 10px 18px rgba(20, 40, 36, 0.38));
}

.site-nav--angled .site-nav__list {
  position: relative;
  z-index: 1;
}

.site-nav__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 860px) {
  .site-nav__list {
    display: flex;
  }
}

.site-nav__sep {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-display);
  font-size: 0.95rem;
  user-select: none;
}

.site-nav__link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: #fff;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: #f6efdd;
  opacity: 0.92;
}

.site-nav__products {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Keep hover bridge open so the panel does not vanish in the gap */
.site-nav__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 15rem;
  padding-top: 0.85rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 60;
}

.site-nav__panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0.85rem;
}

.site-nav__products:hover .site-nav__panel,
.site-nav__products:focus-within .site-nav__panel,
.site-nav__products.is-open .site-nav__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav__panel a {
  display: block;
  padding: 0.55rem 1.1rem;
  color: #e8eef5;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  white-space: nowrap;
  background: var(--navy-deep);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav__panel a:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 0.7rem;
}

.site-nav__panel a:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.7rem;
  box-shadow: var(--shadow);
}

.site-nav__panel a:hover {
  background: #12263d;
  color: var(--accent-orange);
}

.site-nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.site-nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.site-nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 860px) {
  .site-nav__toggle {
    display: none;
  }
}

@media (max-width: 859px) {
  .site-nav--angled {
    display: none;
  }

  .site-header--overlay .site-header__chrome {
    top: 0;
  }

  .site-header__bar--angled {
    justify-content: flex-end;
    background: transparent;
    min-height: 48px;
    padding: 0.35rem 0.85rem;
  }

  .site-nav__toggle {
    background: color-mix(in srgb, var(--navy) 82%, transparent);
    backdrop-filter: blur(4px);
  }
}

.mobile-nav {
  background: rgba(8, 18, 33, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.25rem 1.25rem;
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: block;
  padding: 0.7rem 0;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav__product a {
  padding-left: 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #c9d6e4;
}

/* ——— Heroes ——— */

.hero {
  position: relative;
  overflow: hidden;
  display: block;
  height: var(--hero-height, clamp(140px, 18vw, 240px));
  background: var(--navy);
}

.hero--home {
  /* Keep at or below the hero PNG’s native height so cover does not upscale */
  min-height: clamp(280px, 24vw, 456px);
}

.hero--secondary {
  min-height: clamp(170px, 22vw, 280px);
}

.hero__image,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-object-position, center center);
  opacity: 1;
  filter: none;
}

/* Keep sky under the menu; landscape crest around mid-frame (Publisher can override) */
.hero--home .hero__image,
.hero--home .hero__video {
  object-position: var(--hero-object-position, center 38%);
}

.hero--secondary .hero__image,
.hero--secondary .hero__video {
  object-position: var(--hero-object-position, center 38%);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 18, 33, 0.45);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.hero__arrow--prev { left: 0.75rem; }
.hero__arrow--next { right: 0.75rem; }

.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.hero__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}

.hero__dot.is-active {
  background: var(--steel-soft);
}

.hero--zoom .hero__image {
  animation: heroZoom 18s ease-in-out alternate infinite;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .hero--zoom .hero__image {
    animation: none;
  }
}

/* Soft bottom blend into page cream — not white (white vs #f6efdd caused a hard edge). */
.hero__veil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background: linear-gradient(
    180deg,
    rgba(246, 239, 221, 0) 0%,
    rgba(246, 239, 221, 0.5) 100%
  );
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--paper) 0%, transparent) 0%,
    color-mix(in srgb, var(--paper) 50%, transparent) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero__veil--secondary {
  height: 18%;
  background: linear-gradient(
    180deg,
    rgba(246, 239, 221, 0) 0%,
    rgba(246, 239, 221, 0.35) 100%
  );
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--paper) 0%, transparent) 0%,
    color-mix(in srgb, var(--paper) 35%, transparent) 100%
  );
}

/* Brand title — CSS text (Beck Stevens pattern), not a soft PNG */
.hero__title {
  position: absolute;
  left: 50%;
  z-index: 2;
  margin: 0;
  padding: 0;
  width: min(var(--hero-title-width), calc(100vw - 2rem));
  max-width: calc(100% - 2rem);
  transform: translate(-50%, 0);
  font-family: var(--font-display);
  font-weight: 600;
  /* Sized to fill the menu-bottom width on one line */
  font-size: clamp(1.85rem, 3.45vw, 4.15rem);
  letter-spacing: 0.12em;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1.2px var(--title-stroke);
  paint-order: stroke fill;
  text-shadow:
    0 2px 3px rgba(20, 40, 36, 0.4),
    0 6px 18px rgba(20, 40, 36, 0.3);
}

.hero__title--brand {
  color: var(--navy);
  -webkit-text-stroke: 1.15px var(--paper);
  text-shadow: 0 2px 8px rgba(20, 40, 36, 0.18);
}

.hero__title--dark {
  color: var(--navy-deep);
  -webkit-text-stroke: 1px var(--paper);
  text-shadow: 0 2px 6px rgba(246, 239, 221, 0.35);
}

.hero__title--fade-up {
  animation: heroTitleIn 0.9s ease both;
}

.hero__title--fade {
  animation: heroTitleFade 0.85s ease both;
}

/*
 * Brand title: vertically centred in the mid-sky band of the hero art.
 * Percentage of hero height keeps local and live aligned at any window width.
 */
.hero--home .hero__title {
  top: var(--hero-title-sky, 32%);
  transform: translate(-50%, -50%);
}

.hero__title--secondary {
  top: var(--hero-title-top, calc(var(--header-stack) + (var(--hills-line-secondary) - var(--header-stack)) / 2));
  font-size: clamp(1.55rem, 4.2vw, 2.45rem);
  letter-spacing: 0.24em;
  font-weight: 500;
  -webkit-text-stroke-width: 1px;
  transform: translate(-50%, -50%);
}

@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 12px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes heroTitleFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title--fade-up,
  .hero__title--fade {
    animation: none;
  }
}

/* ——— Main ——— */

.site-main {
  flex: 1 0 auto;
}

.site-main__inner {
  width: 100%;
}

.is-home .site-main__inner {
  max-width: none;
  padding: 0;
}

.site-main__inner > .page-title,
.site-main__inner > .prose,
.site-main__inner > .products-page,
.site-main__inner > .product-detail,
.site-main__inner > .contact-page,
.site-main__inner > .newsletter-page,
.site-main__inner > .about-page,
.site-main__inner > .legal-page {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 1.25rem 3.5rem;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: 0.06em;
  color: var(--navy);
  margin: 0 0 1.25rem;
}

/* ——— Home: Featured Product ——— */

.home-feature {
  background: var(--band-blue);
  padding: 2.75rem 1.25rem 3rem;
}

.home-feature__card {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  animation: riseIn 0.8s ease both;
  animation-delay: 0.15s;
}

@media (min-width: 800px) {
  .home-feature__card {
    grid-template-columns: minmax(180px, 280px) 1fr;
    gap: 2rem;
    padding: 2rem 2.25rem;
    align-items: start;
  }
}

.home-feature__cover img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  box-shadow: 0 8px 22px rgba(8, 18, 33, 0.22);
}

.home-feature__heading {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  letter-spacing: 0.08em;
  color: var(--navy);
  font-weight: 600;
}

.home-feature__sub {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
}

.home-feature__copy p {
  margin: 0 0 0.9rem;
  color: var(--ink);
}

.home-feature__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn--gold {
  background: var(--btn);
  color: #fff;
  font-weight: 600;
}

.btn--gold:hover {
  background: var(--btn-hover);
  color: #fff;
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--navy:hover {
  color: #fff;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-feature__card {
    animation: none;
  }
}

/* ——— Home: About band (matches About page bare-bones cream layout) ——— */

.home-about {
  background: var(--about-band, var(--paper));
  padding: 0;
  position: relative;
}

.home-about__panel {
  max-width: var(--max);
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  padding: 2.5rem 1.25rem 3.5rem;
  display: block;
  position: relative;
}

@media (min-width: 820px) {
  .home-about__panel {
    grid-template-columns: unset;
    padding: 2.5rem 1.25rem 3.5rem;
    gap: 0;
  }

  .home-about__panel:has(.home-about__photo) {
    display: grid;
    grid-template-columns: 1fr minmax(180px, 240px);
    gap: 2rem;
    align-items: start;
  }
}

.home-about__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  letter-spacing: 0.06em;
  color: var(--navy);
  text-transform: uppercase;
}

.home-about__copy p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.home-about__more {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
}

.home-about__more:hover {
  color: var(--navy);
  text-decoration: underline;
}

.home-about__photo {
  justify-self: center;
}

.home-about__photo img {
  width: min(220px, 70vw);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  box-shadow: var(--shadow);
  background: transparent;
}

@media (min-width: 820px) {
  .home-about__photo {
    justify-self: end;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  .home-about__photo img {
    width: 230px;
  }
}

.home-about__panel--split {
  align-items: start;
}

@media (min-width: 820px) {
  .home-about__panel--split {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
    column-gap: 2.5rem;
  }

  .home-about__panel--split > .home-about__news {
    border-left: 1px solid rgba(12, 26, 46, 0.12);
    padding-left: 2rem;
  }
}

.home-about__copy--with-photo {
  overflow: hidden;
}

.home-about__photo--inline {
  float: right;
  width: min(160px, 42%);
  margin: 0.15rem 0 1rem 1.15rem;
  justify-self: auto;
}

.home-about__photo--inline img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.95rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.home-about__copy--with-photo .home-about__more {
  clear: both;
}

.home-about__news p {
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.home-about__news-image {
  margin: 0 0 1rem;
}

.home-about__news-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .home-about__photo--inline {
    float: none;
    width: min(180px, 55%);
    margin: 0 auto 1.15rem;
  }
}

/* ——— Home: FEATURED PRODUCTS ——— */

.home-products {
  padding: 3rem 1.25rem 4rem;
  background: var(--books-band);
}

.home-products__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.home-products__title {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  letter-spacing: 0.1em;
  color: var(--navy);
  font-weight: 600;
}

.home-products__more {
  margin: 2rem 0 0;
  text-align: center;
}

.home-products__more a {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--navy);
}

.home-products__more a:hover {
  color: var(--navy);
}

.featured-products-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
}

@media (min-width: 700px) {
  .featured-products-row {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem 1.1rem;
  }
}

.featured-product {
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.2s ease;
}

.featured-product:hover {
  transform: translateY(-4px);
}

.featured-product img {
  width: 100%;
  max-width: 160px;
  margin: 0 auto 0.65rem;
  box-shadow: 0 6px 16px rgba(8, 18, 33, 0.18);
}

.featured-product span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--navy);
}

/* ——— Home: Extra panel (About-style band) ——— */

.home-extra {
  background: var(--extra-band);
  padding: 3.5rem 1.25rem;
  position: relative;
}

.home-extra__panel {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  position: relative;
}

@media (min-width: 820px) {
  .home-extra__panel--single {
    grid-template-columns: 1fr minmax(180px, 240px);
    padding: 2.25rem 2.5rem 2.25rem 2.25rem;
    gap: 2rem;
  }
}

.home-extra__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  color: var(--navy);
  font-weight: 600;
}

.home-extra__copy p,
.home-extra__column p {
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.home-extra__more {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
}

.home-extra__more:hover {
  color: var(--navy);
}

.home-extra__photo {
  justify-self: center;
}

.home-extra__photo img {
  width: min(220px, 70vw);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1.15rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  background: transparent;
}

@media (min-width: 820px) {
  .home-extra__panel--single .home-extra__photo {
    justify-self: end;
    margin-right: -1.5rem;
    margin-top: -0.5rem;
    margin-bottom: -0.5rem;
  }

  .home-extra__panel--single .home-extra__photo img {
    width: 230px;
  }
}

.home-extra__panel--split {
  align-items: start;
}

@media (min-width: 820px) {
  .home-extra__panel--split {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
    column-gap: 2.5rem;
    padding: 2.25rem 2.5rem;
  }

  .home-extra__panel--split > .home-extra__column {
    border-left: 1px solid rgba(12, 26, 46, 0.12);
    padding-left: 2rem;
  }
}

.home-extra__copy--with-photo {
  overflow: hidden;
}

.home-extra__photo--inline {
  float: right;
  width: min(160px, 42%);
  margin: 0.15rem 0 1rem 1.15rem;
}

.home-extra__photo--inline img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.95rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.home-extra__copy--with-photo .home-extra__more {
  clear: both;
}

.home-extra__column-image {
  margin: 0 0 1rem;
}

.home-extra__column-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .home-extra__photo--inline {
    float: none;
    width: min(180px, 55%);
    margin: 0 auto 1.15rem;
  }
}

/* ——— Interior content ——— */

.lead {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.prose p,
.about-page p,
.product-detail p {
  margin: 0 0 1rem;
}

.about-page .about-photo {
  display: block;
  float: right;
  width: min(260px, 42%);
  height: auto;
  margin: 0 0 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .about-page .about-photo {
    float: none;
    width: min(280px, 100%);
    margin: 0 auto 1.5rem;
  }
}

.about-page h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.55rem;
  margin: 2rem 0 0.85rem;
  clear: both;
}

.about-photo-slider {
  clear: both;
  position: relative;
  margin: 1.75rem 0 2.25rem;
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) 1.75rem;
  align-items: center;
  gap: 0.35rem;
}

.about-photo-slider__viewport {
  overflow: hidden;
  width: 100%;
}

.about-photo-slider__track {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.about-photo-slider__item {
  flex: 0 0 clamp(120px, 16vw, 180px);
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e7e5e4;
}

.about-photo-slider__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-slider__btn {
  width: 0;
  height: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  justify-self: center;
}

.about-photo-slider__btn--prev {
  border-top: 0.55rem solid transparent;
  border-bottom: 0.55rem solid transparent;
  border-right: 0.75rem solid var(--accent-orange);
}

.about-photo-slider__btn--next {
  border-top: 0.55rem solid transparent;
  border-bottom: 0.55rem solid transparent;
  border-left: 0.75rem solid var(--accent-orange);
}

.about-photo-slider__btn:hover {
  opacity: 0.8;
}

.about-photo-slider__btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent-orange) 45%, transparent);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .about-photo-slider__track {
    transform: none !important;
  }
}

/* Products listing */

.products-genre {
  margin-bottom: 2.5rem;
}

.products-genre-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  border-bottom: 1px solid rgba(12, 26, 46, 0.15);
  padding-bottom: 0.4rem;
  margin: 0 0 1.25rem;
}

.products-tile-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .products-tile-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-tile {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  align-items: start;
}

.product-tile-thumb img {
  width: 110px;
  box-shadow: 0 6px 14px rgba(8, 18, 33, 0.16);
}

.product-tile-title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.product-tile-title a {
  text-decoration: none;
  color: var(--navy);
}

.product-tile-desc {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.product-tile-more {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-decoration: none;
  font-weight: 600;
}

/* Product detail */

.product-detail__layout {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 780px) {
  .product-detail__layout {
    grid-template-columns: minmax(180px, 260px) 1fr;
    gap: 2.25rem;
    align-items: start;
  }
}

.product-detail__aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: fit-content;
  max-width: min(260px, 100%);
  margin-inline: auto;
}

@media (min-width: 780px) {
  .product-detail__aside {
    margin-inline: 0;
    justify-self: start;
  }
}

.product-detail__cover {
  margin: 0;
  width: 100%;
}

.product-detail__cover img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: var(--shadow);
}

.product-detail__status {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--navy);
  font-size: 1.5rem;
}

.product-detail__sub {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  margin: 0 0 1rem;
}

.product-detail__cta {
  width: 100%;
}

.product-detail__buy {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.product-detail__buy[aria-disabled="true"] {
  opacity: 0.85;
  cursor: default;
  transform: none;
  filter: none;
}

.product-detail__nav {
  margin-top: 1.75rem;
  color: var(--muted);
}

/* Forms */

.contact-form,
.form-row {
  display: block;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  max-width: 36rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(12, 26, 46, 0.25);
  background: #fafbfd;
  font: inherit;
  color: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--title-blue);
  outline-offset: 1px;
}

.form-message {
  max-width: 36rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.form-message--success {
  background: #e8f5e9;
  border: 1px solid #81c784;
}

.form-message--error {
  background: #fdecea;
  border: 1px solid #e57373;
}

.newsletter-page {
  text-align: center;
}

.newsletter-page .page-title,
.newsletter-page .product-detail__status {
  text-align: center;
}

.newsletter-page .newsletter-intro {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.newsletter-embed-slot {
  max-width: 36.5rem;
  min-height: 8rem;
  margin: 0 auto;
  text-align: center;
}

/* Hide Kit / ConvertKit “powered by” branding on embeds */
.newsletter-embed-slot .formkit-powered-by-convertkit,
.newsletter-embed-slot .formkit-powered-by-convertkit-container,
.newsletter-embed-slot [data-element="powered-by"],
.newsletter-embed-slot a[href*="kit.com"],
.newsletter-embed-slot a[href*="convertkit.com"],
.newsletter-embed-slot [class*="powered-by"],
.newsletter-embed-slot [class*="powered_by"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Legal */

.legal-updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin: -0.5rem 0 1.5rem;
}

.legal-body h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
}

.legal-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.25rem 0 0.5rem;
}

.legal-body blockquote {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1rem 0 1.5rem;
}

.legal-body th,
.legal-body td {
  border: 1px solid rgba(12, 26, 46, 0.15);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

.legal-body th {
  background: #eef3f8;
  font-family: var(--font-display);
}

/* Footer */

.site-footer {
  background: var(--paper);
  color: var(--navy);
  margin-top: auto;
  position: relative;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--navy) 18%, transparent);
}

.site-footer__accent {
  display: none;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 2.4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.site-footer__nav {
  margin: 0 0 1.15rem;
}

.site-footer__oak {
  margin: 0 auto 1.15rem;
  width: min(11rem, 42vw);
}

.site-footer__oak img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 10px rgba(20, 40, 36, 0.12));
  animation: footer-oak-sway 7s ease-in-out infinite;
  transform-origin: 50% 100%;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__oak img {
    animation: none;
  }
}

@keyframes footer-oak-sway {
  0%, 100% { transform: rotate(-0.6deg); }
  50% { transform: rotate(0.6deg); }
}

.site-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.site-footer__nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer__nav a:hover {
  color: var(--navy-deep);
  text-decoration: underline;
}

.site-footer__sep {
  color: color-mix(in srgb, var(--navy) 45%, transparent);
}

.site-footer__copy,
.site-footer__credit {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--navy);
  font-family: var(--font-display);
}

.site-footer__credit a {
  color: var(--navy);
  text-decoration: none;
}

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

.site-footer__social {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.site-footer__social a {
  color: #edf2f7;
  display: inline-flex;
  padding: 0.35rem;
}

.site-footer__social a:hover {
  color: var(--steel-soft);
}

/* Cookie notice */

.cookie-notice {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 42rem;
  margin: 0 auto;
  background: var(--navy-deep);
  color: #e8eef5;
  box-shadow: var(--shadow);
  padding: 1rem 1.15rem;
}

.cookie-notice a {
  color: var(--steel-soft);
}

.cookie-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.cookie-notice-btn {
  font-family: var(--font-display);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.cookie-notice-btn--accept {
  background: var(--btn);
  border-color: var(--btn);
  color: #fff;
  font-weight: 600;
}

/* ——— Newsletter popup ——— */

.newsletter-popup[hidden] {
  display: none !important;
}

.newsletter-popup {
  display: none;
  position: fixed !important;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: auto;
  top: auto;
  z-index: 300;
  width: min(19rem, calc(100vw - 1.5rem));
  max-width: 19rem;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(0.75rem);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.newsletter-popup.is-visible {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .newsletter-popup {
    transition: none;
  }
}

.newsletter-popup__panel {
  position: relative;
  background: #fff;
  border-radius: 0.65rem;
  box-shadow: 0 12px 36px rgba(8, 18, 33, 0.28);
  overflow: visible;
}

.newsletter-popup__header {
  background: var(--navy);
  border-radius: 0.65rem 0.65rem 0 0;
  padding: 0.85rem 1rem 0.75rem;
  text-align: center;
}

.newsletter-popup__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.newsletter-popup__title span {
  display: block;
}

.newsletter-popup__body {
  position: relative;
  padding: 0.85rem 0.9rem 1.15rem;
  border-left: 0.55rem solid var(--navy);
  border-right: 0.55rem solid var(--navy);
  border-bottom: 0.55rem solid var(--navy);
  border-radius: 0 0 0.55rem 0.55rem;
  background: #fff;
}

.newsletter-popup__lead {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
}

.newsletter-popup__form {
  max-width: none;
  overflow: hidden;
}

.newsletter-popup__form .formkit-form,
.newsletter-popup__form [data-element="form"] {
  margin: 0 !important;
  max-width: none !important;
}

.newsletter-popup .formkit-powered-by-convertkit,
.newsletter-popup .formkit-powered-by-convertkit-container,
.newsletter-popup [data-element="powered-by"],
.newsletter-popup a[href*="convertkit.com"],
.newsletter-popup a[href*="kit.com"],
.newsletter-popup [class*="powered-by"],
.newsletter-popup [class*="powered_by"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.newsletter-popup .formkit-submit,
.newsletter-popup [data-element="submit"] {
  background: var(--btn) !important;
  border-color: var(--btn) !important;
  color: #fff !important;
}

.newsletter-popup__close {
  position: absolute;
  right: -0.35rem;
  bottom: -0.35rem;
  z-index: 2;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 9999px;
  background: var(--navy);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.newsletter-popup__close:hover,
.newsletter-popup__close:focus-visible {
  background: var(--btn);
}

.newsletter-popup__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .newsletter-popup {
    left: 50%;
    right: auto;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: min(19rem, calc(100vw - 1.25rem));
    transform: translate(-50%, 0.75rem);
  }

  .newsletter-popup.is-visible {
    transform: translate(-50%, 0);
  }
}

/* ——— Home: tagline + content rows + sliders ——— */

.home-tagline {
  max-width: none;
  width: 100%;
  margin: 0 auto 0;
  padding: 0;
  text-align: center;
}

.home-tagline__image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  margin: 0 auto;
}

.home-tagline--text {
  max-width: 58rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0.5rem;
}

.home-tagline__headline {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
  color: var(--gold-script);
  font-weight: 500;
}

.home-tagline__line {
  margin: 0.2rem 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--navy);
}

.home-row {
  margin: 0;
  scroll-margin-top: 5rem;
}

.home-row__bar {
  margin: 0;
}

.home-row__bar img {
  width: 100%;
  max-width: 1920px;
  height: auto;
  margin: 0 auto;
}

.home-row__bar--plain {
  background: var(--navy);
  background-image: url("../images/home/greenbar-background.png");
  background-size: cover;
  background-position: center;
  padding: 1.1rem 1.5rem;
}

.home-row__title {
  margin: 0;
  color: #f6efdd;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.06em;
}

.home-slider {
  --home-slider-max: 1920px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: min(100%, var(--home-slider-max));
  margin: 0 auto;
}

.home-slider--full {
  padding: 0;
}

.home-slider--contained {
  max-width: min(1100px, var(--home-slider-max));
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.home-slider__viewport {
  position: relative;
  overflow: hidden;
  background: transparent;
  min-height: 0;
  width: 100%;
}

.home-slider__slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.home-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.home-slider__slide:not(.is-active) {
  position: absolute;
  inset: 0;
}

.home-slider__slide img,
.home-slider__slide video,
.home-slider__media img,
.home-slider__media video {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.home-slider__slide video,
.home-slider__media video {
  max-height: none;
  object-fit: cover;
  background: #000;
}

.home-slider__link {
  display: block;
}

.home-slider__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-height: 0;
}

.home-slider__copy {
  display: flex;
  align-items: center;
  padding: clamp(1.25rem, 3.5vw, 3rem) clamp(1.25rem, 4vw, 3.5rem);
}

.home-slider__rich {
  max-width: 34rem;
  color: #2a3432;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: clamp(0.95rem, 1.35vw, 1.12rem);
  line-height: 1.55;
}

.home-slider__rich p {
  margin: 0 0 0.85rem;
}

.home-slider__rich p:last-child {
  margin-bottom: 0;
}

.home-slider__rich strong {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-slider__rich ul,
.home-slider__rich ol {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
}

.home-slider__media {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  min-width: 0;
}

.home-slider__media img,
.home-slider__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.home-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--navy) 88%, #000);
  color: #f6efdd;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(20, 40, 36, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.home-slider__arrow:hover,
.home-slider__arrow:focus-visible {
  background: var(--navy-deep);
  transform: translateY(-50%) scale(1.06);
}

.home-slider__arrow--prev {
  left: 0.75rem;
}

.home-slider__arrow--next {
  right: 0.75rem;
}

.home-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--navy) 35%, transparent);
}

.home-slider__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, #f6efdd 55%, transparent);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.home-slider__dot.is-active,
.home-slider__dot:hover {
  background: #f6efdd;
  transform: scale(1.15);
}

@media (max-width: 860px) {
  .home-slider__split {
    grid-template-columns: 1fr;
  }

  .home-slider__media {
    justify-content: center;
  }

  .home-slider__arrow {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-slider__slide {
    transition: none;
  }
}




