/* Omar Ali Shop. Light only. House fonts (Archivo for the wordmark, Newsreader for titles, Instrument Sans for text),
   house palette, square panels with the offset lift. Poppy only for the one buy action and the wordmark stop. */
@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-wdth.woff2") format("woff2"); font-weight: 400; font-stretch: 100% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/InstrumentSans-wght.woff2") format("woff2"); font-weight: 400 500; font-stretch: 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/Newsreader-opsz-wght.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
:root {
  --paper: #f6f6f2; --white: #fff; --ink: #17171b; --soft: #4a4a52;
  --poppy: #ef4a24; --fill: #d63a12; --small: #b02a10;
  --sky: #cfe3f4; --blush: #f9d6dd; --lilac: #dcd6f7;
  --rule: rgba(23, 23, 27, .2); --wash: rgba(23, 23, 27, .06); --lift: 3px 4px 0 rgba(23, 23, 27, .12);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--text); font-style: normal; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 14px; border: 1px solid var(--ink); z-index: 100; }
.skip:focus { left: 8px; }
main, .bar, .foot { max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.banner { background: var(--lilac); text-align: center; font-size: 15px; padding: 8px var(--gutter); }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 72px; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.sign { width: 34px; height: auto; }
.word { font-family: var(--display); font-stretch: 125%; text-transform: uppercase; letter-spacing: -.035em; line-height: .9; font-size: 20px; white-space: nowrap; }
.stop { display: inline-block; width: .19em; height: .19em; margin-left: .05em; border-radius: 50%; background: var(--poppy); }
.nav { display: flex; gap: 6px 20px; flex-wrap: wrap; font-size: 15px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--ink); }

/* Home */
.intro { display: grid; gap: 28px; padding: 36px 0 20px; align-items: center; }
.intro h1 { font: 400 clamp(2rem, 7vw, 3.6rem)/1.06 var(--serif); letter-spacing: -.012em; text-wrap: balance; max-width: 15em; }
.intro p { color: var(--soft); max-width: 36em; margin-top: 16px; text-wrap: pretty; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px !important; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; font-size: 15px; background: var(--white); color: var(--ink); }
.jump a:hover { background: var(--wash); }
.mat { background: var(--white); border: 1px solid var(--rule); padding: 12px; display: flex; align-items: center; justify-content: center; }
.intro-photo .mat { aspect-ratio: 3 / 2; box-shadow: var(--lift); padding: 16px; }
.intro-photo img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.plaque { margin-top: 12px; font-size: 14px; color: var(--soft); }
.plaque strong { color: var(--ink); font-weight: 500; margin-right: 6px; }

.line { padding: 44px 0 8px; }
.line h2 { font: 400 15px/1 var(--text); margin-bottom: 22px; }
.line h2 span { display: inline-block; padding: 9px 16px; background: var(--sky); border: 1px solid var(--ink); font-weight: 500; font-size: 16px; }
.line h2.blush span { background: var(--blush); } .line h2.lilac span { background: var(--lilac); }
.lede { max-width: 38em; color: var(--soft); margin: -6px 0 22px; text-wrap: pretty; }
.grid { display: grid; grid-template-columns: 1fr; gap: 28px var(--gutter); }
.card a { display: block; text-decoration: none; }
.card .mat { aspect-ratio: 5 / 4; transition: box-shadow .2s ease, transform .2s ease; }
.card .mat img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.card a:hover .mat, .card a:focus-visible .mat { box-shadow: var(--lift); transform: translate(-2px, -2px); }
.card.soon .mat img { opacity: .82; }
.label { padding-top: 12px; }
.label h3 { font: 400 22px/1.2 var(--serif); text-wrap: balance; }
.where { font-size: 14px; color: var(--soft); margin-top: 2px; }
.price { margin-top: 6px; font-weight: 500; font-size: 16px; }

