/* HandheldBrief — luxury editorial magazine.
   Black masthead and cover, white reading pages, one crimson accent,
   big serif display type, hairline rules and letter-spaced kickers. */

:root {
  --ink: #111;
  --ink-2: #1c1c1c;
  --paper: #fff;
  --ivory: #f7f5f1;
  --text: #1a1a1a;
  --muted: #6a6762;
  --line: #e4e1dc;
  --line-dark: #2e2e2e;
  --on-dark: #f4f2ee;
  --on-dark-muted: #a19d96;
  --crimson: #b3122e;
  --crimson-light: #e0455f;
  --serif: "Playfair Display", "Noto Serif Thai", "Trirong", Georgia, serif;
  --thai-serif: "Noto Serif Thai", "Playfair Display", Georgia, serif;
  --sans: "Anuphan", "Noto Sans Thai", system-ui, sans-serif;
  --wrap: 1240px;
  --lens-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='%23b3122e'%3E%3Ccircle cx='20' cy='20' r='19'/%3E%3Ccircle cx='20' cy='20' r='15' stroke-width='.8' stroke-dasharray='1 2'/%3E%3Ccircle cx='20' cy='20' r='10.5' stroke-width='1.5'/%3E%3Ccircle cx='20' cy='20' r='5' fill='%23b3122e' stroke='none'/%3E%3Ccircle cx='18' cy='18' r='1.4' fill='%23fff' stroke='none'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
/* Playfair defaults to old-style figures; the font shorthand resets this, hence !important */
body * { font-variant-numeric: lining-nums !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1rem/1.75 var(--sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--crimson); }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 18px;
  background: var(--crimson); color: #fff; font-weight: 600;
}
.skip:focus { top: 12px; color: #fff; }

/* kickers: small, tracked, crimson */
.kicker, .story-kick {
  font: 600 .76rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--crimson);
}
.story-kick { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; }
.story-kick .type { color: var(--muted); }
.kicker-link:hover { color: var(--ink); }
.meta { font-size: .82rem; color: var(--muted); line-height: 1.6; }
.meta-author { color: var(--text); font-weight: 500; }

