/*
Theme Name: Polar Hosting
Theme URI: https://hosting.polar-networks.com
Author: Polar Network Solutions Limited
Author URI: https://polar-networks.com
Description: Custom theme for Polar Hosting, the managed hosting service from Polar Networks. Includes homepage, contact, legal, UpLink blog index and single article templates. Brand colours: charcoal #262c34, burnt orange #bd693d, ice blue #b8cdd6.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: polar-hosting
Tags: custom, hosting, brochure, blog, responsive
*/

/* Fonts: DM Sans (matches Polar Networks body) plus DM Serif Display as a stand-in
   for TT Fors Display until the licensed font is added at integration time. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
  /* Polar Networks brand colours, confirmed */
  --charcoal: #262c34;
  --charcoal-soft: #3a4049;
  --orange: #bd693d;
  --orange-deep: #9a5230;
  --ice: #b8cdd6;
  --ice-soft: #d8e4ea;
  --ice-pale: #eef3f6;

  /* Page tokens */
  --bg: #ffffff;
  --bg-section: #fafbfc;
  --ink: var(--charcoal);
  --ink-soft: #4a4f57;
  --ink-mute: #7a7f87;
  --rule: #e6e9ec;

  /* Type */
  --display: 'DM Serif Display', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(72px, 9vw, 130px) 0; }

a { color: var(--ink); }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo wordmark: same typographic treatment as Polar Networks (POLAR + descriptor) */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--charcoal);
}
.brand-mark {
  font-family: var(--body);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.brand-divider {
  width: 1px;
  height: 18px;
  background: var(--ice);
}
.brand-sub {
  font-family: var(--body);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--charcoal);
  color: #fff;
  padding: 11px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s;
  display: inline-block;
}
.nav-cta:hover { background: var(--orange); color: #fff; }

/* Mobile burger button */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.nav-mobile {
  display: none;
  border-top: 1px solid var(--rule);
  background: #fff;
}
.nav-mobile.open { display: block; }
.nav-mobile ul {
  list-style: none;
  padding: 12px var(--gutter) 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav-mobile li { border-bottom: 1px solid var(--rule); }
.nav-mobile li:last-child { border-bottom: none; }
.nav-mobile a {
  display: block;
  padding: 16px 0;
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.nav-mobile a:hover { color: var(--orange); }
.nav-mobile .nav-mobile-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 22px;
  background: var(--charcoal);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }
}

/* ============ HERO ============ */
.hero {
  padding: clamp(80px, 11vw, 140px) 0 clamp(70px, 9vw, 110px);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--ice-pale) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--orange);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--charcoal);
}
.hero h1 em {
  font-style: italic;
  color: var(--orange);
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 40px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s, color 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--body);
}
.btn-primary { background: var(--charcoal); color: #fff; }
.btn-primary:hover { background: var(--orange); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-secondary:hover { background: var(--charcoal); color: #fff; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Stat block (replaces the image) */
.hero-stats {
  background: var(--charcoal);
  color: #fff;
  padding: 44px 40px;
  border-radius: 6px;
  position: relative;
  border-top: 3px solid var(--orange);
}
.hero-stats-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--ice);
  margin-bottom: 32px;
}
.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(184, 205, 214, 0.18);
}
.stat-row:last-child { border-bottom: none; padding-bottom: 0; }
.stat-row:first-of-type { padding-top: 0; }
.stat-value {
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: #fff;
  flex-shrink: 0;
}
.stat-value em { font-style: italic; color: var(--ice); }
.stat-label {
  font-size: 13.5px;
  color: var(--ice);
  text-align: right;
  line-height: 1.4;
  max-width: 22ch;
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero::before { width: 100%; opacity: 0.5; }
}

/* ============ SECTION HEADINGS ============ */
.section-eyebrow {
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  max-width: 24ch;
  margin-bottom: 18px;
  color: var(--charcoal);
}
.section-title em { font-style: italic; color: var(--orange); }
.section-lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 58ch;
  margin-bottom: 56px;
  line-height: 1.55;
}

/* ============ WHAT WE HOST ============ */
.services { background: var(--bg-section); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}
.service-card {
  background: #fff;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.25s;
  min-height: 220px;
}
.service-card:hover { background: var(--ice-pale); }

