/*
Theme Name: Casale Miva
Theme URI: https://casalemiva.com/
Author: Casale Miva
Description: Bespoke editorial showcase theme for Casale Miva and Origine Extra Virgin Olive Oil. Includes editable content, photography, formats, contact details and direct enquiry flows.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: casale-miva
*/


:root {
  --cream: #f3efe5;
  --cream-deep: #e8e0d1;
  --ink: #17312a;
  --olive: #435139;
  --olive-soft: #5c674a;
  --olive-deep: #23372f;
  --moss: #b4c07d;
  --gold: #d3bd70;
  --white: #fffdf7;
  --line-dark: rgba(23, 49, 42, 0.18);
  --line-light: rgba(255, 253, 247, 0.22);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--olive-deep);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-active,
body.drawer-active {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  border: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.eyebrow {
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 253, 247, 0.78);
}

.arrow {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  width: 17px;
}

.arrow-down {
  transform: rotate(90deg);
}

.button,
.text-link {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.button {
  border: 1px solid transparent;
  gap: 1.2rem;
  min-height: 54px;
  padding: 0 1.65rem;
  text-transform: uppercase;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button-cream {
  background: var(--cream);
  color: var(--ink);
}

.button-cream:hover {
  background: var(--white);
}

.button-ghost {
  background: transparent;
  border-color: rgba(255, 253, 247, 0.55);
  color: var(--white);
}

.button-ghost:hover {
  background: rgba(255, 253, 247, 0.12);
  border-color: var(--white);
}

.button-moss {
  background: var(--moss);
  color: var(--ink);
}

.button-moss:hover {
  background: #c4ce91;
}

.button-olive {
  background: var(--olive);
  color: var(--white);
}

.button-olive:hover {
  background: var(--olive-deep);
}

.text-link {
  background: transparent;
  border-bottom: 1px solid currentColor;
  gap: 1.2rem;
  padding: 0.4rem 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.text-link.light {
  color: var(--white);
}

/* Header and menu */
.site-header {
  align-items: center;
  background: rgba(39, 55, 43, 0.76);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 253, 247, 0.17);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 92px;
  left: 0;
  padding: 0 3.1vw;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 90;
}

.header-logo {
  align-items: center;
  display: flex;
  height: 62px;
  justify-content: center;
  position: relative;
  width: 198px;
  z-index: 2;
}

.header-logo img {
  height: auto;
  max-height: 54px;
  object-fit: contain;
  width: 190px;
}

.header-action {
  align-items: center;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.66rem;
  font-weight: 600;
  gap: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  width: fit-content;
}

.header-contact {
  justify-self: end;
}

.menu-icon {
  display: block;
  height: 16px;
  position: relative;
  width: 22px;
}

.menu-icon span {
  background: currentColor;
  height: 1px;
  left: 0;
  position: absolute;
  transition: transform 280ms ease, top 280ms ease;
  width: 100%;
}

.menu-icon span:first-child {
  top: 4px;
}

.menu-icon span:last-child {
  top: 11px;
  width: 70%;
}

.menu-icon.is-open span:first-child {
  top: 8px;
  transform: rotate(45deg);
}

.menu-icon.is-open span:last-child {
  top: 8px;
  transform: rotate(-45deg);
  width: 100%;
}

.menu-overlay {
  background: var(--olive);
  color: var(--white);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transform: translateY(-18px);
  transition: opacity 360ms ease, transform 360ms ease, visibility 360ms;
  visibility: hidden;
  z-index: 80;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.menu-overlay::after {
  background: radial-gradient(circle at 90% 20%, rgba(180, 192, 125, 0.28), transparent 32%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.menu-overlay-inner {
  align-items: end;
  display: grid;
  gap: 8vw;
  grid-template-columns: minmax(0, 1fr) 290px;
  min-height: 100%;
  padding: 150px 7vw 8vh;
  position: relative;
  z-index: 1;
}

.menu-primary {
  display: flex;
  flex-direction: column;
}

.menu-primary a {
  align-items: baseline;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.2vw, 5.8rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  padding: 0.38em 0;
  transition: color 220ms ease, padding-left 220ms ease;
}

.menu-primary a:hover {
  color: var(--moss);
  padding-left: 0.18em;
}

.menu-primary a span {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-right: 2rem;
}

.menu-aside {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  gap: 1.2rem;
  line-height: 1.8;
  padding-bottom: 0.8rem;
}

.menu-aside .eyebrow {
  color: var(--moss);
  margin-bottom: 0.3rem;
}

.menu-aside a {
  border-bottom: 1px solid transparent;
  width: fit-content;
}

.menu-aside a:hover {
  border-color: currentColor;
}

/* Home hero */
.home-hero {
  align-items: center;
  color: var(--white);
  display: flex;
  min-height: 760px;
  height: 100svh;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-shade {
  inset: 0;
  height: 100%;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(1.035);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(17, 37, 31, 0.25) 0%, rgba(17, 37, 31, 0.1) 38%, rgba(17, 37, 31, 0.64) 100%),
    linear-gradient(90deg, rgba(17, 37, 31, 0.45), transparent 58%);
}

.hero-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  padding: 126px 4vw 84px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(4.8rem, 9.4vw, 9.4rem);
  letter-spacing: -0.055em;
  line-height: 0.85;
  margin-top: 2rem;
  text-wrap: balance;
}

.hero-copy {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  margin-top: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.scroll-cue {
  align-items: center;
  bottom: 2.2rem;
  display: flex;
  flex-direction: column;
  font-size: 0.58rem;
  font-weight: 600;
  gap: 0.55rem;
  left: 50%;
  letter-spacing: 0.18em;
  position: absolute;
  text-transform: uppercase;
  transform: translateX(-50%);
  z-index: 1;
}

/* Story */
.story-section {
  background: var(--olive-soft);
  color: var(--white);
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 900px;
}

.story-image-wrap {
  overflow: hidden;
  position: relative;
}

.story-image-wrap::after {
  background: linear-gradient(180deg, transparent 55%, rgba(25, 48, 39, 0.64));
  content: "";
  inset: 0;
  position: absolute;
}

.story-image-wrap img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.story-image-wrap > p {
  bottom: 5.5vw;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2.25rem);
  left: 5vw;
  line-height: 1.1;
  position: absolute;
  z-index: 1;
}

.story-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9vw;
}

.story-copy .eyebrow {
  color: var(--moss);
}

.story-copy h2 {
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: 0.88;
  margin: 2.2rem 0 2.5rem;
}

.story-copy > p:not(.eyebrow) {
  color: rgba(255, 253, 247, 0.82);
  font-size: 0.95rem;
  line-height: 1.85;
  max-width: 470px;
}

.story-copy .text-link {
  margin-top: 2.8rem;
}

/* Product feature */
.product-feature {
  background: var(--olive-deep);
  color: var(--white);
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 850px;
}

.product-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9vw 8vw;
}

.product-copy h2,
.product-page-info h1 {
  font-size: clamp(5rem, 8vw, 9rem);
  line-height: 0.9;
  margin-top: 1.5rem;
}

.product-tagline {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 2rem);
  margin-top: 0.8rem;
}

.product-description {
  color: rgba(255, 253, 247, 0.78);
  font-size: 0.92rem;
  line-height: 1.85;
  margin-top: 2.2rem;
  max-width: 520px;
}

.pour-over {
  border-top: 1px solid var(--line-light);
  margin-top: 2.8rem;
  padding-top: 1.5rem;
  width: 100%;
}

.pour-over span {
  color: var(--moss);
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.pour-over p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.7;
}

.product-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.product-image-stage {
  align-items: center;
  background: #202c25;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image-stage::after {
  background: radial-gradient(circle at 50% 62%, rgba(162, 176, 118, 0.2), transparent 45%);
  content: "";
  inset: 0;
  position: absolute;
}

.product-image-stage img {
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.product-image-stage:hover img {
  transform: scale(1.035);
}

.product-image-stage > span {
  bottom: 2.3rem;
  font-size: 0.6rem;
  font-weight: 600;
  left: 50%;
  letter-spacing: 0.2em;
  position: absolute;
  text-transform: uppercase;
  transform: translateX(-50%);
  z-index: 1;
}

/* Quality */
.quality-section {
  background: var(--cream);
  display: grid;
  grid-template-columns: 56% 44%;
  min-height: 760px;
  padding: 7vw;
}

.quality-image {
  min-height: 520px;
  overflow: hidden;
}

.quality-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.quality-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3vw 0 3vw 6vw;
}

.quality-copy h2 {
  font-size: clamp(5rem, 8.2vw, 9rem);
  line-height: 0.86;
  margin: 1.2rem 0 1.8rem;
}

.quality-copy > p:not(.eyebrow) {
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 430px;
}

.quality-list {
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.7rem;
}

.quality-list > div {
  border-bottom: 1px solid var(--line-dark);
  min-height: 138px;
  padding: 1.3rem 1rem 1.3rem 0;
}

.quality-list > div:nth-child(odd) {
  border-right: 1px solid var(--line-dark);
  padding-right: 1.3rem;
}

.quality-list > div:nth-child(even) {
  padding-left: 1.3rem;
}

.quality-list span {
  color: var(--olive-soft);
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.9rem;
}

.quality-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 400;
}

