/* Arham Ecom — layout: a calm 12-column retail grid; arched image frames (a doorway, "home") are the one recurring motif */
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --paper: #F6F6F3;
  --surface: #FFFFFF;
  --stone: #ECEBE6;
  --ink: #1C211E;
  --ink-2: #474E49;
  --muted: #747A75;
  --line: #E0E0DA;
  --sage: #3E5245;
  --sage-2: #5C7264;
  --sage-soft: #E5EAE3;
  --on-dark: #F2F3EF;
  --display: "Inter Display", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1280px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.22, .7, .18, 1);
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  animation: pageIn .6s var(--ease) both;
}
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: -0.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
.display { font-weight: 300; font-size: clamp(44px, 6.2vw, 88px); letter-spacing: -0.04em; line-height: 1.0; }
.h2 { font-size: clamp(32px, 3.6vw, 50px); font-weight: 300; letter-spacing: -0.035em; }
.h3 { font-size: 22px; letter-spacing: -0.015em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 52ch; margin: 22px 0 0; }
.muted { color: var(--muted); }
.serif-num { font-variant-numeric: tabular-nums; }
p { margin: 0 0 1em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; letter-spacing: .01em;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--sage); border-color: var(--sage); }
.btn:active { transform: scale(.98); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow svg { transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- announcement ---------- */
.announce { background: var(--sage); color: var(--on-dark); font-size: 12.5px; letter-spacing: .06em; overflow: hidden; height: 38px; display: flex; align-items: center; }
.announce__track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 38s linear infinite; padding-left: 56px; }
.announce__track span { display: inline-flex; align-items: center; gap: 56px; }
.announce__track span::after { content: "✦"; opacity: .5; font-size: 9px; }
.announce:hover .announce__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(246, 246, 243, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(28, 33, 30, .25); }
.header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; transition: height .4s var(--ease); }
.header.is-scrolled .header__bar { height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { width: 30px; height: 34px; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--display); font-weight: 500; font-size: 23px; letter-spacing: -0.03em; }
.logo__sub { font-size: 9px; font-weight: 600; letter-spacing: .38em; color: var(--sage); margin-top: 5px; }
.nav { display: flex; gap: 36px; }
.nav a { position: relative; font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 6px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; transition: background .3s; }
.icon-btn:hover { background: var(--stone); }
.basket-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--sage); color: #fff; font-size: 10.5px; font-weight: 600; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease); }
.basket-count.has-items { transform: scale(1); }
.basket-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; min-height: min(760px, calc(100vh - 114px)); padding-block: clamp(48px, 6vw, 72px); }
.hero__copy { max-width: 620px; }
.hero__copy .display span { display: block; }
.hero__copy .display em { font-style: normal; color: var(--sage); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.hero__meta strong { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.hero__art { position: relative; aspect-ratio: 1 / 1.02; max-width: 600px; justify-self: end; width: 100%; }
.arch { overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); background: var(--stone); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__a1 { position: absolute; left: 4%; top: 0; width: 62%; aspect-ratio: 3 / 4; box-shadow: 0 40px 80px -40px rgba(28, 33, 30, .35); }
.hero__a2 { position: absolute; right: 0; top: 30%; width: 44%; aspect-ratio: 3 / 4; box-shadow: 0 30px 60px -30px rgba(28, 33, 30, .35); }
.hero__a3 { position: absolute; left: 22%; bottom: 0; width: 30%; aspect-ratio: 1; border-radius: 999px; box-shadow: 0 24px 50px -24px rgba(28, 33, 30, .35); }
.hero__chip { position: absolute; left: -4%; top: 58%; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-size: 13px; line-height: 1.35; box-shadow: 0 20px 40px -24px rgba(28, 33, 30, .3); display: flex; gap: 12px; align-items: center; max-width: 230px; }
.hero__chip svg { flex: none; color: var(--sage); }
.float-a { animation: floatA 9s ease-in-out infinite; }
.float-b { animation: floatB 11s ease-in-out infinite; }
.float-c { animation: floatA 10s ease-in-out -3s infinite; }
@keyframes floatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes floatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 10px; } }
.hero-in > * { animation: rise .9s var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: .08s; }
.hero-in > *:nth-child(3) { animation-delay: .16s; }
.hero-in > *:nth-child(4) { animation-delay: .24s; }
.hero-in > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__art .arch, .hero__chip { animation: rise 1.1s var(--ease) both; }
.hero__a2 { animation-delay: .15s !important; } .hero__a3 { animation-delay: .3s !important; } .hero__chip { animation-delay: .45s; }

