/* ==========================================================================
   KAIF — Australian Luxury Fragrance
   Theme stylesheet (shared by the local preview and the WordPress theme)
   ========================================================================== */

:root {
  --k-black: #0B0B0B;
  --k-gold: #C6A667;
  --k-gold-soft: #d9c08e;
  --k-gold-deep: #9c8047;
  --k-ivory: #F6F2EA;
  --k-charcoal: #222222;
  --k-line: rgba(198, 166, 103, .28);
  --k-muted-dark: rgba(246, 242, 234, .62);
  --k-muted-light: rgba(11, 11, 11, .62);

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

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(88px, 12vw, 176px);
  --header-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--k-black);
  color: var(--k-ivory);
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 1px solid var(--k-gold); outline-offset: 4px; }
::selection { background: var(--k-gold); color: var(--k-black); }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 1000; top: 12px; left: 12px;
  padding: 12px 18px; background: var(--k-gold); color: var(--k-black);
}

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

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-sans); font-size: 11px; font-weight: 400;
  letter-spacing: .38em; text-transform: uppercase; color: var(--k-gold);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--center::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }

.display, h1, h2, h3 { font-family: var(--f-serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: .005em; }
.h-xl { font-size: clamp(44px, 6.2vw, 96px); }
.h-lg { font-size: clamp(38px, 4.6vw, 70px); }
.h-md { font-size: clamp(28px, 2.8vw, 42px); }
.h-sm { font-size: clamp(22px, 1.8vw, 27px); }
em, .italic { font-style: italic; color: var(--k-gold); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.75; color: var(--k-muted-dark); max-width: 38em; }
.on-light .lead { color: var(--k-muted-light); }

.placeholder-text {
  border-bottom: 1px dashed currentColor; opacity: .75; cursor: help;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--k-ivory); --bd: rgba(246, 242, 234, .45);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 34px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--f-sans); font-size: 11.5px; font-weight: 400;
  letter-spacing: .3em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--k-gold); transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover, .btn:focus-visible { color: var(--k-black); border-color: var(--k-gold); }
.btn--gold { --bg: var(--k-gold); --fg: var(--k-black); --bd: var(--k-gold); }
.btn--gold::before { background: var(--k-ivory); }
.btn--gold:hover { border-color: var(--k-ivory); }
.btn--dark { --fg: var(--k-black); --bd: rgba(11, 11, 11, .4); }
.btn--dark::before { background: var(--k-black); }
.btn--dark:hover { color: var(--k-ivory); border-color: var(--k-black); }
.btn--block { width: 100%; }

.link-line {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--k-gold);
  padding-bottom: 6px;
}
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(.35); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.link-line:hover::after { transform: scaleX(1); }

/* ---------- Loader ---------- */
.k-loader {
  position: fixed; inset: 0; z-index: 999; display: grid; place-items: center;
  background: var(--k-black);
  transition: opacity .9s var(--ease), visibility .9s;
}
.k-loader__inner { text-align: center; }
.k-loader__mark {
  width: 96px; height: auto; margin: 0 auto;
  opacity: 0; animation: kFadeUp 1.1s var(--ease-out) .1s forwards;
}
.k-loader__bar { width: 140px; height: 1px; margin: 22px auto 0; background: rgba(198,166,103,.2); overflow: hidden; }
.k-loader__bar span { display: block; height: 100%; background: var(--k-gold); transform: scaleX(0); transform-origin: left; animation: kBar 1.3s var(--ease) .2s forwards; }
.is-loaded .k-loader { opacity: 0; visibility: hidden; }

@keyframes kFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes kBar { to { transform: scaleX(1); } }

/* ---------- Announcement ---------- */
.k-announce {
  position: relative; z-index: 60;
  background: var(--k-black); color: var(--k-gold);
  border-bottom: 1px solid rgba(198,166,103,.14);
  font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; text-align: center;
  padding: 10px var(--gutter);
}

/* ---------- Header ---------- */
.k-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  transition: background .5s var(--ease), border-color .5s var(--ease), height .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.k-header--overlay { margin-bottom: calc(var(--header-h) * -1); }
.k-header.is-scrolled {
  height: 70px;
  background: rgba(11, 11, 11, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(198,166,103,.16);
}
.k-header__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }

