/* =========================================================
   TVA Atelier — band rhythm + editorial geometry
   Alternating dark/light full-bleed sections, sharp radii.
   Loaded after home.css and motion.css so it wins on cascade.
   ========================================================= */

:root {
  --tva-radius: 2px;
  --tva-bleed-pad: max(24px, calc(50vw - 600px));
}

/* ---------------------------------------------------------------
   Full-bleed helper.
   `100vw` includes the scrollbar, which would push a horizontal
   scrollbar onto the page; `100%` of the constrained parent plus a
   symmetric negative margin gives the same visual result without it.
   --------------------------------------------------------------- */
.tva-full {
  width: auto;
  margin-inline: calc(50% - 50vw);
  padding-inline: var(--tva-bleed-pad);
  padding-block: clamp(3.5rem, 8vw, 8rem);
}
/* re-constrain the contents of a bleeding band */
.tva-full > * { max-width: 1200px; margin-inline: auto; }
.tva-full > .tva-section__head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.tva-full .tva-section__head p.tva-eyebrow { margin-bottom: .4rem; }
.tva-section__head > div { min-width: 0; }

/* ---- band colour schemes ---- */
.tva-band-dark {
  background: var(--wp--preset--color--ink);
  color: #F3EDE0;
}
.tva-band-dark .tva-h2,
.tva-band-dark h2 { color: #F6F1E6; }
.tva-band-dark .tva-eyebrow { color: var(--wp--preset--color--gold-light); }
.tva-band-dark .tva-more { color: var(--wp--preset--color--gold-light); }
.tva-band-dark .tva-more:hover { color: #fff; }

.tva-band-light { background: var(--wp--preset--color--cream); }
.tva-band-sand  { background: var(--wp--preset--color--sand); }

/* ---- section headers ---- */
.tva-section__head { align-items: flex-end; }
.tva-eyebrow {
  font-size: .7rem;
  letter-spacing: .2em;
}
.tva-h2 { font-style: italic; font-weight: 400; }

/* =========================================================
   Sharper geometry across the board
   ========================================================= */
.tva-vhero,
.tva-tile,
.tva-marquee,
.tva-band,
.tva-trust li,
.woocommerce ul.products li.product,
.woocommerce ul.products li.product a img,
.tva-tile__frame img,
.woocommerce div.product div.images img { border-radius: 2px; }

.tva-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8125rem;
  font-weight: 600;
}
.tva-btn--solid { background: var(--wp--preset--color--gold); color: #12100C; }
.tva-btn--solid:hover { background: var(--wp--preset--color--gold-light); color: #12100C; }

.woocommerce span.onsale,
.tva-marquee__track li,
.tva-footer__age { border-radius: 100px; }

/* product cards read as editorial tiles, not floating cards */
.woocommerce ul.products li.product {
  border-color: var(--wp--preset--color--border);
  box-shadow: none;
}
.woocommerce ul.products li.product:hover {
  border-color: var(--wp--preset--color--gold);
  box-shadow: none;
  transform: none;
}
.tva-band-dark .woocommerce ul.products li.product {
  background: #1C1913;
  border-color: #2E2A20;
}
.tva-band-dark .woocommerce ul.products li.product .woocommerce-loop-product__title { color: #F1EADC; }
.tva-band-dark .woocommerce ul.products li.product .price { color: #fff; }
.tva-band-dark .woocommerce ul.products li.product .price del { color: rgb(255 255 255 / .45); }
.tva-band-dark .woocommerce ul.products li.product a img { background: #16130E; }

/* =========================================================
   Hero — taller, sharper, full-bleed
   ========================================================= */
.tva-vhero {
  border-radius: 0;
  margin-inline: calc(50% - 50vw);
  margin-top: 0;
  min-height: clamp(520px, 80vh, 780px);
}
.tva-vhero__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--tva-bleed-pad);
  padding-block: clamp(2rem, 5vw, 4rem);
}
.tva-vhero__title { font-style: italic; font-weight: 400; }
.tva-vhero__toggle { right: max(24px, calc(50vw - 600px)); }

/* =========================================================
   Trust strip — flush band under the hero
   ========================================================= */
.tva-trust {
  margin-inline: calc(50% - 50vw);
  padding-inline: var(--tva-bleed-pad);
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 0;
  background: var(--wp--preset--color--ink-soft);
  border-block: 1px solid #2A251B;
}
.tva-trust ul { max-width: 1200px; margin-inline: auto; }
.tva-trust li {
  background: transparent;
  border: 0;
  border-left: 1px solid #2E2920;
  padding: .2rem 0 .2rem 1.1rem;
}
.tva-trust__k { color: var(--wp--preset--color--gold-light); }
.tva-trust__v { color: rgb(243 237 224 / .58); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 600px) {
  .tva-vhero { min-height: clamp(460px, 82vh, 640px); }
  .tva-trust li { border-left: 0; padding-left: 0; }
  .tva-full { padding-block: clamp(2.75rem, 9vw, 4rem); }
}

/* =========================================================
   Category mosaic — rebuilt
   Two double-width tiles over four singles fills a 4-column
   grid exactly, so there are no empty cells.
   ========================================================= */
.tva-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: clamp(.75rem, 1.4vw, 1.15rem);
}
.tva-mosaic .tva-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(168deg, #FBF7EE 0%, #F3EADA 100%);
  border: 1px solid #E7DDC8;
  box-shadow: none;
  transition: transform .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s cubic-bezier(.22,.61,.36,1),
              border-color .25s ease;
}
.tva-mosaic .tva-tile--wide { grid-column: span 2; }
.tva-mosaic .tva-tile:hover {
  transform: translateY(-3px);
  border-color: var(--wp--preset--color--gold);
  box-shadow: 0 18px 40px -22px rgb(0 0 0 / .75);
}

/* image sits directly on the tile — the white product background is
   multiplied away so there is no visible box-within-a-box */
.tva-mosaic .tva-tile__frame {
  position: static;
  inset: auto;
  display: block;            /* a grid item would not resolve height:100% */
  overflow: hidden;          /* hard guard: nothing escapes the frame */
  background: transparent;
  height: clamp(148px, 15vw, 200px);
  padding: clamp(.9rem, 1.8vw, 1.6rem);
}
.tva-mosaic .tva-tile--wide .tva-tile__frame { height: clamp(178px, 18vw, 236px); }
.tva-mosaic .tva-tile__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  mix-blend-mode: multiply;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.tva-mosaic .tva-tile:hover .tva-tile__frame img { transform: scale(1.06); }
.tva-mosaic .tva-tile__ph {
  position: static;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #F1E7D5, #E6D9C0);
}

/* label bar */
.tva-mosaic .tva-tile__body {
  position: static;
  background: none;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem clamp(.9rem, 1.6vw, 1.3rem) 1rem;
  border-top: 1px solid rgb(35 30 22 / .09);
}
.tva-mosaic .tva-tile__text { display: flex; flex-direction: column; gap: .16rem; min-width: 0; }
.tva-mosaic .tva-tile__label {
  font-family: var(--wp--preset--font-family--body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.25;
  color: #17130D;
}
.tva-mosaic .tva-tile__count {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8B7E66;
}
.tva-mosaic .tva-tile__go {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #6E6047;
  border: 1px solid #DDD1B8;
  background: rgb(255 255 255 / .55);
  opacity: 1;
  transform: none;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}
.tva-mosaic .tva-tile:hover .tva-tile__go,
.tva-mosaic .tva-tile:focus-visible .tva-tile__go {
  background: var(--wp--preset--color--gold);
  border-color: var(--wp--preset--color--gold);
  color: #17130D;
  transform: none;
}

@media (max-width: 900px) {
  .tva-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tva-mosaic .tva-tile--wide { grid-column: span 2; }
  .tva-mosaic .tva-tile--wide .tva-tile__frame { height: clamp(168px, 30vw, 220px); }
}
@media (max-width: 560px) {
  .tva-mosaic { gap: .6rem; }
  .tva-mosaic .tva-tile__frame { height: clamp(120px, 30vw, 160px); padding: .8rem; }
  .tva-mosaic .tva-tile__label { font-size: .82rem; }
  .tva-mosaic .tva-tile__count { font-size: .62rem; letter-spacing: .07em; white-space: nowrap; }
  .tva-mosaic .tva-tile__go { width: 26px; height: 26px; }
  .tva-mosaic .tva-tile__body { padding: .7rem .8rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tva-mosaic .tva-tile, .tva-mosaic .tva-tile__frame img { transition: none; }
  .tva-mosaic .tva-tile:hover { transform: none; }
  .tva-mosaic .tva-tile:hover .tva-tile__frame img { transform: none; }
}

/* =========================================================
   Editorial band — split copy + range showcase
   ========================================================= */
.tva-band__grid {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
  padding: clamp(2rem, 4.5vw, 3.5rem) var(--tva-bleed-pad);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.tva-band .tva-band__inner { padding: 0; max-width: 48ch; }
.tva-band .tva-eyebrow { color: var(--wp--preset--color--gold-light); }

.tva-showcase {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.6rem, 1.2vw, .9rem);
}
.tva-showcase li { min-width: 0; }
.tva-showcase a {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(168deg, #FBF7EE 0%, #F1E8D7 100%);
  border: 1px solid #E7DDC8;
  text-decoration: none;
  transition: transform .32s cubic-bezier(.22,.61,.36,1), border-color .22s ease, box-shadow .32s ease;
}
.tva-showcase a:hover {
  transform: translateY(-3px);
  border-color: var(--wp--preset--color--gold);
  box-shadow: 0 18px 34px -20px rgb(0 0 0 / .8);
}
.tva-showcase__frame {
  display: block;
  overflow: hidden;
  height: clamp(96px, 11vw, 148px);
  padding: clamp(.6rem, 1.2vw, 1rem);
}
.tva-showcase__frame img {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.tva-showcase a:hover .tva-showcase__frame img { transform: scale(1.06); }
.tva-showcase__label {
  display: block;
  padding: .6rem .8rem .75rem;
  border-top: 1px solid rgb(35 30 22 / .09);
  font-family: var(--wp--preset--font-family--body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: #17130D;
}

@media (max-width: 900px) {
  .tva-band__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .tva-band .tva-band__inner { max-width: none; }
}
@media (max-width: 560px) {
  .tva-showcase__frame { height: clamp(88px, 24vw, 120px); }
  .tva-showcase__label { font-size: .72rem; padding: .5rem .6rem .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tva-showcase a, .tva-showcase__frame img { transition: none; }
  .tva-showcase a:hover { transform: none; }
  .tva-showcase a:hover .tva-showcase__frame img { transform: none; }
}

/* =========================================================
   Buying guide
   ========================================================= */
.tva-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}
.tva-guide article { min-width: 0; }
.tva-guide h3 {
  font-family: var(--wp--preset--font-family--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 1rem + .55vw, 1.5rem);
  line-height: 1.2;
  color: var(--wp--preset--color--gold-light);
  margin: 0 0 .75rem;
  padding-top: 1.15rem;
  border-top: 1px solid #2E2920;
}
.tva-guide p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.75;
  color: rgb(246 241 230 / .66);
}
@media (max-width: 900px) {
  .tva-guide { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* =========================================================
   Flagship showcase
   ========================================================= */
.tva-feature {
  margin-inline: calc(50% - 50vw);
  padding-inline: var(--tva-bleed-pad);
  padding-block: clamp(3.5rem, 8vw, 8rem);
  background:
    radial-gradient(120% 90% at 18% 50%, #211C13 0%, #14110C 55%, #100E0A 100%);
  border-block: 1px solid #2A251B;
}
.tva-feature__grid {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.tva-feature__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 34vw, 480px);
}
.tva-feature__glow {
  position: absolute;
  inset: 12% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(212 168 67 / .30) 0%, rgb(212 168 67 / .10) 42%, transparent 68%);
  filter: blur(28px);
}
.tva-feature__media img {
  position: relative;
  max-width: 100%;
  max-height: clamp(300px, 34vw, 480px);
  width: auto;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 30px 42px rgb(0 0 0 / .55));
}
.tva-feature__title {
  font-family: var(--wp--preset--font-family--display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.02em;
  font-size: clamp(2rem, 1.3rem + 2.9vw, 3.35rem);
  color: #F6F1E6;
  margin: .55rem 0 1rem;
}
.tva-feature__title em { color: var(--wp--preset--color--gold-light); font-style: italic; }
.tva-feature__lede {
  color: rgb(246 241 230 / .68);
  font-size: 1rem;
  line-height: 1.72;
  max-width: 52ch;
  margin: 0 0 1.9rem;
}
.tva-feature__specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2E2920;
}
.tva-feature__specs div { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.tva-feature__specs dt {
  font-family: var(--wp--preset--font-family--display);
  font-style: italic;
  font-size: clamp(1.05rem, .9rem + .5vw, 1.4rem);
  color: var(--wp--preset--color--gold-light);
}
.tva-feature__specs dd {
  margin: 0;
  font-size: .74rem;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgb(246 241 230 / .48);
}
.tva-feature__buy { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.tva-feature__price {
  font-family: var(--wp--preset--font-family--body);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}
.tva-feature__price del { color: rgb(255 255 255 / .4); font-weight: 400; margin-right: .35rem; }
.tva-feature__price ins { text-decoration: none; color: var(--wp--preset--color--gold-light); }
.tva-feature__stock {
  margin: .9rem 0 0;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgb(246 241 230 / .42);
}

@media (max-width: 900px) {
  .tva-feature__grid { grid-template-columns: 1fr; gap: 2rem; }
  .tva-feature__media { min-height: 0; }
  .tva-feature__media img { max-height: clamp(240px, 52vw, 340px); }
}
@media (max-width: 600px) {
  .tva-feature__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; }
  .tva-feature__lede { font-size: .95rem; margin-bottom: 1.5rem; }
  .tva-feature__buy { gap: .9rem; }
  .tva-feature__buy .tva-btn { width: 100%; text-align: center; }
}