.service-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.service-card h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--charcoal);
}
.service-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============ PRICING ============ */
.pricing { background: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.plan {
  background: #fff;
  padding: 40px 32px;
  border-radius: 6px;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -24px rgba(38, 44, 52, 0.16);
  border-color: var(--ice);
}

.plan-featured {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}
.plan-featured:hover { border-color: var(--orange); }
.plan-featured .plan-name,
.plan-featured .plan-price-amt,
.plan-featured .plan-features li { color: #fff; }
.plan-featured .plan-tagline,
.plan-featured .plan-price-period,
.plan-featured .plan-features-title { color: var(--ice); }
.plan-featured .check { color: var(--orange); }

.plan-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--orange);
  color: #fff;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.plan-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.plan-tagline {
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 28px;
  min-height: 44px;
  line-height: 1.45;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.plan-featured .plan-price { border-bottom-color: rgba(184, 205, 214, 0.18); }
.plan-price-amt {
  font-family: var(--display);
  font-weight: 400;
  font-size: 48px;
  letter-spacing: -0.03em;
}
.plan-price-period { font-size: 14px; color: var(--ink-mute); }

.plan-features-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.plan-features { list-style: none; margin-bottom: 36px; flex-grow: 1; }
.plan-features li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
}
.check {
  flex-shrink: 0;
  color: var(--orange);
  font-weight: 600;
  margin-top: 2px;
}

.plan-cta {
  display: block;
  text-align: center;
  background: var(--charcoal);
  color: #fff;
  padding: 14px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: background 0.2s;
}
.plan-featured .plan-cta { background: var(--orange); color: #fff; }
.plan-cta:hover { background: var(--orange); }
.plan-featured .plan-cta:hover { background: var(--ice); color: var(--charcoal); }

.pricing-note {
  text-align: center;
  margin-top: 44px;
  color: var(--ink-mute);
  font-size: 14.5px;
}
.pricing-note a { color: var(--charcoal); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============ ADD-ONS ============ */
.addons { background: var(--bg-section); }

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.addon-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.addon-card:hover {
  border-color: var(--ice);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -20px rgba(38, 44, 52, 0.12);
}

.addon-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 16px;
  margin-bottom: 4px;
}
.addon-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--charcoal);
}
.addon-price {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.addon-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  flex-grow: 1;
}

.addons-note {
  text-align: center;
  margin-top: 40px;
  color: var(--ink-mute);
  font-size: 14px;
}

@media (max-width: 900px) {
  .addons-grid { grid-template-columns: 1fr; }
}

/* ============ BEYOND HOSTING ============ */
.beyond { background: var(--bg); position: relative; }

.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 12px;
}

.beyond-card {
  background: var(--ice-pale);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background 0.3s;
}
.beyond-card:hover { background: var(--ice-soft); }

.beyond-eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--orange);
}
.beyond-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.018em;
  line-height: 1.15;
  color: var(--charcoal);
}
.beyond-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.beyond-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.beyond-list li {
  font-size: 14px;
  color: var(--charcoal);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.beyond-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1px;
  background: var(--orange);
}

.beyond-footer {
  margin-top: 56px;
  text-align: center;
  padding: 36px;
  background: var(--charcoal);
  color: #fff;
  border-radius: 6px;
}
.beyond-footer h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.beyond-footer p {
  color: var(--ice);
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}
.beyond-footer .btn {
  background: var(--orange);
  color: #fff;
}
.beyond-footer .btn:hover { background: var(--ice); color: var(--charcoal); }

@media (max-width: 820px) {
  .beyond-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============ WHY US ============ */
.why { background: var(--charcoal); color: #fff; }
.why .section-title { color: #fff; }
.why .section-lede { color: var(--ice); }
.why .section-eyebrow { color: var(--ice); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(184, 205, 214, 0.16);
}
.why-card {
  padding: 48px 36px 0 0;
  border-right: 1px solid rgba(184, 205, 214, 0.16);
}
.why-card:last-child { border-right: none; padding-right: 0; }
.why-card:nth-child(2) { padding-left: 36px; }
.why-card:nth-child(3) { padding-left: 36px; }

.why-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 38px;
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.why-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #fff;
}
.why-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ice);
}

@media (max-width: 820px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-card { border-right: none; border-bottom: 1px solid rgba(184, 205, 214, 0.16); padding: 36px 0; }
  .why-card:last-child { border-bottom: none; }
  .why-card:nth-child(2), .why-card:nth-child(3) { padding-left: 0; }
}

/* ============ CTA ============ */
.cta { background: var(--bg); text-align: center; }
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--charcoal);
}
.cta h2 em { font-style: italic; color: var(--orange); }
.cta p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

