/* Morvahli: preview design system. Display: Cormorant Garamond (OFL). UI/body: Jost (OFL). Self-hosted. */
@font-face { font-family: "Cormorant Garamond"; src: url("../assets/fonts/cormorant-garamond-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../assets/fonts/jost-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0E0D0C; --ink-2: #171614; --ink-3: #22201D;
  --bone: #ECE6DA; --bone-2: #E2DACB; --paper: #F4F0E8;
  --stone: #8E877B; --stone-2: #B9B1A3; --line: rgba(14,13,12,.14); --line-d: rgba(236,230,218,.14);
  --gold: #A88A55; --gold-2: #8C7446; --oxblood: #6E1F2A;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 64px); --max: 1480px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.65 var(--sans); letter-spacing: .01em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* Preview indicator: owner-only, deliberately quiet */
.preview-bar { background: var(--ink); color: var(--stone); font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-align: center; padding: 7px 12px; }
.preview-bar b { color: var(--stone-2); font-weight: 500; }

/* Type */
.eyebrow { font: 500 11px/1.2 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--stone); }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: .02em; line-height: 1.05; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: .02em; }
.link-u { font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: opacity .3s; }
.link-u:hover { opacity: .6; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244,240,232,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .bar { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav { display: flex; gap: 34px; }
.nav a, .tools a, .tools button { font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; transition: opacity .25s; background: none; border: 0; padding: 0; cursor: pointer; }
.nav a:hover, .tools a:hover { opacity: .55; }
.nav a[aria-current="page"] { border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.brand { display: block; }
.brand img { height: 17px; width: auto; }
.tools { display: flex; justify-content: flex-end; gap: 30px; align-items: center; }
.menu-btn { display: none !important; }
.brand .wm-light { display: none; }
.site-header.home { position: fixed; left: 0; right: 0; transition: background .5s var(--ease), color .5s var(--ease), border-color .5s; }
.site-header.home.on-dark { background: transparent; border-bottom-color: transparent; backdrop-filter: none; color: var(--bone); }
.site-header.home.on-dark .preview-bar { background: rgba(0,0,0,.35); }
.site-header.home.on-dark .brand { opacity: 0; pointer-events: none; }
.brand { transition: opacity .5s var(--ease); }
.mobile-nav { display: none; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--ink) url("../assets/img/concrete-wide.jpg") center/cover; color: var(--bone); overflow: hidden; display: grid; place-items: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--max); padding: 120px var(--pad) 64px; display: grid; justify-items: center; }
.hero-wordmark { width: min(1080px, 86vw); height: auto; }
.hero-figure { width: min(520px, 70vw); margin-top: clamp(-40px, -2vw, -10px); }
.hero-figure img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero-cta { margin-top: 6px; display: flex; gap: 28px; align-items: center; }
.hero .link-u { color: var(--bone); }
.hero-meta { position: absolute; z-index: 2; bottom: 28px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; color: var(--stone-2); }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 10vw, 140px) var(--pad); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(34px, 4vw, 54px); }

/* Product grid */
.grid { display: grid; gap: clamp(14px, 1.8vw, 28px); grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.shop-grid .grid { grid-template-columns: repeat(4, 1fr); }
.card.wide { grid-column: span 2; }
.card.wide .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.card.wide:hover .frame img { transform: scale(1.02); }
.card { display: block; }
.card .frame, .frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-2) url("../assets/img/concrete.jpg") center/cover; }
.frame.studio { background: var(--bone-2) url("../assets/img/studio.jpg") center/cover; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
.card .frame img.alt { opacity: 0; }
.card:hover .frame img { transform: scale(1.03); }
.card:hover .frame img.alt { opacity: 1; }
.card:hover .frame img.main.has-alt { opacity: 0; }
.card .meta { display: flex; justify-content: space-between; gap: 12px; padding: 16px 2px 0; }
.card .name { font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.card .sub { color: var(--stone); font-size: 12px; letter-spacing: .06em; margin-top: 3px; }
.card .price { font-size: 13px; letter-spacing: .06em; white-space: nowrap; padding-top: 4px; }
.sample-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font: 500 9px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(236,230,218,.55); }
.frame.studio .sample-tag { color: rgba(14,13,12,.45); }

/* Editorial block */
.editorial { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 88vh; background: var(--ink); color: var(--bone); }
.editorial .frame { aspect-ratio: auto; min-height: 88vh; }
.editorial .copy { display: grid; place-items: center; padding: var(--pad); text-align: center; }
.editorial blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(34px, 3.6vw, 58px); line-height: 1.15; letter-spacing: .01em; }
.editorial .emblem { width: 132px; margin: 0 auto 44px; opacity: .92; }
.editorial .eyebrow { color: var(--stone); }
.editorial .link-u { display: inline-block; margin-top: 18px; color: var(--bone); }