.k-logo { display: inline-flex; align-items: center; gap: 14px; justify-self: start; }
.k-logo .k-logo__k { height: 40px; width: auto; transition: transform .8s var(--ease-out), filter .8s var(--ease); }
.k-logo .k-logo__wm { height: 17px; width: auto; }
.k-logo:hover .k-logo__k { transform: translateY(-2px); filter: drop-shadow(0 0 10px rgba(198,166,103,.45)); }
.k-logo--footer img { width: 150px; height: auto; }

.k-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(22px, 2.6vw, 44px); }
.k-nav a {
  position: relative; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(246,242,234,.85); padding: 8px 0; transition: color .4s var(--ease);
}
.k-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px; background: var(--k-gold);
  transition: width .5s var(--ease-out), left .5s var(--ease-out);
}
.k-nav a:hover, .k-nav a[aria-current="page"] { color: var(--k-gold); }
.k-nav a:hover::after, .k-nav a[aria-current="page"]::after { width: 100%; left: 0; }

.k-tools { justify-self: end; display: flex; align-items: center; gap: 6px; }
.k-icon-btn {
  position: relative; width: 42px; height: 42px; display: grid; place-items: center;
  color: var(--k-ivory); transition: color .4s var(--ease);
}
.k-icon-btn:hover { color: var(--k-gold); }
.k-icon-btn svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.k-cart-count {
  position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--k-gold); color: var(--k-black);
  font-size: 10px; font-weight: 500; line-height: 17px; text-align: center;
  transition: transform .4s var(--ease-out);
}
.k-cart-count.is-bump { animation: kBump .6s var(--ease-out); }
@keyframes kBump { 40% { transform: scale(1.45); } }

.k-burger { display: none; }
.k-burger span { display: block; width: 22px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.k-burger span + span { margin-top: 7px; }

/* Mobile drawer */
.k-drawer {
  position: fixed; inset: 0; z-index: 80; background: var(--k-black);
  display: flex; flex-direction: column; padding: 100px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s;
}
.k-drawer.is-open { opacity: 1; visibility: visible; }
.k-drawer ul { list-style: none; margin: 0; padding: 0; }
.k-drawer li { border-bottom: 1px solid rgba(198,166,103,.15); overflow: hidden; }
.k-drawer li a {
  display: block; padding: 18px 0; font-family: var(--f-serif); font-size: 34px;
  transform: translateY(100%); transition: transform .8s var(--ease-out), color .3s;
}
.k-drawer.is-open li a { transform: none; }
.k-drawer li:nth-child(2) a { transition-delay: .05s; }
.k-drawer li:nth-child(3) a { transition-delay: .1s; }
.k-drawer li:nth-child(4) a { transition-delay: .15s; }
.k-drawer li:nth-child(5) a { transition-delay: .2s; }
.k-drawer li:nth-child(6) a { transition-delay: .25s; }
.k-drawer li a:hover { color: var(--k-gold); }
.k-drawer__close { position: absolute; top: 22px; right: var(--gutter); }
.k-drawer__foot { margin-top: auto; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--k-gold); }

/* ---------- Hero ---------- */
.k-hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 90px;
  background:
    radial-gradient(60% 70% at 70% 45%, rgba(198,166,103,.16), transparent 60%),
    radial-gradient(40% 50% at 20% 90%, rgba(198,166,103,.06), transparent 70%),
    var(--k-black);
}
.k-hero::after { /* film grain */
  content: ""; position: absolute; inset: -50%; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.k-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(30px, 5vw, 90px); }
.k-hero__copy { max-width: 620px; }
.k-hero__title {
  font-family: var(--f-serif); font-weight: 300; line-height: .9;
  font-size: clamp(92px, 15vw, 230px); letter-spacing: .14em; margin: 26px 0 18px -.06em;
  background: linear-gradient(100deg, var(--k-ivory) 0%, var(--k-ivory) 40%, var(--k-gold-soft) 55%, var(--k-ivory) 70%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: kSheen 9s var(--ease) 2.2s infinite;
}
@keyframes kSheen { 0% { background-position: 100% 0; } 35%, 100% { background-position: -30% 0; } }
.k-hero__descriptor { font-size: clamp(11px, 1vw, 13px); letter-spacing: .5em; text-transform: uppercase; color: var(--k-gold); margin: 0; }
.k-hero__rule { width: 72px; height: 1px; background: var(--k-gold); margin: 34px 0; transform-origin: left; }
.k-hero__tag { font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.4vw, 34px); color: var(--k-ivory); margin: 0 0 44px; }
.k-hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.k-hero__visual { position: relative; justify-self: center; width: min(100%, 520px); }
.k-hero__halo {
  position: absolute; inset: 8% -10% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(198,166,103,.22), transparent 70%);
  filter: blur(20px); animation: kBreath 7s ease-in-out infinite;
}
@keyframes kBreath { 50% { transform: scale(1.06); opacity: .75; } }
.k-hero__frame { position: relative; aspect-ratio: 4 / 5; }
.k-hero__frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.k-hero__frame::before {
  content: ""; position: absolute; inset: -18px; border: 1px solid var(--k-line); pointer-events: none;
}
.k-hero__caption {
  position: absolute; right: -10px; bottom: 34px; writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--k-gold);
}