/* ============ FOOTER ============ */
.footer { background: var(--charcoal); color: #fff; padding: 80px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(184, 205, 214, 0.16);
}
.footer-brand .brand-mark { color: #fff; font-size: 22px; }
.footer-brand .brand-sub { color: var(--orange); font-size: 14px; }
.footer-brand .brand-divider { background: rgba(184, 205, 214, 0.3); }
.footer-tagline {
  font-size: 14.5px;
  color: var(--ice);
  margin-top: 18px;
  line-height: 1.55;
  max-width: 36ch;
}
.footer-parent {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(184, 205, 214, 0.16);
  font-size: 13.5px;
  color: var(--ice);
  line-height: 1.55;
}
.footer-parent a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 1px;
}
.footer-parent a:hover { color: var(--orange); }

.footer-col h4 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ice);
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--ice);
}
.footer-bottom a { color: var(--ice); text-decoration: none; }
.footer-bottom a:hover { color: var(--orange); }
.footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease-out both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
/* ============ NEWSLETTER ============ */
.newsletter {
  background: var(--charcoal);
  color: #fff;
  padding: clamp(60px, 8vw, 90px) 0;
  border-top: 3px solid var(--orange);
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.newsletter-eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--ice);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.newsletter-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--orange);
}
.newsletter h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.newsletter h2 em {
  font-style: italic;
  color: var(--orange);
}
.newsletter-sub {
  color: var(--ice);
  font-size: 16px;
  line-height: 1.55;
  max-width: 42ch;
}

.newsletter-form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(184, 205, 214, 0.2);
  border-radius: 6px;
  padding: 32px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--body);
  font-size: 15.5px;
  color: var(--charcoal);
  transition: border-color 0.2s;
  min-width: 0;
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--orange);
}
.newsletter-form input[type="email"]::placeholder {
  color: var(--ink-mute);
}
.newsletter-submit {
  background: var(--orange);
  color: #fff;
  padding: 14px 24px;
  border: none;
  border-radius: 4px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletter-submit:hover { background: var(--ice); color: var(--charcoal); }

.newsletter-disclaimer {
  font-size: 13px;
  color: var(--ice);
  line-height: 1.55;
  opacity: 0.75;
}
.newsletter-disclaimer a {
  color: var(--ice);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
}
.newsletter-disclaimer a:hover { color: var(--orange); }

@media (max-width: 900px) {
  .newsletter-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-form-card { padding: 24px; }
}

/* ============ CONTACT PAGE ============ */
.contact-hero {
  padding: clamp(70px, 9vw, 110px) 0 clamp(50px, 6vw, 70px);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--ice-pale) 100%);
  z-index: 0;
  pointer-events: none;
}
.contact-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.contact-hero .eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-hero .eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--orange); }
.contact-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--charcoal);
}
.contact-hero h1 em { font-style: italic; color: var(--orange); font-weight: 400; }
.contact-hero p {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.55;
}

.contact-main { padding-top: 0; padding-bottom: clamp(80px, 10vw, 130px); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Form */
.form-card {
  background: #fff;
  padding: 48px;
  border-radius: 6px;
  border: 1px solid var(--rule);
}
.form-card-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--charcoal);
}
.form-card-sub {
  color: var(--ink-mute);
  font-size: 14.5px;
  margin-bottom: 32px;
  line-height: 1.5;
}

.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.form-row label .req { color: var(--orange); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-family: var(--body);
  font-size: 15.5px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.form-row textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row-split { grid-template-columns: 1fr; } }

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-submit {
  background: var(--charcoal);
  color: #fff;
  padding: 15px 32px;
  border-radius: 4px;
  border: none;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.form-submit:hover { background: var(--orange); transform: translateY(-1px); }
.form-submit .arrow { transition: transform 0.2s; }
.form-submit:hover .arrow { transform: translateX(3px); }

.form-disclaimer {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.55;
  max-width: 32ch;
}
.form-disclaimer a { color: var(--charcoal); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }

/* Sidebar info */
.contact-info-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--charcoal);
}
.contact-info-sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 32px; line-height: 1.6; }

.contact-list { list-style: none; margin-bottom: 36px; }
.contact-list li {
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.contact-list li:last-child { border-bottom: 1px solid var(--rule); }
.contact-list .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-list .value {
  font-size: 16px;
  color: var(--charcoal);
  font-weight: 500;
}
.contact-list .value a {
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.contact-list .value a:hover { color: var(--orange); }

.response-note {
  background: var(--charcoal);
  color: #fff;
  padding: 28px;
  border-radius: 6px;
  border-top: 3px solid var(--orange);
}
.response-note .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ice);
  font-weight: 600;
  margin-bottom: 12px;
}
.response-note p {
  font-size: 14.5px;
  color: var(--ice);
  line-height: 1.55;
  margin: 0;
}
.response-note strong { color: #fff; font-weight: 500; }

/* ============ LEGAL PAGE ============ */
.legal-hero {
  padding: clamp(70px, 9vw, 110px) 0 clamp(40px, 5vw, 60px);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--ice-pale) 100%);
  z-index: 0;
  pointer-events: none;
}
.legal-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.legal-hero .eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.legal-hero .eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--orange); }
.legal-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--charcoal);
}
.legal-hero h1 em { font-style: italic; color: var(--orange); }
.legal-hero .last-updated {
  font-size: 14px;
  color: var(--ink-mute);
  margin-top: 8px;
}

