:root {
  --bg: #f0eee8;
  --panel: #f7f4ef;
  --ink: #17263c;
  --ink-soft: rgba(23, 38, 60, 0.7);
  --line: rgba(23, 38, 60, 0.5);
  --heading: #1a2b3d;
  --green: #c3d979;
  --green-deep: #a5bc50;
  --signal: #dfeaf1;
  --navy: #0f2237;
  --muted: #74829a;
  --shadow: rgba(16, 29, 40, 0.08);
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 92px;
  padding: 1rem 1.5rem 1rem 1.25rem;
  background: rgba(240, 238, 232, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(23, 38, 60, 0.55);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 58px;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-mark__frame,
.brand-mark__n {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: square;
  stroke-linejoin: bevel;
  stroke-width: 2.6;
}

.brand-mark__signal {
  fill: var(--green-deep);
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 2vw, 3.1rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.brand-name span {
  font-weight: 500;
  opacity: 0.9;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 2.6vw, 3rem);
  margin-left: auto;
  margin-right: auto;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green-deep);
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.05rem 0.15rem;
  border-radius: 0.8rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  padding: 0.6rem 0.45rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lang:first-child {
  border-right: 1px solid var(--line);
}

.lang.active {
  background: rgba(255, 255, 255, 0.3);
}

.icon-button,
.menu-button {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(23, 38, 60, 0.7);
  border-radius: 0.2rem;
  color: var(--ink);
  padding: 0;
}

.menu-button {
  display: none;
}

.icon-button svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.social-toolbar {
  gap: 0.4rem;
}

.header-updates {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.newsletter-icon,
.search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  color: var(--ink);
}

.newsletter-icon svg,
.search-icon svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.newsletter-icon:hover,
.newsletter-icon:focus-visible,
.search-icon:hover,
.search-icon:focus-visible {
  color: var(--green-deep);
}

.newsletter-icon:focus-visible,
.search-icon:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  color: var(--ink);
}

.social-icon svg {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  fill: currentColor;
}

.notif-wrap {
  position: relative;
  display: inline-flex;
}

.bell-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}

.bell-button svg {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  fill: currentColor;
}

.notif-badge {
  position: absolute;
  top: -0.3rem;
  right: -0.4rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green, #2d6a4f);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
}

.notif-badge[hidden] {
  display: none;
}

.notif-panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  width: 320px;
  max-width: 86vw;
  background: #fdfcf9;
  border: 1px solid rgba(23, 38, 60, 0.18);
  border-radius: 6px;
  box-shadow: 0 16px 32px rgba(15, 34, 55, 0.18);
  z-index: 60;
  overflow: hidden;
}

.notif-panel-header {
  padding: 0.75rem 1rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy, #0f2237);
  border-bottom: 1px solid rgba(23, 38, 60, 0.12);
}

.notif-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
}

.notif-list li + li {
  border-top: 1px solid rgba(23, 38, 60, 0.08);
}

.notif-list a {
  display: block;
  padding: 0.7rem 1rem;
  color: var(--ink);
}

.notif-list a:hover {
  background: rgba(23, 38, 60, 0.04);
}

.notif-item-title {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
}

.notif-item-summary {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--muted, rgba(23, 38, 60, 0.65));
  line-height: 1.4;
}

.notif-empty {
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--muted, rgba(23, 38, 60, 0.65));
}

.social-icon:hover,
.social-icon:focus-visible {
  color: var(--green-deep);
}

.social-icon:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.social-icon--header {
  width: 1.5rem;
  flex-basis: 1.5rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

main {
  padding: 0.7rem 1.2rem 1.2rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 0;
  padding: 1.5rem 0 0.6rem;
}

.meta-label,
.section-kicker,
.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-copy {
  padding-top: 0.4rem;
}

.hero h1 {
  margin: 0.7rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.9;
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -0.06em;
  color: var(--heading);
}

.hero h1 .block {
  display: block;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.2rem;
  padding: 1.2rem 0 1.6rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  letter-spacing: 0.29em;
  text-transform: uppercase;
  color: rgba(23, 38, 60, 0.8);
}

.lead-story {
  padding: 1rem 0 0.8rem;
}

.story-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.story-header h2,
.newsletter-cta h2,
.shop-header h2,
.stance-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.lead-intro {
  margin: 0 0 1.4rem;
  max-width: 640px;
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(23, 38, 60, 0.8);
}

.archive-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.archive-teaser {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  padding: 1rem 0 0.8rem;
  border-top: 1px solid var(--line);
}

.archive-teaser h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1;
}