.k-scroll {
  position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 9.5px; letter-spacing: .4em; text-transform: uppercase; color: var(--k-muted-dark);
}
.k-scroll span { width: 1px; height: 46px; background: linear-gradient(var(--k-gold), transparent); position: relative; overflow: hidden; }
.k-scroll span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--k-ivory); animation: kDrip 2.4s var(--ease) infinite; }
@keyframes kDrip { to { top: 110%; } }

/* Hero intro sequence (runs once page has loaded) */
.k-hero [data-intro] { opacity: 0; transform: translateY(24px); transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out); }
.k-hero .k-hero__rule[data-intro] { transform: scaleX(0); }
.is-loaded .k-hero [data-intro] { opacity: 1; transform: none; }
.is-loaded .k-hero [data-intro="2"] { transition-delay: .15s; }
.is-loaded .k-hero [data-intro="3"] { transition-delay: .3s; }
.is-loaded .k-hero [data-intro="4"] { transition-delay: .45s; }
.is-loaded .k-hero [data-intro="5"] { transition-delay: .6s; }
.is-loaded .k-hero [data-intro="6"] { transition-delay: .4s; transition-duration: 2s; }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section) 0; }
.section--ivory { background: var(--k-ivory); color: var(--k-black); }
.section--charcoal { background: var(--k-charcoal); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(48px, 6vw, 84px); }
.section__head .h-lg { margin-top: 22px; }
.on-light .eyebrow { color: var(--k-gold-deep); }

/* Intro */
.k-intro__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.k-intro__statement { font-family: var(--f-serif); font-size: clamp(30px, 3.4vw, 52px); line-height: 1.2; margin: 26px 0 0; }
.k-intro__statement em { color: var(--k-gold-deep); }
.k-intro__body p { margin: 0 0 1.4em; }
.k-intro__body .lead { color: var(--k-black); opacity: .78; }
.k-intro__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 54px; border-top: 1px solid rgba(11,11,11,.14); }
.k-intro__stat { padding: 26px 18px 0 0; }
.k-intro__stat strong { display: block; font-family: var(--f-serif); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1; color: var(--k-black); }
.k-intro__stat span { display: block; margin-top: 10px; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--k-muted-light); }

/* Product cards (mirrors WooCommerce loop markup: ul.products > li.product) */
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); }
.product-card { position: relative; }
.product-card__media {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #111;
}
.product-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease-out), opacity .9s var(--ease);
}
.product-card__media .is-alt { opacity: 0; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card:hover .product-card__media .is-alt { opacity: 1; }
.product-card__media::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(198,166,103,0);
  transition: border-color .8s var(--ease), inset .8s var(--ease-out); pointer-events: none;
}
.product-card:hover .product-card__media::after { border-color: rgba(198,166,103,.55); inset: 18px; }
.product-card__badge {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase;
  padding: 7px 12px; border: 1px solid var(--k-line); background: rgba(11,11,11,.6); color: var(--k-gold);
}
.product-card__quick {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2;
  transform: translateY(16px); opacity: 0; transition: all .7s var(--ease-out);
}
.product-card:hover .product-card__quick, .product-card:focus-within .product-card__quick { transform: none; opacity: 1; }
.product-card__body { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 24px 2px 0; }
.product-card__title { font-family: var(--f-serif); font-size: 28px; letter-spacing: .14em; line-height: 1.1; }
.product-card__meta { margin-top: 6px; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--k-muted-dark); }
.product-card__price { font-family: var(--f-serif); font-size: 21px; color: var(--k-gold); white-space: nowrap; }
.product-card--soon .product-card__media img { filter: grayscale(.4) brightness(.65); }
.product-card--soon .product-card__title { color: var(--k-muted-dark); }