.legal-main { padding-top: clamp(40px, 5vw, 60px); padding-bottom: clamp(80px, 10vw, 130px); }
.legal-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static !important; }
}

/* Sticky table of contents */
.legal-toc {
  position: sticky;
  top: 100px;
  padding: 24px;
  background: var(--ice-pale);
  border-radius: 6px;
  border-left: 3px solid var(--orange);
}
.legal-toc-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 16px;
}
.legal-toc ul { list-style: none; padding: 0; margin: 0; }
.legal-toc li { margin-bottom: 4px; }
.legal-toc a {
  display: block;
  padding: 10px 0 10px 14px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.legal-toc a:hover { color: var(--charcoal); border-left-color: var(--orange); }
.legal-toc a.active { color: var(--charcoal); border-left-color: var(--orange); font-weight: 600; }

/* Content area */
.legal-content { max-width: 70ch; }
.legal-content > section { padding-bottom: 56px; border-bottom: 1px solid var(--rule); margin-bottom: 56px; }
.legal-content > section:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }

.legal-section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 14px;
}
.legal-content h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.legal-content h2 em { font-style: italic; color: var(--orange); }
.legal-content .updated-line {
  font-size: 13.5px;
  color: var(--ink-mute);
  margin-bottom: 28px;
}
.legal-content h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--charcoal);
  margin-top: 32px;
  margin-bottom: 12px;
}
.legal-content h3:first-of-type { margin-top: 8px; }
.legal-content p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 16px;
}
.legal-content ul, .legal-content ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.legal-content li {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 8px;
}
.legal-content a {
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.legal-content a:hover { color: var(--orange); }
.legal-content strong { color: var(--charcoal); font-weight: 600; }

.legal-content .info-box {
  background: var(--bg-section);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--orange);
  padding: 20px 24px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.legal-content .info-box p:last-child { margin-bottom: 0; }
.legal-content .info-box-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 8px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
}
.legal-content table th,
.legal-content table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  line-height: 1.5;
}
.legal-content table th {
  background: var(--bg-section);
  font-weight: 600;
  color: var(--charcoal);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.legal-content table td { color: var(--ink-soft); }

.disclaimer-banner {
  background: var(--bg-section);
  border-left: 3px solid var(--ice);
  padding: 16px 22px;
  border-radius: 4px;
  font-size: 13.5px;
  color: var(--ink-mute);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ============ UPLINK INDEX ============ */
.uplink-hero {
  padding: clamp(70px, 9vw, 110px) 0 clamp(40px, 5vw, 60px);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.uplink-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--ice-pale) 100%);
  z-index: 0;
  pointer-events: none;
}
.uplink-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.uplink-hero .eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.uplink-hero .eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--orange); }
.uplink-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--charcoal);
}
.uplink-hero h1 em { font-style: italic; color: var(--orange); }
.uplink-hero p {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.55;
}

/* Category filter pills */
.category-filter {
  padding: clamp(30px, 4vw, 50px) 0;
  border-bottom: 1px solid var(--rule);
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.category-pill {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: pointer;
}
.category-pill:hover { border-color: var(--orange); color: var(--orange); }
.category-pill.active {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}

/* Featured article */
.uplink-feature {
  padding: clamp(50px, 7vw, 90px) 0 clamp(40px, 5vw, 60px);
}
.feature-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--ice-pale);
  border-radius: 8px;
  overflow: hidden;
  padding: 56px;
  transition: background 0.3s;
}
.feature-card:hover { background: var(--ice-soft); }
.feature-card a { text-decoration: none; color: inherit; }

.feature-visual {
  aspect-ratio: 4/3;
  background: var(--charcoal);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.feature-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-soft) 100%);
}
.feature-visual-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  bottom: 24px;
  right: 24px;
  z-index: 2;
}

.feature-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 18px;
}
.feature-eyebrow::before {
  content: 'FEATURED';
  background: var(--orange);
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.16em;
}
.feature-card h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.feature-card h2 em { font-style: italic; color: var(--orange); }
.feature-excerpt {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 22px;
}
.feature-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--ink-mute);
}
.feature-meta .sep { width: 3px; height: 3px; background: var(--ink-mute); border-radius: 50%; }
.feature-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 2px;
}
.feature-read-more .arrow { transition: transform 0.2s; }
.feature-card:hover .feature-read-more .arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  .feature-card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
}