.archive-teaser p {
  max-width: 620px;
  margin: 0;
  color: rgba(23, 38, 60, 0.8);
  line-height: 1.55;
}

.archive-teaser[lang="ur"] h3,
.archive-teaser[lang="ur"] p {
  font-family: "Noto Nastaliq Urdu", serif;
  letter-spacing: 0;
  line-height: 2;
}

.archive-teaser .inline-link {
  margin-top: 0.15rem;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.52fr) minmax(0, 1fr);
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem;
}

.feature-thumb {
  min-height: 220px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(145, 165, 176, 0.26), rgba(71, 93, 116, 0.22));
  border-radius: 0.8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 8vw, 8rem);
  color: rgba(23, 38, 60, 0.7);
  letter-spacing: -0.08em;
}

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 0.2rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 38, 60, 0.72);
}

.feature-body h3,
.note-card h3,
.product-body h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.feature-body p,
.note-card p,
.product-body p,
.stance-item p,
.footer-languages p,
.lang-copy {
  margin: 0;
  color: rgba(23, 38, 60, 0.8);
  line-height: 1.55;
}

.inline-link,
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  border-bottom: 1px solid rgba(23, 38, 60, 0.8);
  padding-bottom: 0.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.note-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
  padding: 1rem 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
}

.note-tag,
.note-time {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 38, 60, 0.8);
}

.note-tag {
  margin-right: auto;
}

.note-time {
  margin-left: auto;
}

.note-card h3 {
  font-size: clamp(1.7rem, 2vw, 2.5rem);
}

.language-collection {
  padding: 1rem 0 0.5rem;
}

.lang-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.lang-links--series {
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.lang-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 180px;
  padding: 1.1rem 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  scroll-margin-top: 120px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.lang-card:hover,
.product-card:hover,
.note-card:hover,
.lang-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(23, 38, 60, 0.8);
}

.lang-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 0.75rem;
  background: rgba(195, 217, 121, 0.9);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.2rem;
}

.lang-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  letter-spacing: -0.05em;
}

.urdu-series-card,
.arabic-series-card {
  gap: 1rem;
}

.urdu-series-heading,
.arabic-series-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.english-series-heading {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.english-series-heading .lang-name {
  display: block;
  line-height: 1.1;
}

.english-series-heading .lang-copy {
  margin-top: 0.3rem;
  font-size: 0.85rem;
}

.english-series-list {
  display: grid;
  gap: 0.8rem;
  width: 100%;
}

.english-series-item {
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.english-series-item h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.08;
}

.english-series-item h3 a {
  text-decoration: none;
}

.english-series-item h3 a:hover,
.english-series-item h3 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.english-series-item p {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(23, 38, 60, 0.8);
}

.urdu-series-heading .lang-name,
.arabic-series-heading .lang-name {
  display: block;
  line-height: 1.1;
}

.urdu-series-heading .lang-copy,
.arabic-series-heading .lang-copy {
  margin-top: 0.3rem;
  font-size: 0.85rem;
}

.urdu-series-list,
.arabic-series-list {
  display: grid;
  gap: 0.8rem;
  width: 100%;
}

.urdu-series-item,
.arabic-series-item {
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.urdu-series-item h3,
.arabic-series-item h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.15;
}

.urdu-series-item h3 a,
.arabic-series-item h3 a {
  text-decoration: none;
}

.urdu-series-item h3 a:hover,
.urdu-series-item h3 a:focus-visible,
.arabic-series-item h3 a:hover,
.arabic-series-item h3 a:focus-visible,
.arabic-series-heading .lang-name a:hover,
.arabic-series-heading .lang-name a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.urdu-series-item p,
.arabic-series-item p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(23, 38, 60, 0.8);
}

