@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #203a35;
  --paper: #f5f5ef;
  --accent: #286d73;
  --muted: #52635a;
  --line: #ccd3c7;
  --heading-font: 'Manrope', Arial, sans-serif;
  --body-font: 'DM Sans', Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --header-height: 5.5rem;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }
body { max-width: 100rem; margin: 0 auto; color: var(--ink); background: var(--paper); font-family: var(--body-font); line-height: 1.6; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; max-width: 100%; }
h1, h2, h3 { hyphens: manual; }
h1, h2 { font-family: var(--heading-font); font-weight: 500; line-height: 1.18; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.875rem); }
h3 { line-height: 1.35; font-weight: 500; letter-spacing: -.015em; }
em { color: var(--accent); font-style: normal; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.section-diagram :focus-visible, .contact :focus-visible { outline-color: #b5eee2; }
.skip-link { position: absolute; top: .5rem; left: 1rem; z-index: 30; transform: translateY(-200%); background: var(--ink); color: white; padding: .75rem 1rem; }
.skip-link:focus { transform: none; }

/* Header content determines its height, including when text is enlarged. */
.site-header { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 5.5rem; padding: 1rem var(--gutter); background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: inline-block; flex: 0 0 auto; font-size: 2rem; line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
.brand-dot { color: #b14d28; }
.brand small { display: block; font-size: .75rem; letter-spacing: .13em; line-height: 1.5; margin-top: .3rem; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 2rem; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; border-bottom: 2px solid transparent; font-size: .875rem; }
nav a:is(:hover, :focus-visible, .active) { color: var(--accent); border-bottom-color: currentColor; }
.contact-link { display: inline-flex; justify-content: center; align-items: center; gap: .8rem; min-height: 2.75rem; font-size: .875rem; border-bottom: 1px solid var(--ink); }
.mobile-contact { display: none; }
.site-header.header-tall { position: relative; }
.menu { display: none; padding: .5rem; min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--line); border-radius: 3px; background: transparent; font-size: 1.25rem; }

/* Grid tracks stack when either complete visual group would become too narrow. */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 32rem), 1fr)); gap: clamp(2rem, 3.4vw, 3.5rem); align-items: center; padding: 2rem var(--gutter); max-width: 100rem; margin: auto; }
.hero-copy, .groundwater-visual { min-width: 0; }
.hero-copy { width: 100%; max-width: 36rem; justify-self: center; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow, .section-label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; line-height: 1.6; }
.eyebrow { display: block; }
.hero h1 { text-wrap: balance; font-size: clamp(3rem, 1.8rem + 2.7vw, 4.5rem); margin: 1.2rem 0 .25rem; line-height: 1.1; }
.hero-copy > p { color: var(--muted); max-width: 30rem; font-size: 1rem; line-height: 1.75; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; padding: .9rem 1.2rem; min-height: 3rem; margin-top: 1.5rem; background: var(--accent); color: white; font-size: .9375rem; line-height: 1.5; border: 1px solid transparent; transition: background .2s; }
.button:is(:hover,:focus-visible) { background: #1c5156; }
.ripple-icon { display: block; flex: 0 0 auto; width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.4; overflow: visible; }
.ripple-icon circle { transform-origin: 12px 12px; }
:is(.button,.contact-link):is(:hover,:focus-visible) .ripple-icon circle { animation: ripple 1.8s ease-out infinite; }
.ripple-icon circle:nth-child(2) { animation-delay: .3s !important; }
.ripple-icon circle:nth-child(3) { animation-delay: .6s !important; }

/* Diagram labels retain their meaning on small screens through a numbered key. */
.groundwater-visual { width: 100%; max-width: 36rem; justify-self: center; container-type: inline-size; border-radius: 4px; background: #203f39; box-shadow: 0 12px 35px #16352b0c; }
.section-diagram { color: #d9e8dc; border-radius: inherit; background: #203f39; }
.diagram-intro { padding: 1rem 1.5rem .65rem; }
.diagram-intro .section-label { color: #c2dacb; }
.diagram-intro h2 { color: #f1f5e9; font-size: 2rem; margin: .5rem 0; }
.section-diagram .diagram-intro p { max-width: 31rem; font-size: .875rem; line-height: 1.6; color: #cedfd2; }
.diagram-heading, .diagram-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding: 0 1.5rem; font-size: .75rem; letter-spacing: .04em; }
.diagram-heading button, .diagram-footer button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem .65rem; font: inherit; letter-spacing: .025em; border: 1px solid #839f91; border-radius: 3px; color: #e2f4e9; background: transparent; }
.diagram-heading button[aria-pressed=true], .diagram-heading button:hover { background: #b5dbce; color: #193c33; }
.diagram-footer button:hover { background: #36584a; }
.section-diagram > svg { width: 100%; height: auto; }
.diagram-labels { font-family: var(--body-font); font-size: 12.5px; letter-spacing: .25px; }
.diagram-markers { display: none; }
.layer-legend { display: none; list-style: none; padding: 1rem 1.5rem; margin: 0; gap: .65rem 1rem; font-size: .875rem; line-height: 1.4; }
.layer-legend li { display: flex; align-items: baseline; gap: .5rem; }
.layer-legend b { color: #c2e4d7; }
.layer-key { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap: .65rem 1.25rem; padding: .65rem 1.5rem; background: #203c33; font-size: .75rem; line-height: 1.5; color: #d2e0d4; }
.layer-key b { display: block; font-size: .875rem; color: #f1f5e9; font-weight: 500; }
.diagram-footer { background: #19372f; padding: .3rem 1.5rem; border-radius: 0 0 4px 4px; }
#water-status { flex: 1 1 12rem; }
.water-particle { fill: #d1f7ee; }
.rain-particle { stroke: #c5e3d5; stroke-width: 1.2; visibility: hidden; }
.raining .rain-particle { visibility: visible; animation: rainfall 2.2s linear infinite; }
.recharge-particle { fill: #2b6559; visibility: hidden; }
.raining .recharge-particle { visibility: visible; }
.deep-particle { fill: #bbd1be; }
.water-table { opacity: .85; }
.paused * { animation-play-state: paused !important; }
@container (max-width: 32rem) {
  .diagram-labels { display: none; }
  .diagram-markers { display: block; }
  .layer-legend { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,10rem),1fr)); }
}

.section { padding: 5rem var(--gutter); }
.section p { font-size: 1rem; line-height: 1.75; color: var(--muted); }
.about { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 2.5rem; }
.about .section-label { padding-top: .5rem; }
.about-columns { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap: 1.5rem 2.5rem; margin-top: 1.75rem; }
.tags { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.75rem; }
.tags span { border: 1px solid #b8c3b2; border-radius: 2rem; padding: .5rem .9rem; font-size: .875rem; }
.work { background: #e9ede4; }
.section-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: 2.5rem; }
.section-title .section-label { margin-bottom: 1.25rem; }
.section-title small { font-size: .75rem; }
.projects { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap: 2.5rem 1.6rem; }
.project { position: relative; display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; }
.project-art { border-radius: 3px; display: grid; grid-template-rows: auto minmax(0,1fr) auto; align-items: center; gap: .5rem; min-height: 15rem; padding: 1.15rem; transition: box-shadow .2s; }
.project-art > span:first-child { font-size: .875rem; }
.project-art > svg { width: 100%; height: auto; max-height: 11.5rem; margin: auto; }
.art-label { font-size: .75rem; letter-spacing: .065em; line-height: 1.5; }
.aquifer { color: #c7dfc4; background: #2e5348; }
.remediation { color: #4e5e3c; background: #d5d4b9; }
.resilience { color: #d1e5e1; background: #35585f; }
.project:is(:hover,:focus-within) .project-art { box-shadow: inset 0 0 0 2px currentColor; }
.project:is(:hover,:focus-within) .project-flow { stroke-dasharray: 4 6; animation: drift 6s linear infinite; }
.project:is(:hover,:focus-within) .project-ring { transform-box: fill-box; transform-origin: center; animation: ripple 2.4s ease-out infinite; }
.project-meta { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin: 1.1rem 0 .65rem; font-size: .75rem; letter-spacing: .06em; min-height: 2rem; }
.project-meta .ripple-icon { color: var(--accent); }
.project h3 { font-size: 1.35rem; }
.project p { margin-top: .5rem; }
.notes { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 3rem; }
.notes h2 { margin: 1.25rem 0; }
.notes-list details { border-top: 1px solid var(--line); }
.notes-list details:last-child { border-bottom: 1px solid var(--line); }
summary { position: relative; list-style: none; cursor: pointer; padding: 1.5rem 2.5rem 1.5rem 0; }
summary::-webkit-details-marker { display: none; }
summary > span { font-size: .75rem; letter-spacing: .08em; color: var(--muted); }
summary .note-title { display: block; color: var(--ink); letter-spacing: -.015em; line-height: 1.35; font-weight: 500; font-size: 1.35rem; margin-top: .5rem; }
summary b { position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.5rem; font-weight: 400; }
details[open] summary b { transform: translateY(-50%) rotate(45deg); }
details > p { padding: 0 0 1.5rem; }
.contact { background: var(--ink); color: #f1f2e9; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; }
.contact > h2, .contact > div:last-child { flex: 1 1 23rem; min-width: 0; }
.contact > .section-label { flex: 1 0 100%; color: #c3d5c8; }
.contact h2 { font-size: clamp(2.5rem,2rem + 2vw,4rem); }
.contact h2 em { color: #9ad9d2; }
.contact p { color: #d2ded3; }
.contact small { display: block; margin-top: .75rem; font-size: .75rem; color: #c7d9cb; }
body > footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 2rem var(--gutter); }
body > footer > span, body > footer > small { font-size: .75rem; color: var(--muted); }
body > footer > a:last-child { font-size: .875rem; padding-block: .65rem; }
#project-dialog { overscroll-behavior: contain; color: var(--ink); background: var(--paper); border: 0; border-radius: 4px; width: min(42rem,calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); overflow: auto; padding: 0; }
#project-dialog::backdrop { background: #122d26b8; backdrop-filter: blur(4px); }
#project-dialog h2 { font-size: 2rem; margin: 1.25rem 0; }
#project-dialog p { color: var(--muted); line-height: 1.75; }
.close { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line); background: transparent; border-radius: 50%; font-size: 1.75rem; }
body.dialog-open { position: fixed; width: 100%; left: 0; right: 0; overflow: hidden; }
.modal-facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 1.5rem; }
.modal-facts small { font-size: .75rem; letter-spacing: .08em; }

/* Recruiter introduction puts identity, evidence, and qualifications first. */
.name-dot { color: var(--accent); }
.hero-copy > .profile-role { font-family: var(--heading-font); color: var(--accent); font-size: clamp(1.65rem,1.4rem + .6vw,2rem); line-height: 1.4; margin-bottom: 1rem; }
.hero-copy > .current-role { font-size: .875rem; color: var(--ink); margin-bottom: 1.25rem; }
.hero-copy > .profile-intro { max-width: 33rem; }
.profile-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.profile-actions .button { margin-top: 0; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; border-bottom: 1px solid currentColor; color: var(--accent); font-size: .875rem; }
.text-link:hover { color: var(--ink); }
.profile-snapshot { min-width: 0; width: 100%; max-width: 36rem; justify-self: center; padding: clamp(1.25rem,2.2vw,2rem); background: #e9ede4; border: 1px solid #d3dccf; border-radius: 4px; }
.profile-snapshot h2 { font-size: 1.75rem; margin-top: .75rem; }
.snapshot-skills { margin: 1.25rem 0; }
.snapshot-skills > div { padding: .85rem 0; border-bottom: 1px solid #c5cfc0; }
.snapshot-skills dt { font-weight: 600; font-size: .9375rem; }
.snapshot-skills dd { margin: .25rem 0 0; color: var(--muted); font-size: .875rem; line-height: 1.65; }
.snapshot-education > p { margin: .65rem 0 .4rem; font-size: .875rem; }
.profile-proof { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 1.5rem var(--gutter); gap: 1.5rem 2rem; border-block: 1px solid var(--line); }
.profile-proof > div { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.profile-proof strong { flex: 0 0 auto; font-family: var(--heading-font); font-weight: 500; font-size: 2.5rem; color: var(--accent); line-height: 1.1; }
.profile-proof p { font-size: .9375rem; font-weight: 500; line-height: 1.45; }
.profile-proof p span { display: block; margin-top: .2rem; font-size: .75rem; font-weight: 400; color: var(--muted); }
.journey.section { padding-top: 0; }
.journey-intro { margin-top: 1.5rem; max-width: 30rem; }
.qualifications { background: #e9ede4; }
.qualification-columns { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,24rem),1fr)); gap: 2.5rem 4rem; }
.qualification-group { font-size: 1.2rem; padding-bottom: 1.25rem; border-bottom: 1px solid #b6c4b1; }
.qualification-list { list-style: none; padding: 0; margin: 0; }
.qualification-list li { padding: 1.6rem 0; border-bottom: 1px solid #cbd4c6; }
.qualification-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.credential-type { font-size: .6875rem; letter-spacing: .09em; color: var(--muted); }
.qualification-list h3 { font-size: 1.35rem; margin: .5rem 0; }
.qualification-list .institution { font-size: .9375rem; color: var(--ink); margin-bottom: .75rem; }
.qualification-list p { font-size: .875rem; }
.credential-note { display: inline-block; margin-top: .75rem; font-size: .8125rem; color: var(--accent); }
.water-story { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,28rem),1fr)); align-items: center; gap: 3rem; }
.water-story-copy { max-width: 31rem; justify-self: center; }
.water-story-copy h2 { margin: 1.25rem 0 1.5rem; }
.water-story-copy p + p { margin-top: 1rem; }
.water-invitation { display: block; margin-top: 1.5rem; max-width: 26rem; font-size: .875rem; color: var(--accent); }
@media (max-width: 48rem) { .profile-proof { grid-template-columns: 1fr; gap: 1.25rem; } .profile-proof > div + div { padding-top: 1.25rem; border-top: 1px solid var(--line); } .profile-proof strong { min-width: 2.5rem; } }

/* Personal experience and supporting details use the same content-led grid. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.practice { padding-top: 0; }
.practice-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: 2rem; }
.practice-grid article { border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.practice-number { font-size: .75rem; letter-spacing: .08em; color: var(--accent); }
.practice-grid h3 { font-size: 1.35rem; margin: 1rem 0 .75rem; }
.practice-grid p { margin-bottom: 1.5rem; }
.tool-list { margin-top: auto; font-size: .8125rem; line-height: 1.75; color: var(--accent); }
.project-open { display: block; align-self: flex-start; margin-top: 1.25rem; padding-bottom: .2rem; border-bottom: 1px solid currentColor; color: var(--accent); font-size: .875rem; }
.project p { flex: 1; }
.journey { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 4rem; }
.journey h2 { margin-top: 1.25rem; }
.career { list-style: none; padding: 0; margin: 0; }
.career li { position: relative; border-left: 1px solid #a9bdb0; padding: 0 0 2.5rem 1.75rem; }
.career li:last-child { padding-bottom: 0; }
.career li::before { content: ''; position: absolute; left: -.25rem; top: .35rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }
.career-date { font-size: .75rem; color: var(--muted); letter-spacing: .05em; }
.career h3 { font-size: 1.5rem; margin: .5rem 0 .2rem; }
.career-role { font-size: .875rem; color: var(--accent); margin-bottom: .75rem; }
.career p { font-size: .9375rem; }
.notes { border-top: 1px solid var(--line); }
.linkedin-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin: 1.5rem 0 0 1.25rem; border-bottom: 1px solid #9ad9d2; font-size: .9375rem; }
.linkedin-link:hover { color: #9ad9d2; }
#modal-details > h3 { margin: 1.75rem 0 .75rem; font-size: 1.15rem; }
#modal-details > ul { padding-left: 1.25rem; color: var(--muted); }
#modal-details li + li { margin-top: .75rem; }
#modal-details .modal-facts small { text-transform: uppercase; }
@media (max-width: 64rem) { .journey { grid-template-columns: 1fr; gap: 3rem; } }
@media (max-width: 40rem) { .practice { padding-top: 0; } .linkedin-link { margin-left: 0; display: flex; width: fit-content; } }

@media (max-width: 64rem) {
  .site-header { gap: .5rem 1rem; }
  .site-header .menu { display: block; margin-left: auto; }
  .site-header > .contact-link { display: none; }
  .site-header .mobile-contact { display: inline-flex; }
  .site-header nav { display: none; order: 4; flex: 1 0 100%; border-top: 1px solid var(--line); padding-top: .5rem; }
  .site-header nav.open { display: flex; }
  .about, .notes { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 40rem) {
  .site-header { padding-block: .85rem; }
  .site-header .brand { font-size: 1.75rem; }
  .site-header > .contact-link { display: none; }
  .site-header .mobile-contact { display: inline-flex; }
  .site-header .menu { margin-left: auto; min-width: 44px; min-height: 44px; padding: .2rem; }
  .site-header .contact-link { font-size: .875rem; gap: .5rem; }
  .hero { padding-block: 2rem; }
  .hero h1 { font-size: 3rem; letter-spacing: -.02em; }
  .diagram-intro, .layer-key { padding-inline: 1rem; }
  .diagram-heading, .diagram-footer { padding-inline: 1rem; }
  .layer-legend { padding-inline: 1rem; }
  .diagram-intro h2 { font-size: 1.75rem; }
  .section { padding-block: 3.5rem; }
}
@media (max-width: 24rem) {
  .site-header .contact-link { order: 4; margin-left: 0; }
  .site-header .menu { margin-left: auto; }
  .site-header nav { order: 5; }
}
@keyframes ripple { 0% { opacity: .25; transform: scale(.65); } 55% { opacity: 1; } 100% { opacity: .15; transform: scale(1.1); } }
@keyframes drift { to { stroke-dashoffset: -66; } }
@keyframes rainfall { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: .55; } 85% { opacity: .55; } 100% { transform: translateY(30px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Dialog controls remain reachable while longer project details scroll. */
.dialog-toolbar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; padding: .75rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.dialog-content { padding: 1.25rem 2rem 2rem; }
.project-trigger { display: inline-flex; align-items: center; min-height: 2.75rem; border: 0; background: transparent; padding: 0; text-align: left; font: inherit; color: inherit; }
.project-trigger::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.project-trigger:focus-visible { outline: 0; }
.project:has(.project-trigger:focus-visible) { outline: 3px solid var(--accent); outline-offset: 6px; }
.project:focus-within .ripple-icon circle { animation: ripple 1.8s ease-out infinite; }
.community-work { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2rem; }
.community-work h3 { margin: .75rem 0; font-size: 1.25rem; }
.community-work .text-link { margin-top: .75rem; border: 0; border-bottom: 1px solid currentColor; background: transparent; padding: .25rem 0; text-align: left; }
.email-address { display: flex; align-items: center; width: fit-content; min-height: 2.75rem; margin-top: 1rem; font-size: .9375rem; color: #d2ded3; text-decoration: underline; text-underline-offset: .2em; }
main:focus, section[tabindex]:focus { outline: none; }
.profile-hero { position: relative; isolation: isolate; }
@media (hover: hover) { .project:hover .ripple-icon circle { animation: ripple 1.8s ease-out infinite; } }
@media (max-width: 40rem) { .dialog-content { padding: 1rem 1.25rem 1.5rem; } }

/* A finite, full-screen introduction with native modal focus isolation. */
html.opening-active { overflow: hidden; }
#site-opening { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: auto; color: #edf2df; background: #102c2b; transition: opacity .6s ease, transform .65s cubic-bezier(.65,0,.25,1); }
#site-opening::backdrop { background: transparent; backdrop-filter: none; }
#site-opening.opening-leaving { opacity: 0; transform: translateY(-3vh); pointer-events: none; }
.opening-layout { min-height: 100%; display: grid; grid-template-rows: auto auto minmax(220px, 1fr); position: relative; isolation: isolate; padding: clamp(1.25rem, 3vw, 3rem) clamp(1.25rem, 5vw, 5rem); overflow: hidden; background: radial-gradient(ellipse at 60% 60%, #28534a77, transparent 65%); }
.opening-top { flex-wrap: wrap; }
.opening-top, .opening-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.opening-signature { font-size: 1.125rem; font-weight: 600; letter-spacing: -.025em; }
.opening-entry-ripple { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.2; }
.opening-signature > span { color: #b9cfad; }
#opening-skip { margin-left: auto; max-width: 100%; flex: 0 0 auto; min-height: 2.75rem; border: 1px solid #759e90; background: #102c2b; color: #edf2df; padding: .6rem 1rem; display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; line-height: 1.35; font-size: .8125rem; border-radius: 2rem; transition: background .2s; }
#opening-skip:hover { background: #31584c; }
#site-opening :focus-visible { outline: 2px solid #c3ead6; outline-offset: 4px; }
#opening-title:focus { outline: none; }
.opening-copy { min-width: 0; animation: opening-copy .8s ease-out both; align-self: start; position: relative; z-index: 1; text-align: center; margin: clamp(1.5rem, 4vh, 3rem) auto 1.5rem; }
#site-opening .opening-eyebrow { color: #c4d7c5; font-size: .6875rem; letter-spacing: .15em; line-height: 1.6; }
#site-opening h2 { font-size: clamp(3.25rem, 6.5vw, 6.5rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 400; margin: 1.25rem 0; text-wrap: balance; }
#site-opening h2 span { color: #bcd5b5; }
#site-opening #opening-description { color: #c9dace; font-size: .9375rem; line-height: 1.6; }
.opening-landscape { position: relative; overflow: hidden; z-index: 0; grid-area: 3 / 1; min-width: 0; margin: 0 calc(-1 * clamp(1.25rem, 5vw, 5rem)) calc(-1 * clamp(1.25rem, 3vw, 3rem)); pointer-events: none; }
.opening-art-stage { position: absolute; top: 0; bottom: 0; left: 50%; width: max(100%, 800px); transform: translateX(-50%); }
.opening-section { position: absolute; inset: 0; width: 100%; height: 100%; }
.opening-note { position: absolute; left: calc(60.75% - 176px); top: 12%; width: 164px; font-size: .6875rem; letter-spacing: .08em; color: #c9dace; display: flex; align-items: center; gap: .5rem; }
.opening-note > span { width: 1.5rem; height: 1px; background: #9abaac; }
.opening-bottom { grid-area: 3 / 1; align-self: end; align-items: flex-end; padding: 1.5rem 0 0; }
.opening-identity { font-size: .875rem; line-height: 1.6; }
.opening-identity > span { display: block; color: #c5d6cb; font-size: .75rem; }
.opening-journey { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: #c9dace; }
.opening-progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: #c5dfbd; transform-origin: left; animation: opening-progress 4.2s linear both; }
.opening-stratum { stroke-dasharray: 1; animation: opening-stratum 1.8s cubic-bezier(.2,.6,.3,1) both; }
.opening-rain path { stroke-dasharray: .045 .16; animation: opening-rain 1.7s calc(var(--i) * -.23s) linear infinite; }
.opening-recharge { stroke-dasharray: .15 .85; animation: opening-recharge 2s calc(.4s + var(--i) * .12s) ease-in-out both; }
.opening-current { stroke-dasharray: .006 .085; animation: opening-current 3s calc(.6s + var(--i) * .25s) linear both; }
.opening-signal { position: absolute; left: 61.625%; top: 48.261%; width: 7px; height: 7px; border-radius: 50%; background: #c2f1df; transform: translate(-50%, -50%); box-shadow: 0 0 14px #c2f1df66; }
.opening-signal::after { content: ""; position: absolute; inset: -20px; border: 1px solid #c2f1df; border-radius: 50%; animation: opening-pulse 2s 1.2s ease-out both; animation-play-state: inherit; }
@keyframes opening-copy { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes opening-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes opening-stratum { from { stroke-dashoffset: 1; opacity: .2; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes opening-rain { from { stroke-dashoffset: .41; opacity: 0; } 25%,75% { opacity: .5; } to { stroke-dashoffset: 0; opacity: 0; } }
@keyframes opening-recharge { from { stroke-dashoffset: .15; opacity: 0; } 30%,70% { opacity: .85; } to { stroke-dashoffset: -1; opacity: 0; } }
@keyframes opening-current { from { stroke-dashoffset: .5; opacity: 0; } 20%,80% { opacity: .85; } to { stroke-dashoffset: 0; opacity: .3; } }
@keyframes opening-pulse { from { transform: scale(.2); opacity: 1; } to { transform: scale(2); opacity: 0; } }
@media (max-width: 40rem) {
  .opening-top { align-items: flex-start; gap: .75rem; }
  .opening-signature { max-width: 6rem; line-height: 1.3; }
  #opening-skip { gap: .5rem; padding: .6rem .85rem; }
  .opening-copy { margin-top: clamp(2rem, 6vh, 4rem); margin-bottom: 1.5rem; }
  #site-opening h2 { font-size: clamp(2rem, 13vw, 4.5rem); }
  .opening-layout { grid-template-rows: auto auto minmax(300px, 1fr); }
  .opening-journey { display: none; }
}
@media (max-height: 650px) and (min-width: 40.001rem) {
  .opening-layout { grid-template-columns: 1fr 1.1fr; column-gap: 1.5rem; grid-template-rows: auto 1fr auto; }
  .opening-top { grid-column: 1 / -1; }
  .opening-copy { text-align: left; margin: 1rem 0 1.5rem; }
  #site-opening h2 { font-size: 2.6rem; }
  .opening-landscape { grid-area: 2 / 2 / 4 / 3; margin-top: 1rem; margin-left: 0; mask-image: linear-gradient(to right, transparent, #000 15%); }
  .opening-bottom { grid-area: 3 / 1 / 4 / 3; }
  .opening-note { display: none; }
}
@media (max-height: 700px) and (max-width: 40rem) {
  .opening-copy { margin-top: 1.5rem; margin-bottom: 1rem; }
  #site-opening h2 { font-size: 2.5rem; margin-block: 1rem; }
  #site-opening .opening-eyebrow { font-size: .625rem; }
  #site-opening #opening-description { max-width: 17rem; margin: auto; font-size: .8125rem; }
  .opening-layout { grid-template-rows: auto auto minmax(240px, 1fr); }
  .opening-note { display: none; }
}
@media (prefers-reduced-motion: reduce) { #site-opening { display: none; } }