/* Featured product — INFINI (mirrors single-product: .woocommerce-product-gallery + .summary) */
.k-feature { overflow: hidden; }
.k-feature__bgword {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--f-serif); font-size: clamp(140px, 26vw, 420px); letter-spacing: .1em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(198,166,103,.07); white-space: nowrap; pointer-events: none;
}
.k-feature__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.k-gallery { display: grid; grid-template-columns: 84px 1fr; gap: 18px; }
.k-gallery__thumbs { display: flex; flex-direction: column; gap: 12px; }
.k-gallery__thumb { aspect-ratio: 4 / 5; border: 1px solid transparent; opacity: .5; transition: opacity .4s, border-color .4s; overflow: hidden; }
.k-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.k-gallery__thumb:hover { opacity: .85; }
.k-gallery__thumb[aria-current="true"] { opacity: 1; border-color: var(--k-gold); }
.k-gallery__main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.k-gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease), transform 1.6s var(--ease-out); }
.k-gallery__note {
  position: absolute; z-index: 2; left: 16px; bottom: 16px; max-width: calc(100% - 32px); line-height: 1.6;
  font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase;
  padding: 6px 10px; background: rgba(11,11,11,.7); border: 1px dashed var(--k-line); color: var(--k-gold);
}
.k-gallery__main img.is-leaving { opacity: 0; transform: scale(1.04); }

.summary .product_title { font-size: clamp(56px, 6vw, 92px); letter-spacing: .16em; font-weight: 300; margin: 22px 0 6px; }
.summary__sub { font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--k-muted-dark); }
.summary .price { display: block; font-family: var(--f-serif); font-size: 34px; color: var(--k-gold); margin: 30px 0 4px; }
.summary__tax { font-size: 12px; color: var(--k-muted-dark); }
.summary__desc { margin: 26px 0 34px; color: var(--k-muted-dark); max-width: 34em; }

.k-notes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--k-line); border-bottom: 1px solid var(--k-line); margin-bottom: 36px; }
.k-notes div { padding: 20px 16px 20px 0; }
.k-notes div + div { padding-left: 16px; border-left: 1px solid var(--k-line); }
.k-notes dt { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--k-gold); margin-bottom: 8px; }
.k-notes dd { margin: 0; font-family: var(--f-serif); font-size: 19px; }

form.cart { display: flex; gap: 14px; flex-wrap: wrap; }
.quantity { display: inline-flex; align-items: center; border: 1px solid rgba(246,242,234,.35); height: 54px; }
.quantity button { width: 46px; height: 100%; font-size: 18px; color: var(--k-ivory); transition: color .3s; }
.quantity button:hover { color: var(--k-gold); }
.quantity input { width: 44px; height: 100%; text-align: center; background: none; border: 0; -moz-appearance: textfield; }
.quantity input::-webkit-outer-spin-button, .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
form.cart .single_add_to_cart_button { flex: 1; min-width: 220px; }
.single_add_to_cart_button.is-added { color: var(--k-black); }

.k-accordion { margin-top: 38px; border-top: 1px solid var(--k-line); }
.k-accordion details { border-bottom: 1px solid var(--k-line); }
.k-accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
}
.k-accordion summary::-webkit-details-marker { display: none; }
.k-accordion summary::after { content: "+"; font-size: 20px; font-weight: 200; color: var(--k-gold); transition: transform .4s var(--ease); }
.k-accordion details[open] summary::after { transform: rotate(45deg); }
.k-accordion__body { padding: 0 0 24px; color: var(--k-muted-dark); font-size: 15px; }
.k-accordion__body ul { margin: 0; padding-left: 18px; }

