/* cafes.merlinstemmer.co.nz */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/instrument-normal-latin.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; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/instrument-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/instrument-italic-latin.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; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/instrument-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/inter-normal-latin.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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/inter-normal-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f6f1e8;
  --paper-2: #efe7da;
  --card: #fbf8f2;
  --ink: #241d18;
  --muted: #6c6157;
  --line: #ddd2c2;
  --accent: #2c4a3b;
  --clay: #a4552c;
  --dark: #1f1a16;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--clay); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--card); padding: 12px 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: calc(760px + var(--gut) * 2); }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 76px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -0.005em; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand small { font-weight: 400; color: var(--muted); font-size: 15px; }
.nav { display: flex; gap: 4px; margin-right: -12px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-size: 16px; color: var(--muted); border-radius: 999px; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* type helpers */
.lede { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); max-width: 36em; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 15px; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--accent); text-decoration: underline; text-decoration-color: rgba(44, 74, 59, .35); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: var(--accent); }
.prose a { color: var(--accent); text-decoration-color: rgba(44, 74, 59, .4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }

/* sections */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--paper-2); }
.section h2 { font-size: clamp(36px, 4.6vw, 58px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.split > * { min-width: 0; }

/* hero */
.hero { padding: clamp(48px, 8vw, 112px) 0 clamp(64px, 9vw, 128px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px clamp(40px, 6vw, 96px); align-items: end; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(42px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.02em; max-width: 11.5em; }
.hero .lede { margin-top: clamp(28px, 3vw, 40px); }
.kia { font-size: 15px; color: var(--muted); margin: 0 0 22px; }
.portrait { margin: 0; width: clamp(200px, 22vw, 300px); }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.portrait figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
.byline { display: none; }
.page-hero h1 { font-size: clamp(42px, 6.6vw, 88px); line-height: 1; letter-spacing: -0.02em; max-width: 12em; }
.page-hero .lede { margin-top: 28px; }

/* example frames */
.tag { display: inline-block; font-size: 14px; line-height: 1.4; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: var(--card); }
.shot { margin: 0; }
.shot .frame { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: 0 1px 2px rgba(36, 29, 24, .04), 0 18px 40px -24px rgba(36, 29, 24, .28); }
.shot .frame img { width: 100%; }
.shot figcaption { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.shot figcaption strong { color: var(--ink); font-weight: 600; }
.phone .frame { border-radius: 26px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 32px); }
.pair-phones { max-width: 620px; }
.compare { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.compare > * { min-width: 0; }
.compare .tag { margin-bottom: 22px; }
.compare h2 + p { margin-top: 24px; }
.wide-shot { margin-top: clamp(48px, 6vw, 80px); }

/* lists */
.plain-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plain-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.plain-list li strong { font-weight: 600; }
.plain-list li span { color: var(--muted); font-size: 16px; }

/* price */
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 44px); }
.price-rows { margin: 0 0 28px; padding: 0; }
.price-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.price-rows div:first-child { padding-top: 0; }
.price-rows dt { font-weight: 500; }
.price-rows dd { margin: 0; font-family: var(--serif); font-size: 32px; line-height: 1; }
.price-rows dd small { font-family: var(--sans); font-size: 15px; color: var(--muted); }

/* faq */
.faq { margin: 0; }
.faq div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq div:first-child { padding-top: 0; }
.faq dt { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 28px); line-height: 1.2; margin-bottom: 10px; }
.faq dd { margin: 0; color: var(--muted); max-width: 40em; }

/* cta */
.cta { background: var(--dark); color: #f3ece1; padding: clamp(72px, 10vw, 136px) 0; text-align: center; }
.cta h2 { font-size: clamp(40px, 5.6vw, 72px); }
.cta p { color: #cfc4b5; max-width: 34em; margin: 22px auto 0; text-wrap: pretty; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border-radius: 999px; background: #f3ece1; color: var(--dark); font-weight: 600; font-size: 17px; text-decoration: none; margin-top: 34px; transition: background-color .15s ease; }
.btn:hover { background: #fff; }
.cta .email { margin-top: 22px; font-size: 16px; }
.cta .email a { display: inline-block; padding: 12px 2px; color: #f3ece1; text-decoration: underline; text-decoration-color: rgba(243, 236, 225, .4); text-underline-offset: 5px; }
.cta .email a:hover { text-decoration-color: #f3ece1; }

/* examples page */
.example { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.example-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.example-head > * { min-width: 0; }
.example-head h2 { font-size: clamp(34px, 4vw, 52px); }
.example-head .where { display: block; margin-top: 8px; font-size: 16px; color: var(--muted); font-family: var(--sans); }
.example .pair + .pair { margin-top: clamp(28px, 4vw, 44px); }
.concept { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(40px, 6vw, 96px); }
.concept > * { min-width: 0; }
.concept h2 { font-size: clamp(32px, 3.6vw, 46px); }
.concept .tag { margin-bottom: 18px; }

/* guide */
.toc { margin: 36px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); text-decoration: none; font-size: 15px; }
.toc a:hover { border-color: var(--muted); }
.guide-block { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.guide-block h2 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 28px; scroll-margin-top: 24px; }
.prose { max-width: 40em; }
.prose p { text-wrap: pretty; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--clay); }
.quote { margin: 28px 0; padding: 22px 26px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.quote p { font-family: var(--serif); font-size: 26px; line-height: 1.25; margin: 0; }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 15px; color: var(--muted); }
.sources { font-size: 15px; color: var(--muted); }
.sources ol { padding-left: 1.3em; margin: 12px 0 0; }
.sources li { margin-bottom: 8px; }
.sources a { display: inline; color: var(--accent); }
sup a { text-decoration: none; padding: 0 2px; font-size: 13px; }
.checklist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.checklist li { padding: 16px 0; border-bottom: 1px solid var(--line); }

/* footer */
.site-footer { background: var(--dark); color: #b8ad9f; border-top: 1px solid #3a322b; font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 28px; padding-bottom: 28px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: -10px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: #e9e1d5; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 980px) {
  .split, .compare, .example-head, .concept { grid-template-columns: minmax(0, 1fr); }
  .pair-phones { max-width: none; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { display: none; }
  .byline { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
  .byline img { width: 56px; height: 56px; border-radius: 50%; }
  .byline p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--muted); }
  .byline strong { display: block; color: var(--ink); font-weight: 600; }
  .kia { display: none; }
  .header-inner { padding-top: 10px; padding-bottom: 6px; min-height: 0; }
  .brand small { display: none; }
  .nav { margin-left: -12px; margin-right: 0; width: 100%; }
  .price-rows dd { font-size: 28px; }
  .phone .frame { border-radius: 18px; }
}
@media (max-width: 420px) {
  .pair-phones { gap: 12px; }
  .nav a { padding: 0 10px; font-size: 15px; }
}
@media (min-width: 1800px) {
  :root { --wrap: 1320px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.under-h2 { margin-top: 20px; }
.head-gap { margin-top: 18px; }
.prose .checklist { padding-left: 0; }
.phone-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(28px, 4vw, 44px); }
.phone-row > * { min-width: 0; }
.phone-row .pair-phones { max-width: 560px; }
@media (max-width: 980px) { .phone-row { grid-template-columns: minmax(0, 1fr); } .phone-row .pair-phones { max-width: none; } }
sup { line-height: 0; }
sup a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: -20px -16px; padding: 0; vertical-align: middle; }
.sources a { display: inline-block; padding: 11px 0; min-height: 44px; }
.sources li { margin-bottom: 0; }
.sources li span { display: block; margin-bottom: 10px; }
.sources a { display: inline-block; padding: 10px 0 4px; }
.sources a { display: block; width: fit-content; max-width: 100%; }
