/* Maheri Agriculture — theme-independent styles (the theme sets html{font-size:10px}, so sizes are in px). */
.mag {
    --mag-ink: #1d1712;
    --mag-text: #2d2621;
    --mag-muted: #6a5f56;
    --mag-cream: #fbf8f3;
    --mag-sand: #f3ece1;
    --mag-line: #e5dacb;
    --mag-leaf: #2f6d43;
    --mag-leaf-soft: #cfe1cf;
    --mag-gold: #b9822a;
    --mag-saffron: #c8471c;
    --mag-purple: #7100e2;
    --mag-violet: #a000ff;
    --mag-radius: 18px;
    --mag-serif: Spectral, Georgia, "Times New Roman", serif;
    --mag-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font: 400 16px/1.65 var(--mag-sans);
    color: var(--mag-text);
    background: var(--mag-cream);
    border: 1px solid var(--mag-line);
    border-radius: 22px;
    overflow: hidden;
    margin: 16px auto 32px;
    max-width: 1312px;
    container-type: inline-size;
}
.mag-full-width .container.page-container-five:has(.mag) { width: calc(100% - clamp(16px, 4vw, 64px)); max-width: none; }
.mag-full-width .mag { max-width: none; }
.mag *, .mag *::before, .mag *::after { box-sizing: border-box; }
.mag h2, .mag h3, .mag h4 { font-family: var(--mag-serif); color: var(--mag-ink); letter-spacing: -.01em; margin: 0 0 10px; text-transform: none; }
.mag h2 { font-size: clamp(34px, 5.2vw, 62px); line-height: 1.05; font-weight: 700; }
.mag h3 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; font-weight: 700; }
.mag h4 { font-size: 21px; line-height: 1.25; font-weight: 700; }
.mag p { margin: 0 0 14px; color: var(--mag-text); font-size: 16px; line-height: 1.65; }
.mag ul, .mag ol, .mag dl { margin: 0; padding: 0; }
.mag li { list-style: none; }
.mag img { max-width: 100%; height: auto; display: block; vertical-align: middle; border: 0; }
.mag a { color: var(--mag-purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mag a:hover { color: var(--mag-violet); }
.mag a:focus-visible, .mag button:focus-visible, .mag [tabindex]:focus-visible { outline: 3px solid var(--mag-violet); outline-offset: 3px; border-radius: 4px; }
.mag em { font-style: italic; }
.mag .mag-kicker { font: 700 12.5px/1.4 var(--mag-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mag-gold); margin: 0 0 10px; }
.mag .mag-muted, .mag .mag-footnote { color: var(--mag-muted); }
.mag .mag-center { text-align: center; }

/* Sub-navigation */
.mag .mag-nav { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; padding: 12px clamp(16px, 3vw, 32px); background: #fff; border-bottom: 1px solid var(--mag-line); }
.mag .mag-brand { font: 700 19px/1 var(--mag-serif); color: var(--mag-ink); text-decoration: none; white-space: nowrap; }
.mag .mag-brand span { color: var(--mag-leaf); }
.mag .mag-nav-links { display: flex; gap: 4px; flex: 1 1 0; min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.mag .mag-nav-links a { padding: 10px 13px; border-radius: 999px; text-decoration: none; color: var(--mag-text); font-weight: 600; font-size: 15px; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.mag .mag-nav-links a:hover { background: var(--mag-sand); color: var(--mag-ink); }
.mag .mag-nav-links a[aria-current] { background: var(--mag-ink); color: #fff; }
.mag .mag-nav-cta { padding: 10px 18px; border-radius: 999px; background: var(--mag-leaf); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.mag .mag-nav-cta:hover { background: #245536; color: #fff; }

/* Hero */
.mag .mag-hero { position: relative; min-height: clamp(420px, 48vw, 580px); display: flex; align-items: flex-end; background: var(--mag-ink); color: #fff; overflow: hidden; isolation: isolate; }
.mag .mag-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mag .mag-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 12, 8, .88) 0%, rgba(18, 12, 8, .62) 42%, rgba(18, 12, 8, .12) 100%), linear-gradient(0deg, rgba(18, 12, 8, .55), transparent 55%); }
.mag .mag-hero-body { padding: clamp(28px, 6vw, 72px); max-width: 760px; }
.mag .mag-hero h2 { color: #fff; }
.mag .mag-hero .mag-kicker { color: #f0c36b; }
.mag .mag-hero .mag-lead { color: #f4ede4; font-size: clamp(17px, 1.6vw, 20px); max-width: 640px; }
.mag .mag-hero-portal { min-height: 0; background: radial-gradient(ellipse at 90% 0, #4b1d8f 0, transparent 60%), radial-gradient(ellipse at 0 100%, #2f6d43 0, transparent 55%), linear-gradient(135deg, #1d1712, #2a1d3d); }
.mag .mag-hero-portal::before { display: none; }
.mag .mag-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.mag .mag-badges li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-size: 14px; font-weight: 600; backdrop-filter: blur(4px); }

/* Buttons */
.mag .mag-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mag .mag-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.mag .mag-btn:hover { transform: translateY(-1px); }
.mag .mag-btn-primary { background: var(--mag-leaf); color: #fff; }
.mag .mag-btn-primary:hover { background: #245536; color: #fff; }
.mag .mag-btn-light { background: #fff; color: var(--mag-ink); }
.mag .mag-btn-light:hover { background: var(--mag-sand); color: var(--mag-ink); }
.mag .mag-btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.mag .mag-btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.mag .mag-section .mag-btn-ghost { border-color: var(--mag-ink); color: var(--mag-ink); }

/* Stats */
.mag .mag-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); background: var(--mag-ink); color: #fff; }
.mag .mag-stats div { display: flex; flex-direction: column-reverse; padding: 22px clamp(18px, 3vw, 34px); border-right: 1px solid rgba(255, 255, 255, .1); }
.mag .mag-stats dd { margin: 0; font: 700 clamp(28px, 3vw, 38px)/1.1 var(--mag-serif); color: #f0c36b; }
.mag .mag-stats dt { font-size: 14.5px; color: #e9e1d6; }

/* Sections */
.mag .mag-section { padding: clamp(36px, 6vw, 72px) clamp(18px, 4vw, 48px); }
.mag .mag-band { background: var(--mag-sand); }
.mag .mag-heading { max-width: 760px; margin-bottom: 28px; }
.mag .mag-heading p:last-child { color: var(--mag-muted); }

/* Cards */
.mag .mag-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.mag .mag-cards-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.mag .mag-cards-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.mag .mag-card { background: #fff; border: 1px solid var(--mag-line); border-radius: var(--mag-radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(29, 23, 18, .05); transition: transform .2s ease, box-shadow .2s ease; }
.mag .mag-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(29, 23, 18, .12); }
.mag .mag-card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mag .mag-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.mag .mag-card-body p { color: var(--mag-muted); }
.mag .mag-more { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--mag-leaf); padding-top: 6px; }
.mag .mag-more:hover { color: #1e4a2d; text-decoration: underline; }

/* Lists */
.mag .mag-ticks { margin: 4px 0 16px; display: grid; gap: 7px; }
.mag .mag-ticks li { position: relative; padding-left: 26px; color: var(--mag-text); font-size: 15.5px; line-height: 1.5; }
.mag .mag-ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--mag-leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.5' fill='none' stroke='%232f6d43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Tiles */
.mag .mag-tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.mag .mag-tiles-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.mag .mag-tile { background: #fff; border: 1px solid var(--mag-line); border-radius: 14px; padding: 20px 22px; border-top: 4px solid var(--mag-gold); }
.mag .mag-tile:nth-child(3n+2) { border-top-color: var(--mag-leaf); }
.mag .mag-tile:nth-child(3n) { border-top-color: var(--mag-purple); }
.mag .mag-tile p { color: var(--mag-muted); margin: 0; }
.mag .mag-tiles-compact .mag-tile { padding: 16px 18px; }
.mag .mag-tiles-compact h4 { font-size: 18px; }
.mag .mag-band .mag-tile { background: #fffdf9; }

/* Steps */
.mag .mag-steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); counter-reset: none; }
.mag .mag-steps li { background: #fff; border-radius: 14px; padding: 18px; border: 1px solid var(--mag-line); position: relative; }
.mag .mag-steps h4 { font-size: 18px; margin-top: 10px; }
.mag .mag-steps p { font-size: 15px; color: var(--mag-muted); margin: 0; }
.mag .mag-step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mag-ink); color: #f0c36b; font: 700 16px/1 var(--mag-sans); }

/* Split */
.mag .mag-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); align-items: center; }
.mag .mag-split-reverse .mag-split-media { order: 2; }
.mag .mag-split-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--mag-radius); box-shadow: 0 18px 40px rgba(29, 23, 18, .16); }
.mag .mag-note { font-size: 14.5px; color: var(--mag-muted); border-left: 3px solid var(--mag-gold); padding-left: 12px; }

/* Gallery */
.mag .mag-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mag .mag-gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mag .mag-gallery-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; }
.mag .mag-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }

/* Tables */
.mag .mag-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--mag-line); background: #fff; }
.mag .mag-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0; }
.mag .mag-table th, .mag .mag-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--mag-line); vertical-align: top; color: var(--mag-text); }
.mag .mag-table thead th { background: var(--mag-ink); color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; }
.mag .mag-table tbody th { font-weight: 700; color: var(--mag-ink); }
.mag .mag-table tbody tr:last-child > * { border-bottom: 0; }

/* Origin cards */
.mag .mag-origins { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); margin: 26px 0 8px; }
.mag .mag-origins + .mag-heading { margin-top: 40px; }
.mag .mag-origin { background: #fff; border: 1px solid var(--mag-line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; border-left: 5px solid var(--mag-leaf); }
.mag .mag-origin.mag-st-office { border-left-color: var(--mag-purple); }
.mag .mag-origin.mag-st-expansion { border-left-color: var(--mag-gold); }
.mag .mag-origin.mag-st-request { border-left-color: #b8ab98; }
.mag .mag-origin header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 4px; }
.mag .mag-origin h4 { margin: 0; }
.mag .mag-origin-species { font-weight: 700; color: var(--mag-leaf); font-size: 15px; margin-bottom: 10px; }
.mag .mag-origin dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; font-size: 14.5px; margin-bottom: 14px; }
.mag .mag-origin dt { font-weight: 700; color: var(--mag-ink); }
.mag .mag-origin dd { margin: 0; color: var(--mag-muted); }
.mag .mag-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.3; background: var(--mag-leaf-soft); color: #1f4a2d; text-align: right; }
.mag .mag-badge-office { background: #eadcff; color: #4b0099; }
.mag .mag-badge-expansion { background: #f6e3bf; color: #6e4a0e; }
.mag .mag-badge-request { background: #ece5da; color: #5a4f45; }

/* Maps */
.mag .mag-map { margin-top: 8px; }
.mag .mag-map-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.mag .mag-map-tools span { font-weight: 700; color: var(--mag-ink); margin-right: 4px; }
.mag .mag-chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--mag-line); background: #fff; color: var(--mag-text); font: 600 15px/1 var(--mag-sans); cursor: pointer; }
.mag .mag-chip:hover { border-color: var(--mag-ink); }
.mag .mag-chip[aria-pressed="true"] { background: var(--mag-ink); border-color: var(--mag-ink); color: #fff; }
.mag .mag-map-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: stretch; }
.mag .mag-map-compact .mag-map-grid { grid-template-columns: minmax(0, 1fr) 280px; }
.mag .mag-map-stage { align-self: start; position: relative; border-radius: var(--mag-radius); overflow: hidden; border: 1px solid var(--mag-line); background: #eaf1f3; }
.mag .mag-svg { display: block; width: 100%; height: auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.mag .mag-svg.is-dragging { cursor: grabbing; }
.mag .mag-sea { fill: #e7eff1; }
.mag .mag-land path { fill: #e2d8c8; stroke: #fbf8f3; stroke-width: .45; vector-effect: non-scaling-stroke; }
.mag .mag-land .mag-c { cursor: pointer; outline: none; color: var(--mag-leaf); }
.mag .mag-land .mag-c path { fill: currentColor; transition: fill .2s ease, opacity .2s ease; }
.mag .mag-land .mag-c .mag-ring { fill: currentColor; fill-opacity: .18; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.mag .mag-land .mag-st-active { color: var(--mag-leaf); }
.mag .mag-land .mag-st-expansion { color: var(--mag-gold); }
.mag .mag-land .mag-st-request { color: #c9bba6; }
.mag .mag-land .mag-sp-arabica { color: var(--mag-leaf); }
.mag .mag-land .mag-sp-both { color: var(--mag-gold); }
.mag .mag-land .mag-sp-liberica { color: #8a3fb3; }
.mag .mag-land [class*="mag-sp-"].mag-st-request path { fill-opacity: .55; }
.mag .mag-land .mag-cc-fine { color: #8b3a1e; }
.mag .mag-land .mag-cc-both { color: #b9822a; }
.mag .mag-land .mag-cc-bulk { color: #5a3b26; }
.mag .mag-land [class*="mag-cc-"].mag-st-expansion { color: #e0b664; }
.mag .mag-land .mag-tea.mag-st-active { color: var(--mag-leaf); }
.mag .mag-land .mag-tea.mag-st-request { color: #a9c29b; }
.mag .mag-land .mag-c:hover path, .mag .mag-land .mag-c:focus-visible path, .mag .mag-land .mag-c.is-selected path { stroke: var(--mag-ink); stroke-width: 1.6; filter: brightness(1.08); }
.mag .mag-land .mag-c:hover .mag-ring, .mag .mag-land .mag-c:focus-visible .mag-ring, .mag .mag-land .mag-c.is-selected .mag-ring { stroke: var(--mag-ink); fill-opacity: .3; }
.mag .mag-svg .is-dim { opacity: .18; }
.mag .mag-routes path { fill: none; stroke: var(--mag-purple); stroke-width: 1.1; stroke-opacity: .45; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; animation: mag-dash 18s linear infinite; }
.mag .mag-routes path.mag-st-expansion { stroke: var(--mag-gold); }
@keyframes mag-dash { to { stroke-dashoffset: -140; } }
.mag .mag-pin { cursor: pointer; outline: none; }
.mag .mag-pin-dot { fill: var(--mag-leaf); stroke: #fff; stroke-width: 1.6; }
.mag .mag-pin.mag-st-office .mag-pin-dot { fill: var(--mag-purple); }
.mag .mag-pin.mag-st-expansion .mag-pin-dot { fill: var(--mag-gold); }
.mag .mag-pulse { fill: var(--mag-leaf); opacity: .28; transform-box: fill-box; transform-origin: center; animation: mag-pulse 2.6s ease-out infinite; }
.mag .mag-pin.mag-st-office .mag-pulse { fill: var(--mag-purple); }
.mag .mag-pin.mag-st-expansion .mag-pulse { fill: var(--mag-gold); }
@keyframes mag-pulse { 0% { transform: scale(.7); opacity: .45; } 100% { transform: scale(1.9); opacity: 0; } }
.mag .mag-pin text { font: 700 11px var(--mag-sans); fill: var(--mag-ink); paint-order: stroke; stroke: rgba(251, 248, 243, .92); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.mag .mag-pin:hover .mag-pin-dot, .mag .mag-pin:focus-visible .mag-pin-dot, .mag .mag-pin.is-selected .mag-pin-dot { stroke: var(--mag-ink); stroke-width: 2.2; }
.mag .mag-region { cursor: pointer; outline: none; }
.mag .mag-region ellipse { fill: var(--mag-saffron); fill-opacity: .2; stroke: var(--mag-saffron); stroke-width: 1.4; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.mag .mag-region:hover ellipse, .mag .mag-region:focus-visible ellipse, .mag .mag-region.is-selected ellipse { fill-opacity: .34; stroke-width: 2.2; }
.mag .mag-region text { font: 700 calc(12px * var(--mag-s, 1)) var(--mag-sans); fill: #7c2a0c; text-anchor: middle; paint-order: stroke; stroke: rgba(251, 248, 243, .85); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.mag .mag-region text.mag-region-tag { font-size: calc(10px * var(--mag-s, 1)); font-weight: 600; }
.mag .mag-svg:not(.is-zoomed) .mag-dot-zoom { display: none; }
.mag .mag-svg.is-zoomed .mag-ring { display: none; }
.mag .mag-dot { r: calc(3px * var(--mag-s, .75)); fill: #fff; stroke: var(--mag-ink); stroke-width: .8; vector-effect: non-scaling-stroke; pointer-events: none; }
.mag .mag-zoom { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; }
.mag .mag-zoom button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--mag-line); background: rgba(255, 255, 255, .94); color: var(--mag-ink); font: 700 20px/1 var(--mag-sans); cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.mag .mag-zoom button:hover { background: #fff; border-color: var(--mag-ink); }
.mag .mag-map-panel { background: #fff; border: 1px solid var(--mag-line); border-radius: var(--mag-radius); padding: 20px; min-height: 220px; display: flex; flex-direction: column; gap: 8px; }
.mag .mag-map-panel h4 { margin: 4px 0 0; font-size: 24px; }
.mag .mag-map-panel p { margin: 0; font-size: 15px; color: var(--mag-muted); }
.mag .mag-map-panel .mag-panel-tag { color: var(--mag-saffron); font-weight: 700; }
.mag .mag-map-panel .mag-badge { align-self: flex-start; text-align: left; }
.mag .mag-map-panel .mag-ticks { margin: 6px 0; }
.mag .mag-map-panel .mag-ticks li { font-size: 14.5px; }
.mag .mag-map-panel dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 10px; font-size: 14px; }
.mag .mag-map-panel dt { font-weight: 700; color: var(--mag-ink); }
.mag .mag-map-panel dd { margin: 0; color: var(--mag-muted); }
.mag .mag-map-panel .mag-btn { margin-top: auto; align-self: flex-start; font-size: 15px; min-height: 44px; padding: 10px 18px; }
.mag .mag-map-hint { padding: 12px 14px; background: var(--mag-sand); border-radius: 12px; }
.mag .mag-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mag .mag-chips li { padding: 4px 10px; border-radius: 999px; background: var(--mag-sand); font-size: 13px; font-weight: 600; color: var(--mag-ink); }
.mag .mag-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: 14px; color: var(--mag-muted); }
.mag .mag-legend li { display: inline-flex; align-items: center; gap: 8px; }
.mag .mag-key { width: 16px; height: 16px; border-radius: 50%; background: var(--mag-leaf); display: inline-block; }
.mag .mag-key-office { background: var(--mag-purple); }
.mag .mag-key-expansion, .mag .mag-key-sp-both { background: var(--mag-gold); }
.mag .mag-key-region { background: rgba(200, 71, 28, .25); border: 2px dashed var(--mag-saffron); border-radius: 50%; }
.mag .mag-key-request { background: #a9c29b; }
.mag .mag-key-sp-liberica { background: #8a3fb3; }
.mag .mag-key-cc-fine { background: #8b3a1e; }
.mag .mag-key-cc-both { background: #b9822a; }
.mag .mag-key-cc-bulk { background: #5a3b26; }
.mag.mag-view-cocoa .mag-key-expansion { background: #e0b664; }
.mag .mag-key-dot { width: 10px; height: 10px; background: #fff; border: 2px solid var(--mag-ink); }
.mag .mag-region-map { margin: 0; }
.mag .mag-region-map .mag-svg { border-radius: var(--mag-radius); border: 1px solid var(--mag-line); }
.mag .mag-region-map .mag-region { cursor: default; }
.mag .mag-region-map .mag-region text { font-size: 7px; }
.mag .mag-region-map .mag-region text.mag-region-tag { font-size: 5.5px; }
.mag .mag-region-map figcaption { font-size: 14px; color: var(--mag-muted); margin-top: 8px; text-align: center; }

/* Contact band */
.mag .mag-contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); padding: clamp(36px, 6vw, 64px) clamp(18px, 4vw, 48px); background: radial-gradient(ellipse at 100% 0, #4b1d8f, transparent 60%), linear-gradient(135deg, #1d1712 0%, #2b2030 100%); color: #f4ede4; }
.mag .mag-contact h3, .mag .mag-contact h4 { color: #fff; }
.mag .mag-contact p { color: #e9e1d6; }
.mag .mag-contact strong { color: #fff; }
.mag .mag-contact .mag-kicker { color: #f0c36b; }
.mag .mag-contact .mag-actions { margin: 18px 0 22px; }
.mag .mag-contact-details { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.mag .mag-contact-details p { margin: 0; font-size: 15px; }
.mag .mag-contact-details span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f0c36b; }
.mag .mag-contact-details a { color: #fff; font-weight: 700; }
.mag .mag-contact-list { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--mag-radius); padding: 22px; align-self: start; }
.mag .mag-contact-list .mag-ticks li { color: #f4ede4; }
.mag .mag-contact-list .mag-ticks li::before { background-color: rgba(255, 255, 255, .85); }
.mag .mag-footnote { font-size: 13px; padding: 14px clamp(18px, 4vw, 48px); margin: 0; background: #fff; border-top: 1px solid var(--mag-line); }

@container (max-width: 1040px) {
    .mag .mag-map-grid, .mag .mag-map-compact .mag-map-grid { grid-template-columns: minmax(0, 1fr); }
    .mag .mag-map-panel { min-height: 0; }
    .mag .mag-nav-cta { display: none; }
}
@media (max-width: 960px) {
    .mag .mag-map-grid, .mag .mag-map-compact .mag-map-grid { grid-template-columns: minmax(0, 1fr); }
    .mag .mag-map-panel { min-height: 0; }
    .mag .mag-split, .mag .mag-contact { grid-template-columns: minmax(0, 1fr); }
    .mag .mag-split-reverse .mag-split-media { order: 0; }
}
@media (max-width: 640px) {
    .mag { border-radius: 14px; margin-inline: 0; }
    .mag .mag-pin text { display: none; }
    .mag .mag-gallery { grid-template-columns: minmax(0, 1fr); }
    .mag .mag-gallery-2 { grid-template-columns: minmax(0, 1fr); }
    .mag .mag-gallery-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mag .mag-hero { min-height: 520px; }
    .mag .mag-hero::before { background: linear-gradient(0deg, rgba(18, 12, 8, .9) 10%, rgba(18, 12, 8, .45) 70%, rgba(18, 12, 8, .25)); }
    .mag .mag-nav-cta { display: none; }
    .mag .mag-origin dl, .mag .mag-map-panel dl { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .mag .mag-routes path, .mag .mag-pulse { animation: none; }
    .mag .mag-card, .mag .mag-btn { transition: none; }
}