.quality-list p {
  font-size: 0.72rem;
  line-height: 1.5;
  margin-top: 0.45rem;
  opacity: 0.7;
}

/* Sensory profile */
.profile-section {
  align-items: end;
  background: var(--olive);
  color: var(--white);
  display: grid;
  gap: 5vw;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  padding: 8vw;
}

.profile-section h2 {
  font-size: clamp(5.5rem, 10vw, 11rem);
  grid-column: 1;
  line-height: 0.8;
  margin-top: 1.5rem;
}

.profile-notes {
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-column: 2;
  grid-row: 1 / span 2;
  grid-template-columns: 1fr 1fr;
}

.profile-notes div {
  border-bottom: 1px solid var(--line-light);
  min-height: 190px;
  padding: 1.8rem;
}

.profile-notes div:nth-child(odd) {
  border-right: 1px solid var(--line-light);
}

.profile-notes span {
  color: var(--moss);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
}

.profile-notes p {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 2.4rem);
  line-height: 1.1;
  margin-top: 3.5rem;
}

/* Formats */
.formats-section,
.format-details-section {
  background: var(--cream);
  padding: 8vw;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 8vw;
  grid-template-columns: 1fr minmax(280px, 430px);
  margin-bottom: 4rem;
}

.section-heading h2 {
  font-size: clamp(4rem, 6.5vw, 7.3rem);
  line-height: 0.92;
  margin-top: 1.3rem;
}