/* ---------- masthead ---------- */
.masthead { background: var(--ink); color: var(--on-dark); }
.issue-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark);
  font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted);
}
.issue { color: var(--on-dark); }
.issue-rss:hover { color: var(--crimson-light); }
.brand-row { text-align: center; padding-top: 26px; padding-bottom: 18px; }
.wordmark {
  display: inline-block; font: 800 clamp(2.6rem, 8vw, 5.6rem)/1 var(--serif); letter-spacing: -.02em; color: var(--on-dark);
}
.wordmark em { font-style: italic; font-weight: 600; color: var(--crimson-light); }
.wordmark:hover { color: #fff; }
.nav { border-top: 1px solid var(--line-dark); border-bottom: 3px double var(--line-dark); }
.nav ul {
  display: flex; justify-content: center; gap: 4px 40px; overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
.nav ul::-webkit-scrollbar { display: none; }
.nav a {
  display: block; padding: 14px 0 12px; border-bottom: 2px solid transparent;
  font: 500 .95rem var(--sans); letter-spacing: .06em; color: var(--on-dark-muted);
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--crimson); }

/* ---------- ads ---------- */
.ad-slot { max-width: var(--wrap); margin: 28px auto; padding: 0 32px; text-align: center; }
.ad-slot::before {
  content: "โฆษณา"; display: block; margin-bottom: 6px; font-size: .66rem; letter-spacing: .3em; color: var(--muted);
}
.ad-unit { display: flex; justify-content: center; overflow: hidden; }
.mostread .ad-slot { padding: 0; margin: 28px 0 0; }

/* ---------- breadcrumb ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; padding: 16px 0 12px; font-size: .78rem; letter-spacing: .06em; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--line); }
.crumbs a:hover { color: var(--crimson); }
.crumbs [aria-current] { color: var(--text); }

/* ---------- section heads ---------- */
.sec-head {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid var(--ink);
}
.sec-no { font: italic 600 1.1rem var(--serif); color: var(--crimson); }
.sec-title { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.3 var(--serif); letter-spacing: -.01em; }
.sec-desc { color: var(--muted); font-size: .92rem; }
.sec-head-dark { border-color: var(--on-dark-muted); }
.sec-head-dark .sec-no { color: var(--crimson-light); }
.sec-head-dark .sec-title { color: var(--on-dark); }
.sec-head-dark .sec-desc { color: var(--on-dark-muted); margin-left: auto; }

/* ---------- cover story ---------- */
.cover { position: relative; min-height: min(86vh, 780px); display: flex; align-items: flex-end; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cover::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(17 17 17 / .35) 0%, rgb(17 17 17 / .05) 30%, rgb(17 17 17 / .55) 62%, rgb(17 17 17 / .95) 100%);
}
.cover-inner { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: end; padding-top: 120px; padding-bottom: 56px; }
.cover-main { position: relative; max-width: 880px; }
.cover-kicker { color: #fff; display: inline-block; padding: 6px 12px; background: var(--crimson); margin-bottom: 22px; }
.cover-title { font: 700 clamp(2.1rem, 5.4vw, 4.6rem)/1.22 var(--serif); letter-spacing: -.015em; text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.cover-title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: var(--crimson-light); }
.stretch::after { content: ""; position: absolute; inset: 0; }
.cover-lede { margin-top: 18px; max-width: 40em; font: 400 clamp(1.02rem, 1.6vw, 1.25rem)/1.7 var(--thai-serif); color: #e9e6e1; }
.cover-meta { margin-top: 20px; font-size: .82rem; letter-spacing: .08em; color: #c9c5bf; }
.cover-meta b { color: #fff; font-weight: 600; }
.coverlines { position: relative; z-index: 1; border-top: 2px solid var(--crimson-light); padding: 14px 18px 4px; background: rgb(17 17 17 / .62); backdrop-filter: blur(6px); }
.coverlines .kicker { color: #fff; }
.coverlines ol { counter-reset: cl; }
.coverlines li { counter-increment: cl; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / .2); }
.coverlines li:last-child { border-bottom: 0; }
.coverlines a { display: block; font: 600 1rem/1.5 var(--thai-serif); color: #fff; }
.coverlines a:hover { color: var(--crimson-light); }
.coverlines span { display: block; margin-bottom: 2px; font: 500 .74rem var(--sans); letter-spacing: .08em; color: #d6d2cc; }
.coverlines span::before { content: counter(cl, decimal-leading-zero) "  "; color: var(--crimson-light); }

/* ---------- editor's picks + most read ---------- */
.edit-row { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-top: 64px; padding-bottom: 24px; }
.edit-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 0 40px; }
.tall { grid-row: span 2; padding-right: 40px; border-right: 1px solid var(--line); }
.tall-img img, .story-img img, .side-img img, .row-img img { width: 100%; object-fit: cover; background: var(--ivory); transition: transform .6s ease; }
.tall-img { display: block; overflow: hidden; margin-bottom: 20px; }
.tall-img img { aspect-ratio: 4 / 5; }
.tall-title { font: 700 clamp(1.5rem, 2.6vw, 2.15rem)/1.35 var(--serif); margin-bottom: 12px; }
.lede { font: 400 1.05rem/1.7 var(--thai-serif); color: #3d3b38; margin-bottom: 12px; }
.side { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.side:last-child { border-bottom: 0; margin-bottom: 0; }
.side-img { display: block; overflow: hidden; margin-bottom: 16px; }
.side-img img { aspect-ratio: 3 / 2; }
.story-title { font: 700 1.2rem/1.5 var(--thai-serif); margin-bottom: 8px; }
a:hover img { transform: scale(1.03); }

.mostread { border-top: 4px solid var(--ink); padding-top: 18px; }
.mostread-title { font: italic 700 1.7rem/1.3 var(--serif); margin-bottom: 8px; }
.mostread li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rank { font: italic 700 2.1rem/1 var(--serif); color: var(--crimson); }
.mostread li:nth-child(n+4) .rank { color: #bdb8b0; }
.mostread a { display: block; font: 600 .98rem/1.55 var(--thai-serif); margin-bottom: 4px; }

/* ---------- reviews band ---------- */
.reviews { background: var(--ink); color: var(--on-dark); padding: 64px 0; margin: 48px 0 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.review .story-img { margin-bottom: 18px; }
.review .story-title a:hover { color: var(--crimson-light); }
.review .story-kick a { color: var(--crimson-light); }
.review .meta { color: var(--on-dark-muted); }

/* ---------- section strips ---------- */
.strip { padding-top: 72px; }
.strip-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: end;
  padding-bottom: 20px; margin-bottom: 32px; border-bottom: 1px solid var(--ink);
}
.strip-no { font: italic 600 clamp(3rem, 7vw, 5.5rem)/.9 var(--serif); color: var(--crimson); }
.strip-title { font: 800 clamp(2rem, 5vw, 3.6rem)/1.2 var(--serif); letter-spacing: -.02em; }
.more { font: 600 .82rem var(--sans); letter-spacing: .08em; color: var(--crimson); white-space: nowrap; padding-bottom: 8px; }
.more:hover { color: var(--ink); }
.strip-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr; gap: 0 32px; }
.strip-lead { grid-row: span 4; display: grid; gap: 18px; align-content: start; padding-right: 32px; border-right: 1px solid var(--line); }
.strip-item { grid-column: 2 / -1; padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.strip-item:last-child { border-bottom: 0; margin-bottom: 0; }
.strip-item .story-title { font: 700 1.35rem/1.5 var(--serif); }
.strip-item:first-of-type { padding-top: 4px; }
.story-img { display: block; overflow: hidden; }
.story-img img { aspect-ratio: 3 / 2; }
.strip-lead .story-img img { aspect-ratio: 16 / 10; }

/* ---------- card grid ---------- */
.latest, .related { padding-top: 72px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 32px; }
.story .story-img { margin-bottom: 16px; }

/* ---------- empty state ---------- */
.empty { text-align: center; padding: 120px 32px; }
.empty h1 { font: 700 clamp(2rem, 5vw, 3.4rem)/1.3 var(--serif); margin: 14px 0; }
.empty p:last-child { color: var(--muted); max-width: 32em; margin: 0 auto; }

/* ---------- list / author / 404 head ---------- */
.page-head { background: var(--ink); color: var(--on-dark); padding: 64px 0 56px; text-align: center; }
.page-head .kicker { color: var(--crimson-light); }
.page-head h1 { font: 800 clamp(2.4rem, 7vw, 5rem)/1.2 var(--serif); letter-spacing: -.02em; margin: 14px 0 0; }
.page-head h1 small { display: block; font: italic 600 1.1rem var(--serif); color: var(--on-dark-muted); margin-top: 8px; }
.page-desc { max-width: 38em; margin: 18px auto 0; font: 400 1.08rem/1.75 var(--thai-serif); color: #d6d2cc; }
.page-desc a { color: #fff; border-bottom: 1px solid var(--crimson-light); }
.page-head-light { background: var(--paper); color: var(--text); border-bottom: 1px solid var(--line); }
.page-head-light .kicker { color: var(--crimson); }
.page-head-light .page-desc { color: var(--muted); }
.crumbs + .page-head-light { padding-top: 40px; }

.list-body { max-width: 1040px; padding-top: 24px; }
.row {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) 300px; gap: 32px; align-items: start;
  padding: 36px 0; border-bottom: 1px solid var(--line);
}
.row-no { font: italic 600 2.4rem/1 var(--serif); color: var(--crimson); }
.row-title { font: 700 clamp(1.3rem, 2.4vw, 1.75rem)/1.4 var(--serif); margin-bottom: 10px; }
.row-img { display: block; overflow: hidden; }
.row-img img { aspect-ratio: 3 / 2; }

.pager { display: flex; justify-content: center; align-items: center; gap: 28px; padding: 48px 0 8px; font-size: .88rem; letter-spacing: .1em; color: var(--muted); }
.pager a { padding: 10px 22px; border: 1px solid var(--ink); color: var(--ink); }
.pager a:hover { background: var(--ink); color: #fff; }

/* ---------- article ---------- */
.progress { position: sticky; top: 0; z-index: 20; height: 3px; background: transparent; }
.progress span { display: block; height: 100%; background: var(--crimson); transform: scaleX(0); transform-origin: 0 50%; }
.post-head { max-width: 980px; text-align: center; padding-top: 48px; }
.post-kicker { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; }
.post-kicker span { color: var(--line); }
.post-head h1 { font: 700 clamp(2rem, 5.2vw, 4rem)/1.25 var(--serif); letter-spacing: -.015em; margin: 22px 0 0; }
.post-lede { max-width: 36em; margin: 24px auto 0; font: 400 clamp(1.1rem, 2vw, 1.4rem)/1.7 var(--thai-serif); color: #45423e; }
.byline {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px; margin: 32px auto 0; padding: 14px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 760px;
  font-size: .82rem; letter-spacing: .06em; color: var(--muted);
}
.byline a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--crimson); }
.post-cover { max-width: 1240px; margin: 44px auto 0; padding: 0 32px; }
.post-cover img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--ivory); }
.post-cover figcaption { margin-top: 10px; font-size: .76rem; color: var(--muted); letter-spacing: .04em; }

.post-body { max-width: 720px; margin: 56px auto 0; padding: 0 24px; font: 400 1.12rem/1.95 var(--thai-serif); color: #222; }
.post-body > * + * { margin-top: 1.3em; }
.post-body .dropcap {
  float: left; display: grid; place-items: center; width: 2.3em; height: 2.3em; margin: .06em .34em .1em 0; border-radius: 50%;
  font: 700 2.7em/1 var(--thai-serif); color: var(--crimson); border: 1px solid var(--crimson);
  box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 6px var(--line), inset 0 0 0 11px var(--ivory), inset 0 0 0 12px rgb(179 18 46 / .4);
}
.post-body h2 { font: 700 1.75rem/1.4 var(--serif); margin-top: 2em; }
.post-body h3 { font: 700 1.3rem/1.5 var(--thai-serif); margin-top: 1.7em; }
.post-body a { color: var(--crimson); border-bottom: 1px solid rgb(179 18 46 / .35); }
.post-body a:hover { border-bottom-color: var(--crimson); }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body ul { list-style: square; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: .4em; }
.post-body li::marker { color: var(--crimson); }
.post-body blockquote {
  margin: 2em 0; padding: 26px 0 22px; border-top: 3px solid var(--crimson); border-bottom: 1px solid var(--ink);
  font: italic 600 clamp(1.35rem, 2.6vw, 1.75rem)/1.55 var(--serif); color: var(--ink); text-align: center;
}
.post-body blockquote::before { content: "“"; display: block; font: 800 4rem/.6 var(--serif); color: var(--crimson); margin-bottom: 8px; }
.post-body blockquote p { margin: 0; }
.post-body img { margin: 0 auto; }
.post-body figure { margin: 2em 0; }
.post-body figcaption { margin-top: 8px; font: .8rem/1.6 var(--sans); color: var(--muted); }
.post-body table { width: 100%; border-collapse: collapse; font: .92rem/1.6 var(--sans); display: block; overflow-x: auto; }
.post-body th, .post-body td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.post-body th { border-bottom: 2px solid var(--ink); font-weight: 600; letter-spacing: .04em; }
.post-body hr { border: 0; text-align: center; }
.post-body hr { height: 30px; background: var(--lens-bg) center / 30px 30px no-repeat; position: relative; }
.post-body hr::before, .post-body hr::after { content: ""; position: absolute; top: 50%; width: min(120px, 30%); height: 1px; background: var(--line); }
.post-body hr::before { right: calc(50% + 28px); }
.post-body hr::after { left: calc(50% + 28px); }
.post-body .ad-slot { padding: 0; }
.post-foot { max-width: 720px; margin: 40px auto 0; padding: 22px 24px 0; text-align: center; font-size: .86rem; color: var(--muted); }
.post-foot a { color: var(--text); font-weight: 600; }
.post-foot a:hover { color: var(--crimson); }
.end-mark { display: block; color: var(--crimson); font-size: .8rem; margin-bottom: 18px; }

/* ---------- legal ---------- */
.legal-page { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 64px; justify-content: center; padding-top: 48px; }
.legal-toc { position: sticky; top: 24px; align-self: start; border-top: 4px solid var(--ink); padding-top: 14px; }
.legal-toc ol { margin-top: 10px; }
.legal-toc li { border-bottom: 1px solid var(--line); }
.legal-toc a { display: block; padding: 9px 0; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.legal-toc a:hover { color: var(--crimson); }
.legal-body { font: 400 1.04rem/1.9 var(--thai-serif); }
.legal-body > * + * { margin-top: 1.1em; }
.legal-updated { display: inline-block; font: 600 .74rem var(--sans); letter-spacing: .18em; color: var(--crimson); padding-bottom: 6px; border-bottom: 1px solid var(--crimson); }
.legal-body h2 { font: 700 1.5rem/1.4 var(--serif); margin-top: 2em; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.legal-body ul { list-style: square; padding-left: 1.3em; }
.legal-body li + li { margin-top: .5em; }
.legal-body li::marker { color: var(--crimson); }
.legal-body a { color: var(--crimson); border-bottom: 1px solid rgb(179 18 46 / .35); word-break: break-word; }
.legal-body strong { font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); margin-top: 96px; font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 56px; padding-top: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.wordmark-sm { font-size: 2.6rem; }
.footer-tag { margin: 8px 0 16px; font: italic 600 1rem var(--thai-serif); color: var(--on-dark); }
.footer-col .kicker { color: var(--crimson-light); margin-bottom: 12px; }
.footer-col li { border-bottom: 1px solid var(--line-dark); }
.footer-col a { display: block; padding: 9px 0 2px; color: var(--on-dark); }
.footer-col a:hover, .footer-bottom a:hover { color: var(--crimson-light); }
.footer-col:not(.footer-latest) a { padding-bottom: 9px; }
.footer-latest a { font-family: var(--thai-serif); line-height: 1.5; }
.footer-latest time { display: block; padding-bottom: 9px; font-size: .74rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 22px; padding-bottom: 28px; font-size: .8rem; letter-spacing: .04em; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.legal-links a, .to-top { color: var(--on-dark); }

.img-fallback { object-fit: contain !important; background: var(--ink) !important; padding: 12%; }

/* ---------- handset layer: line icons, lens rings, device frames ---------- */
.ico { flex: none; width: 1.25em; height: 1.25em; vertical-align: -.25em; }
.kicker .ico, .story-kick .ico, .nav .ico, .coverlines .ico, .byline .ico, .footer-col .ico, figcaption .ico, .post-kicker .ico { margin-right: .4em; }
.nav .ico { color: var(--crimson-light); }
.story-kick { align-items: center; }
.story-kick .type { padding: 1px 8px; border: 1px solid var(--line); border-radius: 99px; font-weight: 500; letter-spacing: .04em; }
.review .story-kick .type { border-color: var(--line-dark); }
/* spec-sheet tag */
.spec { display: inline-flex; align-items: center; gap: 4px; padding: 0 9px 0 6px; border: 1px solid currentColor; border-radius: 99px; font-size: .92em; line-height: 1.7; white-space: nowrap; vertical-align: middle; }
.meta .spec { border-color: var(--line); }
.review .meta .spec { border-color: var(--line-dark); }
.lens { color: var(--crimson); }
.lens-row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 72px; }
.lens-row::before, .lens-row::after { content: ""; width: min(22vw, 260px); height: 1px; background: var(--line); }
.lens-row .lens:first-child, .lens-row .lens:last-child { width: 26px; height: 26px; color: var(--muted); }
.lens-row + .latest { padding-top: 40px; }
.mostread-title .lens { width: 28px; height: 28px; margin-right: 10px; vertical-align: -4px; }
.ring { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--crimson); color: var(--ink); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--line); }
.ring .ico { width: 24px; height: 24px; }
.strip-no { display: flex; align-items: center; gap: 18px; }
.strip-no .ring { font-size: 1rem; }
.ring-lg { width: 84px; height: 84px; margin-bottom: 18px; color: var(--on-dark); border-color: var(--crimson-light); box-shadow: inset 0 0 0 6px var(--ink), inset 0 0 0 7px var(--line-dark), inset 0 0 0 12px var(--ink), inset 0 0 0 13px var(--crimson); }
.ring-lg .ico { width: 32px; height: 32px; }

/* masthead ears: phone elevations on the left, a lens set on the right */
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ear { flex: none; color: var(--on-dark-muted); }

/* cover: studio product shot */
.cover { min-height: min(92vh, 860px); }
.cover-img { filter: brightness(.62) saturate(.85); }
.shot-frame {
  position: absolute; inset: 20px; pointer-events: none; display: flex; justify-content: space-between; align-items: flex-start;
  padding: 10px 16px; font-size: .72rem; letter-spacing: .12em; color: #fff; text-shadow: 0 1px 6px rgb(0 0 0 / .7); --c: rgb(255 255 255 / .75);
}
.shot-frame, .crop::after {
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 26px 1px, linear-gradient(var(--c), var(--c)) 0 0 / 1px 26px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 26px 1px, linear-gradient(var(--c), var(--c)) 100% 0 / 1px 26px,
    linear-gradient(var(--c), var(--c)) 0 100% / 26px 1px, linear-gradient(var(--c), var(--c)) 0 100% / 1px 26px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 26px 1px, linear-gradient(var(--c), var(--c)) 100% 100% / 1px 26px;
  background-repeat: no-repeat;
}
.crop { position: relative; }
.crop::after { content: ""; position: absolute; inset: 12px; pointer-events: none; --c: rgb(255 255 255 / .85); }
.cover-shot { position: absolute; top: 44px; right: max(24px, calc((100% - var(--wrap)) / 2 + 24px)); width: 340px; height: 440px; pointer-events: none; }
.cover-shot .phone-shot { position: absolute; left: -44px; top: 0; width: 282px; height: auto; color: #fff; filter: drop-shadow(0 12px 30px rgb(0 0 0 / .5)); }
.phone-shot { display: block; }
.device {
  position: absolute; right: 26px; top: 26px; width: 168px; aspect-ratio: 9 / 19; padding: 6px; border-radius: 28px; overflow: visible;
  background: linear-gradient(135deg, #3a3a3a, #0b0b0b 40%, #222); border: 1px solid rgb(255 255 255 / .55);
  box-shadow: 0 30px 60px rgb(0 0 0 / .6), inset 0 0 0 1px #000; transform: rotate(7deg);
  -webkit-box-reflect: below 8px linear-gradient(transparent 82%, rgb(0 0 0 / .28));
}
.device::before { content: ""; position: absolute; right: -4px; top: 27%; width: 3px; height: 13%; border-radius: 0 2px 2px 0; background: #8d8a85; box-shadow: 0 64px 0 #8d8a85; }
.device::after { content: ""; position: absolute; z-index: 1; left: 50%; top: 13px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #56607a 0 18%, #05060a 40%); box-shadow: 0 0 0 1px rgb(255 255 255 / .18); }
.device img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; filter: brightness(.7); }
.device-status { position: absolute; z-index: 1; top: 13px; right: 22px; display: flex; align-items: flex-end; gap: 1.5px; height: 8px; }
.device-status i { width: 2px; height: 4px; background: #fff; }
.device-status i:nth-child(2) { height: 6px; }
.device-status i:nth-child(3) { height: 8px; }
.device-status b { width: 14px; height: 8px; margin-left: 3px; border: 1px solid #fff; border-radius: 2px; background: linear-gradient(90deg, #fff 70%, transparent 70%) content-box; padding: 1px; }
.device-clock { position: absolute; left: 0; right: 0; top: 15%; text-align: center; font: 600 2.4rem/1.1 var(--serif); color: #fff; text-shadow: 0 2px 14px rgb(0 0 0 / .7); }
.device-clock small { display: block; margin-top: 4px; font: 500 .68rem var(--sans); letter-spacing: .06em; }
.cover-kicker .ico { color: #fff; }

/* landscape handset: reviews and the article plate */
.land { position: relative; display: block; padding: 7px; border-radius: 22px; background: linear-gradient(135deg, #4a4a4a, #0d0d0d 35%, #2b2b2b); border: 1px solid #6b6862; overflow: visible; }
.land::before { content: ""; position: absolute; z-index: 1; left: 16px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #56607a 0 18%, #05060a 40%); box-shadow: 0 0 0 1px rgb(255 255 255 / .2); }
.land::after { content: ""; position: absolute; z-index: 1; right: 13px; top: 50%; width: 3px; height: 26%; transform: translateY(-50%); border-radius: 2px; background: rgb(255 255 255 / .8); }
.story-img.land { overflow: visible; }
.land img { border-radius: 16px; }
.story-img.land img { aspect-ratio: 16 / 9; }
a.land:hover img { transform: none; }
.studio { position: relative; padding: 48px 72px 64px; background: radial-gradient(ellipse at 50% 30%, #fff, var(--ivory) 55%, #e6e1d9); }
.studio::before, .studio::after { content: ""; position: absolute; width: 26px; height: 26px; border: 1px solid #8a857c; }
.studio::before { left: 16px; top: 16px; border-right: 0; border-bottom: 0; }
.studio::after { right: 16px; bottom: 16px; border-left: 0; border-top: 0; }
.land-lg { padding: 11px; border-radius: 38px; box-shadow: 0 34px 50px -22px rgb(0 0 0 / .55); }
.land-lg img { border-radius: 28px; }
.land-lg::before { left: 26px; width: 13px; height: 13px; margin-top: -7px; }
.land-lg::after { right: 21px; width: 4px; }

/* departments */
.depts { background: var(--ivory); border-bottom: 1px solid var(--line); }
.depts-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.depts-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 16px; align-items: center; padding: 26px 22px; border-left: 1px solid var(--line); }
.depts-list li:first-child { border-left: 0; padding-left: 0; }
.depts-list .ico { grid-row: span 2; width: 44px; height: 44px; color: var(--crimson); }
.depts-list b { font: 700 1.15rem/1.4 var(--thai-serif); }
.depts-list span { font-size: .82rem; line-height: 1.5; color: var(--muted); }

.empty .phone-shot, .empty-shot { width: 190px; height: auto; margin: -40px auto 0; color: var(--ink); }
.page-head-shot { position: relative; overflow: hidden; }
.page-head-shot .wrap { position: relative; }
.page-head-shot .phone-shot { position: absolute; right: max(8px, calc(50% - 600px)); top: 18px; width: 250px; height: auto; color: var(--on-dark); opacity: .7; }
.end-mark .lens { width: 34px; height: 34px; }
.byline .ico { color: var(--crimson); }
.footer-ornament { display: flex; gap: 20px; margin-top: 22px; color: var(--on-dark-muted); }
.footer-ornament .ico { width: 30px; height: 30px; }
.footer-col .ico { color: var(--crimson-light); }

/* ---------- responsive ---------- */
/* keeps long cover lines clear of the floating phones */
@media (min-width: 1101px) { .coverlines { margin-top: 350px; } }
@media (max-width: 1100px) {
  .edit-row { grid-template-columns: minmax(0, 1fr); }
  .mostread ol { columns: 2; column-gap: 40px; }
  .mostread li { break-inside: avoid; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 440px; }
  .ear { width: 110px; height: auto; }
  .page-head-shot .phone-shot { opacity: .22; }
  .depts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .depts-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .depts-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .coverlines ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
  .strip-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .strip-item { grid-column: 2; }
}
@media (max-width: 860px) {
  .wrap, .ad-slot, .post-cover { padding-left: 20px; padding-right: 20px; }
  .issue-tag { display: none; }
  .studio { padding: 30px 34px 42px; }
  .nav ul { justify-content: flex-start; gap: 28px; }
  .edit-grid { grid-template-columns: minmax(0, 1fr); }
  .tall { grid-row: auto; padding-right: 0; border-right: 0; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
  .tall-img img { aspect-ratio: 3 / 2; }
  .side { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; }
  .side-img { margin: 0; }
  .side .meta { display: none; }
  .mostread ol { columns: 1; }
  .review-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .strip-head { grid-template-columns: auto minmax(0, 1fr); gap: 16px; }
  .strip-head .more { grid-column: 1 / -1; padding: 0; }
  .strip-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .strip-lead { grid-row: auto; padding: 0 0 24px; margin-bottom: 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .strip-item { grid-column: auto; }
  .row { grid-template-columns: 44px minmax(0, 1fr); gap: 8px 16px; padding: 28px 0; }
  .row-no { font-size: 1.7rem; }
  .row-img { grid-column: 2; grid-row: 1; margin-bottom: 8px; }
  .row-text { grid-column: 2; }
  .legal-page { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .legal-toc { position: static; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .related .grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .issue-bar { font-size: .68rem; letter-spacing: .12em; }
  .brand-row { padding-top: 20px; padding-bottom: 14px; }
  .cover { display: block; min-height: 0; }
  .cover::after { display: none; }
  .cover-img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 5; z-index: 0; }
  .shot-frame { inset: 14px 14px auto; height: 372px; z-index: 1; padding: 8px 12px; }
  .cover-shot { z-index: 1; top: 36px; right: auto; left: 50%; margin-left: -140px; transform: scale(.82); transform-origin: 50% 0; width: 290px; }
  .cover-shot .phone-shot { left: -24px; }
  .device { right: 12px; }
  .ear { display: none; }
  .brand-row { justify-content: center; }
  .depts-list li { grid-template-columns: minmax(0, 1fr); padding: 20px 14px; }
  .depts-list .ico { grid-row: auto; width: 38px; height: 38px; margin-bottom: 8px; }
  .page-head-shot .phone-shot { right: -70px; opacity: .25; }
  .studio { padding: 22px 16px 32px; }
  .studio::before { left: 8px; top: 8px; } .studio::after { right: 8px; bottom: 8px; }
  .land-lg { padding: 7px; border-radius: 22px; } .land-lg img { border-radius: 16px; }
  .land-lg::before { left: 16px; width: 9px; height: 9px; margin-top: -5px; } .land-lg::after { right: 13px; width: 3px; }
  .strip-no { gap: 10px; font-size: 2.2rem; } .strip-no .ring { width: 40px; height: 40px; } .strip-no .ring .ico { width: 20px; height: 20px; }
  .cover-inner { position: relative; z-index: 1; margin-top: -120px; padding-top: 70px; padding-bottom: 36px; background: linear-gradient(180deg, transparent 0, var(--ink) 100px); }
  .coverlines { background: none; backdrop-filter: none; padding: 14px 0 0; }
  .coverlines ol { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .side { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
  .side .story-title { font-size: 1.02rem; }
  .edit-row { padding-top: 44px; gap: 44px; }
  .strip, .latest, .related { padding-top: 56px; }
  .page-head { padding: 44px 0 40px; }
  .post-head { padding-top: 32px; }
  .byline { gap: 4px 16px; }
  .post-cover { padding: 0; }
  .post-cover figcaption { padding: 0 20px; }
  .post-body { margin-top: 36px; padding: 0 20px; font-size: 1.06rem; }
  .post-foot { padding-left: 20px; padding-right: 20px; }
  .pager { gap: 12px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
