/*
Theme Name: 9C Portfolio
Theme URI: https://9c.avlong.io
Author: 9C
Author URI: https://9c.avlong.io
Description: Editorial performance portfolio for 9C — precision-built RC crawler engineering. Full-bleed imagery, scroll-driven horizontal storytelling, asymmetric editorial layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nine-c
Tags: portfolio, one-column, full-width-template, custom-colors, accessibility-ready
*/

:root {
  --ink: #111111;
  --paper: #f0efe9;
  --white: #fafaf7;
  --red: #e30620;
  --line: rgba(17, 17, 17, 0.25);
  --gutter: clamp(20px, 3.15vw, 64px);
  --header-h: 92px;
  --ease: cubic-bezier(.2, .72, .2, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
body.menu-open .site-header { mix-blend-mode: normal; }

img { display: block; width: 100%; }
/* Phải đứng sau: `img { display:block }` của author thắng `display:none` mà UA gán cho
   attribute [hidden] → không có dòng này thì stage.hidden = true không có tác dụng. */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

::selection { color: var(--white); background: var(--red); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.loader {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  padding: var(--gutter);
  color: var(--white);
  background: var(--ink);
  transition: transform .9s var(--ease), visibility 0s .9s;
}

.loader.is-complete { transform: translateY(-101%); visibility: hidden; }
.loader__brand { align-self: center; font-size: clamp(7rem, 25vw, 30rem); font-weight: 800; line-height: .7; letter-spacing: -.1em; }
.loader__brand sup { color: var(--red); font-size: .07em; letter-spacing: 0; vertical-align: top; }
.loader__progress { align-self: end; width: min(46vw, 680px); height: 1px; margin-right: 3vw; overflow: hidden; background: #444; }
.loader__progress span { display: block; width: 0; height: 100%; background: var(--red); }
.loader__number { align-self: end; font-size: clamp(2rem, 4vw, 5rem); font-variant-numeric: tabular-nums; line-height: .8; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: var(--header-h);
  padding: 0 var(--gutter);
  color: var(--white);
  mix-blend-mode: difference;
}

/* Logo là SIBLING của .site-header (xem chú thích trong header.php) nên nằm
   ngoài nhóm blend → giữ đúng màu thương hiệu, chữ C luôn đỏ.
   .brand-slot chỉ để giữ ô lưới thứ nhất cho header. */
.brand { position: fixed; z-index: 103; top: 0; left: var(--gutter); display: flex; align-items: center; width: 82px; height: var(--header-h); }
.brand img { height: 38px; object-fit: contain; object-position: left center; }
.brand-slot { width: 82px; }
.header__meta { justify-self: center; text-align: center; font-size: 10px; font-weight: 600; letter-spacing: .16em; line-height: 1.4; }
.menu-toggle { position: relative; z-index: 102; justify-self: end; width: 96px; height: 42px; padding: 0; border: 0; color: inherit; background: none; cursor: pointer; text-transform: uppercase; font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.menu-toggle span { position: absolute; left: 0; top: 12px; transition: opacity .25s; }
.menu-toggle i { position: absolute; right: 0; width: 28px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle i:nth-of-type(1) { top: 16px; }
.menu-toggle i:nth-of-type(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-of-type(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-of-type(2) { top: 21px; transform: rotate(-45deg); }

.site-menu {
  position: fixed;
  z-index: 101;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 34px var(--gutter) 28px;
  color: var(--white);
  background: var(--ink);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-3%);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}

.site-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu__top, .menu__bottom { display: flex; justify-content: space-between; padding-left: min(22vw, 360px); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
/* Nút đóng (X) là .menu-toggle position:fixed rộng 82px nằm đè lên góc phải
   của overlay — chừa chỗ để "9C / 2026" không bị X vẽ chồng lên và không
   nằm dưới vùng bấm của nút. */
.menu__top { padding-right: 114px; }
.menu__links { align-self: center; margin-left: min(11vw, 180px); }
/* padding-right must stay >= the hover translate below, so the slid text keeps
   the pointer inside the link box instead of flickering in and out of :hover. */
.menu__links a { display: grid; grid-template-columns: min(10vw, 130px) auto; align-items: baseline; width: max-content; padding-right: 2.5vw; }
.menu__links small { color: #777; font-size: 11px; }
.menu__links span { font-size: clamp(3.2rem, 8vw, 9rem); font-weight: 500; letter-spacing: -.07em; line-height: .92; padding-bottom: .08em; transition: color .25s, transform .4s var(--ease); }
.menu__links a:hover span, .menu__links a:focus-visible span { color: var(--red); transform: translateX(2vw); }
.menu__bottom { align-items: end; border-top: 1px solid #3b3b3b; padding-top: 24px; }

.section-pad { padding: clamp(110px, 13vw, 260px) var(--gutter); }
.section-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.display-title { margin: clamp(50px, 7vw, 120px) 0 0; font-size: clamp(3.9rem, 10.3vw, 12.5rem); font-weight: 500; letter-spacing: -.075em; line-height: .82; }
.display-title span { display: block; }
.display-title i { color: var(--red); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.display-title--compact { font-size: clamp(3.5rem, 8.4vw, 10rem); }
/* Cho tiêu đề NHIỀU CHỮ trong cột hẹp (lifestyle) — compact vẫn gãy dòng xấu */
.display-title--sub { font-size: clamp(2.4rem, 4.8vw, 5.6rem); }
.display-title--light { color: var(--white); }
.eyebrow { text-transform: uppercase; font-size: 11px; letter-spacing: .15em; }

.hero { position: relative; min-height: 100svh; color: var(--white); background: #111; overflow: hidden; }
.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__media { height: 110%; top: -5%; }
.hero__media img { height: 100%; object-fit: cover; object-position: center 48%; }
.hero__shade { background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.02) 38%, rgba(0,0,0,.65)); }
.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100svh; padding: calc(var(--header-h) + 8vh) var(--gutter) 35px; }
.hero__title { margin: auto 0 4vh; font-size: clamp(5.2rem, 14.5vw, 17rem); font-weight: 500; letter-spacing: -.09em; line-height: .72; }
.hero__title span { display: block; }
.hero__title span:last-child { padding-left: 13vw; }
.hero__title em { color: var(--red); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero__footer { display: flex; align-items: end; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.45); padding-top: 18px; }
.hero__footer p { margin: 0; max-width: 330px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.round-link { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; transition: color .25s, background .25s, transform .35s var(--ease); }
.round-link:hover { color: var(--ink); background: var(--white); transform: rotate(-45deg); }
.round-link svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.hero__index { position: absolute; z-index: 2; right: var(--gutter); top: 48%; writing-mode: vertical-rl; font-size: 10px; letter-spacing: .15em; }
.hero__index span { color: var(--red); margin: 8px 0; }

.manifesto { background: var(--paper); }
.manifesto__grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 12vw; margin-top: clamp(90px, 14vw, 230px); padding-left: 15vw; }
.manifesto__grid p { margin: 0; }
.lede { max-width: 780px; font-size: clamp(2rem, 4.2vw, 5.2rem); letter-spacing: -.045em; line-height: 1.02; }
.manifesto__body { align-self: end; max-width: 440px; }
.manifesto__body p { font-size: clamp(1rem, 1.25vw, 1.35rem); line-height: 1.55; }
.text-link { display: flex; justify-content: space-between; margin-top: 52px; border-bottom: 1px solid var(--ink); padding-bottom: 9px; text-transform: uppercase; font-size: 11px; font-weight: 600; letter-spacing: .11em; }

.cinematic { position: relative; height: min(88vw, 1150px); min-height: 700px; overflow: hidden; color: var(--white); background: var(--ink); }
.cinematic__media { position: absolute; inset: -6%; }
.cinematic__media img { height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(.78) contrast(1.08); }
.cinematic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.65)); }
.cinematic__copy { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 38px; display: flex; align-items: end; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.5); padding-top: 16px; }
.cinematic__copy span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.cinematic__copy p { margin: 0; font-size: clamp(1.8rem, 4vw, 4.5rem); letter-spacing: -.045em; line-height: .95; }

.system { background: var(--white); }
.system__intro { position: relative; }
.system__note { position: absolute; right: 0; bottom: 0; margin: 0; text-transform: uppercase; font-size: 10px; letter-spacing: .12em; writing-mode: vertical-rl; }
.parts-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 7vw, 130px) clamp(16px, 2.5vw, 48px); margin-top: clamp(110px, 16vw, 300px); }
.part-card { grid-column: span 4; margin: 0; align-self: start; }
.part-card--wide { grid-column: span 5; }
.part-card--landscape { grid-column: span 6; }
.part-card:nth-child(2), .part-card:nth-child(5), .part-card:nth-child(8), .part-card:nth-child(11) { margin-top: clamp(90px, 12vw, 210px); }
.part-card img { aspect-ratio: 1 / 1; object-fit: cover; background: #f4f4f2; transition: transform .8s var(--ease), filter .45s; }
.part-card--landscape img { aspect-ratio: 1.45 / 1; }
.part-card--tall img { aspect-ratio: .78 / 1; }
.part-card:hover img { transform: scale(.985); filter: contrast(1.06); }
.part-card figcaption { display: flex; justify-content: space-between; margin-top: 11px; border-top: 1px solid var(--line); padding-top: 8px; text-transform: uppercase; font-size: 10px; letter-spacing: .1em; }
.part-card figcaption b { color: var(--red); }

/* ---- Dàn lưới ảnh studio (desktop) ----
   Đặt vị trí tường minh cho từng ô để bố cục dùng CẢ nửa phải của lưới
   thay vì dồn hết về trái. Luôn viết đủ `start / span n` — nếu chỉ ghi
   grid-column-start thì phần `end: auto` của shorthand `grid-column: span n`
   còn lại sẽ làm ô co về span 1.
   Trong mỗi hàng, thứ tự DOM = thứ tự trái→phải để giữ mạch đọc.
   Bọc trong min-width để dưới 900px dùng nguyên layout 2 cột sẵn có. */
@media (min-width: 901px) {
  /* Trang chủ — 9 ảnh, 5 hàng, so le trái/phải */
  .parts-grid--nine .part-card:nth-child(1) { grid-row: 1; grid-column: 1 / span 5; }
  .parts-grid--nine .part-card:nth-child(2) { grid-row: 1; grid-column: 8 / span 4; }
  .parts-grid--nine .part-card:nth-child(3) { grid-row: 2; grid-column: 6 / span 6; }
  .parts-grid--nine .part-card:nth-child(4) { grid-row: 3; grid-column: 2 / span 4; }
  .parts-grid--nine .part-card:nth-child(5) { grid-row: 3; grid-column: 9 / span 4; }
  .parts-grid--nine .part-card:nth-child(6) { grid-row: 4; grid-column: 1 / span 4; }
  .parts-grid--nine .part-card:nth-child(7) { grid-row: 4; grid-column: 7 / span 4; }
  .parts-grid--nine .part-card:nth-child(8) { grid-row: 5; grid-column: 2 / span 4; }
  .parts-grid--nine .part-card:nth-child(9) { grid-row: 5; grid-column: 7 / span 5; }

  /* Trang product — 6 ảnh, 3 hàng, mỗi hàng chạm mép phải */
  .parts-grid--six .part-card:nth-child(1) { grid-row: 1; grid-column: 1 / span 6; }
  .parts-grid--six .part-card:nth-child(2) { grid-row: 1; grid-column: 9 / span 4; }
  .parts-grid--six .part-card:nth-child(3) { grid-row: 2; grid-column: 2 / span 4; }
  .parts-grid--six .part-card:nth-child(4) { grid-row: 2; grid-column: 8 / span 5; }
  .parts-grid--six .part-card:nth-child(5) { grid-row: 3; grid-column: 1 / span 4; }
  .parts-grid--six .part-card:nth-child(6) { grid-row: 3; grid-column: 7 / span 6; }
}

.horizontal-story { position: relative; height: 500vh; color: var(--white); background: var(--ink); }
.horizontal-story__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.horizontal-story__top { position: absolute; z-index: 2; top: 0; left: 0; display: flex; justify-content: space-between; width: 100%; padding: 28px var(--gutter); pointer-events: none; }
.horizontal-story__counter { font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .12em; }
.horizontal-story__counter span { color: var(--red); }
.horizontal-story__track { display: flex; align-items: stretch; width: max-content; height: 100%; will-change: transform; }
.horizontal-intro { position: relative; flex: 0 0 62vw; display: flex; flex-direction: column; justify-content: center; padding: 12vh var(--gutter) 8vh; border-right: 1px solid #3d3d3d; }
.horizontal-intro p { margin: 0 0 6vh; text-transform: uppercase; font-size: 10px; letter-spacing: .13em; }
.horizontal-intro h2 { margin: 0; font-size: clamp(4.6rem, 9.2vw, 11rem); font-weight: 500; letter-spacing: -.075em; line-height: .82; }
.horizontal-intro h2 i { color: var(--red); font-family: Georgia, serif; font-weight: 400; }
.horizontal-intro__arrow { position: absolute; right: var(--gutter); bottom: 7vh; font-size: clamp(3rem, 6vw, 7rem); font-weight: 200; }
.horizontal-card { position: relative; flex: 0 0 76vw; display: grid; grid-template-columns: 1.45fr .75fr; gap: clamp(25px, 4vw, 80px); padding: 12vh var(--gutter) 7vh; border-right: 1px solid #3d3d3d; background: var(--ink); }
.horizontal-card__media { position: relative; min-width: 0; height: 72vh; }
.horizontal-card__media > img { height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.horizontal-card:hover .horizontal-card__media > img { transform: scale(1.012); }
.horizontal-card__inset { position: absolute; z-index: 1; right: -4vw; bottom: 5vh; width: clamp(150px, 17vw, 330px); margin: 0; padding: 10px 10px 8px; color: var(--ink); background: var(--white); box-shadow: 0 18px 55px rgba(0,0,0,.22); }
.horizontal-card__inset img { aspect-ratio: 1 / 1; height: auto; object-fit: cover; }
.horizontal-card__inset figcaption { display: flex; justify-content: space-between; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 6px; text-transform: uppercase; font-size: 9px; letter-spacing: .1em; }
.horizontal-card__copy { display: flex; flex-direction: column; justify-content: end; padding-bottom: 3vh; }
.horizontal-card__copy > span { margin-bottom: auto; text-transform: uppercase; font-size: 10px; letter-spacing: .13em; }
.horizontal-card__copy h3 { margin: 0 0 3vh; font-size: clamp(2.7rem, 5vw, 6rem); font-weight: 500; letter-spacing: -.06em; line-height: .9; }
.horizontal-card__copy p { max-width: 410px; margin: 0; color: #aaa; font-size: clamp(.95rem, 1.15vw, 1.2rem); line-height: 1.5; }
.horizontal-card--light { color: var(--ink); background: var(--paper); border-color: rgba(17,17,17,.25); }
.horizontal-card--light .horizontal-card__copy p { color: #555; }
.horizontal-card--red { background: var(--red); border-color: rgba(255,255,255,.35); }
.horizontal-card--red .horizontal-card__copy p { color: rgba(255,255,255,.75); }
.horizontal-outro { flex: 0 0 42vw; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.horizontal-outro span { color: var(--red); font-size: clamp(10rem, 25vw, 28rem); font-weight: 800; letter-spacing: -.12em; line-height: .7; }
.horizontal-outro p { margin: 10vh 0 0; text-transform: uppercase; font-size: 10px; letter-spacing: .13em; }
.horizontal-story__progress { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 24px; height: 1px; overflow: hidden; background: #444; }
.horizontal-story__progress span { display: block; width: 100%; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left center; will-change: transform; }
.horizontal-story.is-native { height: 100svh !important; }
.horizontal-story.is-native .horizontal-story__sticky { position: relative; }
.horizontal-story.is-native .horizontal-story__track { max-width: 100vw; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important; will-change: auto; }
.horizontal-story.is-native .horizontal-story__track::-webkit-scrollbar { display: none; }
.horizontal-story.is-native .horizontal-intro,
.horizontal-story.is-native .horizontal-card { scroll-snap-align: start; }

.quote-panel { position: relative; min-height: 115svh; color: var(--white); background: var(--ink); overflow: hidden; }
.quote-panel__media { position: absolute; inset: -6%; }
.quote-panel__media img { height: 100%; object-fit: cover; filter: brightness(.42) grayscale(.12); }
.quote-panel__content { position: relative; z-index: 1; min-height: 115svh; display: flex; flex-direction: column; justify-content: space-between; }
.quote-panel__content .display-title { margin-top: auto; margin-bottom: 8vh; }
.quote-panel__content > p { align-self: end; width: min(33vw, 530px); margin: 0; font-size: clamp(1.2rem, 2vw, 2.2rem); letter-spacing: -.025em; }

.engineering { background: var(--paper); }
.engineering__head { margin-bottom: clamp(100px, 14vw, 260px); }
.value-list { border-top: 1px solid var(--ink); }
.value { position: relative; display: grid; grid-template-columns: 10vw 1.3fr 1fr 40px; align-items: center; gap: 3vw; min-height: 190px; border-bottom: 1px solid var(--ink); }
.value__number { align-self: start; padding-top: 28px; color: var(--red); font-size: 11px; }
.value h3 { margin: 0; font-size: clamp(2.6rem, 6vw, 7rem); font-weight: 500; letter-spacing: -.06em; }
.value p { max-width: 420px; margin: 0; font-size: clamp(.95rem, 1.2vw, 1.2rem); line-height: 1.5; }
.value__mark { font-size: 28px; transition: transform .4s var(--ease); }
.value:hover .value__mark { transform: rotate(-45deg); color: var(--red); }

/* Field gallery — sân khấu 3D. Ba lớp ảnh lùi ra sau theo --shot-z, câu tuyên ngôn
   đứng ở lớp trước (z-index 3) nên không còn bị ảnh che. Chiều sâu do parallax
   scroll + con trỏ trong script.js điều khiển; không có JS thì thứ tự lớp và độ
   tối vẫn đúng, chỉ mất phần chuyển động. */
.field-gallery { position: relative; min-height: 240vh; padding: 14vw var(--gutter); color: var(--white); background: var(--ink); perspective: 2000px; perspective-origin: 50% 50%; --statement-pop: .08; }
.field-shot { position: absolute; z-index: 1; margin: 0; }
/* Đặc thù hơn .reveal / .reveal.is-visible để độ sâu tĩnh không bị ghi đè. */
.field-gallery .field-shot.reveal { transform: translate3d(0, 0, var(--shot-z, 0px)); will-change: transform; }
.field-shot img { height: 100%; object-fit: cover; filter: var(--shot-filter, none); }
.field-shot figcaption { margin-top: 8px; color: rgba(250, 250, 247, .72); text-transform: uppercase; font-size: 10px; letter-spacing: .1em; }
/* --shot-depth: 0 = sát mặt chữ, 1 = xa nhất. Ảnh càng xa càng nhỏ, tối và bạc màu. */
.field-shot--one { top: 9%; left: var(--gutter); width: 33vw; height: 42vw; --shot-depth: .55; --shot-z: -110px; --shot-filter: brightness(.72) saturate(.85) contrast(.96); }
.field-shot--two { top: 35%; right: 7vw; width: 42vw; height: 52vw; --shot-depth: .22; --shot-z: -45px; --shot-filter: brightness(.94); }
.field-shot--three { bottom: 8%; left: 15vw; width: 27vw; height: 39vw; --shot-depth: .85; --shot-z: -175px; --shot-filter: brightness(.56) saturate(.7) contrast(.9); }
.field-gallery__statement { position: sticky; z-index: 3; top: 28vh; margin: 34vh 0 0; text-align: center; font-size: clamp(4.5rem, 12vw, 14rem); font-weight: 500; letter-spacing: -.08em; line-height: .78; text-shadow: 0 .04em .26em rgba(17, 17, 17, .55); will-change: transform; }
/* Vùng mờ ngay sau chữ: ảnh chạy qua phía sau bị nhòe và tối đi, chữ nổi hẳn lên trước. */
.field-gallery__statement::before {
  /* Bám đúng bề ngang của khối chữ (tràn ngang sẽ cộng vào scrollWidth của trang). */
  content: ""; position: absolute; z-index: -1; top: 50%; left: 0; right: 0; height: 215%; transform: translateY(-50%); pointer-events: none;
  /* Làm tối bằng gradient màu --ink (không dùng brightness trong backdrop-filter:
     nền #111 gần đen, hạ sáng 8-bit sẽ lộ vân tròn). Blur một vùng màu phẳng thì
     vẫn phẳng, nên chỉ ảnh phía sau bị nhòe. */
  background: radial-gradient(closest-side, rgba(17, 17, 17, .72), rgba(17, 17, 17, .34) 62%, rgba(17, 17, 17, 0) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(.8);
  backdrop-filter: blur(10px) saturate(.8);
  /* Dốc tắt dài để rìa vùng nhòe không lộ thành một mảng trên ảnh. */
  -webkit-mask-image: radial-gradient(closest-side, #000 22%, rgba(0, 0, 0, .72) 54%, rgba(0, 0, 0, .26) 80%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 22%, rgba(0, 0, 0, .72) 54%, rgba(0, 0, 0, .26) 80%, transparent 100%);
}
.field-gallery__statement i { color: var(--red); font-family: Georgia, serif; font-weight: 400; }

.field-strip { display: grid; grid-template-columns: 1.05fr .85fr 1.1fr; align-items: end; gap: clamp(12px, 2.2vw, 42px); padding: 5vw var(--gutter) 14vw; color: var(--white); background: var(--ink); }
.field-strip figure { margin: 0; }
.field-strip figure:nth-child(2) { align-self: start; }
.field-strip img { height: 48vw; max-height: 820px; object-fit: cover; }
.field-strip figure:nth-child(2) img { height: 34vw; max-height: 570px; }
.field-strip figcaption { display: flex; justify-content: space-between; margin-top: 10px; border-top: 1px solid #555; padding-top: 8px; text-transform: uppercase; font-size: 10px; letter-spacing: .1em; }
.field-strip figcaption span { color: var(--red); }

.contact { color: var(--white); background: var(--red); }
.contact__top { display: flex; justify-content: space-between; }
.contact__top p { margin: 0; text-transform: uppercase; font-size: 11px; letter-spacing: .12em; }
.contact__title { margin: clamp(90px, 13vw, 230px) 0 clamp(70px, 9vw, 150px); font-size: clamp(4.3rem, 12.5vw, 15rem); font-weight: 500; letter-spacing: -.085em; line-height: .76; }
.contact__title span { display: block; }
.contact__title span:nth-child(2) { margin-left: 7vw; }

/* 4 kênh liên hệ — cùng nhịp với .value-list ("Quiet design. Loud performance."),
   đổi màu đường kẻ/hover cho nền đỏ. Cả hàng là một thẻ <a>. */
.contact-list { border-top: 1px solid rgba(255,255,255,.55); }
.contact-item { position: relative; display: grid; grid-template-columns: 10vw 1.3fr 1fr 40px; align-items: center; gap: 3vw; min-height: 190px; border-bottom: 1px solid rgba(255,255,255,.55); }
.contact-item__number { align-self: start; padding-top: 28px; font-size: 11px; }
.contact-item h3 { margin: 0; font-size: clamp(2.6rem, 6vw, 7rem); font-weight: 500; letter-spacing: -.06em; transition: transform .4s var(--ease); }
.contact-item p { max-width: 420px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(.95rem, 1.2vw, 1.2rem); line-height: 1.5; }
.contact-item__mark { font-size: 28px; transition: transform .4s var(--ease); }
.contact-item:hover h3, .contact-item:focus-visible h3 { transform: translateX(1vw); }
.contact-item:hover .contact-item__mark, .contact-item:focus-visible .contact-item__mark { transform: translate(8px, -8px); }

.site-footer { padding: 9vw var(--gutter) 26px; color: var(--white); background: var(--ink); }
.footer__logo { font-size: clamp(14rem, 40vw, 48rem); font-weight: 800; letter-spacing: -.13em; line-height: .64; transform: translateX(-2.5vw); }
.footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; margin-top: 9vw; border-top: 1px solid #555; padding-top: 16px; text-transform: uppercase; font-size: 10px; letter-spacing: .1em; }
.footer__bottom span:last-child { text-align: right; }

.reveal { opacity: 0; transform: translateY(45px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay { transition-delay: .12s; }

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .header__meta { display: none; }
  .site-header { grid-template-columns: 1fr 1fr; }
  .menu__top, .menu__bottom { padding-left: 0; }
  .menu__links { margin-left: 0; }
  .menu__links a { grid-template-columns: 48px auto; }
  .hero__title span:last-child { padding-left: 0; }
  .manifesto__grid { grid-template-columns: 1fr; gap: 65px; padding-left: 0; }
  .manifesto__body { margin-left: 25vw; }
  .cinematic__copy p { max-width: 60vw; }
  .part-card, .part-card--wide, .part-card--landscape { grid-column: span 6; }
  .horizontal-story__sticky { height: 100svh; }
  .horizontal-story__top { padding-top: 22px; }
  .horizontal-story__track { height: 100%; }
  .horizontal-intro { flex-basis: 100vw; height: 100%; padding: 12vh var(--gutter) 8vh; }
  .horizontal-card { flex-basis: 100vw; height: 100%; grid-template-columns: 1fr; grid-template-rows: minmax(0, 58%) minmax(0, 42%); gap: 0; padding: 78px var(--gutter) 34px; }
  .horizontal-card__media { height: 100%; }
  .horizontal-card__inset { right: -8px; bottom: -18px; width: clamp(135px, 32vw, 250px); padding: 7px; }
  .horizontal-card__copy { min-height: 0; padding: 28px 0 0; }
  .horizontal-card__copy > span { margin-bottom: auto; }
  .horizontal-card__copy h3 { margin-bottom: 12px; }
  .horizontal-outro { flex-basis: 100vw; height: 100%; }
  .horizontal-story__progress { bottom: 20px; }
  .quote-panel__content > p { width: 60vw; }
  .value { grid-template-columns: 48px 1fr 40px; gap: 18px; padding: 26px 0; }
  .value h3 { grid-column: 2; }
  .value p { grid-column: 2; }
  .value__number { grid-row: 1 / span 2; grid-column: 1; }
  .value__mark { grid-row: 1 / span 2; grid-column: 3; }
  .contact-item { grid-template-columns: 48px 1fr 40px; gap: 18px; padding: 26px 0; min-height: 0; }
  .contact-item h3 { grid-column: 2; }
  .contact-item p { grid-column: 2; }
  .contact-item__number { grid-row: 1 / span 2; grid-column: 1; }
  .contact-item__mark { grid-row: 1 / span 2; grid-column: 3; }
  .field-gallery { min-height: 190vh; }
  .field-strip { grid-template-columns: 1fr 1fr; }
  .field-strip figure:last-child { grid-column: 2; }
}

@media (max-width: 600px) {
  .loader { grid-template-columns: 1fr auto; }
  .loader__brand { font-size: 42vw; }
  .loader__progress { width: 62vw; }
  .brand { width: 65px; }
  .brand img { height: 30px; }
  .menu__top span:last-child, .menu__bottom span { display: none; }
  .menu__top { padding-right: 0; }
  .menu__links span { font-size: 15vw; }
  .hero__content { padding-bottom: 22px; }
  .hero__title { font-size: 22vw; line-height: .77; }
  .hero__footer p { max-width: 230px; font-size: 9px; }
  .hero__index { display: none; }
  .section-pad { padding-top: 105px; padding-bottom: 105px; }
  .display-title, .display-title--compact { font-size: 16vw; line-height: .88; }
  .manifesto__grid { margin-top: 85px; }
  .manifesto__body { margin-left: 12vw; }
  .cinematic { height: 105svh; min-height: 620px; }
  .cinematic__media img { object-position: 42% center; }
  .cinematic__copy { display: block; }
  .cinematic__copy p { max-width: none; margin-top: 20px; }
  .system__note { display: none; }
  .parts-grid { grid-template-columns: 1fr 1fr; gap: 70px 14px; }
  .part-card, .part-card--wide, .part-card--landscape, .part-card--tall { grid-column: auto; margin-top: 0 !important; }
  .part-card:nth-child(even) { margin-top: 65px !important; }
  .part-card img, .part-card--landscape img, .part-card--tall img { aspect-ratio: 1 / 1.15; }
  .part-card figcaption { align-items: start; gap: 8px; line-height: 1.3; }
  .part-card figcaption span { display: block; text-align: right; }
  .horizontal-story__top { padding-top: 20px; }
  .horizontal-intro { flex-basis: 100vw; min-height: 0; }
  .horizontal-intro h2 { font-size: 17vw; }
  .horizontal-card { flex-basis: 100vw; min-height: 0; grid-template-rows: minmax(0, 55%) minmax(0, 45%); padding: 72px 16px 30px; }
  .horizontal-card__copy { padding-top: 24px; }
  .horizontal-card__copy h3 { font-size: clamp(2.35rem, 12vw, 4rem); }
  .horizontal-card__copy p { font-size: .9rem; line-height: 1.4; }
  .horizontal-card__inset { right: -4px; bottom: -15px; width: 38vw; max-width: 175px; }
  .horizontal-outro { flex-basis: 100vw; }
  .quote-panel, .quote-panel__content { min-height: 100svh; }
  .quote-panel__content > p { width: 82vw; align-self: start; }
  .value { min-height: 150px; }
  .value h3 { font-size: 11vw; }
  .contact-item h3 { font-size: 11vw; }
  .contact-item p { max-width: none; }
  /* Chữ đã gần full-bleed nên chỉ cho phồng rất nhẹ (--statement-pop). */
  .field-gallery { min-height: 165vh; --statement-pop: .025; }
  .field-shot--one { top: 8%; width: 52vw; height: 68vw; }
  .field-shot--two { top: 38%; right: var(--gutter); width: 59vw; height: 78vw; }
  .field-shot--three { bottom: 7%; left: var(--gutter); width: 46vw; height: 66vw; }
  .field-gallery__statement { top: 38vh; margin-top: 50vh; font-size: 18vw; }
  /* Chữ gần full-bleed nên làm tối cả dải ngang, chỉ tắt dần theo chiều dọc. */
  .field-gallery__statement::before {
    height: 172%;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0), rgba(17, 17, 17, .78) 20%, rgba(17, 17, 17, .78) 80%, rgba(17, 17, 17, 0));
    -webkit-backdrop-filter: none; backdrop-filter: none;
    -webkit-mask-image: none; mask-image: none;
  }
  .field-strip { grid-template-columns: 1fr; gap: 65px; padding-bottom: 30vw; }
  .field-strip figure:last-child { grid-column: auto; }
  .field-strip figure:nth-child(2) { width: 72%; margin-left: auto; }
  .field-strip img, .field-strip figure:nth-child(2) img { height: 118vw; max-height: none; }
  .field-strip figure:nth-child(2) img { height: 92vw; }
  .contact__top p { display: none; }
  .contact__title { font-size: 17vw; line-height: .83; }
  .contact__title span:nth-child(2) { margin-left: 0; }
  .footer__bottom { grid-template-columns: 1fr auto; }
  .footer__bottom span:last-child { display: none; }
}

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

/* ---- WordPress admin bar offset ---- */
body.admin-bar .site-header,
body.admin-bar .brand { top: 32px; }
body.admin-bar .loader { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header,
  body.admin-bar .brand { top: 46px; }
  body.admin-bar .loader { top: 46px; }
}

/* ---- Fallback templates (posts / pages / 404) ---- */
.entry-main { min-height: 70vh; padding-top: calc(var(--header-h) + 6vh); background: var(--paper); }
.entry { max-width: 760px; margin: 0 auto; }
.entry__content { margin-top: 3vh; font-size: clamp(15px, 1.05vw, 18px); line-height: 1.7; }
.entry__content > * + * { margin-top: 1.2em; }
.entry__content a { color: var(--red); }
.entry__content img { max-width: 100%; height: auto; }
.entry + .entry { margin-top: 12vh; }
.entry__pagination { max-width: 760px; margin: 8vh auto 0; display: flex; gap: 16px; }
.entry__pagination a { color: var(--ink); }

/* ---- Wordmark dùng logo thật thay cho chữ ---- */
.footer__logo--image { transform: none; line-height: 0; }
.footer__logo--image img { display: block; width: 100%; height: auto; }

.horizontal-outro__logo { display: block; width: 30vw; max-width: 620px; line-height: 0; }
.horizontal-outro__logo img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .horizontal-outro__logo { width: 62vw; }
}

/* ============================================================
   PRODUCT DETAIL (page-monty.php)
   Dùng lại token + nhịp của trang chủ: section-pad, section-tag,
   display-title, lede, manifesto__grid, parts-grid, reveal.
   ============================================================ */

/* --- PDP: hai cột, gallery trái / thông tin + pre-order phải ---
   Đây là bố cục product detail page (không phải hero landing page):
   ảnh chiếm cột trái, cột phải là "buy box" — tên, trạng thái, spec chính,
   form pre-order — và dính (sticky) khi cuộn qua gallery.
   Nền --paper (#f0efe9) vì nền ảnh studio đo được ~#f3f2ec; đặt trên
   --white (#fafaf7) sẽ lộ rõ mép ảnh thành khối xám. */
.pdp { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: clamp(28px, 4vw, 80px); padding: calc(var(--header-h) + 5vh) var(--gutter) clamp(70px, 9vw, 150px); background: var(--paper); }

.pdp__stage { margin: 0; }
.pdp__stage img { aspect-ratio: var(--pdp-ratio, 1 / 1); object-fit: cover; background: #f3f2ec; }
.pdp__stage figcaption { display: flex; justify-content: space-between; margin-top: 11px; border-top: 1px solid var(--line); padding-top: 8px; text-transform: uppercase; font-size: 10px; letter-spacing: .1em; }
.pdp__stage figcaption [data-gallery-colorway] { color: #7a7a72; }
/* Stage dạng clip. Video quay dọc 9:16 nên khống chế theo CHIỀU CAO rồi canh giữa
   trên nền paper — cắt cover về 3:2 sẽ mất gần hết khung hình. */
.pdp__stage { position: relative; }
.pdp__clip { position: relative; }
.pdp__clip video { display: block; width: 100%; aspect-ratio: var(--pdp-ratio, 1 / 1); object-fit: cover; background: #f3f2ec; }
.pdp__stage--portrait .pdp__clip video,
.pdp__stage--portrait > img { width: auto; max-width: 100%; height: min(78vh, 800px); margin-inline: auto; aspect-ratio: 9 / 16; object-fit: contain; background: #f3f2ec; }
.pdp__clip__toggle { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.pdp__clip__toggle span { position: relative; display: block; width: clamp(54px, 5vw, 76px); aspect-ratio: 1; border-radius: 50%; background: rgba(17, 17, 17, .55); box-shadow: inset 0 0 0 1px rgba(250, 250, 247, .7); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.pdp__clip__toggle span::after { content: ""; position: absolute; top: 50%; left: 50%; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--white); transform: translate(-40%, -50%); }
.pdp__clip__toggle[aria-pressed="true"] span { opacity: 0; transform: scale(.9); }
.pdp__clip__toggle:hover span, .pdp__clip__toggle:focus-visible span { transform: scale(1.06); }
.pdp__clip__toggle[aria-pressed="true"]:hover span, .pdp__clip__toggle[aria-pressed="true"]:focus-visible span { opacity: 1; transform: scale(1); }
/* Dấu play góc thumbnail của view clip. */
.pdp__thumb[data-type="video"] { position: relative; }
.pdp__thumb[data-type="video"]::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--white); filter: drop-shadow(0 0 2px rgba(17, 17, 17, .8)); }
.pdp__clip__fallback { display: block; width: 100%; margin-top: 12px; }

.pdp__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(6px, .8vw, 14px); margin-top: clamp(8px, 1vw, 16px); }
.pdp__thumb { display: block; padding: 0; border: 0; background: none; cursor: pointer; opacity: .45; transition: opacity .3s var(--ease); }
.pdp__thumb img { aspect-ratio: 1 / 1; object-fit: cover; background: #f3f2ec; }
.pdp__thumb:hover, .pdp__thumb:focus-visible { opacity: .8; }
.pdp__thumb[aria-current="true"] { opacity: 1; outline: 1px solid var(--ink); outline-offset: 2px; }

.pdp__info { position: sticky; top: calc(var(--header-h) + 3vh); }
/* padding-bottom chừa chỗ cho đuôi chữ "y": line-height .82 khiến descender
   tràn khỏi line box và cắt qua dòng trạng thái ngay dưới. */
.pdp__title { margin: clamp(14px, 1.6vw, 26px) 0 0; padding-bottom: .22em; font-size: clamp(3.4rem, 7vw, 7.5rem); font-weight: 500; letter-spacing: -.075em; line-height: .82; }
.pdp__status { margin: 0; text-transform: uppercase; font-size: 11px; font-weight: 600; letter-spacing: .13em; }
.pdp__status span { color: var(--red); }
.pdp__lede { max-width: 42ch; margin: clamp(20px, 2.4vw, 34px) 0 0; font-size: clamp(1rem, 1.3vw, 1.35rem); line-height: 1.55; }
/* Bộ chọn colourway. Mỗi swatch là chip 2 tông: thân + màu anodised. */
.pdp__colorways { margin: clamp(18px, 2vw, 30px) 0 0; }
.pdp__colorways__label { margin: 0 0 10px; text-transform: uppercase; font-size: 10px; letter-spacing: .11em; color: #6f6f68; }
.pdp__colorways__label span { color: var(--ink); }
.pdp__swatches { display: flex; flex-wrap: wrap; gap: clamp(8px, 1vw, 16px); }
.pdp__swatch { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 8px 14px 8px 10px; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.pdp__swatch__chip { display: block; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .22); background: linear-gradient(135deg, var(--chip-a) 0 52%, var(--chip-b) 52% 100%); }
.pdp__swatch__text { display: grid; }
.pdp__swatch__text b { font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.pdp__swatch__text i { color: #6f6f68; font-style: normal; font-size: 10px; letter-spacing: .06em; }
.pdp__swatch:hover, .pdp__swatch:focus-visible { border-color: var(--ink); }
.pdp__swatch[aria-current="true"] { border-color: var(--ink); background: rgba(17, 17, 17, .05); }
.pdp__swatch[aria-current="true"] .pdp__swatch__chip { box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .22), 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }

.pdp__specs { margin: clamp(26px, 3vw, 44px) 0 0; border-top: 1px solid var(--ink); }
.pdp__specs > div { display: grid; grid-template-columns: 40% 1fr; gap: 12px; border-bottom: 1px solid var(--line); padding: 11px 0; }
.pdp__specs dt { text-transform: uppercase; font-size: 10px; letter-spacing: .11em; padding-top: 3px; }
.pdp__specs dd { margin: 0; font-size: clamp(.92rem, 1.05vw, 1.05rem); }
.pdp__jump { display: inline-flex; gap: 10px; margin-top: 18px; border-bottom: 1px solid var(--ink); padding-bottom: 6px; text-transform: uppercase; font-size: 11px; font-weight: 600; letter-spacing: .11em; }

/* --- Form pre-order (không thu tiền, chỉ nhận thông tin) --- */
.preorder { margin-top: clamp(34px, 4vw, 56px); border: 1px solid var(--ink); padding: clamp(20px, 2.2vw, 32px); }
.preorder__title { margin: 0; text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .13em; }
.preorder__intro { margin: 12px 0 0; max-width: 46ch; color: #555; font-size: .92rem; line-height: 1.55; }
.preorder__note { margin: 16px 0 0; border-left: 2px solid var(--red); padding: 10px 12px; background: rgba(17,17,17,.04); font-size: .9rem; line-height: 1.5; }
.preorder__note--ok { border-color: #0f7a4a; }
.preorder__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.preorder__form { margin-top: clamp(18px, 2vw, 26px); }
.preorder__field { display: grid; gap: 6px; margin: 0 0 14px; }
.preorder__field label { text-transform: uppercase; font-size: 10px; font-weight: 600; letter-spacing: .11em; }
.preorder__req { color: var(--red); }
.preorder__field input, .preorder__field select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 0;
  color: var(--ink); background: var(--white); font: inherit; font-size: .95rem;
  transition: border-color .25s;
}
.preorder__field input:focus, .preorder__field select:focus { border-color: var(--ink); outline: 2px solid var(--red); outline-offset: 1px; }
.preorder__field input::placeholder { color: #999; }
.preorder__submit {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; margin-top: 4px; padding: 15px 16px; border: 0; cursor: pointer;
  color: var(--white); background: var(--ink); font: inherit;
  text-transform: uppercase; font-size: 11px; font-weight: 600; letter-spacing: .13em;
  transition: background .25s;
}
.preorder__submit:hover, .preorder__submit:focus-visible { background: var(--red); }
.preorder__fine { margin: 14px 0 0; color: #666; font-size: .76rem; line-height: 1.5; }

/* --- Intro + spec: đảo nhịp nền để hero(paper) không dính liền --- */
.product-intro { background: var(--white); }

/* --- Bảng spec: nhiều dòng nên dùng lưới gọn, không dùng .value --- */
.spec { background: var(--paper); }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 56px); margin: clamp(90px, 13vw, 220px) 0 0; border-top: 1px solid var(--ink); }
.spec-item { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 0 12px; border-bottom: 1px solid var(--line); padding: 26px 0 24px; }
.spec-item__number { grid-row: span 2; padding-top: 4px; color: var(--red); font-size: 11px; font-variant-numeric: tabular-nums; }
.spec-item dt { font-size: clamp(1.1rem, 1.55vw, 1.65rem); letter-spacing: -.025em; }
.spec-item dd { margin: 7px 0 0; max-width: 34ch; color: #555; font-size: clamp(.88rem, 1.02vw, 1.02rem); line-height: 1.5; }

/* --- Portal axle: nền ink, 5 dòng lớn kèm ảnh chi tiết --- */
.axle { color: var(--white); background: var(--ink); }
.axle__head { margin-bottom: clamp(90px, 13vw, 230px); }
.tech-list { border-top: 1px solid #4a4a4a; }
.tech { display: grid; grid-template-columns: 8vw clamp(140px, 17vw, 300px) 1fr 40px; align-items: center; gap: clamp(20px, 3.5vw, 70px); border-bottom: 1px solid #4a4a4a; padding: clamp(28px, 3.4vw, 54px) 0; }
.tech__number { align-self: start; padding-top: 6px; color: var(--red); font-size: 11px; font-variant-numeric: tabular-nums; }
.tech__media { margin: 0; overflow: hidden; }
.tech__media img { aspect-ratio: 1 / 1; object-fit: cover; transition: transform .8s var(--ease); }
.tech:hover .tech__media img { transform: scale(1.04); }
.tech__copy h3 { margin: 0; font-size: clamp(1.7rem, 3.6vw, 4rem); font-weight: 500; letter-spacing: -.05em; line-height: .95; }
.tech__copy p { max-width: 48ch; margin: 16px 0 0; color: #a8a8a8; font-size: clamp(.92rem, 1.12vw, 1.15rem); line-height: 1.55; }
.tech__mark { align-self: center; font-size: 26px; transition: transform .4s var(--ease), color .25s; }
.tech:hover .tech__mark { transform: rotate(-45deg); color: var(--red); }

/* --- Lifestyle: ảnh dọc nên chia đôi, không full-bleed --- */
.lifestyle { display: grid; grid-template-columns: .82fr 1fr; align-items: center; gap: clamp(30px, 6vw, 120px); padding: clamp(90px, 12vw, 220px) var(--gutter); color: var(--white); background: var(--ink); }
.lifestyle__media { margin: 0; }
.lifestyle__media img { aspect-ratio: .563 / 1; max-height: 88vh; object-fit: cover; }
.lifestyle__media figcaption { margin-top: 10px; border-top: 1px solid #555; padding-top: 8px; text-transform: uppercase; font-size: 10px; letter-spacing: .1em; }
.lifestyle__copy > p { max-width: 46ch; margin: clamp(40px, 5vw, 80px) 0 0; color: #a8a8a8; font-size: clamp(1rem, 1.25vw, 1.3rem); line-height: 1.6; }
.lifestyle__tagline { color: var(--white) !important; text-transform: uppercase; font-size: 11px !important; font-weight: 600; letter-spacing: .14em; }

/* Biến thể đảo chiều: chữ trái / ảnh phải, để hai section lifestyle
   không lặp cùng một nhịp. Ảnh life2 tỉ lệ 0.8 (rộng hơn life1 = 0.563). */
.lifestyle--flip { grid-template-columns: 1fr .95fr; }
.lifestyle--flip .lifestyle__media img { aspect-ratio: .8 / 1; }
.lifestyle--flip .lifestyle__copy > p { max-width: 50ch; }

/* Trang About: 3 khối lifestyle xen kẽ tối→sáng→tối */
.lifestyle--light { color: var(--ink); background: var(--paper); }
.lifestyle--light .lifestyle__copy > p { color: #555; }
.lifestyle--light .lifestyle__tagline { color: var(--ink) !important; }
.lifestyle--light .lifestyle__media figcaption { border-color: var(--line); }
/* Tỉ lệ ảnh theo từng tấm: life2 = 0.8 (khối non-flip), life3 = 0.56 (khối flip).
   Hai rule này phải đứng SAU rule .lifestyle--flip img để thắng theo thứ tự nguồn. */
.lifestyle--imgwide .lifestyle__media img { aspect-ratio: .8 / 1; }
.lifestyle--imgtall .lifestyle__media img { aspect-ratio: .58 / 1; }
/* Khối lifestyle đứng đầu trang (About) phải chừa chỗ cho header fixed */
main > .lifestyle:first-child { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 110px)); }

/* --- Gallery: nền trắng cho ảnh studio --- */
.product-gallery { background: var(--white); }

/* --- Coming soon --- */
.soon { color: var(--white); background: var(--red); }
.soon__top { display: flex; justify-content: space-between; }
.soon__top p { margin: 0; text-transform: uppercase; font-size: 11px; letter-spacing: .12em; }
.soon__title { margin: clamp(80px, 12vw, 200px) 0; font-size: clamp(4.3rem, 13vw, 15rem); font-weight: 500; letter-spacing: -.085em; line-height: .76; }
.soon__title span { display: block; }
.soon__title span:nth-child(2) { margin-left: 7vw; }
.soon__meta { display: flex; gap: clamp(20px, 4vw, 70px); }
.soon__meta .text-link { flex: 0 1 260px; margin-top: 0; border-color: rgba(255,255,255,.6); }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; gap: 34px; padding-top: calc(var(--header-h) + 3vh); }
  .pdp__info { position: static; }
  .product-lead { grid-template-columns: 1fr; gap: 34px; }
  .product-lead__cta { max-width: none; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .tech { grid-template-columns: 46px clamp(110px, 22vw, 200px) 1fr; gap: 18px 24px; }
  .tech__mark { display: none; }
  .lifestyle { grid-template-columns: 1fr; gap: 40px; }
  .lifestyle__media img { max-height: 70vh; }
}

@media (max-width: 600px) {
  .pdp__thumbs { grid-template-columns: repeat(3, 1fr); }
  .spec-grid { grid-template-columns: 1fr; }
  .tech { grid-template-columns: 34px 1fr; }
  .tech__media { grid-column: 2; margin-bottom: 16px; }
  .tech__media img { aspect-ratio: 3 / 2; }
  .tech__copy { grid-column: 2; }
  .soon__meta { flex-direction: column; gap: 0; }
  .soon__meta .text-link { flex: none; }
}

/* CTA cuối section engineering trên trang chủ → trang product */
.engineering__cta { display: flex; justify-content: flex-end; }
.engineering__cta .text-link { flex: 0 1 320px; }

/* --- Khối dẫn sang trang product (trang chủ, ngay sau "The system") ---
   Nền --paper vì chứa ảnh studio (nền ảnh đo được ~#f3f2ec), và để tách
   khỏi .system (--white) phía trên lẫn .horizontal-story (--ink) phía dưới. */
.product-lead { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(30px, 5vw, 100px); background: var(--paper); }
.product-lead__media { margin: 0; }
.product-lead__media img { aspect-ratio: 1.35 / 1; object-fit: cover; object-position: center 54%; background: #f3f2ec; }
.product-lead__media figcaption { display: flex; justify-content: space-between; margin-top: 11px; border-top: 1px solid var(--line); padding-top: 8px; text-transform: uppercase; font-size: 10px; letter-spacing: .1em; }
.product-lead__copy .display-title { margin-top: clamp(24px, 2.6vw, 44px); }
.product-lead__lede { max-width: 44ch; margin: clamp(26px, 3vw, 44px) 0 0; font-size: clamp(1rem, 1.3vw, 1.35rem); line-height: 1.55; }
.product-lead__specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(24px, 3vw, 56px); margin: clamp(26px, 3vw, 40px) 0 0; border-top: 1px solid var(--ink); padding-top: 14px; }
.product-lead__specs dt { text-transform: uppercase; font-size: 10px; letter-spacing: .11em; }
.product-lead__specs dd { margin: 7px 0 0; font-size: clamp(1.1rem, 1.7vw, 1.6rem); letter-spacing: -.03em; }
.product-lead__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 420px; margin-top: clamp(30px, 3.4vw, 48px); padding: 16px 18px;
  color: var(--white); background: var(--ink);
  text-transform: uppercase; font-size: 11px; font-weight: 600; letter-spacing: .13em;
  transition: background .25s;
}
.product-lead__cta i { font-style: normal; font-size: 15px; transition: transform .35s var(--ease); }
.product-lead__cta:hover, .product-lead__cta:focus-visible { background: var(--red); }
.product-lead__cta:hover i { transform: translate(4px, -4px); }
.product-lead__note { margin: 12px 0 0; color: #666; text-transform: uppercase; font-size: 10px; letter-spacing: .11em; }