.stance {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 0.7rem;
}

.stance-copy p {
  margin-top: 1rem;
  max-width: 500px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.stance-copy em {
  color: var(--green-deep);
  font-style: normal;
}

.stance-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.stance-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  padding: 1rem 0.9rem 0.9rem;
  border-top: 1px solid var(--line);
}

.stance-item span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(23, 38, 60, 0.8);
}

.stance-item p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.newsletter-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.4rem 0 0.9rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter-cta h2 {
  max-width: 700px;
}

.shop-section {
  padding-top: 1.5rem;
}

.shop-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
}

.product-art {
  position: relative;
  min-height: 220px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-art span {
  position: absolute;
  left: 1rem;
  bottom: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 38, 60, 0.76);
}

.art-keyboard {
  background: linear-gradient(135deg, rgba(16, 35, 50, 0.94), rgba(67, 91, 118, 0.94));
}

.art-keyboard::before {
  content: "";
  position: absolute;
  inset: 22% 18% 24% 18%;
  background: linear-gradient(180deg, #ebf0f1 0%, #bacbd9 100%);
  border-radius: 0.6rem 0.6rem 1rem 1rem;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}

.art-keyboard::after {
  content: "";
  position: absolute;
  inset: 38% 23% 18% 23%;
  background: linear-gradient(180deg, rgba(34,52,72,0.6), rgba(12,26,38,0.65));
  border-radius: 0.3rem;
}

.art-dock {
  background: linear-gradient(135deg, rgba(219, 224, 230, 0.9), rgba(165, 180, 196, 0.9));
}

.art-dock::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 52%;
  left: 11%;
  top: 22%;
  border-radius: 1rem;
  border: 1px solid rgba(23, 38, 60, 0.75);
  background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(0,0,0,0.05));
}

.art-dock::after {
  content: "";
  position: absolute;
  width: 28%;
  height: 18%;
  right: 15%;
  bottom: 18%;
  border-radius: 0.7rem;
  background: rgba(24, 42, 59, 0.7);
}

.art-lamp {
  background: linear-gradient(135deg, rgba(244, 226, 179, 0.9), rgba(199, 168, 88, 0.7));
}

.art-lamp::before {
  content: "";
  position: absolute;
  width: 30%;
  height: 45%;
  left: 35%;
  top: 20%;
  background: linear-gradient(180deg, rgba(226, 191, 127, 0.9), rgba(173, 128, 62, 0.9));
  border-radius: 1.2rem 1.2rem 0.6rem 0.6rem;
}

.art-lamp::after {
  content: "";
  position: absolute;
  width: 44%;
  height: 26%;
  left: 28%;
  bottom: 16%;
  background: rgba(34, 58, 73, 0.76);
  border-radius: 0.8rem 0.8rem 2rem 2rem;
}

.art-reader {
  background: linear-gradient(135deg, rgba(153, 163, 174, 0.86), rgba(93, 108, 118, 0.82));
}

.art-reader::before {
  content: "";
  position: absolute;
  width: 58%;
  height: 64%;
  left: 21%;
  top: 16%;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(228, 238, 242, 0.7));
  border: 1px solid rgba(23, 38, 60, 0.6);
  border-radius: 0.8rem;
}

.art-reader::after {
  content: "";
  position: absolute;
  width: 18%;
  height: 34%;
  right: 18%;
  bottom: 14%;
  background: rgba(23, 38, 60, 0.7);
  border-radius: 0.5rem;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
}

.product-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 38, 60, 0.7);
}

.product-body h3 {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
}