/* Craftsmanship */
.k-craft__lead { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; margin-bottom: clamp(56px, 7vw, 100px); }
.k-craft__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2.4vw, 36px); }
.k-craft__item { position: relative; }
.k-craft__item--a { grid-column: 1 / span 7; }
.k-craft__item--b { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 220px); }
.k-craft__item--c { grid-column: 2 / span 4; margin-top: clamp(-40px, -4vw, -10px); }
.k-craft__item--d { grid-column: 7 / span 6; margin-top: clamp(40px, 6vw, 90px); }
.k-craft__img { overflow: hidden; aspect-ratio: 4 / 5; background: #111; }
.k-craft__item--a .k-craft__img, .k-craft__item--d .k-craft__img { aspect-ratio: 5 / 4; }
.k-craft__img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.k-craft__cap { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding-top: 22px; }
.k-craft__num { font-family: var(--f-serif); font-style: italic; color: var(--k-gold-deep); font-size: 20px; line-height: 1.3; }
.k-craft__cap h3 { font-size: 24px; margin-bottom: 6px; }
.k-craft__cap p { margin: 0; font-size: 14.5px; color: var(--k-muted-light); max-width: 30em; }

/* Philosophy */
.k-philo { text-align: center; overflow: hidden;
  background: radial-gradient(50% 60% at 50% 0%, rgba(198,166,103,.12), transparent 70%), var(--k-black); }
.k-philo__title { font-size: clamp(46px, 7vw, 110px); font-weight: 300; margin: 30px auto 34px; max-width: 12em; }
.k-philo .lead { margin: 0 auto; }
.k-pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--k-line); text-align: left; }
.k-pillar { padding: 42px clamp(18px, 3vw, 44px) 0; position: relative; }
.k-pillar + .k-pillar { border-left: 1px solid var(--k-line); }
.k-pillar__icon { width: 44px; height: 44px; color: var(--k-gold); margin-bottom: 26px; }
.k-pillar__icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1; }
.k-pillar h3 { font-size: 26px; margin-bottom: 12px; }
.k-pillar p { margin: 0; color: var(--k-muted-dark); font-size: 15px; }

/* Newsletter */
.k-news { padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid rgba(198,166,103,.1); }
.k-news__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.k-news__form { display: flex; border-bottom: 1px solid rgba(246,242,234,.4); transition: border-color .4s; }
.k-news__form:focus-within { border-color: var(--k-gold); }
.k-news__form input { flex: 1; min-width: 0; background: none; border: 0; padding: 18px 0; font-size: 16px; outline: none; }
.k-news__form input::placeholder { color: rgba(246,242,234,.45); }
.k-news__form button { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--k-gold); padding: 0 0 0 20px; display: inline-flex; align-items: center; gap: 10px; }
.k-news__form button svg { width: 22px; transition: transform .5s var(--ease-out); stroke: currentColor; fill: none; }
.k-news__form button:hover svg { transform: translateX(6px); }
.k-news__note { font-size: 12px; color: var(--k-muted-dark); margin-top: 16px; }
.k-news__msg { font-size: 13px; color: var(--k-gold); margin-top: 14px; min-height: 1.5em; }

/* Footer */
.k-footer { background: var(--k-black); padding: clamp(70px, 8vw, 110px) 0 34px; border-top: 1px solid rgba(198,166,103,.14); }
.k-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr; gap: clamp(28px, 3vw, 50px); }
.k-footer__brand p { color: var(--k-muted-dark); font-size: 14px; max-width: 22em; margin: 22px 0 0; }
.k-footer h4 { font-family: var(--f-sans); font-weight: 400; font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--k-gold); margin: 6px 0 22px; }
.k-footer ul { list-style: none; margin: 0; padding: 0; }
.k-footer li { margin-bottom: 11px; }
.k-footer li a, .k-footer address { font-size: 14px; color: var(--k-muted-dark); font-style: normal; transition: color .3s; }
.k-footer li a:hover { color: var(--k-ivory); }
.k-social { display: flex; gap: 10px; margin-top: 26px; }
.k-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--k-line); border-radius: 50%; color: var(--k-ivory); transition: all .4s var(--ease); }
.k-social a:hover { background: var(--k-gold); border-color: var(--k-gold); color: var(--k-black); }
.k-social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.k-footer__bottom { margin-top: clamp(56px, 7vw, 90px); padding-top: 26px; border-top: 1px solid rgba(246,242,234,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 12px; color: rgba(246,242,234,.45); }
.k-footer__word { font-family: var(--f-serif); font-size: clamp(80px, 19vw, 300px); letter-spacing: .3em; line-height: .8; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(198,166,103,.18); margin-top: clamp(50px, 6vw, 80px); padding-left: .3em; user-select: none; }

/* Toast (preview stand-in for WooCommerce added-to-cart notice) */
.k-toast {
  position: fixed; z-index: 90; right: 24px; bottom: 24px; max-width: 340px;
  background: var(--k-ivory); color: var(--k-black); padding: 18px 22px; border-left: 2px solid var(--k-gold);
  font-size: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.4);
  transform: translateY(30px); opacity: 0; visibility: hidden; transition: all .6s var(--ease-out);
}
.k-toast.is-visible { transform: none; opacity: 1; visibility: visible; }
.k-toast strong { font-family: var(--f-serif); font-size: 19px; font-weight: 500; display: block; }