.section-heading > p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.format-grid {
  border-left: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.format-card {
  align-items: flex-start;
  background: transparent;
  border-bottom: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 2rem;
  text-align: left;
  transition: background-color 260ms ease, color 260ms ease;
}

.format-card:hover,
.format-card.is-selected {
  background: var(--olive);
  color: var(--white);
}

.format-index {
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  opacity: 0.65;
}

.format-card strong {
  font-family: var(--serif);
  font-size: clamp(3.1rem, 4.3vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 2.2rem;
}

.format-card > span:not(.format-index) {
  font-family: var(--serif);
  font-size: 1.2rem;
  margin-top: 0.7rem;
}

.format-card small {
  font-size: 0.76rem;
  line-height: 1.6;
  margin-top: auto;
  max-width: 230px;
  opacity: 0.7;
}

.format-request-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 2.3rem;
}

.format-request-row p {
  font-size: 0.78rem;
}

.format-request-row strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

/* Closing and footer */
.contact-banner {
  align-items: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  height: 78svh;
  justify-content: center;
  min-height: 620px;
  overflow: hidden;
  padding: 7vw;
  position: relative;
  text-align: center;
}

.contact-banner > img,
.contact-banner > div {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.contact-banner > img {
  object-fit: cover;
}

.contact-banner > div {
  background: rgba(29, 50, 40, 0.52);
}

.contact-banner .eyebrow,
.contact-banner h2,
.contact-banner .button {
  position: relative;
  z-index: 1;
}

.contact-banner h2 {
  font-size: clamp(4.8rem, 9vw, 10rem);
  line-height: 0.84;
  margin: 1.7rem 0 2.8rem;
}

.site-footer {
  background: var(--olive-deep);
  color: var(--white);
  padding: 7vw 6vw 2rem;
}

.footer-main {
  align-items: flex-start;
  border-bottom: 1px solid var(--line-light);
  display: grid;
  gap: 4vw;
  grid-template-columns: 230px 1fr auto;
  padding-bottom: 5rem;
}

.footer-main img {
  width: 220px;
}

.footer-main > p {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.footer-details {
  display: grid;
  gap: 4vw;
  grid-template-columns: repeat(3, 1fr);
  padding: 4rem 0;
}

.footer-details > div {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  gap: 0.45rem;
  line-height: 1.7;
}

.footer-details span {
  color: var(--moss);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

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

.footer-bottom {
  border-top: 1px solid var(--line-light);
  display: flex;
  font-size: 0.56rem;
  justify-content: space-between;
  letter-spacing: 0.15em;
  padding-top: 1.8rem;
  text-transform: uppercase;
}

.floating-contact {
  align-items: center;
  background: var(--moss);
  border-radius: 999px;
  bottom: 1.5rem;
  box-shadow: 0 12px 36px rgba(15, 35, 28, 0.22);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 0.61rem;
  font-weight: 600;
  gap: 0.85rem;
  letter-spacing: 0.14em;
  padding: 1rem 1.3rem;
  position: fixed;
  right: 1.5rem;
  text-transform: uppercase;
  transition: transform 220ms ease, background-color 220ms ease;
  z-index: 45;
}

.floating-contact:hover {
  background: #c6d092;
  transform: translateY(-3px);
}

/* Inquiry drawer */
.inquiry-shell {
  inset: 0;
  pointer-events: none;
  position: fixed;
  visibility: hidden;
  z-index: 120;
}

.inquiry-shell.is-open {
  pointer-events: auto;
  visibility: visible;
}

.inquiry-backdrop {
  background: rgba(12, 31, 25, 0.7);
  cursor: default;
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 300ms ease;
  width: 100%;
}

.inquiry-shell.is-open .inquiry-backdrop {
  opacity: 1;
}

.inquiry-drawer {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100%;
  max-width: 570px;
  overflow-y: auto;
  padding: 6.5rem 4rem 3rem;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(102%);
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.inquiry-shell.is-open .inquiry-drawer {
  transform: translateX(0);
}

.drawer-close {
  background: transparent;
  cursor: pointer;
  height: 36px;
  position: absolute;
  right: 2rem;
  top: 2rem;
  width: 36px;
}

.drawer-close span {
  background: var(--ink);
  height: 1px;
  left: 6px;
  position: absolute;
  top: 18px;
  transform: rotate(45deg);
  width: 24px;
}

.drawer-close span:last-child {
  transform: rotate(-45deg);
}

.inquiry-drawer h2 {
  font-size: clamp(4.2rem, 7vw, 6.8rem);
  line-height: 0.9;
  margin-top: 1.1rem;
}

.drawer-intro {
  font-size: 0.86rem;
  line-height: 1.8;
  margin-top: 1.5rem;
  max-width: 420px;
}

.request-summary {
  align-items: center;
  background: var(--olive-deep);
  color: var(--white);
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 160px;
}

.request-summary img {
  height: 160px;
  object-fit: cover;
  width: 112px;
}

.request-summary > div {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
}

.request-summary span,
.request-summary small {
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.request-summary strong {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 400;
  margin: 0.35rem 0;
}

.request-summary small {
  color: rgba(255, 253, 247, 0.66);
}

.contact-options {
  display: flex;
  flex-direction: column;
}

.contact-option {
  align-items: center;
  border: 1px solid var(--line-dark);
  display: flex;
  font-size: 0.67rem;
  font-weight: 600;
  justify-content: space-between;
  letter-spacing: 0.13em;
  margin-top: -1px;
  min-height: 62px;
  padding: 0 1.3rem;
  text-transform: uppercase;
  transition: background-color 220ms ease, color 220ms ease;
}

.contact-option:hover,
.contact-option.whatsapp {
  background: var(--olive);
  color: var(--white);
}

.contact-option.whatsapp:hover {
  background: var(--olive-deep);
}

.contact-option.quiet {
  color: rgba(23, 49, 42, 0.7);
}

.drawer-note {
  color: rgba(23, 49, 42, 0.62);
  font-size: 0.68rem;
  line-height: 1.6;
}

/* Product page */
.product-page {
  background: var(--cream);
}

.product-page-hero {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 100svh;
}

.product-page-image {
  background: #202c25;
  min-height: 820px;
  overflow: hidden;
  position: relative;
}

.product-page-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-page-image > span {
  bottom: 2rem;
  color: rgba(255, 253, 247, 0.72);
  font-size: 0.58rem;
  left: 2.4rem;
  letter-spacing: 0.16em;
  position: absolute;
  text-transform: uppercase;
}

.product-page-info {
  align-items: flex-start;
  background: var(--olive);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px 8vw 7vw;
}

.back-link {
  color: rgba(255, 253, 247, 0.65);
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--white);
}

.product-page-info h1 {
  font-size: clamp(5.2rem, 8.8vw, 9.5rem);
}

.mini-specs {
  border-bottom: 1px solid var(--line-light);
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.4rem;
  width: 100%;
}

.mini-specs div {
  border-right: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.2rem 1rem 1.2rem 0;
}

.mini-specs div:not(:first-child) {
  padding-left: 1rem;
}

.mini-specs div:last-child {
  border-right: 0;
}

.mini-specs span,
.product-formats > span,
.quantity-control > span {
  color: var(--moss);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mini-specs strong {
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 400;
}

.product-formats {
  margin-top: 2rem;
  width: 100%;
}

.product-formats > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 0.8rem;
}

.product-formats button {
  background: transparent;
  border: 1px solid var(--line-light);
  color: var(--white);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.1rem;
  min-height: 52px;
}

.product-formats button + button {
  border-left: 0;
}

.product-formats button:hover,
.product-formats button.is-selected {
  background: var(--moss);
  color: var(--ink);
}

.quantity-control {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 1.3rem;
  width: 100%;
}

.quantity-control > div {
  align-items: center;
  border: 1px solid var(--line-light);
  display: flex;
  height: 50px;
}

.quantity-control button {
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  height: 100%;
  width: 48px;
}

.quantity-control output {
  min-width: 45px;
  text-align: center;
}

.product-request {
  margin-top: 1.4rem;
  width: 100%;
}

.purchase-note {
  color: rgba(255, 253, 247, 0.58);
  font-size: 0.63rem;
  line-height: 1.5;
  margin-top: 0.9rem;
}

.product-story-strip {
  align-items: center;
  background: var(--cream-deep);
  display: grid;
  gap: 9vw;
  grid-template-columns: 1fr 1fr;
  padding: 8vw;
}

.product-story-strip h2 {
  font-size: clamp(3.8rem, 6.3vw, 7rem);
  line-height: 0.92;
  margin-top: 1rem;
}

.product-story-strip > p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.5;
}

.product-end-banner {
  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.product-end-banner::after {
  background: linear-gradient(90deg, rgba(24, 49, 40, 0.78), rgba(24, 49, 40, 0.15));
  content: "";
  inset: 0;
  position: absolute;
}

.product-end-banner > img {
  height: 720px;
  object-fit: cover;
  width: 100%;
}

.product-end-copy {
  color: var(--white);
  left: 8vw;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.product-end-copy h2 {
  font-size: clamp(4.2rem, 7vw, 8rem);
  line-height: 0.88;
  margin: 1.5rem 0 2.5rem;
}

/* Responsive */
@media (max-width: 1000px) {
  .site-header {
    height: 76px;
    padding: 0 1.4rem;
  }

  .header-logo {
    height: 54px;
    width: 156px;
  }

  .header-logo img {
    width: 150px;
  }

  .menu-overlay-inner {
    grid-template-columns: 1fr;
    padding: 120px 7vw 7vw;
  }

  .menu-aside {
    display: none;
  }

  .story-section,
  .product-feature,
  .quality-section,
  .product-page-hero {
    grid-template-columns: 1fr;
  }

  .story-image-wrap,
  .product-image-stage,
  .quality-image,
  .product-page-image {
    min-height: 70svh;
  }

  .story-copy,
  .product-copy,
  .quality-copy,
  .product-page-info {
    min-height: 680px;
    padding: 8rem 8vw;
  }

  .quality-section {
    padding: 7vw;
  }

  .quality-copy {
    padding: 6rem 2vw 2rem;
  }

  .profile-section {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .profile-notes {
    grid-column: 1;
    grid-row: auto;
    margin-top: 4rem;
  }

  .section-heading,
  .product-story-strip {
    align-items: start;
    gap: 3rem;
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main .text-link {
    width: fit-content;
  }

  .product-page-image {
    height: 84svh;
    min-height: 650px;
  }

  .product-page-info {
    min-height: unset;
    padding-top: 7rem;
  }
}

@media (max-width: 680px) {
  .header-contact span {
    display: none;
  }

  .menu-button > span:last-child {
    display: none;
  }

  .site-header {
    grid-template-columns: 40px 1fr 40px;
  }

  .header-logo {
    justify-self: center;
  }

  .header-contact {
    height: 40px;
    justify-content: flex-end;
    width: 40px;
  }

  .home-hero {
    min-height: 700px;
  }

  .hero-content {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .hero-content h1 {
    font-size: clamp(4rem, 19vw, 6.4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 340px);
  }

  .hero-actions .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .story-image-wrap,
  .product-image-stage,
  .quality-image {
    min-height: 62svh;
  }

  .story-copy,
  .product-copy,
  .quality-copy,
  .product-page-info {
    min-height: unset;
    padding: 6rem 1.4rem;
  }

  .story-copy h2,
  .product-copy h2,
  .product-page-info h1 {
    font-size: 4.7rem;
  }

  .product-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .product-actions .button {
    width: 100%;
  }

  .quality-section {
    padding: 1.4rem;
  }

  .quality-list {
    grid-template-columns: 1fr;
  }

  .quality-list > div:nth-child(odd) {
    border-right: 0;
    padding-right: 0;
  }

  .quality-list > div:nth-child(even) {
    padding-left: 0;
  }

  .profile-section,
  .formats-section,
  .format-details-section,
  .product-story-strip {
    padding: 6rem 1.4rem;
  }

  .profile-section h2 {
    font-size: 5rem;
  }

  .profile-notes {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .profile-notes div {
    min-height: 130px;
  }

  .profile-notes div:nth-child(odd) {
    border-right: 0;
  }

  .profile-notes p {
    margin-top: 1.8rem;
  }

  .section-heading h2 {
    font-size: 4rem;
  }

  .format-grid {
    grid-template-columns: 1fr;
  }

  .format-card {
    min-height: 260px;
  }

  .format-request-row {
    align-items: stretch;
    flex-direction: column;
    gap: 1.5rem;
  }

  .format-request-row .button {
    width: 100%;
  }

  .contact-banner {
    min-height: 650px;
  }

  .contact-banner h2 {
    font-size: 4.8rem;
  }

  .site-footer {
    padding: 6rem 1.4rem 2rem;
  }

  .footer-main {
    padding-bottom: 3rem;
  }

  .footer-main > p {
    font-size: 3rem;
  }

  .footer-details {
    grid-template-columns: 1fr;
    padding: 3rem 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
  }

  .floating-contact {
    bottom: 1rem;
    right: 1rem;
  }

  .inquiry-drawer {
    padding: 5.5rem 1.4rem 2rem;
  }

  .inquiry-drawer h2 {
    font-size: 4.6rem;
  }

  .drawer-close {
    right: 1.2rem;
    top: 1.2rem;
  }

  .mini-specs {
    grid-template-columns: 1fr;
  }

  .mini-specs div,
  .mini-specs div:not(:first-child) {
    border-bottom: 1px solid var(--line-light);
    border-right: 0;
    padding: 1rem 0;
  }

  .mini-specs div:last-child {
    border-bottom: 0;
  }

  .product-page-image {
    height: 78svh;
    min-height: 580px;
  }

  .product-page-image img {
    object-position: center;
  }

  .product-formats > div {
    grid-template-columns: 1fr;
  }

  .product-formats button + button {
    border-left: 1px solid var(--line-light);
    border-top: 0;
  }

  .product-end-banner,
  .product-end-banner > img {
    height: 680px;
  }

  .product-end-copy {
    left: 1.4rem;
    right: 1.4rem;
  }

  .product-end-copy h2 {
    font-size: 4.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress integration safeguards */
body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar .menu-overlay {
  padding-top: 32px;
}

.cm-generic-page {
  background: var(--cream);
  min-height: 70svh;
  padding: 170px 8vw 8vw;
}

.cm-generic-page-inner {
  margin: 0 auto;
  max-width: 920px;
}

.cm-generic-page h1 {
  font-size: clamp(3.8rem, 7vw, 7rem);
  line-height: 0.95;
  margin-bottom: 2rem;
}

.cm-generic-page .entry-content {
  font-size: 1rem;
  line-height: 1.8;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar .menu-overlay {
    padding-top: 46px;
  }
}