.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.7rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.buy-row button {
  border: 1px solid rgba(23, 38, 60, 0.8);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-footer {
  padding: 2.4rem 1.4rem 2.8rem;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.footer-top > * {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid rgba(23, 38, 60, 0.22);
  border-radius: 0.8rem;
  background: var(--panel);
}

.footer-lead {
  display: flex;
  align-items: center;
}

.footer-lead p {
  margin: 0;
  max-width: 420px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.footer-lead em {
  color: var(--green-deep);
  font-style: normal;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 0.5rem 0.8rem;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav::before {
  content: "Explore";
  grid-column: 1 / -1;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}

.footer-nav a {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(23, 38, 60, 0.18);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--green-deep);
  border-bottom-color: currentColor;
}

.footer-languages {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-lang-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-lang-links a:hover {
  color: var(--green-deep);
}

.small-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(23, 38, 60, 0.8);
}

.footer-link {
  margin-top: 0.2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23, 38, 60, 0.72);
}

.search-page {
  max-width: 900px;
}

#site-search-form label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.search-fields {
  display: flex;
  gap: 0.7rem;
}

.search-fields input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--panel);
}

.search-fields button {
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 0.4rem;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}

#search-status {
  margin: 1.5rem 0;
}

.search-result {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.search-result h2 {
  margin: 0 0 0.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}

.search-result a:hover,
.search-result a:focus-visible {
  text-decoration: underline;
}

.search-result p {
  margin: 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .search-fields {
    flex-direction: column;
  }
}


.page-shell--subpage {
  min-height: 100vh;
}

.content-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.2rem 0.75rem;
}

.page-hero {
  padding: 1.2rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0.7rem 0 0.55rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--heading);
}

.page-hero p {
  max-width: 820px;
  margin: 0;
  color: rgba(23, 38, 60, 0.8);
  font-size: 1.18rem;
  line-height: 1.6;
}

.page-hero[dir="rtl"] h1,
.page-hero[dir="rtl"] p,
.page-hero[dir="rtl"] .meta-label {
  font-family: "Noto Nastaliq Urdu", serif;
  text-align: right;
  letter-spacing: 0;
}

.page-hero[dir="rtl"] h1 {
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  line-height: 2;
}

.tight-hero {
  padding-top: 1.2rem;
}

.narrow-hero {
  max-width: 960px;
}

.story-directory {
  padding-top: 1.2rem;
}

.story-directory__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-bottom: 1rem;
  color: rgba(23, 38, 60, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-directory__filters span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.story-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.story-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 260px;
  padding: 1rem 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.story-card--featured {
  background: linear-gradient(180deg, rgba(195, 217, 121, 0.15), rgba(255,255,255,0.06));
}

.story-badge {
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(23, 38, 60, 0.72);
}

.story-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 38, 60, 0.72);
}

.story-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.story-card p {
  margin: 0;
  color: rgba(23, 38, 60, 0.8);
  line-height: 1.6;
}

.editor-note {
  max-width: 740px;
  padding: 2.4rem 0 1rem;
}

