/* ==========================================================
   MITO TIMEPIECES — MAIN STYLESHEET
   1. Colours & fonts   2. Base   3. Buttons   4. Header
   5. Hero   6. Sections   7. Image frames   8. Products
   9. Footer   10. Animations
   ========================================================== */

/* ---------- 1. COLOURS & FONTS (change the look here) ---------- */
:root {
  --black:    #0b0b0c;
  --charcoal: #161618;
  --graphite: #242427;
  --ivory:    #f5f2ec;
  --stone:    #9a968d;
     --gold:     #c9a865;
   --gold-light: #edd187;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ivory);
  background: var(--black);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1.2rem; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 300; }
h3 { font-size: 1.6rem; }
em { font-style: italic; color: var(--gold-light); }

.container { width: min(1240px, 100% - 3rem); margin-inline: auto; }
.center { text-align: center; }

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--gold); color: var(--black); padding: .7rem 1.2rem;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.1rem; font-weight: 400;
}
.eyebrow--dark { color: #8a6d38; }

/* ---------- 3. BUTTONS ---------- */
.btn {
  display: inline-block; padding: 1.05rem 2.2rem; min-height: 48px;
  font-family: var(--sans); font-size: .72rem; font-weight: 400;
  letter-spacing: .24em; text-transform: uppercase; text-align: center;
  border: 1px solid transparent; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--gold  { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn--gold:hover  { background: transparent; color: var(--gold-light); }
.btn--ghost { border-color: rgba(245,242,236,.5); color: var(--ivory); }
.btn--ghost:hover { background: var(--ivory); color: var(--black); border-color: var(--ivory); }
.btn--dark  { border-color: var(--black); color: var(--black); }
.btn--dark:hover  { background: var(--black); color: var(--ivory); }

.link-arrow {
  display: inline-block; font-size: .72rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold);
  padding-bottom: .35rem; border-bottom: 1px solid currentColor;
  transition: color .3s, letter-spacing .4s var(--ease);
}
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--gold-light); letter-spacing: .3em; }

/* ---------- 4. HEADER & NAVIGATION ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: height .4s var(--ease);
}
/* The dark background appears after you scroll */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11,11,12,.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.is-scrolled { height: 70px; }
.site-header.is-scrolled::before { opacity: 1; }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { position: relative; z-index: 102; display: flex; align-items: center; }
.brand__img { display: none; height: 38px; width: auto; }
.brand.has-logo .brand__img { display: block; }
.brand.has-logo .brand__text { display: none; }
.brand__text {
  display: flex; flex-direction: column;
  font-family: var(--serif); font-size: 1.75rem; font-weight: 400;
  letter-spacing: .38em; line-height: 1;
}
.brand__text span {
  font-family: var(--sans); font-size: .52rem; letter-spacing: .52em;
  color: var(--gold); margin-top: .4rem; font-weight: 400;
}

