/* Jost, served from this site (SIL Open Font License, /fonts/OFL.txt) */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/jost-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/jost-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --bg: #141414;
  --bone: #ECE4D4;
  --muted: #A39C90;
  --brass: #DCB556;
  --line: #2A2826;
  --max: 68rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font: 400 1.0625rem/1.6 "Jost", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover, a:focus-visible { color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 500; line-height: 1.2; margin: 0 0 0.75rem; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bone); color: var(--bg); padding: 0.5rem 1rem; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand svg { width: 1.75rem; height: 1.75rem; }
.wordmark { font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.95rem; }
.nav { display: flex; gap: 1.25rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }

/* Shared type */
.eyebrow { color: var(--brass); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; }
.muted { color: var(--muted); }
.button {
  display: inline-block; padding: 0.85rem 1.6rem; border: 1px solid var(--bone);
  text-decoration: none; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
}
.button:hover { border-color: var(--brass); }
.button.solid { background: var(--bone); color: var(--bg); }
.button.solid:hover { background: var(--brass); color: var(--bg); }
.section { padding: 4rem 0; border-top: 1px solid var(--line); }

/* Home */
.hero { padding: 5rem 0 4rem; text-align: center; }
.hero .mark { width: 5rem; height: 5rem; margin: 0 auto 2rem; }
.hero h1 { font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-size: clamp(2.2rem, 9vw, 4rem); margin-bottom: 1.25rem; padding-left: 0.18em; }
.hero .promise { color: var(--brass); font-size: 1.15rem; margin-bottom: 2.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 48rem) { .grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.card { display: block; text-decoration: none; }
.card img { width: 100%; height: auto; aspect-ratio: 3 / 5; object-fit: cover; /* Printify photos are square, phone centred */ background: #1A1A1A; }
.card-text { display: block; padding-top: 0.6rem; font-size: 0.9rem; line-height: 1.45; }
.card:hover img { outline: 1px solid var(--brass); }
.vault-no { color: var(--brass); letter-spacing: 0.08em; }
.more { margin: 2rem 0 0; }
.split { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }
.lede { font-size: 1.25rem; line-height: 1.5; }

/* About */
.page-head { padding: 4rem 0 2.5rem; }
.page-head h1 { font-size: clamp(1.9rem, 6vw, 2.75rem); }
.prose { max-width: 40rem; }
.prose h2 { font-size: 1.35rem; margin-top: 0.5rem; }
.faq dt { font-weight: 500; margin-top: 1.5rem; }
.faq dd { margin: 0.35rem 0 0; color: var(--muted); }

/* Drop, Vault, design pages */
.list { padding-bottom: 4rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.chips a { border: 1px solid var(--line); padding: 0.35rem 0.85rem; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.chips a[aria-current] { border-color: var(--bone); color: var(--bone); }
.pager { display: flex; justify-content: space-between; margin-top: 2.5rem; }
.lookup { margin-top: 2rem; max-width: 26rem; }
.lookup label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.4rem; }
.lookup div { display: flex; gap: 0.5rem; }
input, select { font: inherit; color: var(--bone); background: #1C1C1C; border: 1px solid #3A3733; padding: 0.7rem 0.8rem; border-radius: 0; width: 100%; min-width: 0; }
.lookup .button { background: none; color: var(--bone); cursor: pointer; font-family: inherit; }
.notice { margin-top: 1rem; color: var(--brass); }
.detail { display: grid; gap: 2rem; padding: 2rem 1.25rem 4rem; }
@media (min-width: 48rem) { .detail { grid-template-columns: 3fr 2fr; gap: 3rem; padding-top: 3rem; } }
.shots { display: grid; grid-template-columns: 1fr; gap: 0.75rem; align-items: start; max-width: 26rem; width: 100%; justify-self: center; }
/* the back of the case, framed the same for every phone (/lib/backcrop.js) */
.shots img { width: 100%; height: auto; aspect-ratio: 3 / 5; object-fit: cover; background: #FFFFFF; }
.shots img.whole { aspect-ratio: 1 / 1; object-fit: contain; } /* a folding phone's whole case, uncropped */
.shots img[hidden] { display: none; }
.info h1 { font-size: clamp(2rem, 7vw, 2.75rem); margin-bottom: 0.25rem; }
.info .style { font-size: 1.15rem; margin-bottom: 1.75rem; }
.state { font-size: 1.25rem; font-weight: 500; margin-bottom: 0.5rem; }
.info .button { margin: 0.5rem 0.5rem 0 0; }
.buy { display: grid; gap: 0.4rem; max-width: 24rem; }
.buy label { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; }
.buy .button { margin-top: 1.25rem; font-family: inherit; cursor: pointer; text-align: center; }
.buy .button:disabled { opacity: 0.55; cursor: default; }
.small { font-size: 0.875rem; margin-top: 0.75rem; }
.sig { margin-top: 2rem; color: var(--brass); }

/* Cart */
.nav { gap: 1rem; }
.wordmark { white-space: nowrap; }
@media (max-width: 26rem) { .nav { gap: 0.8rem; font-size: 0.72rem; letter-spacing: 0.1em; } .brand { gap: 0.45rem; } .wordmark { font-size: 0.85rem; } }
.cart .button.wide + p, .cart form + p { margin-top: 1.25rem; }
.cart { padding-bottom: 4rem; }
.hold { color: var(--muted); font-size: 0.95rem; }
.hold .clock { color: var(--brass); font-variant-numeric: tabular-nums; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--bone); font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.linkbtn:hover { color: var(--brass); }
.cl { list-style: none; padding: 0; margin: 1.5rem 0; }
.ci { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 1rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.ci img { width: 4.5rem; height: auto; background: #1A1A1A; }
.ci > div { display: grid; gap: 0.2rem; }
.ci a { text-decoration: none; }
.ci-price { white-space: nowrap; }
.offer { color: var(--brass); }
.total { display: flex; justify-content: space-between; font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }
.button.wide { width: 100%; text-align: center; font-family: inherit; cursor: pointer; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0; font-size: 0.875rem; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 1.25rem; }
.social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.social a, .site-footer a { color: var(--muted); }
.social a:hover, .site-footer a:hover { color: var(--bone); }

/* "Your phone" on the drop */
.phone-pick { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: center; margin: 0 0 1.25rem; }
.phone-pick label { color: var(--muted); font-size: 0.9rem; }
.phone-pick select { width: auto; max-width: 100%; }

/* design page: the other views of the chosen case and phone */
.thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.thumbs:empty { display: none; }
.thumbs button { padding: 0; width: 4.5rem; border: 1px solid var(--line); background: #FFFFFF; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--brass); }
.thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #FFFFFF; }

/* footer: other companies' trademarks */
.site-footer .tm { font-size: 0.75rem; color: var(--muted); max-width: 60ch; }