.editor-note h2 {
  margin: 0.7rem 0 0.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.editor-note p {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(23, 38, 60, 0.82);
}

.archive-article {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.archive-article__meta {
  color: rgba(23, 38, 60, 0.7);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.archive-article__body {
  margin: 1.2rem 0 1.8rem;
  color: rgba(23, 38, 60, 0.88);
  font-size: 1.04rem;
  line-height: 1.8;
}

.archive-article__body p {
  margin: 0 0 1.25rem;
}

.archive-article__body blockquote {
  margin: 1.6rem 0;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 3px solid var(--green-deep);
  color: var(--heading);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.25;
}

.archive-article--urdu,
.archive-article--urdu .archive-article__meta,
.comments-section[dir="rtl"] {
  font-family: "Noto Nastaliq Urdu", serif;
  text-align: right;
  letter-spacing: 0;
}

.archive-article--urdu .archive-article__body {
  font-size: 1.08rem;
  line-height: 2.2;
}

.archive-article--urdu .archive-article__body p {
  margin-bottom: 1.45rem;
}

.archive-article--urdu .archive-article__body blockquote {
  line-height: 2;
}

/* Nastaliq/Arabic script letterforms are connected and have no true italic face;
   browser-synthesized oblique garbles the joins, so emphasize with color instead */
.archive-article--urdu .archive-article__body em,
.archive-article--urdu .archive-article__body i {
  font-style: normal;
  color: var(--green-deep);
}

.comments-section[dir="rtl"] .comment-form,
.comments-section[dir="rtl"] .comment-list {
  direction: rtl;
  text-align: right;
}

.comments-section[dir="rtl"] .comment-item__header {
  flex-direction: row-reverse;
}

.comments-section {
  max-width: 880px;
  margin: 1rem auto 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.comments-section h2 {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 0.5rem 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
}

.comments-section h2 span {
  color: var(--muted);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.95rem;
}

.comments-disclosure {
  max-width: 640px;
  margin: 0 0 1.2rem;
  color: rgba(23, 38, 60, 0.72);
  font-size: 0.9rem;
  line-height: 1.55;
}

.comment-form {
  display: grid;
  gap: 0.9rem;
  max-width: 700px;
}

.comment-form label {
  display: grid;
  gap: 0.35rem;
  color: rgba(23, 38, 60, 0.82);
  font-size: 0.88rem;
  font-weight: 600;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.28);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.comment-form textarea {
  min-height: 130px;
  resize: vertical;
}

.comment-form input:focus-visible,
.comment-form textarea:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 2px;
}

.comment-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.comment-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid rgba(23, 38, 60, 0.8);
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.comment-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.comment-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.comment-status[data-state="error"] {
  color: #9a342c;
}

.comment-status[data-state="success"] {
  color: #506a18;
}

.comment-list {
  display: grid;
  gap: 0;
  max-width: 880px;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.comment-item,
.comment-empty {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.comment-item__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  font-size: 0.88rem;
}

.comment-item__header time,
.comment-empty {
  color: var(--muted);
  font-size: 0.85rem;
}

.comment-item p {
  margin: 0.55rem 0 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.newsletter-box {
  padding: 2.4rem 0 2rem;
}

.newsletter-card {
  max-width: 760px;
  padding: 1.5rem 1.25rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-card h2 {
  margin: 0.65rem 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.newsletter-form input {
  flex: 1 1 280px;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(23, 38, 60, 0.7);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.22);
  color: var(--ink);
}

.newsletter-form button {
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border: 1px solid rgba(23, 38, 60, 0.8);
  border-radius: 999px;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.newsletter-card p {
  margin: 0;
  color: rgba(23, 38, 60, 0.8);
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  padding-top: 1.4rem;
}

.about-panel {
  min-height: 220px;
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.about-panel p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  padding-top: 1.4rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.2rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.contact-item span {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(23, 38, 60, 0.72);
}

.contact-item a,
.contact-item p {
  color: var(--ink);
  font-size: 1.18rem;
  margin: 0;
  line-height: 1.5;
}

.suggestions-page {
  padding-bottom: 2rem;
}

.suggestion-form-panel {
  margin: 1.5rem 0 2.5rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.suggestion-form-panel h2,
.suggestion-list-header h2 {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--heading);
}

.suggestion-form-panel .comment-form {
  max-width: 760px;
}

.suggestion-form-panel .comment-form select {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.28);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.suggestion-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.suggestion-list-section {
  padding-top: 0.5rem;
}

.suggestion-list-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.suggestion-list-header h2 {
  margin: 0.4rem 0 0;
}

.suggestion-counts,
.suggestion-list-intro {
  margin: 0;
  color: rgba(23, 38, 60, 0.72);
  font-size: 0.9rem;
}

.suggestion-list-intro {
  margin: 0.8rem 0 0;
}

.suggestion-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.suggestion-item {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
}

.suggestion-mark {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  color: #506a18;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.suggestion-item[data-completed="true"] .suggestion-mark {
  font-size: 1.2rem;
}

.suggestion-item-text {
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.suggestion-item-text[dir="rtl"],
.suggestion-language[dir="rtl"] {
  font-family: "Noto Nastaliq Urdu", serif;
  text-align: right;
}

.suggestion-language {
  color: var(--muted);
  font-size: 0.75rem;
  white-space: nowrap;
}

.suggestion-empty {
  padding: 1.2rem;
  border: 1px dashed var(--line);
  border-radius: 0.65rem;
  color: var(--muted);
}

.cart-link {
  text-decoration: none;
}

@media (max-width: 1100px) {
  .topbar {
    flex-wrap: wrap;
  }

  .topbar .brand {
    flex: 0 1 auto;
  }

  .topbar .main-nav {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
    margin: 0;
    overflow-x: auto;
  }

  .topbar .toolbar {
    margin-left: auto;
  }

  .main-nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .suggestion-list-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .suggestion-item {
    grid-template-columns: 1.75rem minmax(0, 1fr);
  }

  .suggestion-language {
    grid-column: 2;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 0.4rem;
  }

  .story-grid,
  .archive-teaser-grid,
  .shop-grid,
  .footer-top,
  .stance {
    grid-template-columns: 1fr 1fr;
  }

  .footer-languages {
    grid-column: 1 / -1;
  }

  .mini-grid,
  .story-list,
  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1101px) {
  .topbar {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: 0.75rem;
  }

  .topbar .brand {
    grid-column: 1;
    grid-row: 1;
    flex: none;
  }

  .topbar .toolbar {
    grid-column: 2;
    grid-row: 1;
  }

  .topbar .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    gap: 0.7rem;
    margin: 0;
    justify-content: center;
    font-size: clamp(0.84rem, 1vw, 0.94rem);
    letter-spacing: 0.05em;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-wrap: wrap;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .topbar .main-nav {
    justify-content: flex-start;
  }

  .main-nav {
    order: 3;
    width: 100%;
    gap: 1.25rem;
    margin: 0;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    font-size: 0.82rem;
  }

  .brand-name {
    font-size: 2.1rem;
  }

  .lang-switch {
    display: none;
  }

  .hero {
    padding-top: 0.7rem;
  }

  .hero-copy {
    padding-top: 0.2rem;
  }

  .meta-label,
  .section-kicker,
  .eyebrow,
  .theme-label,
  .small-label,
  .inline-link,
  .primary-link,
  .footer-nav,
  .footer-bottom {
    letter-spacing: 0.12em;
  }

  .story-header,
  .shop-header,
  .footer-bottom,
  .stance {
    grid-template-columns: 1fr;
    display: block;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .story-grid,
  .archive-teaser-grid,
  .shop-grid,
  .stance-list,
  .lang-links {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .topic-strip {
    gap: 0.8rem 1.2rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .product-art {
    min-height: 180px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.watch-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.watch-video-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.watch-video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 0.8rem;
  overflow: hidden;
  background: rgba(23, 38, 60, 0.08);
}

.watch-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.watch-video-meta {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23, 38, 60, 0.65);
}

.watch-video-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.instagram-grid .instagram-media {
  margin: 0 !important;
  width: 100% !important;
}

.watch-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.watch-channel-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.watch-channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
}

.watch-channel-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--ink);
}

.watch-channel-meta {
  display: flex;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(23, 38, 60, 0.65);
}

.watch-channel-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.watch-channel-card p {
  margin: 0;
  color: rgba(23, 38, 60, 0.8);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .watch-channel-grid {
    grid-template-columns: 1fr;
  }
}

.analytics-consent {
  position: fixed;
  z-index: 100;
  inset: auto 1rem 1rem;
  max-width: 540px;
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--ink);
  box-shadow: 0 12px 36px var(--shadow);
  color: var(--ink);
  line-height: 1.5;
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent p {
  margin: 0 0 1rem;
}

.analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.analytics-consent button,
.analytics-settings {
  cursor: pointer;
  border: 1px solid var(--ink);
  padding: 0.5rem 0.8rem;
  background: var(--panel);
  color: var(--ink);
}

.analytics-consent button:first-child {
  background: var(--ink);
  color: var(--white);
}

.analytics-consent button:focus-visible,
.analytics-settings:focus-visible {
  outline: 3px solid var(--green-deep);
  outline-offset: 2px;
}

.analytics-settings {
  display: block;
  margin: 0.75rem auto 1.5rem;
  font-size: 0.82rem;
}
