/* houseofnest.com: centred newspaper masthead, double rule nav, magazine grid. Tokens from docs/design-tokens.json */
:root {
  --c-primary: #1F3D2B;
  --c-primary-ink: #fff;
  --c-accent: #B3261E;
  --c-ink: #1B1B1B;
  --c-muted: #555555;
  --c-surface: #FFFFFF;
  --c-surface-alt: #F2F4F1;
  --c-line: #D9D9D9;
  --c-link: #1F3D2B;
  --radius: 0;
  --radius-lg: 0;
  --font-display: "Libre Caslon Display", Georgia, serif;
  --font-text: "Libre Caslon Text", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --heading-weight: 400;
  --wrap: 1136px;
}
a:hover { color: var(--c-accent); }
.hn-wrap { max-width: calc(1136px + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap { max-width: calc(1136px + 2 * var(--gutter)); }

/* Base overrides so inner pages match */
.page-head h1, .st-name, .auth-box h1 { font-weight: 400; letter-spacing: -0.3px; }
.page-head p, .prose blockquote { font-family: var(--font-text); font-style: italic; }
.btn { font-weight: 700; }
.table thead th { background: none; border-bottom: 1px solid var(--c-ink); text-transform: none; letter-spacing: 0; font-size: 15px; }
.table-wrap { border: 0; border-top: 2px solid var(--c-ink); border-bottom: 1px solid var(--c-ink); }
.notice { border-left-color: var(--c-accent); background: var(--c-surface-alt); }
.st-pick { background: var(--c-accent); color: #fff; }
.st-verdict { border-left-color: var(--c-accent); }
.st-verdict p { font-family: var(--font-text); font-style: italic; }
.bw { border: 1px solid var(--c-primary); }
.bw-title { font-weight: 400; font-size: 26px; }
.st-filters { background: var(--c-surface-alt); }
.tag { border-color: var(--c-line); }
.account-nav a[aria-current] { background: var(--c-primary); color: #fff; }
.cs-n { color: var(--c-accent); font-weight: 400; }

/* Masthead */
.hn-masthead { text-align: center; padding-top: 20px; position: relative; }
.hn-utility { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--c-muted); }
.hn-utility-r { display: flex; gap: 20px; align-items: center; }
.hn-ulink { font-weight: 600; text-decoration: none; color: var(--c-primary); }
.hn-join { background: var(--c-primary); color: #fff; text-decoration: none; font-weight: 700; padding: 9px 16px; }
.hn-join:hover { color: #fff; background: #16301f; }
.hn-title { display: inline-block; margin-top: 18px; font-family: var(--font-display); font-size: clamp(36px, 5.28vw, 76px); line-height: 1; letter-spacing: -1px; color: var(--c-primary); text-decoration: none; }
.hn-tagline { margin: 10px 0 18px; font-family: var(--font-text); font-style: italic; font-size: 18px; color: var(--c-muted); }
.hn-nav { border-top: 3px double var(--c-ink); border-bottom: 1px solid var(--c-ink); padding: 13px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; font-size: 15px; font-weight: 600; }
.hn-nav a { text-decoration: none; color: var(--c-ink); }
.hn-nav a[aria-current], .hn-nav a:hover { color: var(--c-accent); }
.hn-burger { margin: 0 auto 12px; }
@media (max-width: 899px) {
  .hn-nav { display: none; flex-direction: column; gap: 0; text-align: left; padding: 0; font-size: 17px; }
  body.nav-open .hn-nav { display: flex; }
  .hn-nav a { padding: 13px 4px; border-bottom: 1px solid var(--c-line); }
  .hn-burger { display: inline-flex; }
}

/* Headings */
.hn-h1 { margin: 22px 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 4.17vw, 60px); line-height: 1.04; color: var(--c-ink); }
.hn-h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; }
.hn-h2-l { font-size: clamp(30px, 3.06vw, 44px); }
.hn-h2-xl { font-size: clamp(30px, 3.61vw, 52px); line-height: 1.08; color: #fff; }
.hn-green { color: var(--c-primary); }
.hn-rule { border-top: 1px solid var(--c-ink); padding-top: 14px; }
.hn-mb { margin-bottom: 28px; }
.hn-sec { padding-top: 88px; }
.hn-sec-last { padding-bottom: 88px; }
.hn-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.hn-more { font-weight: 600; color: var(--c-primary); }
.hn-muted { color: var(--c-muted); line-height: 1.6; }
.hn-italic-sub { margin: 6px 0 24px; font-family: var(--font-text); font-style: italic; font-size: 20px; color: var(--c-muted); }
.hn-note { font-size: 13px; color: var(--c-muted); margin: 12px 0 0; }
.hn-standfirst { margin: 16px 0 14px; font-family: var(--font-text); font-style: italic; font-size: 22px; line-height: 1.45; color: #3a3a3a; }
.hn-standfirst-s { margin: 10px 0; font-family: var(--font-text); font-style: italic; font-size: 17px; color: #3a3a3a; }
.hn-byline { font-size: 14px; color: var(--c-muted); }

/* Lead */
.hn-lead { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 36px; }
.hn-lead-story { flex: 2 1 min(560px, 100%); text-decoration: none; color: var(--c-ink); display: block; }
.hn-lead-story:hover .hn-h1 { color: var(--c-primary); }
.hn-lead-img { height: 500px; background: #B7C4BA; overflow: hidden; }
.hn-lead-img img, .hn-card-img img, .hn-occ-img img, .hn-j-img img { width: 100%; height: 100%; object-fit: cover; }
.hn-lead-side { flex: 1 1 min(340px, 100%); border-left: 1px solid var(--c-line); padding-left: 32px; display: flex; flex-direction: column; gap: 32px; }
.hn-find { display: flex; flex-direction: column; gap: 14px; }
.hn-find-title { margin: 0 0 4px; font-family: var(--font-display); font-weight: 400; font-size: 32px; }
.hn-find label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.hn-find input, .hn-find select { font: inherit; font-weight: 400; font-size: 16px; border: 1px solid #8a8a8a; padding: 12px; background: #fff; min-height: 48px; width: 100%; }
.hn-find-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hn-find button { background: var(--c-primary); color: #fff; border: 0; font: inherit; font-weight: 700; padding: 15px; min-height: 50px; }
.hn-find button:hover { background: #16301f; }
.hn-mostread h2 { margin: 0 0 6px; font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--c-accent); }
.hn-mostread a { display: block; border-top: 1px solid var(--c-line); padding: 14px 0; font-family: var(--font-text); font-size: 20px; color: var(--c-ink); text-decoration: none; }
.hn-mostread a:last-child { border-bottom: 1px solid var(--c-line); }
.hn-mostread a span { color: var(--c-accent); }
.hn-mostread a:hover { color: var(--c-primary); }
@media (max-width: 900px) { .hn-lead-side { border-left: 0; padding-left: 0; } .hn-lead-img { height: 300px; } }

/* Promise */
.hn-promise { padding-top: 64px; }
.hn-promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); background: var(--c-surface-alt); }
.hn-promise-grid > div { padding: 28px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--c-line); }
.hn-promise-grid > div:first-child { border-left: 0; }
.hn-roman { font-family: var(--font-display); font-size: 30px; color: var(--c-primary); }
.hn-promise-grid strong { font-size: 17px; }
.hn-promise-grid span:last-child { font-size: 15px; color: var(--c-muted); }

/* Cards */
.hn-four { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.hn-card { display: flex; flex-direction: column; gap: 6px; }
.hn-card-img { position: relative; display: block; height: 330px; background: #D9C5B8; overflow: hidden; margin-bottom: 12px; }
.hn-card h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.15; }
.hn-card h3 a { text-decoration: none; color: var(--c-ink); }
.hn-card-loc { font-size: 14px; color: var(--c-muted); }
.hn-card p { margin: 4px 0 0; font-size: 16px; line-height: 1.5; }
.hn-card-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--c-line); display: flex; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 600; }

/* Tables */
.hn-scroll { overflow-x: auto; position: relative; }
.hn-table, .hn-rtable { width: 100%; border-collapse: collapse; }
.hn-table { min-width: 720px; font-size: 15px; }
.hn-table thead tr { border-top: 2px solid var(--c-ink); border-bottom: 1px solid var(--c-ink); text-align: left; }
.hn-table th, .hn-table td { padding: 16px 12px 16px 0; text-align: left; border-bottom: 1px solid #e3e3e3; }
.hn-table thead th { font-weight: 700; padding-top: 14px; padding-bottom: 14px; }
.hn-table tbody th { font-family: var(--font-text); font-weight: 400; font-size: 18px; }
.hn-table tbody th a { color: var(--c-ink); text-decoration: none; }
.hn-table tbody tr:last-child th, .hn-table tbody tr:last-child td { border-bottom: 1px solid var(--c-ink); }

/* Crypto */
.hn-crypto { margin-top: 88px; background: var(--c-primary); color: #fff; }
.hn-crypto-in { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 72px; padding-bottom: 72px; }
.hn-crypto-text { flex: 1 1 min(420px, 100%); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hn-crypto-text p { margin: 0; font-family: var(--font-text); font-size: 20px; line-height: 1.5; color: #E7EDE8; }
.hn-btn-light { background: #fff; color: var(--c-primary); font-weight: 700; text-decoration: none; padding: 14px 20px; margin-top: 8px; }
.hn-btn-light:hover { color: var(--c-accent); }
.hn-dl { flex: 1 1 min(460px, 100%); margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 32px; }
.hn-dl > div { border-top: 1px solid rgba(255,255,255,.3); padding: 18px 0 30px; }
.hn-dl dt { font-weight: 700; margin-bottom: 8px; }
.hn-dl dd { margin: 0; color: #DCE5DE; line-height: 1.55; }

/* Rates */
.hn-rates { display: flex; flex-wrap: wrap; gap: 48px; }
.hn-rates-text { flex: 1 1 min(340px, 100%); display: flex; flex-direction: column; gap: 16px; }
.hn-rates-text p { margin: 0; }
.hn-pull { margin: 4px 0 0; border-left: 2px solid var(--c-accent); padding: 2px 0 2px 16px; font-family: var(--font-text); font-style: italic; font-size: 20px; line-height: 1.45; color: var(--c-primary); }
.hn-rates-table { flex: 1.6 1 min(520px, 100%); min-width: 0; }
.hn-rtable { font-size: 15px; margin-bottom: 16px; }
.hn-rtable thead tr { border-bottom: 1px solid var(--c-ink); text-align: left; }
.hn-rtable th, .hn-rtable td { padding: 14px 10px 14px 0; text-align: left; border-bottom: 1px solid #e3e3e3; }
.hn-rtable tbody th { font-family: var(--font-text); font-weight: 400; font-size: 18px; }
.hn-rtable tbody tr:last-child th, .hn-rtable tbody tr:last-child td { border-bottom: 0; }

/* Occasions */
.hn-occasion { text-decoration: none; color: var(--c-ink); display: flex; flex-direction: column; gap: 8px; }
.hn-occ-img { height: 200px; background: #E3D3CB; overflow: hidden; margin-bottom: 8px; }
.hn-occasion h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.hn-occasion p { margin: 0; color: var(--c-muted); font-size: 16px; }
.hn-occasion:hover h3 { color: var(--c-primary); }

/* Method */
.hn-method { display: flex; flex-wrap: wrap; gap: 48px; }
.hn-method-text { flex: 1 1 min(320px, 100%); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hn-method-text p { margin: 0; }
.hn-method-list { flex: 1.8 1 min(520px, 100%); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-ink); }
.hn-method-list li { display: flex; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.hn-method-list li:last-child { border-bottom-color: var(--c-ink); }
.hn-method-list p { margin: 4px 0 0; color: var(--c-muted); font-size: 15px; }
.hn-n { font-family: var(--font-display); font-size: 26px; color: var(--c-accent); width: 32px; flex: none; line-height: 1; }

/* Journal */
.hn-journal { display: flex; flex-wrap: wrap; gap: 36px; }
.hn-j-feature { flex: 2 1 min(560px, 100%); display: flex; flex-wrap: wrap; gap: 24px; text-decoration: none; color: var(--c-ink); }
.hn-j-img { flex: 1 1 min(260px, 100%); height: 290px; background: #D9C5B8; overflow: hidden; }
.hn-j-text { flex: 1 1 min(240px, 100%); }
.hn-j-text h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.15; }
.hn-j-feature:hover h3 { color: var(--c-primary); }
.hn-j-list { flex: 1.3 1 min(340px, 100%); display: flex; flex-direction: column; }
.hn-j-list a { border-top: 1px solid var(--c-line); padding: 16px 0; font-family: var(--font-text); font-size: 21px; color: var(--c-ink); text-decoration: none; }
.hn-j-list a:last-child { border-bottom: 1px solid var(--c-line); }
.hn-j-list a:hover { color: var(--c-primary); }

/* Members + FAQ */
.hn-members-faq { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.hn-members { flex: 1 1 min(420px, 100%); border: 1px solid var(--c-primary); padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hn-members p { margin: 0; color: #333; }
.hn-members ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.hn-btn { background: var(--c-primary); color: #fff; text-decoration: none; font-weight: 700; padding: 13px 22px; }
.hn-btn:hover { color: #fff; background: #16301f; }
.hn-faq { flex: 1 1 min(480px, 100%); }
.hn-faq .hn-h2 { margin-bottom: 16px; }
.hn-faq details { border-top: 1px solid var(--c-line); padding: 18px 0; }
.hn-faq details:first-of-type { border-top-color: var(--c-ink); }
.hn-faq details:last-child { border-bottom: 1px solid var(--c-ink); }
.hn-faq summary { font-weight: 700; font-size: 18px; }
.hn-faq p { margin: 10px 0 0; color: var(--c-muted); line-height: 1.6; }

/* Letter */
.hn-letter { background: var(--c-surface-alt); padding: clamp(22px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between; }
.hn-letter > div { flex: 1 1 min(360px, 100%); }
.hn-letter p { margin: 8px 0 0; }
.hn-letter-form { flex: 1 1 min(400px, 100%); display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.hn-letter-form label { flex: 1 1 min(240px, 100%); display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.hn-letter-form input { font: inherit; font-weight: 400; font-size: 16px; border: 1px solid #8a8a8a; padding: 12px; min-height: 48px; background: #fff; }
.hn-letter-form button { background: var(--c-primary); color: #fff; border: 0; font: inherit; font-weight: 700; padding: 14px 22px; min-height: 48px; }

/* Footer */
.hn-footer { background: #1B1B1B; color: #D7D7D7; }
.hn-footer-in { padding-top: 56px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 40px; font-size: 15px; }
.hn-footer-brand { flex: 2 1 min(280px, 100%); display: flex; flex-direction: column; gap: 10px; }
.hn-footer-title { font-family: var(--font-display); font-size: 32px; color: #fff; }
.hn-footer-brand span:last-child { color: #ABABAB; max-width: 300px; }
.hn-footer-col { flex: 1 1 140px; display: flex; flex-direction: column; gap: 10px; }
.hn-footer-col strong { color: #fff; }
.hn-footer a { color: #D7D7D7; }
.hn-footer a:hover { color: #fff; }
.hn-footer-base { border-top: 1px solid #3a3a3a; padding-top: 20px; padding-bottom: 32px; font-size: 13px; color: #ABABAB; }
.hn-footer-base p { margin: 0 0 6px; }
.cookie-banner { border-color: var(--c-primary); border-radius: 0; }
@media (max-width: 1060px) { .hn-promise-grid > div { border-left: 0; border-top: 1px solid var(--c-line); } .hn-promise-grid > div:first-child { border-top: 0; } }
