:root {
  --ink: #10273f;
  --ink-soft: #29445b;
  --teal: #2e8585;
  --teal-dark: #1e686c;
  --cream: #f6f2ea;
  --paper: #fffdf9;
  --line: #d9e2df;
  --line-dark: rgba(255,255,255,.2);
  --muted: #667580;
  --muted-dark: #c5d1d0;
  --accent: #d9ae68;
  --focus: #f2be56;
  --shadow: 0 20px 60px rgba(16,39,63,.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --container: 1180px;
  --space-1: .4rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6.5rem;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
section { scroll-margin-top: 92px; }
.container { width: min(calc(100% - 3rem), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .75rem 1rem; background: var(--ink); color: white; border-radius: var(--radius-sm); font-weight: 700; transition: top .2s var(--ease); }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid rgba(16,39,63,.1); background: rgba(255,253,249,.92); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.brand, .footer-brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 177px; height: auto; }
.primary-nav ul { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem .9rem; color: var(--ink-soft); font-size: .9rem; font-weight: 650; text-decoration: none; border-radius: 999px; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.primary-nav a:hover { background: #e9f0ed; color: var(--ink); transform: translateY(-1px); }
.primary-nav .nav-cta { margin-left: .4rem; padding-inline: 1.15rem; color: var(--paper); background: var(--ink); }
.primary-nav .nav-cta:hover { color: var(--paper); background: var(--teal-dark); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-icon { display: grid; width: 28px; gap: 5px; }
.menu-icon i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.menu-toggle[aria-expanded=true] .menu-icon i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded=true] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded=true] .menu-icon i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { min-height: min(760px, calc(100vh - 82px)); display: flex; align-items: center; padding: var(--space-8) 0; background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.hero-copy { max-width: 650px; }
.section-label { margin: 0 0 1.1rem; color: var(--teal-dark); font-size: .75rem; font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.section-dark .section-label { color: #94d1c7; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { max-width: 680px; margin-bottom: 1.35rem; font-size: clamp(2.6rem, 5.3vw, 5.3rem); font-weight: 760; letter-spacing: -.055em; line-height: .99; }
h2 { margin-bottom: 1rem; font-size: clamp(2rem, 3.8vw, 3.55rem); font-weight: 730; letter-spacing: -.045em; line-height: 1.07; }
h3 { margin-bottom: .65rem; font-size: 1.22rem; font-weight: 720; letter-spacing: -.02em; line-height: 1.2; }
p { color: var(--ink-soft); }
.hero-lead { max-width: 600px; margin-bottom: 2rem; font-size: 1.12rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-bottom: 2.75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: .55rem; padding: .75rem 1.15rem; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-size: .92rem; font-weight: 750; line-height: 1.2; text-align: center; text-decoration: none; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,39,63,.14); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--teal-dark); }
.button-quiet { border-color: rgba(16,39,63,.22); color: var(--ink); background: transparent; }
.button-quiet:hover { border-color: var(--teal); color: var(--teal-dark); background: #e9f0ed; }
.button-light { color: var(--ink); background: var(--paper); }
.button-light:hover { color: var(--ink); background: #d8eee9; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.3rem; margin: 0; }
.hero-facts div { min-width: 125px; padding-left: 1rem; border-left: 1px solid #aebdb8; }
.hero-facts dt { margin-bottom: .2rem; color: var(--teal-dark); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-facts dd { margin: 0; color: var(--ink); font-size: .94rem; font-weight: 650; }
.image-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #dbe6e3; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual { min-height: 500px; box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-visual img { aspect-ratio: 3 / 4; object-position: 65% center; }
.image-watermark { position: absolute; right: .8rem; bottom: .6rem; margin: 0; color: rgba(255,255,255,.78); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-shadow: 0 1px 4px rgba(0,0,0,.28); }

.section-light { background: var(--cream); }
.intro, .principles, .faq { padding: var(--space-8) 0; }
.split-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(2rem, 8vw, 8rem); }
.section-heading { max-width: 460px; }
.section-heading h2 { margin-bottom: 0; }
.prose { max-width: 660px; padding-top: .5rem; }
.prose p { margin-bottom: 1.2rem; font-size: 1.05rem; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; color: var(--teal-dark); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover { color: var(--ink); }

.capabilities { padding: var(--space-8) 0; }
.section-intro { max-width: 700px; margin-bottom: 2.75rem; }
.section-intro h2 { margin-bottom: .9rem; }
.section-intro > p:last-child { max-width: 620px; margin-bottom: 0; font-size: 1.05rem; }
.section-intro-wide { max-width: 760px; }
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability-card { min-height: 305px; padding: 1.8rem 1.5rem 1.7rem; border-right: 1px solid var(--line); }
.capability-card:first-child { padding-left: 0; }
.capability-card:last-child { border-right: 0; padding-right: 0; }
.card-index { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 2.5rem; border: 1px solid #aac2bc; border-radius: 50%; color: var(--teal-dark); font-size: .75rem; font-weight: 800; }
.capability-card p { min-height: 122px; margin-bottom: 1.25rem; font-size: .93rem; }
.capability-card a { color: var(--ink); font-size: .86rem; font-weight: 750; text-decoration: none; }
.capability-card a:hover { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; }

.section-dark { color: var(--paper); background: var(--ink); }
.section-dark p { color: var(--muted-dark); }
.feature { padding: var(--space-8) 0; }
.split-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; }
.feature-image { min-height: 560px; }
.feature-image img { aspect-ratio: 4 / 5; object-position: 60% center; }
.feature-copy { padding-left: clamp(0rem, 3vw, 3rem); }
.feature-copy h2 { max-width: 560px; }
.process-list { display: grid; gap: 1rem; margin: 2rem 0 2.2rem; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.process-list li > span { color: #94d1c7; font-size: .75rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.process-list h3 { margin-bottom: .3rem; color: var(--paper); font-size: 1.04rem; }
.process-list p { margin-bottom: 0; font-size: .94rem; line-height: 1.65; }

.scenarios { padding: var(--space-8) 0; }
.scenario-layout { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 1.6rem; }
.scenario-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.scenario-card figure { margin: 0; border-radius: 0; }
.scenario-card-large figure { height: 330px; }
.scenario-card-large figure img { object-position: 60% center; }
.scenario-card > div { padding: 1.5rem 1.55rem 1.7rem; }
.scenario-card p { margin-bottom: 0; font-size: .94rem; }
.scenario-stack { display: grid; gap: 1.6rem; }
.scenario-stack .scenario-card { display: grid; grid-template-columns: 42% 58%; }
.scenario-stack .scenario-card figure { min-height: 190px; }
.scenario-stack .scenario-card > div { align-self: center; padding: 1.2rem 1.2rem 1.25rem; }
.scenario-stack .scenario-card h3 { font-size: 1.04rem; }

.principle-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem 2.5rem; }
.principle-grid article { padding-top: 1rem; border-top: 1px solid #b8c9c3; }
.principle-grid h3 { margin-bottom: .35rem; }
.principle-grid p { margin-bottom: 0; font-size: .95rem; }

.gallery { padding: var(--space-8) 0; background: #edf3f0; }
.gallery-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; grid-auto-rows: 220px; gap: 1rem; }
.gallery-item { position: relative; min-height: 0; overflow: hidden; margin: 0; border-radius: var(--radius-md); background: var(--ink); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item::after { position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(16,39,63,.72)); content: ""; pointer-events: none; }
.gallery-item figcaption { position: absolute; z-index: 1; right: 1rem; bottom: .9rem; left: 1rem; color: var(--paper); font-size: .82rem; line-height: 1.35; }
.gallery-item-tall { grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }

.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); }
.faq-list { border-top: 1px solid #b8c9c3; }
.faq-list details { border-bottom: 1px solid #b8c9c3; }
.faq-list summary { position: relative; padding: 1.35rem 2.8rem 1.35rem 0; cursor: pointer; color: var(--ink); font-size: 1rem; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: .3rem; top: 1.2rem; color: var(--teal-dark); content: "+"; font-size: 1.5rem; font-weight: 350; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { max-width: 650px; margin: -.2rem 0 1.3rem; font-size: .94rem; }

.contact { padding: var(--space-8) 0; color: var(--paper); background: var(--teal-dark); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.contact h2 { max-width: 520px; }
.contact p { color: #d5e4df; }
.contact-copy > p:not(.section-label) { max-width: 500px; font-size: 1.04rem; }
.form-note { margin-top: 1.6rem; color: #bbd9d0 !important; font-size: .85rem !important; }
.contact-form { display: grid; gap: .55rem; padding: 1.8rem; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-md); background: rgba(8,31,48,.22); }
.contact-form label { color: var(--paper); font-size: .85rem; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; margin-bottom: .7rem; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; color: var(--paper); background: rgba(255,255,255,.08); transition: border-color .2s var(--ease), background .2s var(--ease); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #bcd4ce; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--focus); background: rgba(255,255,255,.13); outline: none; }
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form .button { justify-self: start; margin-top: .3rem; }

.site-footer { padding: 4rem 0 1.3rem; color: #dce8e4; background: #0b1e30; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 4rem; padding-bottom: 3.5rem; }
.footer-brand { padding: .45rem .7rem; border-radius: 8px; background: var(--paper); }
.footer-brand img { width: 175px; opacity: .95; }
.footer-copy { max-width: 350px; margin: 1.2rem 0 0; color: #aec2c0; font-size: .9rem; }
.footer-title { margin: 0 0 1rem; color: var(--paper); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: #dce8e4; font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: #94d1c7; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.17); color: #9eb4b0; font-size: .78rem; }
.footer-bottom p { margin: 0; color: inherit; }
.footer-bottom a { color: inherit; text-underline-offset: 4px; }

@media (max-width: 1100px) {
  :root { --space-8: 5.5rem; }
  .container { width: min(calc(100% - 2.5rem), var(--container)); }
  .hero-grid { gap: 3rem; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .capability-card:nth-child(2) { border-right: 0; }
  .capability-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .capability-card:nth-child(3) { padding-left: 0; }
  .capability-card:nth-child(4) { padding-right: 0; }
  .capability-card p { min-height: 92px; }
}

@media (max-width: 820px) {
  :root { --space-8: 4.5rem; }
  .header-inner { min-height: 74px; }
  .brand img { width: 150px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
  .primary-nav { position: fixed; z-index: 30; inset: 74px 0 auto; display: none; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(16,39,63,.1); background: var(--paper); box-shadow: 0 20px 30px rgba(16,39,63,.12); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: .35rem; }
  .primary-nav a { width: 100%; justify-content: flex-start; border-radius: 8px; }
  .primary-nav .nav-cta { margin: .5rem 0 0; justify-content: center; }
  .hero { min-height: auto; padding: var(--space-8) 0; }
  .hero-grid, .split-grid, .split-reverse, .faq-layout, .contact-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .hero-copy { max-width: 680px; }
  .hero-visual { width: min(100%, 620px); min-height: 0; margin-inline: auto; }
  .hero-visual img { aspect-ratio: 4 / 3; }
  .feature-image { width: min(100%, 620px); min-height: 0; margin-inline: auto; }
  .feature-image img { aspect-ratio: 4 / 3; }
  .feature-copy { padding-left: 0; }
  .scenario-layout { grid-template-columns: 1fr; }
  .scenario-card-large figure { height: 300px; }
  .scenario-stack { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .scenario-stack .scenario-card { display: block; }
  .scenario-stack .scenario-card figure { min-height: 220px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-item-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem; }
  .footer-grid > div:first-child { grid-column: span 2; }
}

@media (max-width: 560px) {
  :root { --space-8: 3.7rem; }
  .container { width: min(calc(100% - 2rem), var(--container)); }
  body { font-size: 15px; }
  h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  h2 { font-size: clamp(1.95rem, 10vw, 3rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-facts { gap: .7rem; }
  .hero-facts div { flex: 1 1 28%; min-width: 0; padding-left: .7rem; }
  .hero-facts dt { font-size: .63rem; letter-spacing: .05em; }
  .hero-facts dd { font-size: .78rem; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card, .capability-card:first-child, .capability-card:last-child, .capability-card:nth-child(3), .capability-card:nth-child(4) { min-height: 0; padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-card:last-child { border-bottom: 0; }
  .card-index { margin-bottom: 1.1rem; }
  .capability-card p { min-height: 0; margin-bottom: 1rem; }
  .process-list li { grid-template-columns: 72px 1fr; gap: .6rem; }
  .process-list li > span { font-size: .65rem; }
  .scenario-card-large figure { height: 240px; }
  .scenario-stack { grid-template-columns: 1fr; }
  .scenario-stack .scenario-card { display: grid; grid-template-columns: 40% 60%; }
  .scenario-stack .scenario-card figure { min-height: 160px; }
  .scenario-stack .scenario-card > div { padding: 1rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: .65rem; }
  .gallery-item-tall { grid-row: span 2; }
  .gallery-item-wide { grid-column: span 2; }
  .gallery-item figcaption { right: .65rem; bottom: .65rem; left: .65rem; font-size: .7rem; }
  .contact-form { padding: 1.2rem; }
  .contact-form .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.is-invalid { border-color: #f6b4a7 !important; }
.form-error { margin: -.35rem 0 .55rem; color: #ffd6ce; font-size: .8rem; }
.no-scroll { overflow: hidden; }

@media (min-width: 821px) {
  .primary-nav { display: block !important; }
}

@media (min-width: 1280px) {
  .header-inner { min-height: 88px; }
  .hero { min-height: calc(100vh - 88px); }
  .brand img { width: 190px; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 1.4rem); }
  .hero-facts { display: grid; grid-template-columns: repeat(3,1fr); }
  .hero-facts div { padding-left: .45rem; }
  .hero-facts dt { font-size: .58rem; }
  .hero-facts dd { font-size: .7rem; }
  .scenario-stack .scenario-card { grid-template-columns: 1fr; }
  .scenario-stack .scenario-card figure { min-height: 190px; }
}

.hero-copy > *:last-child { margin-bottom: 0; }
.hero-visual::before { position: absolute; inset: 1rem; z-index: 0; border: 1px solid rgba(255,255,255,.35); border-radius: calc(var(--radius-lg) - 8px); content: ""; pointer-events: none; }
.hero-visual img { position: relative; z-index: 1; }
.hero-visual .image-watermark { z-index: 2; }
.section-intro p { line-height: 1.75; }
.section-intro h2 + p { margin-top: 0; }
.section-heading .section-label { margin-bottom: .9rem; }
.section-heading p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 750; }
.prose a { transition: color .2s var(--ease); }
.prose a:hover { color: var(--teal-dark); }
.capability-card h3 { max-width: 190px; }
.capability-card p:last-of-type { margin-bottom: 1.25rem; }
.capability-card a span { display: inline-block; margin-left: .25rem; transition: transform .2s var(--ease); }
.capability-card a:hover span { transform: translateX(3px); }
.feature-copy > .button { margin-top: .2rem; }
.feature-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(16,39,63,.35)); content: ""; pointer-events: none; }
.feature-image .image-watermark { z-index: 2; }
.process-list li > div { min-width: 0; }
.process-list li p a { color: #d7eee8; }
.process-list li p a:hover { color: #fff; }
.scenario-card h3 a { color: inherit; text-decoration: none; }
.scenario-card h3 a:hover { color: var(--teal-dark); }
.scenario-card figure img { transition: transform .45s var(--ease); }
.scenario-card:hover figure img { transform: scale(1.025); }
.scenario-card .image-watermark { z-index: 2; }
.scenario-card > div p:last-child { margin-bottom: 0; }
.scenario-stack .scenario-card h3 { margin-bottom: .45rem; }
.scenario-stack .scenario-card p { line-height: 1.55; }
.principle-grid article:nth-child(odd) { padding-right: 1rem; }
.principle-grid article:nth-child(even) { padding-left: 1rem; }
.principle-grid article h3 { color: var(--teal-dark); }
.gallery-item img { will-change: transform; }
.gallery-item .image-watermark { z-index: 2; }
.gallery-item:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.faq-layout .section-heading { align-self: start; }
.faq-list details p a { color: var(--teal-dark); }
.faq-list details p a:hover { color: var(--ink); }
.contact-copy h2 { color: var(--paper); }
.contact-copy .section-label { margin-bottom: 1rem; }
.contact-form button { border: 0; }
.contact-form button:disabled { cursor: not-allowed; opacity: .65; }
.contact-form input:user-invalid, .contact-form textarea:user-invalid { border-color: #f2b0a5; }
.contact-form input:user-valid { border-color: #93d7bf; }
.footer-grid a:focus-visible { outline-color: #93d7bf; }
.footer-bottom a:hover { color: #93d7bf; }

.surface-paper { background: var(--paper); }
.surface-cream { background: var(--cream); }
.surface-teal { background: var(--teal-dark); }
.surface-ink { background: var(--ink); }
.text-ink { color: var(--ink); }
.text-soft { color: var(--ink-soft); }
.text-muted { color: var(--muted); }
.text-teal { color: var(--teal-dark); }
.text-white { color: var(--paper); }
.border-top { border-top: 1px solid var(--line); }
.border-bottom { border-bottom: 1px solid var(--line); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow-soft { box-shadow: var(--shadow); }
.measure-sm { max-width: 32rem; }
.measure-md { max-width: 45rem; }
.measure-lg { max-width: 60rem; }
.stack-1 > * + * { margin-top: var(--space-1); }
.stack-2 > * + * { margin-top: var(--space-2); }
.stack-3 > * + * { margin-top: var(--space-3); }
.stack-4 > * + * { margin-top: var(--space-4); }
.stack-5 > * + * { margin-top: var(--space-5); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.cluster-start { justify-content: flex-start; }
.cluster-between { justify-content: space-between; }
.cluster-end { justify-content: flex-end; }
.flow > * + * { margin-top: 1.2em; }
.flow-tight > * + * { margin-top: .65em; }
.flow-loose > * + * { margin-top: 2em; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.hide { display: none !important; }
.show { display: block !important; }
.inline { display: inline !important; }
.inline-flex { display: inline-flex !important; }
.block { display: block !important; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1; }
.aspect-portrait { aspect-ratio: 4 / 5; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--space-4); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-4); }
.align-start { align-items: start; }
.align-center { align-items: center; }
.align-end { align-items: end; }
.justify-start { justify-items: start; }
.justify-center { justify-items: center; }
.justify-end { justify-items: end; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: .12em; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 550; }
.font-semibold { font-weight: 650; }
.font-bold { font-weight: 750; }
.leading-tight { line-height: 1.15; }
.leading-copy { line-height: 1.7; }
.leading-loose { line-height: 1.9; }

.button:active { transform: translateY(0); box-shadow: none; }
.button[aria-disabled=true] { pointer-events: none; opacity: .6; }
.button-small { min-height: 38px; padding: .55rem .85rem; font-size: .8rem; }
.button-large { min-height: 56px; padding: .9rem 1.4rem; font-size: 1rem; }
.button-block { width: 100%; }
.button-outline-light { border-color: rgba(255,255,255,.5); color: var(--paper); background: transparent; }
.button-outline-light:hover { border-color: var(--paper); background: rgba(255,255,255,.1); }
.button-outline-ink { border-color: rgba(16,39,63,.3); color: var(--ink); background: transparent; }
.button-outline-ink:hover { border-color: var(--ink); background: rgba(16,39,63,.06); }
.button-teal { color: var(--paper); background: var(--teal); }
.button-teal:hover { background: var(--teal-dark); }
.button-teal:focus-visible { outline-color: var(--focus); }
.link-muted { color: var(--muted); }
.link-muted:hover { color: var(--ink); }
.link-underline { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

.badge { display: inline-flex; align-items: center; min-height: 28px; padding: .2rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 750; }
.badge-teal { color: var(--teal-dark); background: #d9eee9; }
.badge-cream { color: var(--ink); background: #efe4d0; }
.badge-ink { color: var(--paper); background: var(--ink); }
.rule { height: 1px; border: 0; background: var(--line); }
.rule-dark { background: var(--line-dark); }
.quote { margin: 0; padding-left: 1.2rem; border-left: 3px solid var(--teal); color: var(--ink-soft); font-size: 1.15rem; font-style: italic; }
.quote-dark { border-left-color: #94d1c7; color: #d5e4df; }
.note { padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #f7fbf9; color: var(--ink-soft); font-size: .9rem; }
.note-dark { border-color: var(--line-dark); background: rgba(255,255,255,.05); color: var(--muted-dark); }
.callout { padding: 1.6rem; border-radius: var(--radius-md); background: #e8f2ef; }
.callout h3 { color: var(--teal-dark); }
.callout p:last-child { margin-bottom: 0; }

.image-frame img[loading=lazy] { background: #dbe6e3; }
.image-frame.is-portrait img { aspect-ratio: 4 / 5; }
.image-frame.is-landscape img { aspect-ratio: 3 / 2; }
.image-frame.is-square img { aspect-ratio: 1; }
.image-frame.is-wide img { aspect-ratio: 16 / 9; }
.image-frame.is-portrait { min-height: 360px; }
.image-frame.is-landscape { min-height: 240px; }
.image-frame.is-square { min-height: 240px; }
.image-frame.is-wide { min-height: 260px; }
.image-frame img.object-top { object-position: top; }
.image-frame img.object-center { object-position: center; }
.image-frame img.object-bottom { object-position: bottom; }
.image-frame img.object-left { object-position: left; }
.image-frame img.object-right { object-position: right; }
.image-watermark.small { font-size: .62rem; }
.image-watermark.large { font-size: .82rem; }
.image-watermark.dark { color: rgba(16,39,63,.72); text-shadow: none; }
.image-caption { margin-top: .7rem; color: var(--muted); font-size: .8rem; }
.image-caption strong { color: var(--ink); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink); background: #edf3f0; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
td { color: var(--ink-soft); font-size: .9rem; }
tr:last-child td { border-bottom: 0; }
.table-compact th, .table-compact td { padding: .55rem .7rem; }
.table-striped tbody tr:nth-child(even) { background: #fbfdfb; }
.table-highlight tbody tr:hover { background: #edf7f3; }

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { color: var(--ink); font-size: .85rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: .75rem .85rem; border: 1px solid #b7c8c3; border-radius: 8px; color: var(--ink); background: var(--paper); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid rgba(46,133,133,.18); }
.field input:disabled, .field select:disabled, .field textarea:disabled { cursor: not-allowed; color: var(--muted); background: #edf1ef; }
.field-error { color: #b84238; font-size: .78rem; }
.field-help { color: var(--muted); font-size: .78rem; }
.checkbox-row { display: flex; align-items: flex-start; gap: .65rem; }
.checkbox-row input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--teal); }
.checkbox-row label { color: var(--ink-soft); font-size: .86rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: .4rem; }
.form-actions .button { flex: 0 0 auto; }

.nav-backdrop { position: fixed; z-index: 20; inset: 0; display: none; background: rgba(16,39,63,.5); }
.nav-backdrop.is-visible { display: block; }
.nav-status { color: var(--muted); font-size: .78rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: .78rem; }
.breadcrumb a { color: var(--teal-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb span[aria-hidden=true] { color: #9baaa6; }
.section-anchor { position: relative; top: -5rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.card:hover { border-color: #abc3bd; box-shadow: 0 12px 30px rgba(16,39,63,.08); }
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card-muted { background: #f7fbf9; }
.card-dark { border-color: var(--line-dark); background: rgba(255,255,255,.04); }
.card-dark h3 { color: var(--paper); }
.card-dark p { color: var(--muted-dark); }
.card-number { color: var(--teal-dark); font-size: 1.4rem; font-weight: 800; }
.card-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1.1rem; border-radius: 50%; color: var(--teal-dark); background: #d9eee9; }
.card-icon svg { width: 20px; height: 20px; }

.timeline { display: grid; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: 1rem 0 1.2rem; border-top: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-marker { color: var(--teal-dark); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.timeline-item h3 { margin-bottom: .3rem; }
.timeline-item p { margin-bottom: 0; }
.timeline-dark .timeline-item { border-color: var(--line-dark); }
.timeline-dark .timeline-marker { color: #94d1c7; }
.timeline-dark .timeline-item h3 { color: var(--paper); }
.timeline-dark .timeline-item p { color: var(--muted-dark); }

.stat-line { display: flex; align-items: baseline; gap: .6rem; }
.stat-value { color: var(--ink); font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat-label { color: var(--muted); font-size: .8rem; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.2rem; }
.stats-grid .stat-line { padding-top: 1rem; border-top: 1px solid var(--line); }
.dark-stats .stat-value { color: var(--paper); }
.dark-stats .stat-label { color: var(--muted-dark); }
.dark-stats .stat-line { border-color: var(--line-dark); }

.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.tag-list li { padding: .4rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: .78rem; }
.tag-list-dark li { border-color: var(--line-dark); color: var(--muted-dark); }
.check-list { display: grid; gap: .7rem; list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
.check-list li::before { position: absolute; top: .35rem; left: 0; width: .8rem; height: .8rem; border: 2px solid var(--teal); border-radius: 50%; content: ""; }
.check-list-dark li { color: var(--muted-dark); }
.check-list-dark li::before { border-color: #94d1c7; }

.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(16,39,63,.66); }
.modal-panel { width: min(100%, 560px); padding: 2rem; border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow); }
.modal-close { float: right; display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; }
.modal-close:hover { background: #edf3f0; }
.toast { position: fixed; z-index: 90; right: 1rem; bottom: 1rem; width: min(100% - 2rem, 360px); padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.toast[hidden] { display: none; }
.toast-success { border-color: #91cfbc; }
.toast-error { border-color: #e3aa9f; }

.loading-skeleton { position: relative; overflow: hidden; background: #e4ece8; }
.loading-skeleton::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); content: ""; transform: translateX(-100%); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.fade-up { animation: fade-up .55s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .32s; }

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-copy { padding-right: 0; }
  .feature-copy { max-width: 640px; }
  .gallery-item-tall { grid-row: span 2; }
}

@media (max-width: 820px) {
  .grid-3, .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 78px 1fr; }
  .modal-panel { padding: 1.4rem; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .grid-auto, .card-grid, .stats-grid { grid-template-columns: 1fr; }
  .cluster-end { justify-content: flex-start; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .timeline-item { grid-template-columns: 1fr; gap: .3rem; }
  .stat-line { justify-content: space-between; }
  .modal { padding: .7rem; }
  .modal-panel { padding: 1.2rem; }
  .toast { right: .7rem; bottom: .7rem; width: calc(100% - 1.4rem); }
}

@media (prefers-contrast: more) {
  :root { --line: #92a7a0; --muted: #3d525e; --muted-dark: #e8f3ef; }
  .button-quiet, .button-outline-ink { border-width: 2px; }
  .primary-nav a, .footer-links a, .text-link { text-decoration-thickness: 2px; }
}

@media print {
  .site-header, .menu-toggle, .primary-nav, .hero-actions, .contact-form, .skip-link { display: none !important; }
  body, .site-footer, .section-dark, .contact { color: #000; background: #fff; }
  .container { width: 100%; }
  section { padding: 2rem 0; }
  h1, h2, h3, p { color: #000 !important; }
  .image-watermark { color: #444; text-shadow: none; }
}
.safe-link { color: var(--teal-dark); }
.safe-link:visited { color: #536d84; }
.safe-link:hover { color: var(--ink); }
.safe-link:focus-visible { color: var(--ink); }
.external-link::after { content: "↗"; margin-left: .25rem; font-size: .8em; }
.anchor-link { text-decoration: none; }
.anchor-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.anchor-link:target { color: var(--teal-dark); }
.section-number { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid currentColor; border-radius: 50%; font-size: .7rem; font-weight: 800; }
.section-number-dark { color: #94d1c7; }
.section-number-ink { color: var(--ink); }
.icon-square { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--teal-dark); background: #d9eee9; }
.icon-square-dark { color: var(--ink); background: #cce5df; }
.icon-square-ink { color: var(--paper); background: var(--ink); }
.icon-circle { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--teal-dark); background: #d9eee9; }
.icon-circle-dark { color: var(--ink); background: #cce5df; }
.icon-circle-ink { color: var(--paper); background: var(--ink); }
.icon-line { display: inline-block; width: 2rem; height: 2px; background: var(--teal); }
.icon-line-dark { background: #94d1c7; }
.status-label { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .78rem; }
.status-label-dark { color: var(--muted-dark); }
.status-label .status-dot { flex: 0 0 auto; }
.subtle { opacity: .8; }
.very-subtle { opacity: .6; }
.emphasis { color: var(--teal-dark); font-weight: 700; }
.emphasis-dark { color: #94d1c7; }
.muted-border { border-color: #c5d4d0; }
.muted-border-dark { border-color: rgba(255,255,255,.14); }
.surface-hover { transition: background .2s var(--ease); }
.surface-hover:hover { background: #edf7f3; }
.surface-hover-dark:hover { background: rgba(255,255,255,.08); }
.lift { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.lift:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(16,39,63,.12); }
.lift-small:hover { transform: translateY(-2px); }
.rotate-1 { transform: rotate(1deg); }
.rotate-n1 { transform: rotate(-1deg); }
.rotate-2 { transform: rotate(2deg); }
.rotate-n2 { transform: rotate(-2deg); }
.rotate-reset:hover { transform: rotate(0); }
.translate-x-1:hover { transform: translateX(4px); }
.translate-y-1:hover { transform: translateY(-4px); }
.transition-transform { transition: transform .2s var(--ease); }
.transition-color { transition: color .2s var(--ease); }
.transition-bg { transition: background .2s var(--ease); }
.transition-border { transition: border-color .2s var(--ease); }
.transition-shadow { transition: box-shadow .2s var(--ease); }
.duration-fast { transition-duration: .15s; }
.duration-medium { transition-duration: .25s; }
.duration-slow { transition-duration: .5s; }
.ease-standard { transition-timing-function: var(--ease); }
.no-transition { transition: none !important; }
.motion-safe { animation: fade-up .55s var(--ease) both; }
.motion-safe-delay-1 { animation-delay: .1s; }
.motion-safe-delay-2 { animation-delay: .2s; }
.motion-safe-delay-3 { animation-delay: .3s; }
.motion-safe-delay-4 { animation-delay: .4s; }
.motion-safe-delay-5 { animation-delay: .5s; }
.motion-safe-delay-6 { animation-delay: .6s; }
.motion-safe-delay-7 { animation-delay: .7s; }
.motion-safe-delay-8 { animation-delay: .8s; }
@media (prefers-reduced-motion: reduce) {
  .motion-safe, .motion-safe-delay-1, .motion-safe-delay-2, .motion-safe-delay-3, .motion-safe-delay-4, .motion-safe-delay-5, .motion-safe-delay-6, .motion-safe-delay-7, .motion-safe-delay-8 { animation: none; }
  .lift:hover, .lift-small:hover, .translate-x-1:hover, .translate-y-1:hover, .scale-hover:hover { transform: none; }
}

.u-mt-0 { margin-top: 0; }
.u-mt-1 { margin-top: var(--space-1); }
.u-mt-2 { margin-top: var(--space-2); }
.u-mt-3 { margin-top: var(--space-3); }
.u-mt-4 { margin-top: var(--space-4); }
.u-mt-5 { margin-top: var(--space-5); }
.u-mt-6 { margin-top: var(--space-6); }
.u-mb-0 { margin-bottom: 0; }
.u-mb-1 { margin-bottom: var(--space-1); }
.u-mb-2 { margin-bottom: var(--space-2); }
.u-mb-3 { margin-bottom: var(--space-3); }
.u-mb-4 { margin-bottom: var(--space-4); }
.u-mb-5 { margin-bottom: var(--space-5); }
.u-mb-6 { margin-bottom: var(--space-6); }
.u-pt-0 { padding-top: 0; }
.u-pt-1 { padding-top: var(--space-1); }
.u-pt-2 { padding-top: var(--space-2); }
.u-pt-3 { padding-top: var(--space-3); }
.u-pt-4 { padding-top: var(--space-4); }
.u-pt-5 { padding-top: var(--space-5); }
.u-pt-6 { padding-top: var(--space-6); }
.u-pb-0 { padding-bottom: 0; }
.u-pb-1 { padding-bottom: var(--space-1); }
.u-pb-2 { padding-bottom: var(--space-2); }
.u-pb-3 { padding-bottom: var(--space-3); }
.u-pb-4 { padding-bottom: var(--space-4); }
.u-pb-5 { padding-bottom: var(--space-5); }
.u-pb-6 { padding-bottom: var(--space-6); }
.u-px-1 { padding-inline: var(--space-1); }
.u-px-2 { padding-inline: var(--space-2); }
.u-px-3 { padding-inline: var(--space-3); }
.u-px-4 { padding-inline: var(--space-4); }
.u-py-1 { padding-block: var(--space-1); }
.u-py-2 { padding-block: var(--space-2); }
.u-py-3 { padding-block: var(--space-3); }
.u-py-4 { padding-block: var(--space-4); }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.row { display: flex; flex-direction: row; }
.column { display: flex; flex-direction: column; }
.wrap { flex-wrap: wrap; }
.nowrap { flex-wrap: nowrap; }
.grow { flex-grow: 1; }
.shrink-0 { flex-shrink: 0; }
.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.self-end { align-self: flex-end; }
.content-start { align-content: flex-start; }
.content-center { align-content: center; }
.content-between { align-content: space-between; }
.order-first { order: -1; }
.order-last { order: 999; }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: .5; }
.opacity-75 { opacity: .75; }
.opacity-100 { opacity: 1; }
.pointer { cursor: pointer; }
.not-allowed { cursor: not-allowed; }
.select-none { user-select: none; }
.select-text { user-select: text; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-visible { overflow: visible; }
.border { border: 1px solid var(--line); }
.border-strong { border: 2px solid var(--line); }
.border-none { border: 0; }
.bg-transparent { background: transparent; }
.bg-white { background: #fff; }
.bg-soft { background: #edf3f0; }
.bg-warm { background: #efe4d0; }
.radius-none { border-radius: 0; }
.radius-full { border-radius: 999px; }
.transition { transition: all .2s var(--ease); }
.transition-slow { transition: all .45s var(--ease); }
.transform-up:hover { transform: translateY(-3px); }
.scale-hover:hover { transform: scale(1.02); }
.shadow-none { box-shadow: none; }
.shadow-card { box-shadow: 0 8px 24px rgba(16,39,63,.08); }
.shadow-deep { box-shadow: 0 20px 50px rgba(16,39,63,.18); }
.min-h-0 { min-height: 0; }
.min-h-100 { min-height: 100px; }
.min-h-200 { min-height: 200px; }
.min-h-300 { min-height: 300px; }
.max-w-none { max-width: none; }
.max-w-xs { max-width: 18rem; }
.max-w-sm { max-width: 28rem; }
.max-w-md { max-width: 42rem; }
.max-w-lg { max-width: 58rem; }
.max-w-xl { max-width: 70rem; }
.mx-auto { margin-inline: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.text-xs { font-size: .72rem; }
.text-sm { font-size: .84rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.18rem; }
.text-xl { font-size: 1.45rem; }
.text-2xl { font-size: 2rem; }
.text-3xl { font-size: 2.8rem; }
.tracking-normal { letter-spacing: 0; }
.tracking-tight { letter-spacing: -.025em; }
.tracking-wide-2 { letter-spacing: .2em; }
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.underline { text-decoration: underline; text-underline-offset: 4px; }
.no-underline { text-decoration: none; }
.decoration-teal { text-decoration-color: var(--teal); }
.decoration-thick { text-decoration-thickness: 2px; }
.hyphens-auto { hyphens: auto; }
.break-word { overflow-wrap: break-word; }
.keep-all { word-break: keep-all; }
.whitespace-normal { white-space: normal; }
.whitespace-nowrap { white-space: nowrap; }
.list-none { list-style: none; }
.list-disc { list-style: disc; }
.list-decimal { list-style: decimal; }
.list-inside { list-style-position: inside; }
.align-middle { vertical-align: middle; }
.align-top { vertical-align: top; }
.align-bottom { vertical-align: bottom; }
.island { padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); }
.island-dark { border-color: var(--line-dark); background: rgba(255,255,255,.04); }
.island-teal { border-color: rgba(255,255,255,.2); background: rgba(8,31,48,.2); }
.inset-border { box-shadow: inset 0 0 0 1px var(--line); }
.inset-border-dark { box-shadow: inset 0 0 0 1px var(--line-dark); }
.hairline { border-width: 1px; }
.thickline { border-width: 2px; }
.topline { border-top: 1px solid var(--line); }
.bottomline { border-bottom: 1px solid var(--line); }
.leftline { border-left: 1px solid var(--line); }
.rightline { border-right: 1px solid var(--line); }
.topline-dark { border-top-color: var(--line-dark); }
.bottomline-dark { border-bottom-color: var(--line-dark); }
.leftline-dark { border-left-color: var(--line-dark); }
.rightline-dark { border-right-color: var(--line-dark); }
.hover-ink:hover { color: var(--ink); }
.hover-teal:hover { color: var(--teal-dark); }
.hover-paper:hover { color: var(--paper); }
.hover-bg-soft:hover { background: #edf3f0; }
.hover-bg-ink:hover { background: var(--ink); }
.hover-border-teal:hover { border-color: var(--teal); }
.hover-shadow:hover { box-shadow: 0 14px 32px rgba(16,39,63,.12); }
.focus-ring:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.focus-ring-teal:focus-visible { outline-color: #94d1c7; }
.focus-no-ring:focus { outline: none; }
.aria-hidden { speak: none; }
.rtl { direction: rtl; }
.ltr { direction: ltr; }
.content-none { content: none; }
.pointer-none { pointer-events: none; }
.pointer-auto { pointer-events: auto; }
.scroll-smooth { scroll-behavior: smooth; }
.scroll-auto { scroll-behavior: auto; }
.snap-x { scroll-snap-type: x mandatory; }
.snap-start { scroll-snap-align: start; }
.snap-center { scroll-snap-align: center; }
.snap-end { scroll-snap-align: end; }
.is-hidden { visibility: hidden; }
.is-visible { visibility: visible; }
.relative-center { position: relative; display: grid; place-items: center; }
.cover-center { background-position: center; background-size: cover; }
.cover-top { background-position: center top; background-size: cover; }
.cover-bottom { background-position: center bottom; background-size: cover; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-1-1 { aspect-ratio: 1; }
.clip-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.line-clamp-3 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.safe-area { padding-bottom: env(safe-area-inset-bottom); }
.safe-area-top { padding-top: env(safe-area-inset-top); }
.touch-target { min-width: 44px; min-height: 44px; }
.content-visibility-auto { content-visibility: auto; contain-intrinsic-size: 1px 500px; }
.contain-layout { contain: layout; }
.contain-paint { contain: paint; }
.contain-size { contain: size; }
.will-change-transform { will-change: transform; }
.will-change-opacity { will-change: opacity; }
.backdrop-blur { backdrop-filter: blur(10px); }
.blend-multiply { mix-blend-mode: multiply; }
.blend-screen { mix-blend-mode: screen; }
.is-active { color: var(--teal-dark); background: #e9f0ed; }
.is-selected { border-color: var(--teal); background: #edf7f3; }
.is-disabled { cursor: not-allowed; opacity: .55; }
.has-error { border-color: #c45b50; }
.has-success { border-color: #5caa92; }
.has-warning { border-color: #c79543; }
.status-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--teal); }
.status-dot-muted { background: #a8b8b4; }
.status-dot-warning { background: #d9ae68; }
.status-dot-error { background: #c45b50; }
.status-text { font-size: .8rem; }
.status-text-muted { color: var(--muted); }
.status-text-dark { color: var(--muted-dark); }
.sr-only-focusable:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.layout-sidebar { display: grid; grid-template-columns: minmax(180px, .32fr) minmax(0, 1fr); gap: 3rem; }
.layout-sidebar > aside { align-self: start; position: sticky; top: 110px; }
.layout-sidebar > main { min-width: 0; }
.layout-wide { width: min(calc(100% - 3rem), 1380px); margin-inline: auto; }
.layout-narrow { width: min(calc(100% - 3rem), 760px); margin-inline: auto; }
.surface-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 1rem; }
.surface-grid > .span-3 { grid-column: span 3; }
.surface-grid > .span-4 { grid-column: span 4; }
.surface-grid > .span-6 { grid-column: span 6; }
.surface-grid > .span-8 { grid-column: span 8; }
.surface-grid > .span-9 { grid-column: span 9; }
.surface-grid > .span-12 { grid-column: span 12; }
.surface-grid > .start-1 { grid-column-start: 1; }
.surface-grid > .start-3 { grid-column-start: 3; }
.surface-grid > .start-5 { grid-column-start: 5; }
.surface-grid > .start-7 { grid-column-start: 7; }
.surface-grid > .start-9 { grid-column-start: 9; }
.surface-grid > .start-10 { grid-column-start: 10; }
.surface-grid > .row-2 { grid-row: span 2; }
.surface-grid > .row-3 { grid-row: span 3; }
.surface-grid > .row-4 { grid-row: span 4; }
.divider-label { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.divider-label::before, .divider-label::after { flex: 1; height: 1px; background: var(--line); content: ""; }
.divider-label-left::before { flex: 0 0 2rem; }
.divider-label-left::after { flex: 1; }
.divider-label-dark::before, .divider-label-dark::after { background: var(--line-dark); }
.numeric-list { counter-reset: item; display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.numeric-list li { counter-increment: item; display: grid; grid-template-columns: 36px 1fr; gap: .7rem; }
.numeric-list li::before { color: var(--teal-dark); content: counter(item, decimal-leading-zero); font-size: .75rem; font-weight: 800; }
.numeric-list-dark li::before { color: #94d1c7; }
.bullet-list { display: grid; gap: .65rem; list-style: none; margin: 0; padding: 0; }
.bullet-list li { position: relative; padding-left: 1.25rem; }
.bullet-list li::before { position: absolute; top: .63rem; left: 0; width: .4rem; height: .4rem; border-radius: 50%; background: var(--teal); content: ""; }
.bullet-list-dark li { color: var(--muted-dark); }
.bullet-list-dark li::before { background: #94d1c7; }
.inline-list { display: inline-flex; flex-wrap: wrap; gap: .65rem 1.2rem; list-style: none; margin: 0; padding: 0; }
.inline-list li { color: var(--muted); font-size: .86rem; }
.inline-list a { color: var(--teal-dark); text-decoration: none; }
.inline-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; color: var(--muted); font-size: .78rem; }
.meta-row > span { display: inline-flex; align-items: center; gap: .35rem; }
.meta-row > span + span::before { width: 3px; height: 3px; border-radius: 50%; background: #a9b8b3; content: ""; }
.meta-dark { color: var(--muted-dark); }
.meta-dark > span + span::before { background: #6e8580; }
.kicker { color: var(--teal-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kicker-dark { color: #94d1c7; }
.lead { max-width: 48rem; font-size: 1.12rem; line-height: 1.8; }
.lead-sm { font-size: 1rem; line-height: 1.7; }
.lead-lg { font-size: 1.28rem; line-height: 1.75; }
.display { font-size: clamp(3rem, 8vw, 7rem); font-weight: 780; letter-spacing: -.065em; line-height: .92; }
.display-sm { font-size: clamp(2.4rem, 6vw, 5rem); }
.heading-xl { font-size: clamp(2.7rem, 5.4vw, 5.5rem); }
.heading-lg { font-size: clamp(2.2rem, 4vw, 4rem); }
.heading-md { font-size: clamp(1.7rem, 3vw, 2.8rem); }
.heading-sm { font-size: clamp(1.3rem, 2vw, 1.8rem); }
.caps { font-variant-caps: all-small-caps; }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }
.nowrap { white-space: nowrap; }
.break { word-break: break-word; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.indent { text-indent: 1.4rem; }
.dropcap::first-letter { float: left; margin: .1rem .4rem 0 0; color: var(--teal-dark); font-size: 3.2rem; font-weight: 760; line-height: .8; }
.mark { padding-inline: .2em; color: var(--ink); background: #edf0c5; }
.mark-teal { color: var(--ink); background: #d9eee9; }
.mark-warm { color: var(--ink); background: #f1dfbf; }
.small-caps { font-size: .78em; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.uppercase-first::first-letter { text-transform: uppercase; }
.rule-dotted { border-top: 1px dotted var(--line); }
.rule-dashed { border-top: 1px dashed var(--line); }
.rule-thick { height: 3px; background: var(--teal); }
.corner-mark { position: relative; }
.corner-mark::after { position: absolute; right: 1rem; bottom: 1rem; width: 26px; height: 26px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); content: ""; opacity: .55; }
.corner-mark-dark::after { border-color: #94d1c7; }
.top-mark { position: relative; }
.top-mark::before { position: absolute; top: 0; left: 0; width: 42px; height: 3px; background: var(--teal); content: ""; }
.top-mark-dark::before { background: #94d1c7; }
.ring { box-shadow: 0 0 0 1px var(--line), 0 0 0 6px rgba(217,238,233,.7); }
.ring-focus:focus-visible { box-shadow: 0 0 0 3px var(--focus), 0 0 0 7px rgba(255,253,249,.9); outline: none; }
.dot-pattern { background-image: radial-gradient(#b7cec7 .8px, transparent .8px); background-size: 14px 14px; }
.line-pattern { background-image: linear-gradient(rgba(46,133,133,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(46,133,133,.08) 1px, transparent 1px); background-size: 20px 20px; }
.paper-grid { background-color: var(--cream); background-image: linear-gradient(rgba(16,39,63,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(16,39,63,.05) 1px, transparent 1px); background-size: 26px 26px; }
.veil { position: relative; }
.veil::after { position: absolute; inset: 0; background: rgba(16,39,63,.08); content: ""; pointer-events: none; }
.veil-light::after { background: rgba(255,253,249,.2); }
.veil-dark::after { background: rgba(16,39,63,.28); }
.gradient-none { background-image: none; }
.outline { outline: 1px solid var(--line); outline-offset: -1px; }
.outline-dark { outline-color: var(--line-dark); }
.outline-focus:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.anchor-offset { scroll-margin-top: 112px; }
.sticky-top { position: sticky; top: 110px; }
.sticky-header { position: sticky; top: 0; z-index: 20; }
.fixed-bottom { position: fixed; right: 1rem; bottom: 1rem; left: 1rem; z-index: 50; }
.safe-bottom { padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
.safe-inline { padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right)); }
.flow-root { display: flow-root; }
.clearfix::after { display: table; clear: both; content: ""; }
.isolate { isolation: isolate; }
.stacking-context { position: relative; z-index: 0; }
.clip-path-none { clip-path: none; }
.clip-round { clip-path: inset(0 round var(--radius-md)); }
.mask-none { mask-image: none; }
.print-only { display: none; }
.screen-only { display: block; }

@media (max-width: 820px) {
  .layout-sidebar { grid-template-columns: 1fr; gap: 2rem; }
  .layout-sidebar > aside { position: static; }
  .surface-grid > .span-3, .surface-grid > .span-4, .surface-grid > .span-6, .surface-grid > .span-8, .surface-grid > .span-9 { grid-column: span 6; }
  .surface-grid > .span-12 { grid-column: span 12; }
  .surface-grid > .start-3, .surface-grid > .start-5, .surface-grid > .start-7, .surface-grid > .start-9, .surface-grid > .start-10 { grid-column-start: auto; }
  .sticky-top { position: static; }
  .sticky-header { position: sticky; }
}

@media (max-width: 560px) {
  .layout-wide, .layout-narrow { width: calc(100% - 2rem); }
  .surface-grid { grid-template-columns: 1fr; }
  .surface-grid > .span-3, .surface-grid > .span-4, .surface-grid > .span-6, .surface-grid > .span-8, .surface-grid > .span-9, .surface-grid > .span-12 { grid-column: auto; }
  .display { font-size: clamp(2.8rem, 16vw, 4.8rem); }
  .lead-lg { font-size: 1.12rem; }
  .fixed-bottom { right: .7rem; bottom: .7rem; left: .7rem; }
  .screen-only { display: block; }
}

@media print {
  .print-only { display: block; }
  .screen-only { display: none !important; }
  .dot-pattern, .line-pattern, .paper-grid { background-image: none; }
  .fixed-bottom { position: static; }
}