/* ---------- section heads ---------- */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); flex-wrap: wrap; }
.sec-head p { margin: 14px 0 0; color: var(--ink-2); max-width: 46ch; }

/* ---------- product cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; display: block; width: 100%; aspect-ratio: 1; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: var(--stone); cursor: zoom-in; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge { position: absolute; top: 14px; left: 14px; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; }
.card__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 46px; border-radius: 99px; border: 0; background: rgba(28, 33, 30, .92); color: #fff; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 8px; transform: translateY(calc(100% + 16px)); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease), background .3s; }
.card:hover .card__quick, .card:focus-within .card__quick { transform: none; opacity: 1; }
.card__quick:hover { background: var(--sage); }
.card__quick.is-added { background: var(--sage); }
.card__body { display: flex; justify-content: space-between; gap: 14px; padding-top: 16px; }
.card__cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.card__title { font-size: 15.5px; font-weight: 500; line-height: 1.35; }
.card__title button { all: unset; cursor: pointer; }
.card__title button:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__price { font-size: 15.5px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card__add-mobile { display: none; }

/* ---------- collections ---------- */
.collections { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.coll { position: relative; display: flex; flex-direction: column; gap: 20px; }
.coll__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; }
.coll__frame img { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 24px 50px -28px rgba(28, 33, 30, .45); transition: transform 1s var(--ease); }
.coll__frame img:nth-child(1) { left: 50%; top: 18%; translate: -50% 0; width: 70%; }
.coll__frame img:nth-child(2) { left: 6%; bottom: 6%; width: 42%; }
.coll__frame img:nth-child(3) { right: 6%; bottom: 10%; width: 36%; }
.coll:hover .coll__frame img:nth-child(1) { transform: translateY(-10px) scale(1.03); }
.coll:hover .coll__frame img:nth-child(2) { transform: translate(-6px, 6px); }
.coll:hover .coll__frame img:nth-child(3) { transform: translate(6px, -6px); }
.coll__info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.coll__info h3 { font-size: 26px; font-weight: 300; letter-spacing: -0.03em; }
.coll__count { font-size: 13px; color: var(--muted); }
.coll__go { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 99px; border: 1px solid var(--line); transition: background .4s var(--ease), color .4s, border-color .4s, transform .4s var(--ease); flex: none; }
.coll:hover .coll__go { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(-45deg); }

