/* =========================================================
   ARMCEO — Modern Presence
   Luxury monochrome: đen / trắng / xám, ảnh cinematic,
   grotesque mảnh (Archivo) + Inter cho body.
   ========================================================= */

:root {
  --white: #ffffff;
  --paper: #f4f4f4;
  --panel: #ececec;
  --ink: #101013;
  --ink-70: rgba(16, 16, 19, .7);
  --muted: #8b8b90;
  --line: #e3e3e3;
  --w-line: rgba(255, 255, 255, .35);
  --w-70: rgba(255, 255, 255, .78);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --w-max: 1440px;
  --gutter: clamp(20px, 3.4vw, 56px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.65;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--ink); color: var(--white); }

.container { max-width: var(--w-max); margin-inline: auto; padding-inline: var(--gutter); }

/* Ảnh màu tự nhiên, giảm bão hoà nhẹ cho đồng bộ tông cinematic (như mẫu) */
.ph { filter: saturate(.85) contrast(1.03) brightness(.99); object-fit: cover; width: 100%; height: 100%; }
/* Ảnh có mảng màu quá rực — ghìm thêm để không phá tông monochrome */
.ph--mute { filter: saturate(.55) contrast(1.02) brightness(.98); }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 0; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; }

/* =========================================================
   DẢI KHUYẾN MÃI TRÊN CÙNG
   Trước đây khối này không có CSS nền nào — chỉ có màu link ở
   shop.css — nên hiện ra như chữ trần trên nền trắng và bị
   header trong suốt (chữ trắng) đè lên thành trắng-trên-trắng.
   ========================================================= */
.topbar {
  background: var(--ink); color: rgba(255, 255, 255, .72);
  font-size: 12px; line-height: 1.5; text-align: center;
  padding: 9px 16px;
}
.topbar strong { color: #fff; font-weight: 600; letter-spacing: .05em; }

/* =========================================================
   HEADER — trong suốt, nổi trên hero
   --hdr-top do JS đặt: header trượt theo dải khuyến mãi rồi
   ghim lại ở đỉnh, nhờ vậy hai khối không bao giờ chồng nhau.
   ========================================================= */
.header {
  position: fixed; left: 0; right: 0; z-index: 100;
  color: var(--white);
  transition: background .3s var(--ease), box-shadow .3s;
}
/* Chỉ header trong suốt (fixed, nổi trên hero) mới cần né dải khuyến mãi.
   Trang trong dùng .header--solid với position:sticky — nó đã nằm sau dải
   trong luồng, đặt top khác 0 sẽ làm nó ghim lệch xuống. */
.header:not(.header--solid) { top: var(--hdr-top, 0px); }
/* sticky không có 'top' thì không bao giờ ghim — phải khai rõ */
.header--solid { top: 0; }
/* Thẻ bọc [data-shell-head] chỉ cao bằng dải + header, nên header sticky
   của trang trong hết phạm vi ghim ngay sau ~112px và trượt mất. display:contents
   gỡ thẻ bọc khỏi hộp bố cục để header ghim theo cả chiều dài trang. */
[data-shell-head] { display: contents; }
.header.is-solid { background: rgba(12, 12, 14, .92); backdrop-filter: blur(10px); }
.header__inner {
  display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px);
  height: 76px;
}
.logo {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700; letter-spacing: .3em;
  line-height: 1.05; text-transform: uppercase;
}
.logo span { display: block; }

.nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-left: clamp(0px, 14.5vw, 215px); }
.nav a {
  font-size: 13px; font-weight: 400; letter-spacing: .02em;
  opacity: .92; position: relative; padding: 6px 2px; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.search {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--w-line); border-radius: 999px;
  padding: 9px 18px; min-width: clamp(160px, 18vw, 250px);
  font-size: 12.5px; color: var(--w-70);
  transition: border-color .25s;
}
.search:hover { border-color: rgba(255, 255, 255, .7); }
.search svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; flex: none; }

.lang { font-size: 12px; letter-spacing: .08em; color: var(--w-70); white-space: nowrap; }
.lang b { color: var(--white); font-weight: 600; }