/* Product */
.crumbs { padding: 18px 0 0; font-size: 14px; color: var(--soft); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
.product { display: grid; gap: 24px; padding: 16px 0 24px; }
.mat.big { padding: 16px; min-height: 260px; box-shadow: var(--lift); }
.mat.big img { max-height: 78vh; width: auto; max-width: 100%; }
.p-info h1 { font: 400 clamp(1.9rem, 5vw, 2.8rem)/1.1 var(--serif); text-wrap: balance; }
.short { color: var(--soft); margin-top: 10px; max-width: 32em; text-wrap: pretty; }
.buy-form { margin-top: 24px; display: grid; gap: 16px; }
.sizes { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sizes legend { padding: 0; margin-bottom: 8px; font-weight: 500; font-size: 15px; }
.size { position: relative; display: inline-flex; flex-direction: column; justify-content: center; min-width: 108px; min-height: 56px; padding: 6px 14px; background: var(--white); border: 1px solid var(--rule); cursor: pointer; line-height: 1.25; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size em { font-style: normal; font-size: 14px; color: var(--soft); }
.size:has(input:checked) { border: 2px solid var(--ink); padding: 5px 13px; background: var(--sky); }
.size:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.size:has(input:disabled) { cursor: default; opacity: .7; }
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.big-price { font: 500 32px/1 var(--text); }
.vat { font-size: 14px; color: var(--soft); }
.qty { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.qty select { min-height: 44px; padding: 0 12px; font: inherit; background: var(--white); border: 1px solid var(--ink); border-radius: 0; color: var(--ink); }
.buy { min-height: 56px; width: 100%; background: var(--fill); color: var(--white); border: 1px solid var(--fill); font: 500 18px/1 var(--text); cursor: pointer; box-shadow: var(--lift); transition: background .15s ease; }
.buy:hover:not(:disabled) { background: var(--small); border-color: var(--small); }
.buy:disabled { background: var(--wash); color: var(--soft); border-color: var(--rule); cursor: default; box-shadow: none; }
.buy.busy { opacity: .7; cursor: progress; }
.msg { padding: 10px 12px; background: var(--blush); border: 1px solid var(--ink); font-size: 15px; }
.note { margin-top: 14px; padding: 10px 12px; background: var(--wash); font-size: 15px; color: var(--ink); }
.facts { margin-top: 24px; display: grid; gap: 8px; font-size: 15px; color: var(--soft); border-top: 1px solid var(--rule); padding-top: 18px; }
.facts li { padding-left: 16px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--ink); }
.room { margin-top: 18px; font-size: 15px; color: var(--soft); }
.set { padding: 24px 0 16px; }
.set h2 { font: 400 26px/1.2 var(--serif); margin-bottom: 18px; }
.contents { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.contents .mat { aspect-ratio: 4 / 3; padding: 8px; }
.contents img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }

.plain { max-width: 40em; padding: 48px 0 40px; }
.plain h1 { font: 400 clamp(2rem, 6vw, 2.8rem)/1.1 var(--serif); margin-bottom: 20px; text-wrap: balance; }
.plain h2 { font: 500 17px/1.3 var(--text); margin: 26px 0 6px; }
.plain p { color: var(--soft); text-wrap: pretty; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); background: var(--white); text-decoration: none; margin-top: 12px; box-shadow: var(--lift); }

.foot { margin-top: 56px; padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--rule); }
.foot-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.foot h2 { font: 500 16px/1.3 var(--text); margin-bottom: 6px; }
.foot p { font-size: 15px; color: var(--soft); text-wrap: pretty; }
.fine { margin-top: 28px; font-size: 14px; }

@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .contents { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .intro { grid-template-columns: 5fr 7fr; gap: 56px; padding: 56px 0 28px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
  .product { grid-template-columns: 7fr 5fr; gap: 56px; padding-top: 24px; }
  .p-photo { position: sticky; top: 16px; align-self: start; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
