/*
Theme Name: GD Bespoke
Theme URI: https://bestchiangmaitailor.com/
Author: GD Bespoke Tailor
Description: A lightweight, editorial WordPress theme for GD Bespoke Tailor in Chiang Mai.
Version: 0.5.7
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: gd-bespoke
*/

:root {
  --ivory: #f3efe7;
  --paper: #fbf9f4;
  --ink: #11181d;
  --navy: #081820;
  --navy-soft: #122c36;
  --gold: #8b5f2c;
  --gold-light: #e0c59d;
  --muted: #62686a;
  --line: rgba(8, 24, 32, 0.17);
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(13, 29, 43, 0.13);
  --display: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: min(1240px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open {
  position: fixed;
  top: var(--gd-menu-scroll-offset, 0);
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
body.nav-open .site-shell { overflow: visible; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: fixed !important;
  top: 12px;
  left: 12px;
  z-index: 1001;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--white);
  background: var(--navy);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
}
.skip-link:focus { top: 16px; }

.site-shell { min-height: 100vh; overflow: clip; }
.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: linear-gradient(180deg, rgba(3, 12, 17, .88), rgba(3, 12, 17, .05));
  backdrop-filter: blur(8px);
}
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}
.admin-bar .site-header { top: 32px; }
.header-inner {
  width: var(--container);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(219, 200, 158, 0.68);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.08em;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: 0.035em; white-space: nowrap; }
.brand-copy span { color: var(--gold-light); font-size: 10px; letter-spacing: 0.19em; text-transform: uppercase; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(17px, 1.65vw, 26px); margin: 0; padding: 0; list-style: none; }
.primary-nav a { position: relative; color: rgba(255,255,255,.96); font-size: 13px; font-weight: 700; letter-spacing: 0.055em; text-decoration: none; }
.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold-light);
  content: "";
  opacity: 0;
  transform: scaleX(.4);
  transition: .25s ease;
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav .current-menu-item a::after { opacity: 1; transform: scaleX(1); }
.primary-nav li:last-child a {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid rgba(219,200,158,.68);
  color: var(--gold-light);
}
.primary-nav li:last-child a::after { display: none; }
.menu-toggle {
  display: none;
  min-width: 48px;
  min-height: 48px;
  padding: 9px 12px;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}
.menu-toggle > span[aria-hidden="true"] {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transform-origin: center;
  transition: opacity .2s ease, transform .25s ease;
}

.container { width: var(--container); margin-inline: auto; }
.section { padding: clamp(76px, 10vw, 132px) 0; }
.section-compact { padding: clamp(50px, 7vw, 84px) 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before { width: 30px; height: 1px; background: currentColor; content: ""; }
h1, h2, h3 { margin: 0 0 .6em; font-family: var(--display); font-weight: 700; line-height: .98; text-wrap: balance; }
h1 { font-size: clamp(54px, 8.7vw, 126px); letter-spacing: -.058em; }
h2 { font-size: clamp(38px, 5.2vw, 72px); letter-spacing: -.045em; }
h3 { font-size: clamp(25px, 3vw, 38px); letter-spacing: -.025em; }
p { margin: 0 0 1.2em; }
.lede { max-width: 700px; color: #394044; font-family: var(--sans); font-size: clamp(20px, 2vw, 27px); font-weight: 500; line-height: 1.45; letter-spacing: -.018em; }
.small-print { color: var(--muted); font-size: 13px; }
.text-link { color: var(--navy); font-weight: 700; letter-spacing: .03em; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--navy);
  color: var(--white);
  background: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .28s ease, background .28s ease, color .28s ease, border-color .28s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--navy-soft); }