.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  transition: background .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.menu-toggle { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: clamp(560px, 57.6vw, 880px);
  display: flex; align-items: center;
  color: var(--white); overflow: hidden;
  background: #0e0e10;
}
.hero__media { position: absolute; inset: 0; }
/* Ảnh thương hiệu ARMCEO là ảnh studio vuông 1:1, trong khung hero 1.72:1
   chỉ hiện được 58% chiều cao. Cắt sát đỉnh để lấy trọn bộ trang phục
   từ cổ áo xuống; để mặc định 42% sẽ cắt mất cả phần thân trên. */
.hero__media .ph { object-position: 50% 6%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, .80) 0%, rgba(8, 8, 10, .58) 26%, rgba(8, 8, 10, .18) 55%, rgba(8, 8, 10, .04) 78%, rgba(8, 8, 10, 0) 100%),
    linear-gradient(0deg, rgba(8, 8, 10, .46) 0%, transparent 30%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: 90px 150px; }
.hero__content { max-width: 560px; }

.kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase;
  color: var(--w-70);
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--w-70); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(40px, 5.45vw, 84px);
  line-height: .9; letter-spacing: .015em; text-transform: uppercase;
  margin-block: 20px 22px;
}
.hero__desc {
  font-size: 14px; line-height: 1.95; font-weight: 300;
  color: var(--w-70); max-width: 330px;
}
.hero__desc b { color: var(--white); font-weight: 500; }

.cta {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 40px;
  border: 1px solid var(--w-line); border-radius: 999px;
  padding: 8px 30px 8px 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.cta__disc {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .14);
  transition: background .3s, transform .3s var(--ease);
}
.cta:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.cta:hover .cta__disc { background: var(--ink); color: var(--white); transform: translateX(3px); }
.cta__disc svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* Rail chỉ mục bên phải */
.hero__rail {
  position: absolute; right: clamp(20px, 3.4vw, 56px); top: 50%;
  transform: translateY(-50%); z-index: 2;
  display: flex; gap: 22px; align-items: stretch;
}
.hero__rail-line { width: 1px; background: var(--w-line); }
.hero__rail ol { display: flex; flex-direction: column; gap: 26px; }
.hero__rail li b {
  display: block; font-size: 11px; font-weight: 500; color: var(--w-70); letter-spacing: .1em;
}
.hero__rail li span { font-size: 13px; font-weight: 300; letter-spacing: .04em; }

/* Caption + film */
.hero__caption {
  position: absolute; left: clamp(20px, 3.4vw, 56px); bottom: 34px; z-index: 2;
  font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--w-70);
  line-height: 2;
}
/* Dòng tagline nhỏ bên phải hero, phía trên thumbnail film (theo mẫu) */
.hero__tagline {
  position: absolute; right: clamp(20px, 3.4vw, 56px); top: 76%; z-index: 2;
  text-align: right; line-height: 1.95;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--w-70);
}
.hero__film {
  position: absolute; right: clamp(20px, 3.4vw, 56px); bottom: 34px; z-index: 2;
  display: flex; align-items: center; gap: 16px;
}
.film-thumb {
  position: relative; width: 130px; height: 74px; overflow: hidden; border-radius: 2px;
  outline: 1px solid var(--w-line);
}
.film-thumb::after {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35);
}
.film-thumb .play {
  position: absolute; inset: 0; margin: auto; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  display: grid; place-items: center;
}
.film-thumb .play svg { width: 12px; height: 12px; fill: currentColor; margin-left: 2px; }
.hero__film-label { font-size: 12px; line-height: 1.7; color: var(--w-70); }
.hero__film-label b { display: block; color: var(--white); font-weight: 400; }

/* =========================================================
   CATEGORIES
   ========================================================= */
.cats { background: var(--paper); padding-block: clamp(30px, 2.9vw, 46px); }
.cats__inner {
  display: grid; grid-template-columns: 150px 1fr clamp(120px, 21vw, 300px);
  gap: clamp(20px, 3vw, 48px); align-items: center;
}
.cats__tabs { display: flex; flex-direction: column; gap: 20px; }
.cat-tab {
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px; color: var(--muted); text-align: left;
  transition: color .2s;
}
.cat-tab .dot {
  width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid var(--muted); transition: all .2s;
}
.cat-tab:hover { color: var(--ink); }
.cat-tab.is-active { color: var(--ink); font-weight: 600; }
.cat-tab.is-active .dot { background: var(--ink); border-color: var(--ink); }

