/* ============================================================
   tanso.in — kolam-carbon design system
   Palette
     #faf5ef Jasmine White (background)
     #f5ede5 Warm Ivory (diamond surface)
     #2a1f14 Dark Walnut (text primary)
     #8a7a6a Sandalwood (text secondary)
     #c4702a Turmeric Gold (accent primary)
     #2a4a7a Indigo Deep (accent secondary)
     #c44030 Vermillion (accent tertiary)
     #8a3a1a Henna (decorative)
     #d4a060 Saffron Light (kolam lines)
   Fonts: Yeseva One (display), Hind (body), Tiro Devanagari Hindi (accent),
          Overpass Mono (data)
   ============================================================ */

:root {
    --bg: #faf5ef;
    --diamond-surface: #f5ede5;
    --text-primary: #2a1f14;
    --text-secondary: #8a7a6a;
    --gold: #c4702a;
    --indigo: #2a4a7a;
    --vermillion: #c44030;
    --henna: #8a3a1a;
    --saffron-light: #d4a060;

    --font-display: "Yeseva One", "Lora", Georgia, serif;
    --font-body: "Hind", "Inter", system-ui, sans-serif;
    --font-deva: "Tiro Devanagari Hindi", "Hind", serif;
    --font-mono: "Overpass Mono", "Menlo", monospace;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 28px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    position: relative;
    min-height: 100vh;
}

/* dot grid canvas: pinned behind everything */
#dot-grid-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

#kolam-trail {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

#kolam-trail path,
#kolam-trail circle {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
    stroke-linecap: round;
    opacity: 0.55;
}

/* =========== Navigation =========== */
#kolam-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 36px;
    background: linear-gradient(180deg, rgba(250, 245, 239, 0.95), rgba(250, 245, 239, 0.65));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(196, 112, 42, 0.18);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    color: var(--henna);
    letter-spacing: 0.5px;
}

.brand-mark {
    color: var(--gold);
    font-size: 22px;
}

.brand-name {
    font-size: 22px;
    line-height: 1;
}

.nav-dots {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-dots::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 50%;
    height: 12px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 12' preserveAspectRatio='none'><path d='M0 6 Q 8 0 16 6 T 32 6 T 48 6 T 64 6' stroke='%23c4702a' fill='none' stroke-width='1' opacity='0.5'/></svg>");
    background-size: 64px 12px;
    background-repeat: repeat-x;
    pointer-events: none;
    opacity: 0.6;
}

.nav-dot {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
}

.nav-dot .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    background: var(--bg);
    transition: background 280ms ease, transform 280ms ease, box-shadow 280ms ease;
}

.nav-dot.active .dot {
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(196, 112, 42, 0.18);
}

.nav-dot.ripple .dot {
    animation: nav-ripple 320ms ease-out;
}

@keyframes nav-ripple {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.6); box-shadow: 0 0 0 6px rgba(196, 112, 42, 0.35); }
    100% { transform: scale(1); }
}

.nav-dot .label {
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 220ms ease, transform 220ms ease, color 220ms ease;
}

.nav-dot:hover .label,
.nav-dot.active .label {
    opacity: 1;
    transform: translateY(0);
    color: var(--henna);
}

.nav-aux {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 12px;
}

.nav-aux .devanagari {
    font-family: var(--font-deva);
    color: var(--henna);
    font-size: 18px;
}

