:root {
  --paper: #fff;
  --tile: #f1efea;
  --ink: #121212;
  --black: #000;
  --muted: #666;
  --earth: #5e4630;
  --line: rgba(0, 0, 0, .14);
  --font: "Murecho", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 3vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 14px/1.6 var(--font); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--earth); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.center { text-align: center; margin-top: 36px; }

/* Header */
.announce { background: #161616; color: #fff; text-align: center; font-size: 11px; padding: 8px 12px; }
.announce strong { font-weight: 600; margin-right: 8px; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; padding: 12px var(--gutter); background: var(--black); color: #fff; }
.nav__links, .nav__right { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.nav__right { justify-content: flex-end; }
.nav a { text-decoration: none; }
.nav__links a:hover, .nav__right a:hover { opacity: .65; }
.nav__logo img { height: 24px; width: auto; }
.nav__cart { font-size: 13px; }
.nav__cart span { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; margin-left: 4px; border-radius: 9px; background: #fff; color: #000; font-size: 11px; letter-spacing: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 11px 22px; font-size: 12px; font-weight: 500; line-height: 1.3; text-decoration: none; transition: background .2s, color .2s; }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: rgba(255, 255, 255, .82); }
.btn--solid { background: #000; color: #fff; }
.btn--solid:hover { background: var(--earth); }
.btn--earth { background: var(--earth); color: #fff; }
.btn--line { border: 1px solid #000; }
.btn--line:hover { background: #000; color: #fff; }
.btn--wide { width: 100%; }

/* Hero */
.hero { position: relative; height: clamp(440px, 54vw, 84vh); background: #000; color: #fff; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }
.hero__copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 56px); font-weight: 500; line-height: 1.1; }
.hero p { font-size: clamp(14px, 1.3vw, 17px); margin: 10px 0 22px; }
.hero__sound { position: absolute; right: var(--gutter); bottom: 18px; font-size: 11px; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .3); }
.hero__sound:hover { background: rgba(0, 0, 0, .65); }

/* Product grid */
.lineup { padding-block: clamp(44px, 5vw, 72px); }
.sec-head { text-align: center; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(20px, 2vw, 25px); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(10px, 1.4vw, 20px); }
.card { min-width: 0; text-align: center; }
.card__frame { position: relative; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; isolation: isolate; }
.card__media img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .3s; }
.card__alt { opacity: 0; }
.card:hover .card__alt { opacity: 1; }
.card:hover .card__img:has(+ .card__alt) { opacity: 0; }
.card h3 { font-size: 13px; line-height: 1.35; margin-top: 12px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__color { color: var(--muted); font-size: 12px; }
.card__price { font-size: 12px; margin-top: 2px; }
.card__add { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 38px; background: #000; color: #fff; font-size: 11px; opacity: 0; transition: opacity .2s, background .2s; }
.card:hover .card__add, .card__add:focus-visible { opacity: 1; }
.card__add:hover { background: var(--earth); }

/* Tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { position: relative; display: block; aspect-ratio: 8 / 7; overflow: hidden; color: #fff; text-decoration: none; background: #000; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tile:hover img { transform: scale(1.03); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 58%); }
.tile__copy { position: absolute; left: 16px; right: 16px; bottom: 26px; z-index: 1; text-align: center; }
.tile h2 { font-size: clamp(20px, 2.4vw, 30px); line-height: 1.15; }
.tile p { font-size: 13px; margin: 4px 0 14px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); padding-block: clamp(48px, 6vw, 84px); }
.split__pic { display: block; aspect-ratio: 1; overflow: hidden; }
.split__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.eyebrow { font-size: 11px; }
.split h2 { font-size: clamp(20px, 2vw, 25px); line-height: 1.2; margin: 2px 0 12px; }
.split p:not(.eyebrow) { max-width: 46ch; margin-bottom: 20px; }

/* Promise */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-block: 40px 60px; text-align: center; border-top: 1px solid var(--line); }
.promise h3 { font-size: 13px; margin-bottom: 4px; }
.promise p { color: var(--muted); font-size: 13px; }

/* Footer */
.foot { background: #111; color: #fff; padding: 46px var(--gutter) 26px; font-size: 12px; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1040px; }
.foot h2 { font-size: 11px; margin-bottom: 12px; }
.foot__cols a { display: block; text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
.foot__cols a:hover { opacity: .65; }
.foot__legal { margin-top: 32px; font-size: 11px; opacity: .65; text-align: center; }

/* Shop */
.shop { padding-block: clamp(32px, 4vw, 52px) clamp(52px, 6vw, 84px); }
.shop__head { text-align: center; }
.shop__head h1 { font-size: clamp(22px, 2.4vw, 30px); }
.shop__head p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.shop__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin: 20px 0 26px; padding-block: 12px; border-block: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { padding: 7px 12px; font-size: 12px; }
.chip:hover { text-decoration: underline; text-underline-offset: 3px; }
.chip.is-on { background: #000; color: #fff; text-decoration: none; }
.sort { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.sort select { background: transparent; border: 1px solid var(--line); padding: 7px; color: var(--ink); font-size: 13px; }

/* Product */
.crumbs { padding-top: 18px; font-size: 12px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pd { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding-block: 16px 40px; }
.pd__main { aspect-ratio: 1; background: var(--tile); position: relative; isolation: isolate; }
.pd__main img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.pd__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-top: 8px; }
.thumb { aspect-ratio: 1; background: var(--tile); border: 1px solid transparent; position: relative; isolation: isolate; }
.thumb img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.thumb.is-on { border-color: #000; }
.pd__info { align-self: start; position: sticky; top: 20px; }
.pd h1 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; }
.pd__color { color: var(--muted); margin-top: 4px; }
.pd__price { font-size: 17px; margin-top: 8px; }
.pd__intro { font-size: 15px; margin: 16px 0 20px; }
.pd__buy { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-bottom: 8px; }
.qty { display: inline-grid; grid-template-columns: 38px 30px 38px; align-items: center; text-align: center; border: 1px solid #000; min-height: 44px; }
.qty button { height: 100%; font-size: 16px; }
.pd .btn { min-height: 44px; }
.pd__fit { margin-top: 20px; padding: 10px 0; border-block: 1px solid var(--line); display: flex; gap: 14px; }
.pd__fit span { font-weight: 600; }
.pd__h { font-size: 12px; font-weight: 600; margin-top: 18px; }
.pd__list { margin: 6px 0 0; padding-left: 18px; color: var(--muted); }

/* Simple */
.simple { padding-block: clamp(56px, 8vw, 110px); max-width: 640px; text-align: center; }
.simple h1 { font-size: clamp(24px, 2.8vw, 34px); }
.simple p { font-size: 15px; margin: 12px 0 22px; }
.simple .btn { overflow-wrap: anywhere; text-transform: none; }
.simple__small { color: var(--muted); font-size: 13px !important; margin-top: 24px !important; }

/* Cart */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 40; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 50; display: flex; flex-direction: column; }
.cart[hidden], .scrim[hidden] { display: none; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-size: 14px; font-weight: 600; }
.cart__head button { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.cart__items { flex: 1; overflow: auto; padding: 8px 20px; }
.cart__empty { color: var(--muted); padding: 32px 0; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line__pic { background: var(--tile); aspect-ratio: 1; display: block; isolation: isolate; }
.line__pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line h3 { font-size: 13px; line-height: 1.3; }
.line h3 a { text-decoration: none; }
.line p { font-size: 12px; color: var(--muted); }
.line__qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; font-size: 13px; }
.line__qty button { width: 26px; height: 26px; border: 1px solid var(--line); }
.line__qty output { min-width: 24px; text-align: center; }
.line__end { text-align: right; font-size: 13px; }
.line__end button { display: block; margin: 8px 0 0 auto; font-size: 12px; color: var(--muted); text-decoration: underline; }
.cart__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; font-size: 15px; }
.cart__total strong { font-weight: 600; }
.cart__foot p { font-size: 12px; color: var(--muted); margin: 4px 0 12px; }

@media (hover: none) { .card__add { display: none; } }
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd { grid-template-columns: minmax(0, 1fr); }
  .pd__info { position: static; }
  .promise { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 700px) {
  .nav { min-height: 60px; }
  .nav__hide-sm { display: none; }
  .nav__logo img { height: 19px; }
  .hero { height: 66vh; height: 66svh; min-height: 420px; }
  .tiles { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols > div:last-child { grid-column: 1 / -1; }
  .shop__bar { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .tile img, .card__media img { transition: none; }
}

/* RTEM additions */
:root { --earth: #2f4a7a; }
.nav__word { font-size: 20px; font-weight: 500; padding-left: .34em; text-decoration: none; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; margin-inline: auto; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
.card__media--photo { aspect-ratio: 3 / 4; }
.card__media--photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.card__add--link { display: grid; place-items: center; text-decoration: none; }
.card__price s, .pd__price s { color: var(--muted); margin-right: 4px; }
.split--flip .split__pic { order: 2; }
.split__pic--art { background: var(--tile); }
.split__pic--art img { object-position: center; }
.split { padding-block: clamp(36px, 4vw, 60px); }
.split.story p:not(.eyebrow) { margin-bottom: 12px; }
.pd__main--photo img, .pd__thumbs--photo .thumb img { mix-blend-mode: normal; }
.pd__main--photo img { inset: 0; width: 100%; height: 100%; }
.pd__thumbs--photo .thumb img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 10px; }
.opt { min-height: 42px; border: 1px solid var(--line); font-size: 13px; }
.opt:hover { border-color: #000; }
.opt.is-on { background: #000; color: #fff; border-color: #000; }
.fold { border-bottom: 1px solid var(--line); }
.fold:first-of-type { margin-top: 20px; border-top: 1px solid var(--line); }
.fold summary { cursor: pointer; padding: 12px 0; font-size: 12px; font-weight: 600; }
.fold .pd__list { margin: 0 0 14px; }
.fold__p { color: var(--muted); margin-bottom: 8px; }
.shop__head--gap { margin-bottom: 30px; }
.journal { padding-block: clamp(32px, 4vw, 52px) clamp(52px, 6vw, 84px); max-width: 980px; }
.post-row { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding-block: 26px; border-top: 1px solid var(--line); }
.post-row__pic { display: block; aspect-ratio: 1; background: var(--tile); overflow: hidden; }
.post-row__pic img { width: 100%; height: 100%; object-fit: cover; }
.post-row h2 { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.25; margin: 2px 0 10px; }
.post-row h2 a { text-decoration: none; }
.post-row p:not(.eyebrow) { margin-bottom: 16px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.post { max-width: 720px; padding-bottom: clamp(52px, 6vw, 84px); text-align: center; }
.post .crumbs { padding-block: 18px 26px; }
.post h1 { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; margin: 4px 0 24px; }
.post__media { width: 100%; max-height: 80vh; object-fit: contain; background: var(--tile); margin-bottom: 26px; }
.post__body { text-align: left; font-size: 16px; line-height: 1.75; }
.post__body p { margin-bottom: 14px; }
.simple--text { text-align: left; }
.simple--text h1 { text-align: center; margin-bottom: 26px; }
.simple--text h2 { font-size: 13px; font-weight: 600; margin-top: 8px; }
.simple--text .btn { margin-top: 8px; }
.foot__cols--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 .card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); }
}
@media (max-width: 700px) {
  .split--flip .split__pic { order: 0; }
  .post-row { grid-template-columns: 1fr; }
  .foot__cols--4 { grid-template-columns: 1fr 1fr; }
  .foot__cols--4 > div:last-child { grid-column: auto; }
}

/* RTEM house style, taken from rtem.net: Caveat headings, Murecho body, white pages */
body { font-size: 15px; letter-spacing: .6px; color: rgba(18, 18, 18, .75); }
h1, h2, h3, .nav__word, .announce, .foot h2 { font-family: 'Caveat', cursive; font-weight: 700; letter-spacing: .84px; color: #121212; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.announce { background: #fff; color: #121212; font-size: 18px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.nav { background: #fff; color: rgba(18, 18, 18, .75); min-height: 96px; }
.nav__links, .nav__right { font-size: 14px; flex-wrap: wrap; row-gap: 6px; }
.nav__links a:hover { color: #121212; opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav__word { font-size: 42px; line-height: 1; text-decoration: none; }
.nav__cart { position: relative; display: block; color: #121212; }
.nav__cart svg { display: block; }
.nav__cart span { position: absolute; right: -8px; bottom: -6px; min-width: 16px; height: 16px; margin: 0; padding: 0 3px; background: #121212; color: #fff; font-size: 10px; }
.banner img { width: 100%; height: auto; }
.btn { min-height: 47px; padding: 12px 30px; font-size: 15px; font-weight: 400; letter-spacing: 1px; }
.btn--solid { background: #121212; }
.btn--solid:hover { background: #3a3a3a; }
.btn--earth { background: #fff; color: #121212; }
.sec-head h2 { font-size: clamp(36px, 3.6vw, 48px); }
.card { text-align: left; }
.card__frame { position: relative; }
.badge { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 3px 13px; border-radius: 40px; background: rgb(200, 75, 60); color: #fff; font-size: 12px; letter-spacing: 1px; }
.card:hover .badge { opacity: 0; }
.card h3 { font-size: 25px; line-height: 1.15; margin-top: 12px; }
.card__price { font-size: 16px; color: #121212; letter-spacing: 1px; margin-top: 4px; }
.card__add { font-size: 13px; letter-spacing: 1px; background: #121212; }
.card__add:hover { background: #3a3a3a; }
.tile h2 { font-size: clamp(36px, 4vw, 54px); color: #fff; }
.tile p { font-size: 15px; }
.split h2 { font-size: clamp(36px, 3.6vw, 48px); line-height: 1.1; margin: 0 0 14px; }
.split p:not(.eyebrow) { font-size: 16px; }
.split--intro { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); text-align: center; }
.split--intro .split__copy p { margin-inline: auto; }
.eyebrow { font-size: 13px; }
.promise h3 { font-size: 26px; }
.foot { background: #fff; color: rgba(18, 18, 18, .75); border-top: 1px solid var(--line); font-size: 14px; }
.foot__cols { margin-inline: auto; }
.foot h2 { font-size: 24px; margin-bottom: 8px; }
.foot__legal { opacity: 1; color: var(--muted); font-size: 12px; }
.shop__head h1, .simple h1 { font-size: clamp(42px, 4.4vw, 56px); line-height: 1.1; }
.shop__head p { font-size: 15px; }
.pd h1 { font-size: clamp(36px, 3.6vw, 48px); line-height: 1.1; }
.pd__price { color: #121212; letter-spacing: 1px; }
.opt.is-on { background: #121212; border-color: #121212; }
.fold summary { font-size: 15px; font-weight: 400; color: #121212; }
.post h1 { font-size: clamp(40px, 4.4vw, 56px); line-height: 1.1; }
.post-row h2 { font-size: clamp(30px, 3vw, 38px); line-height: 1.1; }
.simple--text h2 { font-size: 30px; font-weight: 700; }
.simple .btn { letter-spacing: 1px; }
.simple--text .btn { letter-spacing: 1px; }
.cart__head h2 { font-size: 28px; }
.line h3 { font-size: 22px; line-height: 1.1; }
.cart__head h2, .line h3 { color: #121212; }
.cart .btn--solid { background: #121212; }
@media (max-width: 700px) {
  .nav { min-height: 66px; }
  .nav__word { font-size: 34px; }
  .announce { font-size: 16px; }
  .split--intro { grid-template-columns: 1fr; }
}