/* ---------- featured collection ---------- */
.feature { background: var(--sage); color: var(--on-dark); overflow: hidden; }
.feature__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.feature .eyebrow { color: #C9D6CC; }
.feature .h2 { color: #fff; }
.feature p { color: #D5DED7; }
.feature__ctas { display: flex; gap: 10px; margin-top: 34px; flex-wrap: wrap; align-items: center; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; display: grid; place-items: center; transition: background .3s, color .3s; }
.rail-nav button:hover { background: #fff; color: var(--sage); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc((100% - 48px) / 3)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }
.feature .card__media { background: #34463A; }
.feature .card__cat { color: #B9C7BD; }
.feature .card__title, .feature .card__price { color: #fff; }

/* ---------- why / trust ---------- */
.why { background: var(--stone); }
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid #D6D5CE; }
.why__item { padding: 34px 28px 10px 0; }
.why__item + .why__item { padding-left: 28px; border-left: 1px solid #D6D5CE; }
.why__icon { width: 52px; height: 52px; border-radius: 99px; background: var(--paper); display: grid; place-items: center; color: var(--sage); margin-bottom: 22px; }
.why__item h3 { font-size: 19px; margin-bottom: 10px; }
.why__item p { font-size: 14.5px; color: var(--ink-2); margin: 0; }

/* ---------- contact block ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.details { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; }
.details li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.details .ic { width: 44px; height: 44px; border-radius: 99px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--sage); background: var(--surface); }
.details small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.details a, .details span { font-size: 16px; overflow-wrap: anywhere; }
.details a:hover { color: var(--sage); }

/* ---------- forms ---------- */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 40px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; min-width: 0; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 14px 16px; font-size: 15.5px; transition: border-color .3s, background .3s, box-shadow .3s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sage); background: #fff; box-shadow: 0 0 0 4px var(--sage-soft); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 4px 0 22px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--sage); flex: none; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form__note { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form__status { margin-top: 18px; padding: 16px 18px; border-radius: 10px; font-size: 14.5px; display: none; }
.form__status.is-ok { display: block; background: var(--sage-soft); color: var(--sage); }
.form__status.is-warn { display: block; background: #F4EFE4; color: #6B5326; }
.form__status a { font-weight: 600; text-decoration: underline; }
.hp { position: absolute; left: -10000px; }

/* ---------- page header ---------- */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px); }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { font-size: clamp(40px, 5.2vw, 72px); font-weight: 300; letter-spacing: -0.04em; }

/* ---------- shop toolbar ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 18px; border-block: 1px solid var(--line); margin-bottom: 36px; position: sticky; top: 64px; z-index: 20; background: rgba(246, 246, 243, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 9px 18px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: all .3s var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip sup { font-size: 10px; margin-left: 3px; opacity: .7; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sort select { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 9px 36px 9px 16px; font-size: 14px; color: var(--ink); appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231C211E' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.shop-grid .card { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.shop-grid .card.is-hiding { opacity: 0; transform: scale(.97); }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split .arch { aspect-ratio: 4 / 5; max-width: 520px; }
.prose { font-size: 17px; color: var(--ink-2); max-width: 62ch; }
.prose p { margin-bottom: 1.15em; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.value h3 { font-size: 20px; margin: 18px 0 10px; }
.value p { margin: 0; color: var(--ink-2); font-size: 15px; }
.value .num { font-family: var(--display); font-weight: 300; font-size: 15px; color: var(--sage); letter-spacing: .04em; }
.company-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 3vw, 36px); }
.company-card small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.company-card div { font-size: 15.5px; min-width: 0; overflow-wrap: anywhere; }

/* ---------- legal ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: 100px; font-size: 14px; }
.legal__toc p { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.legal__toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--ink-2); }
.legal__toc a:hover { color: var(--sage); }
.legal__body { max-width: 72ch; font-size: 16px; color: var(--ink-2); }
.legal__body h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin: 48px 0 14px; scroll-margin-top: 100px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 17px; font-weight: 500; color: var(--ink); margin: 24px 0 8px; letter-spacing: -0.01em; }
.legal__body ul { padding-left: 20px; margin: 0 0 1em; }
.legal__body li { margin-bottom: 6px; }
.legal__body a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }
.summary { background: var(--sage-soft); border-radius: 14px; padding: 24px 28px; margin-bottom: 40px; color: var(--ink); }
.summary ul { margin: 10px 0 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; color: var(--ink); background: var(--stone); }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 99px; background: var(--sage-soft); color: var(--sage); font-weight: 600; font-size: 12.5px; margin-bottom: 10px; }
.summary-card { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.summary-card h2 { font-size: 22px; margin-bottom: 18px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; padding: 6px 0; font-variant-numeric: tabular-nums; }
.sum-line--total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 18px; font-weight: 600; }
.mini-items { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.mini-items li { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; font-size: 14px; }
.mini-items img { width: 60px; height: 60px; border-radius: 8px; background: var(--stone); }
.mini-items .q { color: var(--muted); font-size: 13px; }
.empty { text-align: center; padding: 40px 10px; color: var(--ink-2); }
.done { text-align: center; max-width: 560px; margin: 0 auto; padding: 40px 0; }
.done__tick { width: 72px; height: 72px; border-radius: 99px; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; margin: 0 auto 24px; }

/* ---------- drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(28, 33, 30, .38); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); z-index: 60; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 70; display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s linear .55s; box-shadow: -30px 0 60px -30px rgba(28, 33, 30, .35);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); }
.drawer.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 22px; }
.drawer__ship { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.bar { height: 4px; background: var(--stone); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; background: var(--sage); border-radius: 99px; transition: width .6s var(--ease); }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: rise .5s var(--ease) both; }
.line-item img { width: 84px; height: 84px; border-radius: 8px; background: var(--stone); }
.line-item__top { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; font-weight: 500; }
.line-item__top span:last-child { font-variant-numeric: tabular-nums; }
.line-item__cat { font-size: 12px; color: var(--muted); margin: 2px 0 10px; }
.line-item__row { display: flex; align-items: center; justify-content: space-between; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; height: 36px; background: var(--surface); }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; display: grid; place-items: center; border-radius: 99px; }
.qty button:hover { background: var(--stone); }
.qty span, .qty input { width: 30px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; border: 0; background: transparent; }
.remove { border: 0; background: none; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.remove:hover { color: var(--ink); }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--surface); }
.drawer__foot .btn { margin-top: 16px; }
.drawer__foot small { display: block; text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 12px; }

/* ---------- quick view ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.modal__panel { position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--paper); border-radius: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .45s var(--ease), transform .55s var(--ease); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .45); }
.modal.is-open { pointer-events: auto; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__media { background: var(--stone); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.modal__body { padding: clamp(24px, 3.5vw, 48px); display: flex; flex-direction: column; }
.modal__body h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 300; letter-spacing: -0.03em; margin: 6px 0 12px; }
.modal__price { font-size: 22px; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.modal__body ul { padding-left: 18px; margin: 0 0 22px; color: var(--ink-2); font-size: 14.5px; }
.modal__actions { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.modal__actions .qty { height: 52px; }
.modal__actions .qty button { width: 44px; height: 50px; }
.modal__actions .btn { flex: 1; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--paper); }
.modal__note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90; transform: translate(-50%, 140%); background: var(--ink); color: var(--paper); padding: 14px 20px; border-radius: 99px; font-size: 14px; display: flex; gap: 10px; align-items: center; transition: transform .5s var(--ease), visibility 0s linear .5s; visibility: hidden; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease), visibility 0s; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #C9CDC9; padding-top: clamp(64px, 8vw, 104px); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 40px; padding-bottom: 64px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: #9FB3A5; }
.footer__about { font-size: 14.5px; line-height: 1.65; margin: 22px 0 0; max-width: 34ch; color: #A9AFAA; }
.footer h3 { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 14.5px; }
.footer a { transition: color .3s; }
.footer a:hover { color: #fff; }
.footer__contact li { overflow-wrap: anywhere; }
.footer__legal { padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12.5px; color: #8B918C; }
.footer__legal p { margin: 0; max-width: 92ch; }
.footer__big { font-family: var(--display); font-weight: 300; font-size: clamp(64px, 15vw, 220px); letter-spacing: -0.06em; line-height: .8; color: rgba(255, 255, 255, .06); margin: 0; padding-top: 24px; white-space: nowrap; overflow: hidden; user-select: none; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.notfound .display { font-size: clamp(80px, 14vw, 180px); color: var(--sage); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .feature__grid { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-auto-columns: minmax(240px, calc((100% - 48px) / 3)); }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .company-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .header__bar { grid-template-columns: auto 1fr auto; }
  .header__bar .logo { grid-column: 2; justify-self: center; }
  .menu-btn { display: inline-grid; grid-column: 1; grid-row: 1; }
  .header__actions { grid-column: 3; }
  .mobile-nav { display: block; position: fixed; inset: 0; z-index: 75; background: var(--paper); padding: calc(24px + env(safe-area-inset-top, 0px)) var(--gutter-r) 24px var(--gutter); transform: translateY(-100%); transition: transform .55s var(--ease); visibility: hidden; }
  .mobile-nav.is-open { transform: none; visibility: visible; }
  .mobile-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
  .mobile-nav nav { display: grid; gap: 6px; }
  .mobile-nav nav a { font-family: var(--display); font-size: 40px; font-weight: 300; letter-spacing: -0.035em; padding: 6px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav .details { margin-top: 32px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 28px; }
  .hero__art { justify-self: center; max-width: 520px; }
  .hero__chip { left: 0; }
  .grid--3, .collections { grid-template-columns: minmax(0, 1fr); }
  .collections { gap: 40px; }
  .coll__frame { aspect-ratio: 5 / 4; }
  .coll__frame img:nth-child(1) { width: 50%; top: 14%; }
  .contact-grid, .split, .checkout, .legal { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; }
  .summary-card { position: static; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .modal__panel { grid-template-columns: minmax(0, 1fr); }
  .modal__media img { aspect-ratio: 4 / 3; }
  .toolbar { top: 64px; }
}
@media (max-width: 640px) {
  .grid--4, .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__quick { display: none; }
  .card__add-mobile { display: flex; margin-top: 10px; min-height: 40px; border-radius: 99px; border: 1px solid var(--ink); background: transparent; font-size: 13px; font-weight: 500; align-items: center; justify-content: center; gap: 6px; width: 100%; transition: background .3s, color .3s; }
  .card__add-mobile:hover, .card__add-mobile.is-added { background: var(--ink); color: var(--paper); }
  .feature .card__add-mobile { border-color: rgba(255,255,255,.5); color: #fff; }
  .card__body { flex-direction: column; gap: 4px; }
  .card__title { font-size: 14px; }
  .rail { grid-auto-columns: 72%; }
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__item, .why__item + .why__item { padding: 26px 0; border-left: 0; border-bottom: 1px solid #D6D5CE; }
  .form__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__contact { grid-column: 1 / -1; }
  .company-card { grid-template-columns: minmax(0, 1fr); }
  .hero__meta { gap: 20px; }
  .hero__chip { display: none; }
  .toolbar { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