/* =========== Hero =========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding-top: 70px;
}

.hero-stage {
    position: relative;
    width: min(900px, 90vw);
    aspect-ratio: 1 / 1;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-kolam {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#hero-kolam .hero-dot {
    fill: var(--saffron-light);
    opacity: 0;
    transform-origin: center;
    transform-box: fill-box;
    animation: dot-fade-in 600ms ease-out forwards;
}

#hero-kolam #hero-trace,
#hero-kolam #hero-petals {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#hero-kolam #hero-ring-1,
#hero-kolam #hero-ring-2 {
    fill: none;
    stroke: var(--saffron-light);
    stroke-width: 1.5;
    stroke-dasharray: 4 6;
    opacity: 0.7;
}

#hero-kolam #hero-petals {
    stroke: var(--vermillion);
    stroke-width: 1.5;
    opacity: 0.85;
}

@keyframes dot-fade-in {
    0%   { opacity: 0; transform: scale(0.2); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-text {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 32px 24px;
    background: radial-gradient(closest-side, rgba(245, 237, 229, 0.9), rgba(245, 237, 229, 0));
    max-width: 540px;
    opacity: 0;
    animation: hero-text-in 1200ms ease-out 1600ms forwards;
}

@keyframes hero-text-in {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: lowercase;
}

.hero-eyebrow .devanagari {
    font-family: var(--font-deva);
    color: var(--henna);
    font-size: 18px;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    color: var(--text-primary);
    margin: 14px 0 18px;
    font-weight: 400;
}

.hero-sub {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 28px;
    margin: 0 auto 22px;
    max-width: 460px;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--indigo);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 26px;
}

.hero-scroll {
    background: none;
    border: 1.5px solid var(--gold);
    color: var(--henna);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 22px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
    transition: background 240ms ease, color 240ms ease, transform 240ms ease;
}

.hero-scroll:hover {
    background: var(--gold);
    color: var(--bg);
    transform: translateY(-2px);
}

.diya {
    display: inline-block;
    width: 22px;
    height: 26px;
}

.diya svg {
    width: 100%;
    height: 100%;
}

.diya .flame {
    fill: var(--vermillion);
    transform-origin: 16px 18px;
    animation: flicker 2s ease-in-out infinite;
}

.diya .dish {
    fill: var(--henna);
}

.diya .wick {
    stroke: var(--text-primary);
    stroke-width: 1.5;
}

@keyframes flicker {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    25%      { transform: scaleY(1.1) translateY(-1px); opacity: 0.95; }
    50%      { transform: scaleY(0.9); opacity: 0.85; }
    75%      { transform: scaleY(1.05) translateY(-0.5px); opacity: 1; }
}

/* =========== Diamond chain =========== */
.diamond-chain {
    position: relative;
    z-index: 3;
    padding: 40px 0 80px;
}

.diamond-section {
    position: relative;
    width: 100%;
    margin-top: -8vw; /* overlap the chain */
    padding: 60px 0;
    z-index: 1;
}

.diamond-section:first-child { margin-top: 0; }
.diamond-section:nth-child(even) { z-index: 2; }

.diamond-frame {
    position: relative;
    width: 70vw;
    aspect-ratio: 1 / 1;
    max-width: 920px;
    margin: 0 auto;
    transform: rotate(48deg) scale(0.96);
    opacity: 0;
    transition: transform 800ms cubic-bezier(0.2, 0.6, 0.2, 1), opacity 800ms ease;
}

.diamond-section.in-view .diamond-frame {
    transform: rotate(45deg) scale(1);
    opacity: 1;
}

.diamond-shell {
    position: absolute;
    inset: 0;
    background: var(--diamond-surface);
    box-shadow:
        0 30px 70px -40px rgba(42, 31, 20, 0.35),
        0 12px 30px -25px rgba(196, 112, 42, 0.45);
    overflow: hidden;
}

.diamond-border {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.diamond-border .border-rect {
    fill: none;
    stroke: rgba(196, 112, 42, 0.15);
    stroke-width: 1;
}

.diamond-border .border-pattern {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
    opacity: 0;
    stroke-dasharray: 1800;
    stroke-dashoffset: 1800;
    transition: stroke-dashoffset 1200ms ease, opacity 600ms ease;
}

.diamond-section.in-view .diamond-border .border-pattern {
    opacity: 0.4;
    stroke-dashoffset: 0;
}

.rangoli-corner {
    position: absolute;
    width: 14%;
    height: 14%;
    pointer-events: none;
    color: var(--gold);
}

.rangoli-corner svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.rangoli-corner.top-left { top: 0; left: 0; }
.rangoli-corner.top-right { top: 0; right: 0; transform: scaleX(-1); }
.rangoli-corner.bottom-left { bottom: 0; left: 0; transform: scaleY(-1); }
.rangoli-corner.bottom-right { bottom: 0; right: 0; transform: scale(-1, -1); }

.rangoli-corner .corner-fill {
    fill: rgba(196, 112, 42, 0.05);
}

.rangoli-corner circle {
    fill: var(--gold);
    opacity: 0.7;
}

.rangoli-corner .corner-line {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.2;
    opacity: 0.7;
}

.diamond-content {
    position: absolute;
    inset: 8%;
    transform: rotate(-45deg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 4%;
}

.section-head {
    text-align: center;
    margin-bottom: 18px;
}

.section-index {
    display: block;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 8px 0 6px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.15;
    color: var(--text-primary);
    margin: 0 0 12px;
    font-weight: 400;
}

.section-kicker {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 26px;
    max-width: 520px;
    margin: 0 auto;
}

.section-kicker .devanagari {
    font-family: var(--font-deva);
    color: var(--henna);
    font-size: 19px;
    margin-right: 2px;
}

/* mandala marker */
.mandala {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    cursor: pointer;
    transform-origin: center;
    transition: transform 300ms ease;
}

.mandala svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.mandala-ring {
    transform-origin: center;
    transition: transform 240ms ease;
}

.mandala .ring-3 circle,
.mandala .ring-3 polygon {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1;
    opacity: 0.7;
}

.mandala .ring-2 circle,
.mandala .ring-2 polygon {
    fill: none;
    stroke: var(--indigo);
    stroke-width: 1.4;
    opacity: 0.85;
}

.mandala .ring-1 circle,
.mandala .ring-1 polygon,
.mandala .ring-1 line {
    fill: none;
    stroke: var(--vermillion);
    stroke-width: 1.4;
}

.mandala .ring-1 circle {
    fill: var(--vermillion);
    fill-opacity: 0.18;
}

.mandala .ring-4 circle,
.mandala .ring-4 polygon {
    fill: none;
    stroke: var(--saffron-light);
    stroke-width: 1;
    stroke-dasharray: 3 4;
}

.mandala.spinning {
    animation: mandala-spin 3s linear forwards;
}

.mandala.spinning .ring-1 { animation: mandala-pulse 1.4s ease-in-out 0ms 1; }
.mandala.spinning .ring-2 { animation: mandala-pulse 1.4s ease-in-out 100ms 1; }
.mandala.spinning .ring-3 { animation: mandala-pulse 1.4s ease-in-out 200ms 1; }
.mandala.spinning .ring-4 { animation: mandala-pulse 1.4s ease-in-out 300ms 1; }

@keyframes mandala-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes mandala-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

/* generic content blocks */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 14px 0 12px;
}

.content-block h3 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--henna);
    margin: 0 0 8px;
    font-weight: 400;
}