.nav ul { display: flex; gap: 3rem; }
.nav a {
  position: relative; display: block; padding: .5rem 0;
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 400;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { position: relative; z-index: 102; display: flex; align-items: center; gap: .5rem; }
.bag { position: relative; width: 44px; height: 44px; display: grid; place-items: center; transition: color .3s; }
.bag:hover { color: var(--gold-light); }
.bag__count {
  position: absolute; top: 3px; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 9px;
  background: var(--gold); color: var(--black); font-size: .62rem; font-weight: 500; line-height: 1;
}
.bag__count[hidden] { display: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px; color: var(--ivory);
}
.menu-toggle span { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* ---------- 5. HERO ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--black);
}
.hero .frame { position: absolute; inset: 0; z-index: -2; }
.hero .frame::before { inset: auto; top: 50%; left: 50%; transform: translate(-50%,-50%); border: 0; width: min(90%, 520px); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(11,11,12,.88) 0%, rgba(11,11,12,.15) 55%, rgba(11,11,12,.55) 100%);
}
.hero__content { max-width: 720px; padding: calc(var(--header-h) + 3rem) 0 clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { font-size: clamp(3.2rem, 9vw, 6.8rem); font-weight: 300; margin-bottom: 1.5rem; }
.hero__text { font-size: 1.1rem; max-width: 460px; color: rgba(245,242,236,.85); margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- 6. SECTIONS ---------- */
.section { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.section--light    { background: var(--ivory); color: var(--black); }
.section--charcoal { background: var(--charcoal); }

.section-head { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.split__text h2 { margin-bottom: 1.8rem; }
.split__text p:not(.eyebrow) { color: rgba(245,242,236,.78); max-width: 480px; }
.split__text .link-arrow { margin-top: 1rem; }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.pillar { border-top: 1px solid rgba(184,151,90,.5); padding-top: 1.6rem; }
.pillar__num { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--gold); margin-bottom: 1.2rem; letter-spacing: .15em; }
.pillar h3 { margin-bottom: .9rem; }
.pillar p { color: rgba(245,242,236,.7); font-size: .95rem; }

.editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ---------- 7. IMAGE FRAMES (the placeholder system) ----------
   Every photo sits inside a .frame. While the photo file is missing,
   you see the dark placeholder with its filename. Once the file exists,
   the photo fades in and the placeholder disappears. */
.frame {
  position: relative; overflow: hidden; margin: 0;
  background: linear-gradient(145deg, #232326, #111113);
}
.frame::before {
  content: attr(data-label);
  position: absolute; inset: 14px; z-index: 1;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 1rem; border: 1px solid rgba(184,151,90,.35);
  color: rgba(184,151,90,.85); font-size: .66rem; letter-spacing: .2em;
  text-transform: uppercase; line-height: 2;
}
.frame img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s var(--ease), transform 1.6s var(--ease);
}
.frame.is-loaded::before { display: none; }
.frame.is-loaded img { opacity: 1; }

.frame--portrait  { aspect-ratio: 4 / 5; }
.frame--landscape { aspect-ratio: 4 / 3; }
.frame--landscape:hover img, .frame--portrait:hover img { transform: scale(1.03); }

/* ---------- 8. PRODUCT CARDS ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }

.product-card__media { display: block; }
.product-card .frame { aspect-ratio: 4 / 5; background: linear-gradient(145deg, #2b2b2e, #1a1a1c); }
.product-card:hover .frame img { transform: scale(1.04); }

.product-card__body { padding: 1.6rem .2rem 0; }
.product-card__body h3 { margin-bottom: .4rem; }
.product-card__body h3 a:hover { color: #8a6d38; }
.product-card__price { font-size: .9rem; letter-spacing: .14em; color: #8a6d38; margin-bottom: .8rem; }
.product-card__desc { font-size: .95rem; color: #55524c; }
.product-card .link-arrow { color: var(--black); }
.product-card .link-arrow:hover { color: #8a6d38; }

/* ---------- 9. FOOTER ---------- */
.site-footer { background: #070708; padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; border-top: 1px solid rgba(184,151,90,.3); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .32em; margin-bottom: 1rem; }
.footer-brand span { display: block; font-family: var(--sans); font-size: .55rem; letter-spacing: .5em; color: var(--gold); margin-top: .4rem; }
.footer-note { color: var(--stone); font-size: .9rem; max-width: 300px; }
.footer-title { font-family: var(--sans); font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 1.3rem; }
.site-footer li { margin-bottom: .6rem; }
.site-footer li a { color: rgba(245,242,236,.75); font-size: .92rem; transition: color .3s; }
.site-footer li a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 3.5rem; padding: 1.8rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom p { margin: 0; font-size: .78rem; color: var(--stone); letter-spacing: .06em; }

/* ---------- 10. ANIMATIONS ---------- */
.hero__content > * { animation: rise 1.1s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .15s; }
.hero__content > :nth-child(3) { animation-delay: .3s; }
.hero__content > :nth-child(4) { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Elements fade up as you scroll to them (only when JavaScript is on) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.product-grid > :nth-child(2), .pillars > :nth-child(2), .editorial-grid > :nth-child(2) { transition-delay: .12s; }
.product-grid > :nth-child(3), .pillars > :nth-child(3) { transition-delay: .24s; }
.pillars > :nth-child(4) { transition-delay: .36s; }

/* Respect people who ask their device for less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- RESPONSIVE: TABLET ---------- */
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- RESPONSIVE: MOBILE ---------- */
@media (max-width: 860px) {
  :root { --header-h: 72px; }

  .menu-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0; z-index: 101;
    display: flex; align-items: center; justify-content: center;
    background: var(--black);
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: center; gap: 1.2rem; }
  .nav a { font-family: var(--serif); font-size: 2.2rem; letter-spacing: .08em; text-transform: none; padding: .6rem 1rem; }

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

@media (max-width: 600px) {
  .container { width: min(1240px, 100% - 2.2rem); }
  .product-grid, .pillars, .editorial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero__actions .btn { width: 100%; }
  .brand__text { font-size: 1.45rem; }
}
/* ==========================================================
   STAGE 3 ADDITIONS — inner pages & collection page
   ========================================================== */

/* Header on inner pages: dark from the start (no photo behind it) */
.site-header--solid::before { opacity: 1; }

/* Title band at the top of inner pages */
.page-hero {
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 7vw, 5rem);
  text-align: center;
  background: linear-gradient(to bottom, var(--charcoal), var(--black));
  border-bottom: 1px solid rgba(184,151,90,.3);
}
.page-hero h1 { font-size: clamp(2.8rem, 8vw, 5rem); font-weight: 300; margin-bottom: 1.4rem; }
.page-hero p:not(.eyebrow) { max-width: 520px; margin: 0 auto; color: rgba(245,242,236,.75); }

.section--tight { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* Filters */
.filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.2rem 1.5rem;
  padding-bottom: 2rem; margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(0,0,0,.14);
}
.filter { display: flex; flex-direction: column; gap: .5rem; flex: 1 1 170px; max-width: 250px; }
.filter label { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: #8a6d38; font-weight: 400; }
.filter select {
  appearance: none; -webkit-appearance: none; border-radius: 0;
  min-height: 48px; padding: .8rem 2.6rem .8rem 1rem;
  font-family: var(--sans); font-size: .92rem; font-weight: 300; color: var(--black);
  background: #fff 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 1l5 5 5-5' fill='none' stroke='%230b0b0c' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 1px solid rgba(0,0,0,.25); cursor: pointer;
  transition: border-color .3s;
}
.filter select:hover, .filter select:focus { border-color: #8a6d38; }
.filter-clear {
  min-height: 48px; padding: 0 .4rem; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--black); text-decoration: underline; text-underline-offset: 6px;
  transition: color .3s;
}
.filter-clear:hover { color: #8a6d38; }

.results-count { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #55524c; margin-bottom: 2.2rem; }

/* Cards on the collection page */
.product-card__title { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; line-height: 1.12; margin: 0 0 .4rem; }
.product-card__title a:hover { color: #8a6d38; }
.product-card.is-new { animation: rise .8s var(--ease) both; }
.product-grid > .product-card.is-new:nth-child(2) { animation-delay: .08s; }
.product-grid > .product-card.is-new:nth-child(3) { animation-delay: .16s; }

.badge-sold {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  background: var(--black); color: var(--ivory);
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  padding: .45rem .9rem;
}

.empty-state { text-align: center; padding: 4rem 0; color: #55524c; }
.empty-state[hidden] { display: none; }

@media (max-width: 600px) {
  .filter { flex: 1 1 calc(50% - .75rem); max-width: none; }
  .filter-clear { flex: 1 1 100%; text-align: left; }
}
/* ==========================================================
   STAGE 3 (PART 2) ADDITIONS — product page
   ========================================================== */

.product { padding: calc(var(--header-h) + 1.5rem) 0 clamp(3.5rem, 8vw, 6rem); }

/* Breadcrumb trail */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--stone); margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb [aria-current] { color: var(--ivory); }

/* Two columns: photos left, information right */
.product__layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}

/* Gallery */
.gallery__main { aspect-ratio: 4 / 5; }
.gallery__main:hover img { transform: scale(1.02); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; margin-top: .6rem; }
.thumb {
  padding: 0; background: none; cursor: pointer;
  border: 1px solid transparent; opacity: .65;
  transition: opacity .3s, border-color .3s;
}
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: var(--gold); opacity: 1; }
.thumb .frame { display: block; aspect-ratio: 1 / 1; }
.thumb .frame::before {
  inset: 3px; padding: .2rem; border: 0;
  font-size: .5rem; letter-spacing: .08em; line-height: 1.5;
}

/* Information panel (stays in view while you scroll the photos on desktop) */
.product__info { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.product__name { font-size: clamp(2.3rem, 5vw, 3.5rem); font-weight: 300; margin-bottom: 1rem; }
.product__price { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-light); margin-bottom: .4rem; }
.product__status { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--stone); margin-bottom: 1.8rem; }
.product__status.is-sold { color: #c98c7a; }
.product__desc { margin-bottom: 2rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.1); }
.product__desc p { color: rgba(245,242,236,.78); }

/* Choices and button */
.buy { margin-bottom: 2.2rem; }
.field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.2rem; }
.field label { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.field select {
  appearance: none; -webkit-appearance: none; border-radius: 0;
  min-height: 48px; padding: .8rem 2.6rem .8rem 1rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 300; color: var(--ivory);
  background: var(--charcoal) 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 1l5 5 5-5' fill='none' stroke='%23b8975a' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 1px solid rgba(255,255,255,.2); cursor: pointer; transition: border-color .3s;
}
.field select:hover, .field select:focus { border-color: var(--gold); }
.field--qty select { max-width: 120px; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.added { margin: 1rem 0 0; min-height: 1.5rem; font-size: .9rem; color: var(--gold-light); }
.added a:hover { color: var(--ivory); }

/* Delivery and Returns (open and close) */
.accordion { border-top: 1px solid rgba(255,255,255,.12); }
.accordion details { border-bottom: 1px solid rgba(255,255,255,.12); }
.accordion summary {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 56px; cursor: pointer; list-style: none;
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 400;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.3rem; color: var(--gold); transition: transform .4s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { color: var(--gold-light); }
.accordion__body { padding: 0 0 1.4rem; }
.accordion__body p { font-size: .95rem; color: rgba(245,242,236,.72); margin-bottom: .8rem; }

/* Specifications */
.specs[hidden], #relatedSection[hidden] { display: none; }
.specs__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 7vw, 6rem); max-width: 1000px; margin-inline: auto; }
.spec { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.spec dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.spec dd { margin: 0; text-align: right; color: var(--ivory); }
.spec dd.is-placeholder { color: var(--stone); font-style: italic; }

/* "Watch not found" message */
.not-found { text-align: center; padding: clamp(4rem, 12vw, 9rem) 0; }
.not-found h1 { font-size: clamp(2.5rem, 7vw, 4rem); font-weight: 300; margin-bottom: 1.2rem; }
.not-found p:not(.eyebrow) { color: rgba(245,242,236,.75); margin-bottom: 2rem; }

/* Tablet and mobile */
@media (max-width: 900px) {
  .product__layout { grid-template-columns: 1fr; }
  .product__info { position: static; }
  .specs__list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .thumb .frame::before { font-size: .56rem; }
}
/* ==========================================================
   OUR STORY PAGE ADDITIONS
   ========================================================== */

/* Wide banner photo directly under the page title */
.banner { background: var(--black); }
.frame--wide { aspect-ratio: 21 / 9; }
.banner .frame--wide { width: min(1240px, 100% - 3rem); margin: clamp(2rem, 5vw, 4rem) auto 0; }

/* Text and photo swapped (photo on the left on desktop) */
.split--reverse > .frame { order: -1; }

/* Short statement under a section heading */
.lead { max-width: 560px; margin: 1.4rem auto 0; color: rgba(245,242,236,.75); }

/* Two close-up photos side by side */
.detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.detail-row > :nth-child(2) { transition-delay: .12s; }
.frame--wide:hover img { transform: scale(1.02); }

/* "MITO in brief" facts */
.facts {
  margin: 0 auto; max-width: 900px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(184,151,90,.5);
}
.fact { padding: 1.8rem 1rem 0; text-align: center; }
.fact dt { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.fact dd { margin: 0; font-family: var(--serif); font-size: 1.5rem; }
.fact dd.is-placeholder { color: var(--stone); font-style: italic; font-size: 1.2rem; }

/* Closing band */
.cta-band {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  background: linear-gradient(to bottom, var(--charcoal), var(--black));
  border-top: 1px solid rgba(184,151,90,.3);
}
.cta-band h2 { margin-bottom: 2.4rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

@media (max-width: 860px) {
  /* On mobile the text always comes first, then the photo */
  .split--reverse > .frame { order: 0; }
  .frame--wide { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .banner .frame--wide { width: min(1240px, 100% - 2.2rem); aspect-ratio: 4 / 3; }
  .detail-row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .fact { padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .cta-band__actions .btn { width: 100%; }
}
/* ==========================================================
   CONTACT PAGE ADDITIONS
   ========================================================== */

.section--tight-top { padding-top: clamp(3rem, 6vw, 5rem); }

/* Two columns: details on the left, form on the right */
.contact {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 7rem); align-items: start;
}

/* Contact details */
.info-block { padding: 1.6rem 0; border-top: 1px solid rgba(184,151,90,.4); }
.info-block:first-child { padding-top: 1.6rem; }
.info-title {
  font-family: var(--sans); font-size: .68rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: .9rem;
}
.info-block p { margin: 0; }
.info-link {
  font-family: var(--serif); font-size: 1.5rem; word-break: break-word;
  border-bottom: 1px solid rgba(184,151,90,.5); transition: color .3s, border-color .3s;
}
.info-link:hover { color: var(--gold-light); border-color: var(--gold-light); }
.muted { color: var(--stone); font-style: italic; }

.social li { margin-bottom: .2rem; }
.social a {
  display: inline-block; padding: .4rem 0; min-height: 44px;
  font-size: .95rem; color: rgba(245,242,236,.85);
  transition: color .3s, transform .4s var(--ease);
}
.social a::after { content: " →"; color: var(--gold); }
.social a:hover { color: var(--gold-light); transform: translateX(4px); }

/* The form */
.form-heading { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 2rem; }

.form-field { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.5rem; }
.form-field label {
  font-size: .66rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); font-weight: 400;
}
.form-field input,
.form-field textarea {
  width: 100%; min-height: 52px; padding: .9rem 1rem; border-radius: 0;
  font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--ivory);
  background: var(--charcoal); border: 1px solid rgba(255,255,255,.2);
  transition: border-color .3s, background .3s;
}
.form-field textarea { resize: vertical; min-height: 170px; line-height: 1.6; }
.form-field input:hover, .form-field textarea:hover { border-color: rgba(184,151,90,.6); }
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--graphite);
}
.form-field [aria-invalid="true"] { border-color: #c98c7a; }
.form-error { margin: 0; font-size: .85rem; color: #e0a896; }
.form-error[hidden] { display: none; }

/* Hidden spam trap */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .82rem; color: var(--stone); margin: 0 0 1.6rem; }
.form-note a:hover { color: var(--gold-light); }

/* Result message under the button */
.form-status { margin-top: 1.4rem; font-size: .95rem; line-height: 1.6; outline: none; }
.form-status:empty { display: none; }
.form-status.is-success, .form-status.is-warning { padding: 1.1rem 1.3rem; border-left: 2px solid; }
.form-status.is-success { border-color: var(--gold); background: rgba(184,151,90,.1); color: var(--ivory); }
.form-status.is-warning { border-color: #c98c7a; background: rgba(201,140,122,.1); color: var(--ivory); }
.form-status a:hover { color: var(--gold-light); }

/* Tablet and mobile: one column, form first is NOT needed; details then form */
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  /* 16px text stops iPhones zooming in when a field is tapped */
  .form-field input, .form-field textarea { font-size: 16px; }
}
/* ==========================================================
   POLICY PAGES (shipping, returns, privacy, terms)
   ========================================================== */

.section--tight-top { padding-top: clamp(3rem, 6vw, 5rem); }

/* Narrow, comfortable reading column */
.policy { max-width: 820px; }
.policy h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 400;
  margin: 3rem 0 1rem; padding-top: 2rem;
  border-top: 1px solid rgba(184,151,90,.3);
}
.policy__updated + h2 { margin-top: 2rem; }
.policy p { color: rgba(245,242,236,.8); }
.policy strong { font-weight: 500; color: var(--ivory); }
.policy__updated { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 0; }

.text-link { color: var(--gold-light); border-bottom: 1px solid rgba(184,151,90,.5); transition: color .3s, border-color .3s; }
.text-link:hover { color: var(--ivory); border-color: var(--ivory); }

/* Reminder box shown while pages are still templates */
.notice {
  padding: 1.1rem 1.3rem; margin-bottom: 2rem;
  border-left: 2px solid var(--gold); background: rgba(184,151,90,.1);
  font-size: .9rem; color: var(--ivory) !important;
}
.notice code { font-size: .85em; color: var(--gold-light); }

/* Delivery table */
.rate-table-wrap { margin: 1.5rem 0 1rem; }
.rate-table { width: 100%; border-collapse: collapse; text-align: left; }
.rate-table th {
  font-size: .66rem; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 400; color: var(--gold); padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid rgba(184,151,90,.5);
}
.rate-table td { padding: 1.2rem 1rem 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(245,242,236,.85); }

/* Mobile: each row becomes a small card, so nothing scrolls sideways */
@media (max-width: 600px) {
  .rate-table thead { position: absolute; left: -9999px; }
  .rate-table, .rate-table tbody, .rate-table tr, .rate-table td { display: block; width: 100%; }
  .rate-table tr { padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .rate-table td { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border: 0; text-align: right; }
  .rate-table td::before {
    content: attr(data-label); text-align: left; flex-shrink: 0;
    font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  }
}
/* ==========================================================
   BASKET PAGE
   ========================================================== */

.basket { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.basket__title { font-family: var(--sans); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 1.2rem; outline: none; }

/* One watch in the bag */
.basket-list { border-top: 1px solid rgba(184,151,90,.4); margin-bottom: 2.2rem; }
.basket-item {
  display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 1.5rem;
  padding: 1.8rem 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.basket-item__media .frame { aspect-ratio: 4 / 5; }
.basket-item__media .frame::before { inset: 6px; padding: .2rem; font-size: .5rem; letter-spacing: .08em; line-height: 1.4; }
.basket-item__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.15; margin: 0 0 .5rem; }
.basket-item__name a:hover { color: var(--gold-light); }
.basket-item__opts { margin: 0 0 .5rem; font-size: .85rem; color: var(--stone); }
.basket-item__price { margin: 0 0 1rem; color: var(--gold-light); letter-spacing: .06em; }
.basket-item__note { margin: 0 0 1rem; font-size: .88rem; color: #e0a896; }
.basket-item__total { margin: 0; font-family: var(--serif); font-size: 1.4rem; text-align: right; white-space: nowrap; }
.basket-item.is-unavailable { opacity: .85; }
.basket-item.is-unavailable .basket-item__body { grid-column: 1 / -1; }
.basket-item__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }

/* + and − quantity buttons */
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.25); }
.qty button {
  width: 46px; height: 46px; background: none; border: 0; cursor: pointer;
  color: var(--ivory); font-size: 1.2rem; font-family: var(--sans);
  transition: background .3s, color .3s;
}
.qty button:hover:not(:disabled) { background: var(--gold); color: var(--black); }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.qty__value { min-width: 40px; text-align: center; font-size: 1rem; }

/* Small underlined text buttons (Remove) */
.text-btn {
  min-height: 44px; padding: 0 .2rem; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--stone); text-decoration: underline; text-underline-offset: 6px;
  transition: color .3s;
}
.text-btn:hover { color: var(--gold-light); }

/* Order summary */
.summary { padding: 2rem; background: var(--charcoal); border: 1px solid rgba(184,151,90,.3); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.summary h2 { font-size: 1.7rem; margin-bottom: 1.5rem; }
.summary__rows { margin: 0 0 1rem; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.summary__rows dt { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,242,236,.8); }
.summary__rows dd { margin: 0; text-align: right; }
.muted-text { color: var(--stone); font-size: .9rem; font-style: italic; }
.summary__total { border-bottom: 0 !important; }
.summary__total dt { color: var(--gold) !important; }
.summary__total dd { font-family: var(--serif); font-size: 1.7rem; }
.summary__note { font-size: .82rem; color: var(--stone); margin-bottom: 1.4rem; }
.summary__warning { font-size: .9rem; color: #e0a896; margin-bottom: 1.2rem; }
.checkout-status { margin: 1.2rem 0 0; font-size: .9rem; line-height: 1.6; outline: none; }
.checkout-status:empty { display: none; }
.checkout-status:not(:empty) { padding: 1rem 1.2rem; border-left: 2px solid #c98c7a; background: rgba(201,140,122,.1); }

/* Empty bag */
.basket-empty { text-align: center; padding: clamp(2.5rem, 8vw, 6rem) 0; }
.basket-empty h2 { margin-bottom: 1rem; outline: none; }
.basket-empty p { color: rgba(245,242,236,.75); margin-bottom: 2rem; }

/* Tablet and mobile */
@media (max-width: 900px) {
  .basket { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 600px) {
  .basket-item { grid-template-columns: 88px minmax(0, 1fr); gap: 1rem; }
  /* Line total drops under the details instead of squeezing in beside them */
  .basket-item__total { grid-column: 2; text-align: left; margin-top: -.3rem; }
  .basket-item__name { font-size: 1.3rem; }
  .summary { padding: 1.5rem; }
}
/* ==========================================================
   LOGO: emblem beside the name in the header, and in the footer
   Uses images/logo/logo-emblem.png
   ========================================================== */

/* Header: always show emblem + text name (never the big stacked logo) */
.brand { gap: .9rem; }
.brand::before {
  content: ""; flex-shrink: 0;
  width: 42px; height: 42px;
  background: url("../images/logo/logo-emblem.png") center / contain no-repeat;
}
.brand.has-logo .brand__img { display: none; }
.brand.has-logo .brand__text { display: flex; }

/* Footer: emblem above the name */
.footer-brand::before {
  content: ""; display: block;
  width: 56px; height: 56px; margin-bottom: 1.2rem;
  background: url("../images/logo/logo-emblem.png") center / contain no-repeat;
}

@media (max-width: 600px) {
  .brand::before { width: 36px; height: 36px; }
}