.cats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.7vw, 26px);
  max-width: 770px; margin-inline: auto; width: 100%;
}
.p-card { text-align: center; display: block; }
.p-card__media {
  display: block; position: relative;
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px;
  background: #e7e7e7; margin-bottom: 14px;
}
.p-card__media .ph { position: absolute; inset: 0; transition: transform .5s var(--ease); }
.p-card:hover .p-card__media .ph { transform: scale(1.045); }
.p-card h3 { font-size: 14px; font-weight: 500; letter-spacing: .01em; }
.p-card p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.cats__all { text-align: center; font-size: 12.5px; color: var(--ink); }
.cats__all p { margin-bottom: 14px; line-height: 1.5; }
.disc-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--ink); display: inline-grid; place-items: center;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.disc-btn:hover { background: var(--ink); color: var(--white); transform: translateX(3px); }
.disc-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* =========================================================
   CITY RHYTHM — banner full-bleed
   ========================================================= */
.citybn {
  position: relative; min-height: clamp(250px, 19.5vw, 330px);
  display: flex; align-items: center;
  color: var(--white); overflow: hidden; background: #131315;
}
.citybn__media { position: absolute; inset: 0; }
.citybn__media .ph { object-position: 50% 32%; }
.citybn__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 12, .62) 0%, rgba(10, 10, 12, .22) 55%, rgba(10, 10, 12, .38) 100%),
    linear-gradient(0deg, rgba(10, 10, 12, .6) 0%, transparent 40%);
}
.citybn__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(26px, 3.2vw, 46px); }
.citybn__title {
  font-family: var(--font-display);
  font-weight: 200; font-size: clamp(30px, 3.9vw, 58px);
  letter-spacing: .02em; text-transform: uppercase; line-height: 1;
  margin-block: 12px 6px;
}
.citybn__sub { font-size: 13px; font-weight: 300; color: var(--w-70); margin-bottom: 16px; }

.cities {
  position: absolute; right: clamp(20px, 6vw, 92px); top: 50%; transform: translateY(-50%);
  z-index: 2; padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, .3);
}
.cities li {
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--w-70); padding-block: 9px;
  display: flex; align-items: center; gap: 11px;
}
.cities li::before { content: ""; width: 12px; height: 1px; background: var(--w-line); }
.cities li:hover { color: var(--white); }

/* =========================================================
   FOR MEN / FOR WOMEN
   ========================================================= */
.duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding: 14px;
}
.duo-card {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--panel); border-radius: 2px; overflow: hidden;
  min-height: clamp(180px, 14.7vw, 250px);
}
.duo-card__body {
  padding: clamp(20px, 2.5vw, 38px);
  display: flex; flex-direction: column; justify-content: center; gap: 11px;
}
.duo-card__body h3 {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
}
.duo-card__body p { font-size: 12.5px; color: #5c5c62; font-weight: 300; }
.pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--ink); border-radius: 999px;
  padding: 10px 22px;
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.pill:hover { background: var(--ink); color: var(--white); }
.pill svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.duo-card__media { overflow: hidden; position: relative; }
.duo-card__media .ph { position: absolute; inset: 0; transition: transform .6s var(--ease); }
/* Trong cả 84 ảnh của ARMCEO chỉ có đúng một ảnh có người mẫu nữ, mà lại là
   ảnh ghép: 38% bên phải là bảng thông tin sản phẩm. Nới ảnh rộng hơn khung
   và neo mép trái để phần chữ bị khung cắt bỏ hẳn. */
.duo-card__media .ph[src*="armceo-women"] {
  /* max-width toàn cục là 100% nên nếu không gỡ thì ảnh không nới ra được */
  width: 162%; max-width: none; right: auto;
  object-position: left 42% !important;   /* banner gắn object-position nội tuyến */
}
.duo-card:hover .duo-card__media .ph { transform: scale(1.04); }

/* =========================================================
   QUAD — Essentials / Sustainability / Our story / Stores
   ========================================================= */