.content-block p {
    font-size: 14px;
    line-height: 22px;
    color: var(--text-primary);
    margin: 0;
}

.data-strip {
    list-style: none;
    margin: 14px 0 0;
    padding: 14px 0 0;
    border-top: 1px dashed rgba(196, 112, 42, 0.4);
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
}

.data-strip li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 13px;
}

.data-strip .mono {
    color: var(--text-secondary);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.data-strip strong {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--indigo);
    font-size: 22px;
}

/* lattice grid */
.lattice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.lattice-card {
    background: rgba(250, 245, 239, 0.7);
    border: 1px solid rgba(196, 112, 42, 0.18);
    padding: 12px 14px;
    text-align: center;
    transition: transform 240ms ease, border-color 240ms ease;
}

.lattice-card:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
}

.lattice-illustration {
    width: 76px;
    height: 76px;
    margin: 0 auto 8px;
}

.lattice-illustration svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.lattice-illustration .lattice-shape {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
}

.lattice-illustration .lattice-bond {
    stroke: var(--henna);
    stroke-width: 1.2;
}

.lattice-illustration .lattice-core {
    fill: var(--vermillion);
    fill-opacity: 0.4;
    stroke: var(--vermillion);
    stroke-width: 1;
}

.lattice-illustration .dots circle {
    fill: var(--indigo);
    opacity: 0.7;
}

.lattice-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--text-primary);
    margin: 4px 0 4px;
    font-weight: 400;
}

.lattice-card p {
    font-size: 12px;
    line-height: 18px;
    color: var(--text-secondary);
    margin: 2px 0;
}

.lattice-card p.mono {
    font-family: var(--font-mono);
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* cycle list */
.cycle-flow {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.cycle-flow li {
    background: rgba(250, 245, 239, 0.6);
    border-left: 2px solid var(--gold);
    padding: 10px 12px;
}

.cycle-num {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cycle-flow h4 {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--henna);
    margin: 4px 0 4px;
    font-weight: 400;
}

.cycle-flow p {
    font-size: 12px;
    line-height: 18px;
    color: var(--text-primary);
    margin: 0;
}

.cycle-flow p .devanagari {
    font-family: var(--font-deva);
    color: var(--vermillion);
}

/* future tracks */
.future-tracks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.track {
    background: rgba(250, 245, 239, 0.7);
    padding: 12px 14px;
    border: 1px solid rgba(196, 112, 42, 0.15);
}

.track-tag {
    display: inline-block;
    font-size: 10px;
    color: var(--bg);
    background: var(--indigo);
    padding: 2px 8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 999px;
}

.track h3 {
    font-family: var(--font-display);
    font-size: 16px;
    margin: 6px 0 4px;
    color: var(--text-primary);
    font-weight: 400;
}

.track p {
    font-size: 12px;
    line-height: 18px;
    color: var(--text-secondary);
    margin: 0 0 8px;
}

.bar {
    position: relative;
    height: 6px;
    background: rgba(196, 112, 42, 0.15);
    border-radius: 999px;
    margin-top: 18px;
}

.bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--vermillion));
    border-radius: 999px;
    width: 0;
    transition: width 1200ms ease;
}