/* Article grid */
.uplink-grid-section { padding: clamp(40px, 5vw, 70px) 0 clamp(80px, 10vw, 130px); }
.uplink-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 1000px) {
  .uplink-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .uplink-grid { grid-template-columns: 1fr; }
}

.article-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(38, 44, 52, 0.16);
  border-color: var(--ice);
}

.article-thumb {
  aspect-ratio: 16/9;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.article-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
}
.article-thumb-hosting::before { background: linear-gradient(135deg, #262c34 0%, #3a4049 100%); }
.article-thumb-wordpress::before { background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%); }
.article-thumb-mautic::before { background: linear-gradient(135deg, #9a5230 0%, #bd693d 100%); }
.article-thumb-security::before { background: linear-gradient(135deg, #1a1f26 0%, #2d3441 100%); }
.article-thumb-engineering::before { background: linear-gradient(135deg, #4a5568 0%, #718096 100%); }

.article-thumb-num {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-family: var(--display);
  font-style: italic;
  font-size: 56px;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: -0.04em;
  line-height: 1;
}
.article-thumb-tag {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(184, 205, 214, 0.85);
  font-weight: 600;
}
.article-thumb-dot {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.article-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.article-excerpt {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-mute);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.article-meta .sep { width: 3px; height: 3px; background: var(--ink-mute); border-radius: 50%; }

/* Pagination */
.pagination {
  text-align: center;
  margin-top: 64px;
}
.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  transition: background 0.2s, color 0.2s;
}
.pagination-btn:hover { background: var(--charcoal); color: #fff; }

/* ============ UPLINK ARTICLE ============ */
.article-hero {
  padding: clamp(70px, 9vw, 110px) 0 clamp(30px, 4vw, 50px);
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.article-hero-inner { max-width: 760px; margin: 0 auto; }

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-mute);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.article-back:hover { color: var(--orange); }
.article-back .arrow { transition: transform 0.2s; }
.article-back:hover .arrow { transform: translateX(-3px); }

.article-tag {
  display: inline-block;
  background: var(--ice-pale);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  margin-bottom: 24px;
}

.article-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.article-title em { font-style: italic; color: var(--orange); }

.article-lede {
  font-size: clamp(18px, 1.5vw, 20px);
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 32px;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.article-byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--charcoal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 16px;
  font-style: italic;
  flex-shrink: 0;
}
.article-byline-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.article-byline-name {
  font-size: 14.5px;
  color: var(--charcoal);
  font-weight: 600;
}
.article-byline-meta {
  font-size: 13px;
  color: var(--ink-mute);
}

/* Article body content */
.article-body-section {
  padding: clamp(50px, 7vw, 80px) 0 clamp(60px, 8vw, 100px);
}
.article-content {
  max-width: 720px;
  margin: 0 auto;
}
.article-content p {
  font-size: 17.5px;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 22px;
}
.article-content p.intro { font-size: 19px; color: var(--ink-soft); }
.article-content h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: -0.018em;
  line-height: 1.15;
  color: var(--charcoal);
  margin-top: 56px;
  margin-bottom: 16px;
}
.article-content h2 em { font-style: italic; color: var(--orange); }
.article-content h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 19px;
  color: var(--charcoal);
  margin-top: 36px;
  margin-bottom: 14px;
}
.article-content ul, .article-content ol {
  padding-left: 22px;
  margin-bottom: 22px;
}
.article-content li {
  font-size: 17px;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 10px;
}
.article-content a {
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 3px;
}
.article-content a:hover { color: var(--orange); }
.article-content strong { font-weight: 600; }
.article-content code {
  background: var(--bg-section);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1px 6px;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: 14.5px;
  color: var(--charcoal);
}
.article-content pre {
  background: var(--charcoal);
  color: var(--ice);
  padding: 20px 24px;
  border-radius: 6px;
  overflow-x: auto;
  margin-bottom: 24px;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
}
.article-content pre code {
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.article-content blockquote {
  border-left: 3px solid var(--orange);
  padding: 8px 0 8px 24px;
  margin: 28px 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

/* Related articles section */
.related-section {
  background: var(--bg-section);
  padding: clamp(70px, 9vw, 100px) 0;
  border-top: 1px solid var(--rule);
}
.related-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.018em;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.related-title em { font-style: italic; color: var(--orange); }
.related-sub {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 40px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr; }
}