/* Join the list */
.join { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--pad); }
.join h2 { font-size: clamp(36px, 4vw, 52px); margin: 14px 0 12px; }
.join p { color: var(--stone); margin: 0 0 32px; }
.inline-form { display: flex; border-bottom: 1px solid var(--ink); max-width: 460px; margin: 0 auto; }
.inline-form input { flex: 1; border: 0; background: transparent; padding: 14px 2px; outline: none; font-size: 14px; letter-spacing: .04em; }
.inline-form button { border: 0; background: none; font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; cursor: pointer; padding: 0 2px 0 16px; }
.form-note { font-size: 12px; color: var(--stone); margin-top: 14px; min-height: 18px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--bone); }
.site-footer .inner { max-width: var(--max); margin: 0 auto; padding: 72px var(--pad) 36px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: start; }
.site-footer .seal { width: 78px; justify-self: center; opacity: .95; }
.site-footer nav { display: grid; gap: 12px; }
.site-footer nav a { font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone-2); }
.site-footer nav a:hover { color: var(--bone); }
.site-footer nav.right { justify-items: end; }
.site-footer .base { max-width: var(--max); margin: 0 auto; padding: 20px var(--pad) 32px; border-top: 1px solid var(--line-d); display: flex; justify-content: space-between; color: var(--stone); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer-word { width: 150px; margin: 0 auto; opacity: .9; }

/* Page head */
.page-head { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--pad) clamp(24px, 3vw, 40px); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1; }
.filters { display: flex; gap: 22px; flex-wrap: wrap; }
.filters button { border: 0; background: none; cursor: pointer; padding: 0 0 5px; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); border-bottom: 1px solid transparent; }
.filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.shop-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(80px, 10vw, 140px); }