.button-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.button-outline:hover, .button-outline:focus-visible { color: var(--white); background: var(--navy); }
.button-light { border-color: var(--gold-light); color: var(--navy); background: var(--gold-light); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--navy);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { z-index: 1; object-position: center 52%; }
.hero-poster { z-index: 0; object-position: center 52%; }
.hero-fallback {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 72% 28%, rgba(180,147,88,.34), transparent 30%),
    linear-gradient(135deg, #07121d 0%, #122d42 48%, #07121d 100%);
}
.hero-fallback::after {
  position: absolute;
  inset: 8% 5% 7% 56%;
  border: 1px solid rgba(219,200,158,.24);
  content: "GD";
  display: grid;
  place-items: center;
  color: rgba(219,200,158,.12);
  font-family: var(--serif);
  font-size: min(24vw, 330px);
}
.hero::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(90deg, rgba(3,10,14,.86) 0%, rgba(3,10,14,.51) 48%, rgba(3,10,14,.25) 72%, rgba(3,10,14,.46) 100%), linear-gradient(0deg, rgba(3,10,14,.78), transparent 48%); }
.hero-content { width: var(--container); margin-inline: auto; padding: clamp(150px, 22vh, 230px) 0 40px; }
.hero-copy { max-width: 1020px; }
.hero-brandline { display: block; margin: -.08em 0 .72em; color: var(--white); font-size: clamp(24px, 3.2vw, 48px); font-weight: 700; letter-spacing: .025em; line-height: 1.08; }
.hero h1 { max-width: 1040px; margin-top: .18em; margin-bottom: .28em; }
.hero p { max-width: 620px; color: rgba(255,255,255,.88); font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.015em; }
.hero .hero-offer { margin-top: 25px; color: var(--gold-light); font-size: clamp(16px, 1.5vw, 21px); font-weight: 700; letter-spacing: .055em; }
.hero-offer strong { color: var(--white); font-size: 1.28em; }
.hero .button { font-size: 13px; letter-spacing: .065em; text-transform: none; }
.hero .eyebrow { color: var(--gold-light); }
.hero .button-outline { border-color: rgba(255,255,255,.75); color: var(--white); }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(58px, 11vh, 118px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.36);
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-video-toggle {
  position: absolute;
  right: max(24px, calc((100vw - min(1240px, calc(100vw - 64px))) / 2));
  top: 106px;
  z-index: 3;
  display: inline-flex;
  width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  color: var(--white);
  background: rgba(3,10,14,.58);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.hero-video-toggle:hover, .hero-video-toggle:focus-visible { background: rgba(3,10,14,.88); }

.intro-grid, .split, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px, 8vw, 104px); align-items: center; }
.editorial-card {
  position: relative;
  min-height: 540px;
  padding: clamp(28px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}
.editorial-card::before { position: absolute; inset: 0; content: ""; background: linear-gradient(145deg, rgba(180,147,88,.2), transparent 60%); }
.editorial-card > * { position: relative; }
.editorial-card p { max-width: 440px; color: rgba(255,255,255,.76); }

.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--paper); }
.collection-link {
  position: relative;
  min-height: min(780px, 76vw);
  padding: clamp(30px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: #0a1820;
  text-decoration: none;
  overflow: hidden;
}
.collection-link::before { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(180deg, rgba(3,10,14,.08) 22%, rgba(3,10,14,.82) 88%); transition: background .5s ease; }
.collection-link:hover::before, .collection-link:focus-visible::before { background: linear-gradient(180deg, rgba(3,10,14,.02) 16%, rgba(3,10,14,.9) 91%); }
.collection-media { position: absolute; inset: 0; }
.collection-media img, .collection-media .media-placeholder { width: 100%; height: 100%; min-height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.collection-link:hover .collection-media img, .collection-link:focus-visible .collection-media img { transform: scale(1.035); }
.collection-content { position: relative; z-index: 2; display: block; }
.collection-index { color: var(--gold-light); font-size: 12px; letter-spacing: .18em; }
.collection-link h2 { max-width: 560px; margin-top: .3em; font-size: clamp(42px, 5.3vw, 76px); }
.collection-link p { max-width: 490px; color: rgba(255,255,255,.82); }
.collection-cta { display: inline-flex; gap: 12px; align-items: center; margin-top: 16px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.58); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.band { color: var(--white); background: var(--navy); }
.band .lede { color: rgba(255,255,255,.78); }
.band .eyebrow { color: var(--gold-light); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 54px; background: rgba(255,255,255,.15); }
.stat { padding: 34px; background: var(--navy); }
.stat strong { display: block; color: var(--gold-light); font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); font-weight: 400; }
.stat span { color: rgba(255,255,255,.7); font-size: 13px; }

.process-grid, .service-grid, .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.process-card, .service-card, .product-card { padding: clamp(28px, 3vw, 42px); border: 1px solid var(--line); background: rgba(255,255,255,.42); }
.process-card .number { display: block; margin-bottom: 18px; color: var(--gold); font-family: var(--serif); font-size: 27px; }
.process-visual { height: 88px; margin: 0 0 26px; color: var(--gold); }
.process-visual svg { width: 120px; height: 90px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.process-card h3, .service-card h3, .product-card h3 { font-size: 28px; }
.process-card p, .service-card p, .product-card p { color: var(--muted); }
.product-card { min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg, var(--paper), #ece4d5); }

.collection-card-grid { align-items: stretch; }
.product-card.collection-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  min-height: 530px;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  color: var(--white);
  background: #07141c;
  box-shadow: 0 24px 64px rgba(13,29,43,.15);
  text-decoration: none;
  overflow: hidden;
  transform: translateY(0);
  transition: transform .38s cubic-bezier(.2,.7,.2,1), box-shadow .38s ease;
}
.collection-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(3,10,14,.22) 0%, rgba(3,10,14,.26) 34%, rgba(3,10,14,.82) 67%, rgba(3,10,14,.98) 100%);
  transition: background .38s ease;
}
.collection-card::after { position: absolute; inset: 0; z-index: 3; content: ""; border: 1px solid rgba(255,255,255,.16); pointer-events: none; }
.collection-card-media, .collection-card-media picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.collection-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; transition: transform .75s cubic-bezier(.2,.7,.2,1); }
.collection-card--portrait-top .collection-card-media img { object-position: 50% 28%; }
.collection-card--portrait-center .collection-card-media img { object-position: 50% 52%; }
.collection-card--portrait-lower .collection-card-media img { object-position: 50% 62%; }
.collection-card--landscape-right .collection-card-media img { object-position: 68% 50%; }
.collection-card--landscape-center .collection-card-media img { object-position: 54% 50%; }
.collection-card-content { position: relative; z-index: 2; min-height: 100%; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; }
.collection-card-label { margin-bottom: 14px; color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.product-card.collection-card h3 { max-width: 12ch; margin: 0 0 14px; color: var(--white); font-size: clamp(31px, 3vw, 42px); line-height: 1; text-wrap: balance; }
.product-card.collection-card p { margin: 0; color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.62; }
.collection-card-cta { min-height: 44px; margin-top: 20px; display: inline-flex; gap: 10px; align-items: center; align-self: flex-start; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.68); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.collection-card-cta span { transition: transform .3s ease; }
.collection-card:hover, .collection-card:focus-visible { color: var(--white); transform: translateY(-5px); box-shadow: 0 32px 76px rgba(13,29,43,.24); }
.collection-card:hover::before, .collection-card:focus-visible::before { background: linear-gradient(180deg, rgba(3,10,14,.15) 0%, rgba(3,10,14,.24) 30%, rgba(3,10,14,.86) 65%, rgba(3,10,14,.99) 100%); }
.collection-card:hover .collection-card-media img, .collection-card:focus-visible .collection-card-media img { transform: scale(1.045); }
.collection-card:hover .collection-card-cta span, .collection-card:focus-visible .collection-card-cta span { transform: translate(4px, 2px); }
.collection-card:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.editorial-look-card[id] { scroll-margin-top: 110px; }

.collection-showcase { background: var(--paper); }
.collection-group-header { max-width: 900px; margin-bottom: clamp(48px, 7vw, 86px); }
.collection-group + .collection-group { margin-top: clamp(80px, 10vw, 132px); padding-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); }
.collection-group-intro { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 24px 58px; align-items: end; margin-bottom: 38px; }
.collection-group-intro .editorial-look-kicker { grid-column: 1 / -1; }
.collection-group-intro h3 { margin-bottom: 0; font-size: clamp(34px, 4.4vw, 58px); }
.collection-group-intro p { max-width: 650px; margin: 0; color: var(--muted); }
.editorial-look-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
.editorial-look-card { min-width: 0; border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 55px rgba(13, 29, 43, .07); }
.editorial-look-media { position: relative; margin: 0; aspect-ratio: 2 / 3; overflow: hidden; background: #d7d0c5; }
.editorial-look-media picture { display: block; width: 100%; height: 100%; }
.editorial-look-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s cubic-bezier(.2,.7,.2,1); }
.editorial-look-card:hover .editorial-look-media img { transform: scale(1.025); }
.editorial-look-body { padding: clamp(24px, 3vw, 38px); }
.editorial-look-body h3 { margin-top: 10px; font-size: clamp(26px, 2.7vw, 36px); }
.editorial-look-body p { color: var(--muted); }
.editorial-look-kicker { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.editorial-look-body .editorial-disclosure { margin: 24px 0 18px; padding-top: 18px; border-top: 1px solid var(--line); color: #726550; font-size: 11px; font-weight: 700; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.editorial-look-link { display: inline-flex; min-height: 44px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }

.quote-panel { padding: clamp(48px, 8vw, 100px); border: 1px solid var(--line); background: var(--paper); }
.quote-panel blockquote { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 54px); line-height: 1.25; }
.quote-panel cite { display: block; margin-top: 30px; color: var(--muted); font-style: normal; }

.fabric-editorial { background: var(--paper); }
.review-section { background: #eee7db; }
.social-editorial { background: var(--paper); }
.social-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.social-grid a { display: block; min-height: 420px; overflow: hidden; background: var(--navy); }
.social-grid img, .social-grid .media-placeholder { width: 100%; height: 100%; min-height: 420px; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.social-grid a:hover img, .social-grid a:focus-visible img { transform: scale(1.035); }

.page-hero { position: relative; min-height: min(760px, 92svh); padding: clamp(150px, 16vw, 210px) 0 clamp(72px, 9vw, 110px); display: grid; align-items: end; color: var(--white); background: var(--navy); overflow: hidden; }
.page-hero::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 82% 24%, rgba(169,120,61,.29), transparent 31%); }
.page-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr); gap: clamp(48px, 8vw, 112px); align-items: end; }
.page-hero-copy { position: relative; z-index: 2; }
.page-hero-media { position: absolute; inset: -90px 0 -110px auto; width: 45%; opacity: .68; }
.page-hero-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, var(--navy), transparent 52%), linear-gradient(0deg, var(--navy), transparent 34%); }
.page-hero-media img, .page-hero-media .media-placeholder { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.page-hero h1 { max-width: 950px; font-size: clamp(52px, 8vw, 98px); }
.page-hero p { max-width: 700px; color: rgba(255,255,255,.74); font-size: 20px; }
.page-hero .eyebrow { color: var(--gold-light); }
.breadcrumb { margin-bottom: 44px; color: rgba(255,255,255,.62); font-size: 12px; letter-spacing: .06em; }
.breadcrumb a { color: var(--gold-light); }
.content-prose { max-width: 820px; }
.content-prose h2 { margin-top: 1.55em; font-size: clamp(34px, 4vw, 52px); line-height: 1.04; }
.content-prose h3 { margin-top: 1.65em; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; }
.content-prose p, .content-prose li { color: #44484a; }
.content-prose > p:first-of-type:not(.small-print) { color: var(--ink); font-family: var(--serif); font-size: clamp(21px, 2.1vw, 27px); line-height: 1.5; }
.content-prose ul, .content-prose ol { margin: 0 0 1.7em; padding-left: 1.35em; }
.content-prose li + li { margin-top: .55em; }
.content-prose blockquote { margin: 2.5em 0; padding: 30px clamp(24px, 4vw, 46px); border-left: 2px solid var(--gold); background: var(--paper); font-family: var(--serif); font-size: clamp(21px, 2.2vw, 29px); line-height: 1.45; }
.content-prose blockquote p { margin: 0; color: var(--ink); }
.content-prose hr { margin: 3.2em 0; border: 0; border-top: 1px solid var(--line); }
.content-prose table { width: 100%; margin: 2em 0; border-collapse: collapse; border: 1px solid var(--line); background: var(--paper); font-size: 15px; }
.content-prose th, .content-prose td { padding: 15px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.content-prose th { color: var(--navy); background: #e9e1d4; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.content-prose .visual-frame { width: min(1100px, calc(100vw - 32px)); min-height: 0; aspect-ratio: 3 / 2; margin: clamp(42px, 7vw, 72px) 50% clamp(46px, 7vw, 78px); transform: translateX(-50%); box-shadow: var(--shadow); }
.content-prose .visual-frame picture { display: block; width: 100%; height: 100%; }
.content-prose .visual-frame img { width: 100%; height: 100%; object-fit: cover; }

.journal-hero { min-height: min(650px, 84svh); }
.journal-index, .home-journal { background: var(--paper); }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); margin-top: 50px; }
.journal-card { min-width: 0; border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 52px rgba(13, 29, 43, .075); transition: transform .35s ease, box-shadow .35s ease; }
.journal-card:hover { transform: translateY(-5px); box-shadow: 0 26px 68px rgba(13, 29, 43, .13); }
.journal-card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy); text-decoration: none; }
.journal-card-media img, .journal-card-media .media-placeholder { width: 100%; height: 100%; min-height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.journal-card:hover .journal-card-media img { transform: scale(1.035); }
.journal-card-body { padding: clamp(25px, 3vw, 38px); }
.journal-card-body h2 { margin: .65em 0 .5em; font-size: clamp(25px, 2.45vw, 34px); line-height: 1.08; }
.journal-card-body h2 a { text-decoration: none; }
.journal-card-excerpt { color: var(--muted); }
.journal-card-excerpt p { margin-bottom: 1.15em; }
.journal-grid-compact .journal-card-body h2 { font-size: clamp(23px, 2.2vw, 30px); }
.journal-intro-panel { max-width: 820px; margin-top: 44px; padding: clamp(28px, 4vw, 46px); border-left: 2px solid var(--gold); background: var(--ivory); }
.journal-intro-panel p { margin: 0; color: var(--muted); font-size: 18px; }
.nav-links { display: flex; justify-content: center; gap: 12px; margin-top: 50px; }
.nav-links .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.nav-links .current, .nav-links a:hover { color: var(--white); background: var(--navy); }

.article-hero { padding: clamp(150px, 16vw, 210px) 0 clamp(72px, 9vw, 112px); color: var(--white); background: var(--navy); }
.article-hero-inner { max-width: 1080px; }
.article-hero h1 { max-width: 1020px; font-size: clamp(48px, 7vw, 96px); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-hero .article-meta { color: rgba(255,255,255,.66); }
.article-featured-media { margin-top: clamp(-70px, -4vw, -44px); position: relative; z-index: 2; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.article-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(230px, 300px); gap: clamp(52px, 8vw, 108px); align-items: start; padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(86px, 11vw, 140px); }
.article-body { min-width: 0; }
.article-aside { position: sticky; top: 112px; padding: 30px; border-top: 2px solid var(--gold); background: var(--paper); }
.article-aside .button { width: 100%; margin-top: 16px; }
.related-articles { background: #e9e1d4; }
.journal-card-text .journal-card-body { height: 100%; display: flex; flex-direction: column; }
.journal-card-text .text-link { margin-top: auto; }

.fact-panel { padding: 34px; border-left: 2px solid var(--gold); background: var(--paper); }
.fact-panel dl { margin: 0; }
.fact-panel dt { margin-top: 22px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.fact-panel dt:first-child { margin-top: 0; }
.fact-panel dd { margin: 4px 0 0; }

.form-card { padding: clamp(30px, 5vw, 56px); background: var(--paper); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input[type="checkbox"] { width: auto; min-height: 0; accent-color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.field-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.field-error { min-height: 1.35em; color: #8a2424; font-size: 13px; font-weight: 700; }
.iti { width: 100%; }
.iti__selected-country-primary { min-height: 50px; }
.form-notice { padding: 16px 18px; border-left: 2px solid var(--gold); background: #f0e7d3; color: #4b4438; font-size: 14px; }
.form-notice-success { border-color: #32765d; background: #e7f2ed; color: #214f3f; }
.form-notice-error { border-color: #a74040; background: #f7e9e9; color: #742c2c; }
.form-status { min-height: 24px; margin-top: 18px; font-weight: 700; }

.visual-frame, .media-placeholder, .map-placeholder, .map-embed { min-height: 520px; }
.media-placeholder, .map-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: rgba(255,255,255,.72);
  background:
    linear-gradient(135deg, rgba(180,147,88,.18), transparent 45%),
    var(--navy);
  text-align: center;
}
.media-placeholder span, .map-placeholder span { padding: 22px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.map-embed {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e5e0d7;
  box-shadow: var(--shadow);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}
.visual-stack { position: relative; min-height: 680px; }
.visual-frame { position: absolute; margin: 0; overflow: hidden; background: var(--navy); box-shadow: var(--shadow); }
.visual-frame-primary { inset: 0 17% 12% 0; }
.visual-frame-secondary { right: 0; bottom: 0; z-index: 2; width: 42%; min-height: 290px; border: 8px solid var(--ivory); }
.visual-frame-static { position: relative; min-height: 560px; }
.visual-frame img { width: 100%; min-height: 100%; height: 100%; object-fit: cover; }
.visual-frame figcaption { position: absolute; left: 18px; bottom: 18px; padding: 8px 11px; color: var(--white); background: rgba(3,10,14,.72); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.studio-story { overflow: hidden; }

.cta-strip { padding: clamp(64px, 10vw, 112px) 0; color: var(--white); background: var(--navy); }
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.cta-inner h2 { max-width: 750px; margin-bottom: 0; }

.site-footer { color: rgba(255,255,255,.75); background: #07121d; }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; padding: 76px 0 58px; }
.footer-brand p { max-width: 420px; margin-top: 20px; }
.footer-title { margin: 0 0 18px; color: var(--gold-light); font-size: 11px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 9px; }
.footer-links a { text-decoration: none; }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 30px; color: rgba(255,255,255,.5); font-size: 12px; }

.contact-actions { align-items: stretch; }
.contact-actions .button { flex: 1 1 180px; }

.floating-contact {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  justify-items: end;
  gap: 12px;
  transition: opacity .2s ease, visibility .2s ease;
}
.floating-contact-panel {
  width: min(330px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid rgba(224,197,157,.72);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 22px 70px rgba(3,10,14,.28);
}
.floating-contact-heading { padding: 13px 14px 15px; border-bottom: 1px solid var(--line); }
.floating-contact-heading span { display: block; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.floating-contact-heading strong { display: block; margin-top: 3px; color: var(--navy); font-size: 18px; }
.floating-contact-action {
  min-height: 64px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  color: var(--navy);
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.floating-contact-action + .floating-contact-action { border-top: 1px solid var(--line); }
.floating-contact-action:hover, .floating-contact-action:focus-visible { color: var(--white); background: var(--navy); transform: translateX(-2px); }
.floating-contact-action svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
  fill: currentColor;
}
.floating-contact-action span { min-width: 0; display: grid; }
.floating-contact-action strong { font-size: 14px; letter-spacing: .035em; }
.floating-contact-action small { overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }
.floating-contact-action:hover small, .floating-contact-action:focus-visible small { color: rgba(255,255,255,.78); }
.floating-contact-toggle {
  min-width: 58px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 42px rgba(3,10,14,.3);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.floating-contact-toggle:hover, .floating-contact-toggle:focus-visible, .floating-contact-toggle[aria-expanded="true"] { color: var(--navy); background: var(--gold-light); transform: translateY(-2px); }
.floating-contact-toggle svg { width: 24px; height: 24px; fill: currentColor; }
body.nav-open .floating-contact { visibility: hidden; opacity: 0; pointer-events: none; }

.js [data-reveal].reveal-pending { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.process-grid [data-reveal]:nth-child(2) { transition-delay: .08s; }
.process-grid [data-reveal]:nth-child(3) { transition-delay: .16s; }

@media (max-width: 1180px) {
  .collection-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .site-header {
    z-index: 1000;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  body.nav-open .site-header { position: fixed; background: var(--navy); }
  .brand, .js .menu-toggle { position: relative; z-index: 1003; }
  .js .menu-toggle { display: block; }
  .nav-open .menu-toggle > span[aria-hidden="true"]:nth-of-type(2) { transform: translateY(12px) rotate(45deg); }
  .nav-open .menu-toggle > span[aria-hidden="true"]:nth-of-type(3) { opacity: 0; }
  .nav-open .menu-toggle > span[aria-hidden="true"]:nth-of-type(4) { transform: translateY(-12px) rotate(-45deg); }
  .js .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    min-height: 100vh;
    min-height: 100dvh;
    padding: max(112px, calc(96px + env(safe-area-inset-top))) max(24px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    color: var(--white);
    background-color: #081820;
    background-image: linear-gradient(160deg, #081820 0%, #0b2029 100%);
    transform: translateY(-10px);
    transition: visibility 0s linear .25s, opacity .25s ease, transform .25s ease;
    -webkit-overflow-scrolling: touch;
    isolation: isolate;
  }
  .js .nav-open .primary-nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .primary-nav ul {
    width: min(100%, 520px);
    min-height: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(6px, 1.6vh, 16px);
    margin-inline: auto;
  }
  .primary-nav li { width: 100%; }
  .primary-nav a {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 3px 0;
    font-family: var(--display);
    font-size: clamp(23px, 6.7vw, 30px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.025em;
  }
  .primary-nav li:last-child a { justify-content: center; margin-top: 4px; padding: 10px 14px; text-align: center; }
  .intro-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .process-grid, .service-grid, .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card.collection-card { min-height: 520px; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; max-width: 620px; }
  .editorial-look-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { width: 64%; opacity: .48; }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 32px, 1180px); }
  .admin-bar .site-header { top: 46px; }
  .brand-copy span { display: none; }
  .site-header { position: absolute; }
  body.nav-open .site-header { position: fixed; }
  .header-inner { min-height: 72px; }
  .js .primary-nav { padding-top: max(96px, calc(82px + env(safe-area-inset-top))); }
  .admin-bar .primary-nav { padding-top: max(142px, calc(128px + env(safe-area-inset-top))); }
  .hero { min-height: 100svh; }
  .hero-content { padding-top: 150px; padding-bottom: 26px; }
  .hero h1 { font-size: clamp(46px, 14vw, 70px); line-height: .94; }
  .hero-brandline { margin-top: 0; font-size: clamp(24px, 8vw, 34px); }
  .hero p { max-width: 92%; font-size: 17px; }
  .hero::after { background: linear-gradient(90deg, rgba(3,10,14,.81), rgba(3,10,14,.3)), linear-gradient(0deg, rgba(3,10,14,.9), transparent 57%); }
  .hero-media video, .hero-poster { object-position: center center; }
  .hero-fallback::after { inset: 20% -5% 16% 38%; font-size: 60vw; }
  .hero-facts { grid-template-columns: 1fr; gap: 6px; margin-top: 54px; padding-top: 16px; }
  .hero-video-toggle { top: 90px; right: 16px; }
  .collection-grid, .process-grid, .service-grid, .product-grid, .form-grid, .stat-row { grid-template-columns: 1fr; }
  .product-card.collection-card { min-height: 540px; aspect-ratio: auto; }
  .collection-card-content { padding: 28px; }
  .product-card.collection-card h3 { font-size: clamp(32px, 10vw, 42px); }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-hero { min-height: 620px; }
  .article-hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .content-prose .visual-frame { width: 100%; margin-inline: 0; transform: none; }
  .content-prose table { display: block; overflow-x: auto; }
  .collection-group-intro, .editorial-look-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .social-grid a, .social-grid img, .social-grid .media-placeholder { min-height: 460px; }
  .collection-link { min-height: 610px; padding-bottom: 44px; }
  .collection-link h2 { font-size: 46px; }
  .stat-row { gap: 0; }
  .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .field-full { grid-column: auto; }
  .visual-frame, .media-placeholder, .map-placeholder, .map-embed { min-height: 390px; }
  .map-embed iframe { height: 390px; }
  .visual-stack { min-height: 540px; }
  .visual-frame-primary { right: 8%; bottom: 10%; }
  .visual-frame-secondary { width: 46%; min-height: 220px; border-width: 6px; }
  .page-hero { min-height: 680px; padding-top: 132px; }
  .page-hero-media { inset: -60px -30% -110px auto; width: 110%; }
  .site-footer { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .floating-contact { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .floating-contact-toggle { width: 56px; min-width: 56px; height: 56px; min-height: 56px; padding: 0; }
  .floating-contact-toggle-label { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-media video, .hero-video-toggle { display: none; }
  .js [data-reveal].reveal-pending { opacity: 1; transform: none; }
  .collection-card:hover, .collection-card:focus-visible, .collection-card:hover .collection-card-media img, .collection-card:focus-visible .collection-card-media img, .collection-card:hover .collection-card-cta span, .collection-card:focus-visible .collection-card-cta span, .floating-contact-action:hover, .floating-contact-action:focus-visible, .floating-contact-toggle:hover, .floating-contact-toggle:focus-visible, .floating-contact-toggle[aria-expanded="true"] { transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-strip, .button, .floating-contact { display: none !important; }
  body { color: #000; background: #fff; }
}