/* Preview-only banner flagging placeholders */
.k-preview-flag {
  position: fixed; z-index: 95; left: 16px; bottom: 16px; max-width: calc(100vw - 32px);
  background: rgba(11,11,11,.92); border: 1px dashed var(--k-gold); color: var(--k-ivory);
  font-size: 11.5px; line-height: 1.5; padding: 10px 36px 10px 14px;
}
.k-preview-flag b { color: var(--k-gold); font-weight: 500; }
.k-preview-flag button { position: absolute; top: 6px; right: 10px; color: var(--k-gold); font-size: 16px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal-img { clip-path: inset(12% 0 12% 0); transition: clip-path 1.6s var(--ease-out); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.no-js .reveal, .no-js .reveal-img, .no-js .k-hero [data-intro] { opacity: 1; transform: none; clip-path: none; }
.no-js .k-loader { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .k-nav { display: none; }
  .k-burger { display: grid; }
  .k-header__inner { grid-template-columns: auto 1fr auto; }
  .k-header__inner .k-logo { grid-column: 2; justify-self: center; }
  .k-header__inner .k-burger { grid-column: 1; grid-row: 1; }
  .k-tools { grid-column: 3; }
  .k-tools .hide-sm { display: none; }
  .k-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .k-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .k-hero { padding-top: calc(var(--header-h) + 20px); }
  .k-hero__grid { grid-template-columns: 1fr; text-align: center; }
  .k-hero__copy { margin: 0 auto; }
  .k-hero__visual { order: -1; width: min(72vw, 360px); }
  .k-hero__rule { margin-left: auto; margin-right: auto; }
  .k-hero__ctas { justify-content: center; }
  .k-hero__caption { display: none; }
  .k-hero__title { margin-left: 0; font-size: clamp(76px, 22vw, 150px); padding-left: .14em; margin-top: 10px; }
  .k-scroll { display: none; }
  .k-intro__grid, .k-feature__grid, .k-craft__lead, .k-news__grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr 1fr; }
  .k-collection .products li:nth-child(3) { display: none; }
  .k-craft__grid { grid-template-columns: 1fr 1fr; }
  .k-craft__item { grid-column: auto !important; margin-top: 0 !important; }
  .k-craft__item--a, .k-craft__item--d { grid-column: 1 / -1 !important; }
  .k-pillars { grid-template-columns: 1fr; }
  .k-pillar + .k-pillar { border-left: 0; border-top: 1px solid var(--k-line); }
  .k-pillar { padding-bottom: 42px; }
  .section__head { flex-direction: column; align-items: start; }
}
@media (max-width: 600px) {
  .k-logo .k-logo__k { height: 32px; }
  .k-logo .k-logo__wm { height: 14px; }
  .k-hero__ctas .btn { flex: 1 1 100%; }
  .products { grid-template-columns: 1fr; }
  .k-collection .products li:nth-child(3) { display: block; }
  .product-card__quick { opacity: 1; transform: none; position: static; margin-top: 16px; }
  .product-card__quick .btn { width: 100%; }
  .k-gallery { grid-template-columns: 1fr; }
  .k-gallery__thumbs { flex-direction: row; order: 2; }
  .k-gallery__thumb { width: 70px; }
  .k-notes { grid-template-columns: 1fr; }
  .k-notes div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--k-line); }
  .k-craft__grid { grid-template-columns: 1fr; }
  .k-intro__stats { grid-template-columns: 1fr 1fr 1fr; }
  .k-footer__grid { grid-template-columns: 1fr 1fr; }
  .k-footer__contact { grid-column: 1 / -1; }
  .k-toast { left: 16px; right: 16px; bottom: 96px; max-width: none; }
  .k-announce { font-size: 9.5px; letter-spacing: .22em; padding: 9px 12px; }
  .k-announce .hide-xs { display: none; }
  .k-hero { padding-bottom: 56px; }
  .k-hero__visual { width: min(48vw, 210px); }
  .k-hero__frame::before { inset: -10px; }
  .k-hero__title { font-size: clamp(64px, 20vw, 96px); margin-bottom: 12px; }
  .k-hero__rule { margin: 22px auto; }
  .k-hero__tag { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; }
}