/* Product page */
.pdp { max-width: var(--max); margin: 0 auto; padding: 36px var(--pad) 110px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .8fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery .frame:first-child { grid-column: 1 / -1; }
.buy { position: sticky; top: 100px; }
.crumbs { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 22px; }
.buy h1 { font-size: clamp(36px, 3.4vw, 50px); line-height: 1.05; }
.buy .price { font-size: 16px; letter-spacing: .06em; margin: 14px 0 0; }
.buy .sample-note { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-top: 8px; }
.buy .desc { margin: 26px 0 30px; color: #3a3733; max-width: 460px; }
.opt { margin: 0 0 26px; }
.opt-label { display: flex; justify-content: space-between; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.opt-label span { color: var(--stone); letter-spacing: .12em; text-transform: none; font-size: 12px; font-weight: 400; }
.swatches { display: flex; gap: 12px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); cursor: pointer; padding: 0; box-shadow: inset 0 0 0 3px var(--paper); }
.swatch[aria-pressed="true"] { outline: 1px solid var(--ink); outline-offset: 3px; }
.sizes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.size { border: 1px solid var(--line); background: transparent; padding: 13px 0; cursor: pointer; font-size: 12px; letter-spacing: .1em; transition: border-color .2s; }
.size:hover { border-color: var(--ink); }
.size[aria-pressed="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.size.one { grid-column: span 3; }
.text-btn { background: none; border: 0; padding: 0; cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; color: var(--stone); }
.btn { display: block; width: 100%; border: 1px solid var(--ink); background: var(--ink); color: var(--bone); padding: 18px; cursor: pointer; font: 500 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; transition: background .3s, color .3s; text-align: center; }
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bone); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.buy .assure { margin-top: 18px; font-size: 12px; color: var(--stone); line-height: 1.8; }
.acc { border-top: 1px solid var(--line); margin-top: 36px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 300; font-size: 16px; line-height: 10px; }
.acc details[open] summary::after { content: "–"; }
.acc .body { padding: 0 0 20px; color: #3a3733; font-size: 14px; }
.acc ul { margin: 0; padding-left: 18px; }
.acc li { margin: 4px 0; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: var(--bone); padding: 14px 22px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transition: .4s var(--ease); z-index: 60; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
dialog { border: 0; padding: 40px; max-width: 560px; width: calc(100% - 40px); background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgba(14,13,12,.6); }
dialog h3 { font-size: 30px; margin-bottom: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); }
th { font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.dialog-note { font-size: 12px; color: var(--stone); margin-top: 14px; }
.close-x { position: absolute; top: 16px; right: 18px; background: none; border: 0; font-size: 22px; cursor: pointer; }

/* Bag */
.bag { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 120px; display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: start; }
.bag-items { border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 110px 1fr auto; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.line .frame { aspect-ratio: 4/5; }
.line .t { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.line .v { font-size: 12px; color: var(--stone); letter-spacing: .06em; margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 14px; }
.qty button { background: none; border: 0; width: 32px; height: 32px; cursor: pointer; }
.qty span { min-width: 26px; text-align: center; font-size: 13px; }
.line .r { text-align: right; font-size: 14px; }
.line .rm { display: block; margin-top: 10px; }
.summary { background: var(--bone); padding: 32px; position: sticky; top: 100px; }
.summary h2 { font-size: 28px; margin-bottom: 20px; }
.row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 16px; }
.ship-progress { font-size: 12px; color: var(--stone); margin: 6px 0 18px; }
.bar-track { height: 1px; background: var(--line); margin-top: 8px; }
.bar-fill { height: 1px; background: var(--gold); }
.summary .btn { margin-top: 22px; }
.summary .fine { font-size: 11px; color: var(--stone); margin-top: 14px; line-height: 1.7; }
.empty { text-align: center; padding: 60px 0; }

/* Prose pages */
.prose { max-width: 760px; margin: 0 auto; padding: 0 var(--pad) 120px; }
.prose h2 { font-size: 30px; margin: 56px 0 14px; }
.prose h3 { font-family: var(--sans); font: 500 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: 30px 0 8px; }
.prose p, .prose li { color: #3a3733; }
.prose .lede { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; color: var(--ink); }
.draft-flag { display: inline-block; border: 1px solid var(--oxblood); color: var(--oxblood); font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 6px 10px; margin-bottom: 26px; }
.review { background: rgba(168,138,85,.14); padding: 0 4px; }

/* About */
.about { min-height: calc(100vh - 68px); background: var(--ink) url("../assets/img/concrete-wide.jpg") center/cover; color: var(--bone); display: grid; place-items: center; text-align: center; padding: 120px var(--pad); }
.about .emblem { width: 108px; margin: 0 auto 48px; }
.about p { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.35; max-width: 820px; margin: 0 auto; }

/* Collection (lookbook) */
.look { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(56px, 7vw, 104px) clamp(14px, 2vw, 28px); max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 120px; align-items: end; }
.look .item { display: block; }
.look .item .cap { display: flex; justify-content: space-between; padding-top: 12px; font-size: 12px; letter-spacing: .08em; color: var(--stone); }
.look .item .cap b { font-family: var(--serif); font-weight: 400; font-size: 19px; letter-spacing: .02em; color: var(--ink); }
.look .a { grid-column: 1 / 8; } .look .b { grid-column: 9 / 13; }
.look .c { grid-column: 2 / 6; } .look .d { grid-column: 7 / 13; }
.look .e { grid-column: 1 / 13; } .look .e .frame { aspect-ratio: 16 / 8; }
.look .f { grid-column: 1 / 6; } .look .g { grid-column: 7 / 12; }
.look .h { grid-column: 1 / 5; } .look .i { grid-column: 5 / 9; } .look .j { grid-column: 9 / 13; }

/* Contact */
.contact { max-width: 1100px; margin: 0 auto; padding: 0 var(--pad) 120px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; }
.field { display: block; margin-bottom: 22px; }
.field span { display: block; font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--stone); margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 0; outline: none; font-size: 15px; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }

/* Responsive */
@media (max-width: 1080px) {
  .grid.four, .shop-grid .grid { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; }
  .buy { position: static; }
  .bag { grid-template-columns: 1fr; }
  .editorial { grid-template-columns: 1fr; }
  .editorial .frame { min-height: 70vh; }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .site-header .bar { grid-template-columns: 1fr auto 1fr; height: 58px; }
  .nav, .tools .hide-m { display: none; }
  .menu-btn { display: inline-block !important; }
  .tools { gap: 18px; }
  .brand img { height: 14px; }
  .mobile-nav { display: none; position: fixed; inset: 0; z-index: 70; background: var(--ink); color: var(--bone); padding: 90px 28px; }
  .mobile-nav.open { display: grid; align-content: start; gap: 26px; }
  .mobile-nav a { font-family: var(--serif); font-size: 36px; }
  .mobile-nav .close-x { color: var(--bone); top: 22px; right: 22px; }
  .grid, .grid.four, .shop-grid .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card .name { font-size: 17px; }
  .card .meta { flex-direction: column; gap: 2px; padding-top: 10px; }
  .card .price { padding-top: 0; }
  .hero-inner { padding-top: 110px; }
  .hero-figure { width: 82vw; }
  .hero-meta { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .sizes { grid-template-columns: repeat(3, 1fr); }
  .site-footer .inner { grid-template-columns: 1fr 1fr; }
  .site-footer .seal { grid-column: 1 / -1; grid-row: 1; }
  .site-footer .base { flex-direction: column; gap: 8px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .look .item { grid-column: 1 / -1 !important; }
  .line { grid-template-columns: 84px 1fr; }
  .line .r { grid-column: 2; text-align: left; }
}
.tools .hide-m { display: contents; }
@media (max-width: 760px) { .tools .hide-m { display: none; } }
@media (max-width: 760px) { .site-header .brand { grid-column: 2; } .site-header .tools { grid-column: 3; } }
a.frame { display: block; }