.bar em {
    position: absolute;
    right: 0;
    top: -16px;
    font-style: normal;
    font-size: 10px;
    color: var(--gold);
}

/* archive */
.archive-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.archive-list li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(196, 112, 42, 0.25);
    align-items: start;
}

.archive-list li:last-child { border-bottom: none; }

.archive-year {
    color: var(--vermillion);
    font-size: 13px;
    padding-top: 2px;
}

.archive-list h4 {
    font-family: var(--font-display);
    font-size: 15px;
    margin: 0 0 4px;
    color: var(--text-primary);
    font-weight: 400;
}

.archive-list p {
    font-size: 12px;
    line-height: 18px;
    color: var(--text-secondary);
    margin: 0;
}

/* interstitial triangles */
.interstitial {
    position: absolute;
    top: 50%;
    width: 22vw;
    max-width: 280px;
    background: var(--diamond-surface);
    color: var(--text-primary);
    padding: 22px 24px;
    transform: translateY(-50%);
    z-index: 0;
    box-shadow: 0 16px 40px -30px rgba(42, 31, 20, 0.3);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
    font-style: italic;
}

.interstitial.left {
    left: 4%;
}

.interstitial.right {
    right: 4%;
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
}

.interstitial p {
    font-size: 13px;
    line-height: 22px;
    margin: 0 0 6px;
}

.interstitial .quote-mark {
    font-family: var(--font-display);
    font-size: 36px;
    color: var(--gold);
    line-height: 0.8;
    display: block;
    margin-bottom: 6px;
}

.interstitial .quote-attr {
    color: var(--text-secondary);
    font-size: 11px;
    letter-spacing: 1px;
    font-style: normal;
}

.interstitial .mono {
    color: var(--indigo);
    font-style: normal;
}

/* footer */
#kolam-foot {
    position: relative;
    z-index: 4;
    background: var(--diamond-surface);
    border-top: 1px solid rgba(196, 112, 42, 0.2);
    padding: 50px 36px 40px;
    margin-top: 60px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
}

.foot-mandala svg {
    width: 80px;
    height: 80px;
}

.foot-mandala svg circle,
.foot-mandala svg polygon {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.2;
    opacity: 0.7;
}

.foot-mandala svg circle:last-of-type {
    fill: var(--gold);
    fill-opacity: 0.2;
}

.foot-text {
    color: var(--text-primary);
}

.foot-title {
    font-family: var(--font-display);
    font-size: 22px;
    margin: 0 0 6px;
}

.foot-title .devanagari {
    font-family: var(--font-deva);
    color: var(--henna);
}

.foot-meta {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 4px 0;
}

.foot-meta.mono {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--gold);
}

.foot-diya {
    width: 36px;
    height: 42px;
}

.foot-diya svg {
    width: 100%;
    height: 100%;
}

.foot-diya .flame {
    fill: var(--vermillion);
    transform-origin: 16px 18px;
    animation: flicker 2s ease-in-out infinite;
}

.foot-diya .dish { fill: var(--henna); }
.foot-diya .wick { stroke: var(--text-primary); stroke-width: 1.5; }

/* mono helper */
.mono { font-family: var(--font-mono); }
.devanagari { font-family: var(--font-deva); }

/* responsive */
@media (max-width: 1100px) {
    .diamond-frame { width: 78vw; }
    .interstitial { display: none; }
}

@media (max-width: 820px) {
    #kolam-nav {
        flex-direction: column;
        gap: 8px;
        padding: 12px 18px;
    }
    .nav-aux { display: none; }
    .nav-dot { padding: 6px 10px; }
    .nav-dot .label { display: none; }
    .hero { padding-top: 110px; }
    .hero-title { font-size: 40px; }
    .diamond-frame {
        width: 92vw;
        transform: rotate(0deg);
        aspect-ratio: auto;
        background: transparent;
    }
    .diamond-section.in-view .diamond-frame { transform: rotate(0deg); }
    .diamond-shell {
        position: relative;
        inset: auto;
        background: var(--diamond-surface);
        padding: 32px 22px;
    }
    .diamond-content {
        position: relative;
        inset: auto;
        transform: none;
        padding: 0;
    }
    .diamond-border, .rangoli-corner { display: none; }
    .content-grid, .lattice-grid, .future-tracks { grid-template-columns: 1fr; }
    .cycle-flow { grid-template-columns: 1fr; }
    #kolam-foot { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .diamond-section { margin-top: 20px; padding: 30px 0; }
}