.quad {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  padding: 0 14px 14px;
}
.quad-card {
  position: relative; aspect-ratio: 1.3; overflow: hidden; border-radius: 2px;
  color: var(--white); display: block; background: #141416;
}
.quad-card .ph { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.quad-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, .62) 0%, rgba(10, 10, 12, .18) 55%, rgba(10, 10, 12, .38) 100%);
}
.quad-card:hover .ph { transform: scale(1.05); }
.quad-card__body { position: absolute; z-index: 2; inset: 0; padding: 22px 24px; }
.quad-card__body h3 {
  font-size: 11.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  margin-bottom: 10px;
}
.quad-card__body p { font-size: 14.5px; font-weight: 300; line-height: 1.55; color: var(--w-70); max-width: 20ch; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line); }
.footer__main {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding-block: 24px;
}
.footer__brand { display: flex; align-items: baseline; gap: 18px; }
.footer__brand .logo { color: var(--ink); font-size: 16px; letter-spacing: .26em; }
.footer__brand small {
  font-size: 9.5px; letter-spacing: .3em; color: var(--muted); text-transform: uppercase;
}
.footer__nav { display: flex; gap: clamp(14px, 2vw, 28px); margin-inline: auto; }
.footer__nav a { font-size: 13px; color: #4c4c52; }
.footer__nav a:hover { color: var(--ink); }
.footer__social { display: flex; align-items: center; gap: 10px; }
.social {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  transition: border-color .2s, background .2s, color .2s;
}
.social:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.social svg { width: 15px; height: 15px; fill: currentColor; }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 16px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 11px; color: var(--muted);
}
.footer__bottom .tag { letter-spacing: .28em; text-transform: uppercase; font-size: 9.5px; }

/* =========================================================
   Drawer mobile + reveal
   ========================================================= */
.drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(8, 8, 10, .6); }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(300px, 84vw);
  background: #0f0f12; color: var(--white); padding: 26px;
  display: flex; flex-direction: column;
  animation: slide-in .3s var(--ease);
}
@keyframes slide-in { from { transform: translateX(-100%); } }
.drawer__panel a { padding: 14px 6px; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.drawer__close { align-self: flex-end; font-size: 28px; line-height: 1; padding: 2px 8px; color: var(--w-70); }

.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .search { min-width: 0; }
  .hero__rail { display: none; }
  .cats__inner { grid-template-columns: 1fr; }
  .cats__tabs { flex-direction: row; gap: 24px; }
  .cats__all { text-align: left; display: flex; align-items: center; gap: 16px; }
  .cats__all p { margin: 0; }
}
@media (max-width: 900px) {
  .nav, .search, .lang { display: none; }
  .menu-toggle { display: grid; }
  /* Ẩn nav/search/lang làm flex mất chỗ dựa, icon dồn hết sang trái
     và bỏ trống 132px bên phải. Đẩy logo chiếm khoảng trống đó. */
  .header__inner { height: 62px; gap: 8px; }
  .logo { margin-right: auto; font-size: 16px; letter-spacing: .24em; }
  /* Vùng chạm tối thiểu 44px theo hướng dẫn tiếp cận của cả iOS lẫn Android */
  .icon-btn { width: 44px; height: 44px; }
  .topbar { font-size: 11.5px; padding: 8px 14px; }
  .topbar__sub { display: none; }     /* câu phụ đẩy dải lên 3 dòng */
  .duo { grid-template-columns: 1fr; }
  .quad { grid-template-columns: 1fr 1fr; }
  .cities { position: static; transform: none; width: auto; margin-top: 28px; }
  .citybn { align-items: center; }
  .footer__nav { margin-inline: 0; }
}
@media (max-width: 620px) {
  .cats__grid { grid-template-columns: 1fr 1fr; }
  .quad { grid-template-columns: 1fr; }
  .hero__film { display: none; }
  .hero__title { font-size: clamp(46px, 13vw, 64px); }
  /* 10-11px đọc được trên màn hình lớn nhưng quá nhỏ trên điện thoại */
  .kicker { font-size: 11.5px; }
  .hero__caption { font-size: 11.5px; }
  .footer__main { flex-direction: column; align-items: flex-start; gap: 18px; }
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible, .citybn :focus-visible { outline-color: var(--white); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
