:root {
    --ink: #15231f;
    --muted: #64736e;
    --paper: #f7f8f6;
    --white: #fff;
    --line: #e2e8e4;
    --green: #165c49;
    --green-bright: #9de0c2;
    --serif: Georgia, "Times New Roman", serif;
    --sans: "Segoe UI", Arial, sans-serif;
}

.modern-site {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    --surface: var(--white);
    --accent: var(--green);
    --accent-hover: #104c3b;
    --accent-bright: var(--green-bright);
    --accent-soft: #dcefe5;
    --accent-text: #17684d;
}

.modern-site *, .modern-site *::before, .modern-site *::after { box-sizing: border-box; }
.modern-site a { color: inherit; text-decoration: none; }
.modern-site a:focus-visible, .modern-site button:focus-visible, .modern-site input:focus-visible, .modern-site textarea:focus-visible {
    outline: 3px solid #78c7a6;
    outline-offset: 3px;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(21, 35, 31, .08); background: rgba(247, 248, 246, .94); }
.site-nav { width: min(1160px, calc(100% - 48px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--ink); color: var(--green-bright); font-size: 12px; letter-spacing: -.08em; }
.nav-links { display: flex; align-items: center; gap: 32px; color: #52615b; font-size: 13px; font-weight: 600; }
.nav-links a { transition: color .18s ease; }
.nav-links a:hover, .footer-links a:hover { color: #16835f; }
.nav-links .nav-contact { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #cbd6d0; border-radius: 5px; padding: 11px 15px; color: var(--ink); }
.nav-contact span { color: #16835f; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-control { position: relative; color: var(--ink); font-size: 12px; }
.theme-control summary { display: inline-flex; min-height: 40px; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.theme-control summary::-webkit-details-marker { display: none; }
.theme-control summary:hover, .theme-control[open] summary { background: var(--accent-soft); }
.theme-panel { position: absolute; z-index: 30; top: calc(100% + 10px); right: 0; width: 238px; padding: 16px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 16px 36px rgba(21,35,31,.16); }
.theme-panel fieldset { margin: 0; padding: 0; border: 0; }
.theme-panel fieldset + fieldset { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.theme-panel legend { margin-bottom: 9px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.theme-options, .accent-options { display: flex; gap: 7px; }
.theme-options button { flex: 1; min-height: 34px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; }
.theme-options button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.accent-options button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; }
.accent-options button[aria-pressed="true"] { border-color: var(--ink); }
.accent-swatch { width: 21px; height: 21px; display: block; border-radius: 50%; }
.accent-forest { background: #165c49; }
.accent-ocean { background: #1d4ed8; }
.accent-violet { background: #6d28d9; }
.accent-amber { background: #b45309; }
.accent-rose { background: #be123c; }
.nav-toggle { display: none; }

.site-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: 612px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 68px; padding: 78px 0 90px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-label { display: flex; align-items: center; gap: 10px; color: #687871; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #29956b; box-shadow: 0 0 0 4px #dcefe5; }
.hero h1, .page-hero h1 { max-width: 700px; margin: 25px 0 20px; font-family: var(--serif); font-size: clamp(46px, 6vw, 76px); font-weight: 400; line-height: .99; letter-spacing: -.055em; }
.hero h1 span, .page-hero h1 span { color: #237b5e; font-style: italic; }
.hero-intro { max-width: 490px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 19px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white !important; }
.button-primary:hover { background: #104c3b; }
.button-secondary { border-color: #d3ddd7; color: var(--ink); background: transparent; }
.button-secondary:hover { background: #eef2ee; }
.button-light { background: #f5f8f5; color: var(--ink) !important; }
.button-light:hover { background: white; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 48px; color: #73817b; font-size: 12px; }
.hero-note-line { width: 34px; height: 1px; background: #89a096; }
.hero-visual { position: relative; min-height: 410px; display: grid; place-items: center; }
.hero-image-frame { position: relative; z-index: 1; width: min(390px, 90%); height: 420px; overflow: hidden; border-radius: 47% 47% 3px 3px; background: #e5ebe6; }
.hero-image-frame::after { position: absolute; inset: 45% 0 0; content: ""; background: linear-gradient(transparent, rgba(10, 28, 22, .36)); }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); }
.hero-caption { position: absolute; z-index: 2; right: 0; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.92); box-shadow: 0 16px 40px rgba(21,35,31,.1); }
.caption-mark { color: #207856; font-family: monospace; font-size: 18px; font-weight: 700; }
.hero-caption strong, .hero-caption small { display: block; }
.hero-caption strong { font-size: 12px; }
.hero-caption small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.hero-orbit { position: absolute; border: 1px solid #dfe7e1; border-radius: 50%; }
.hero-orbit-one { width: 420px; height: 420px; }
.hero-orbit-two { width: 490px; height: 490px; }

.intro-section { padding: 74px 0 82px; border-top: 1px solid var(--line); }
.section-label span { color: #1d805e; }
.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; margin-top: 24px; }
.intro-grid h2, .section-heading h2, .contact-cta h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); font-weight: 400; line-height: 1.12; letter-spacing: -.04em; }
.intro-copy p, .section-heading > p { margin: 0 0 21px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: #17684d !important; font-size: 13px; font-weight: 700; }
.text-link span, .article-read-link span { transition: transform .18s ease; }
.text-link:hover span, .article-read-link:hover span { transform: translateX(4px); }

.expertise-section { padding: 80px 0 90px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
.section-heading h2 { margin-top: 17px; }
.section-heading > p { max-width: 330px; margin-bottom: 3px; font-size: 13px; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #dce4de; border-bottom: 1px solid #dce4de; }
.expertise-card { min-height: 222px; padding: 26px 26px 24px 0; }
.expertise-card + .expertise-card { padding-left: 26px; border-left: 1px solid #dce4de; }
.expertise-index { color: #238363; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.expertise-card h3 { margin: 24px 0 9px; font-size: 19px; letter-spacing: -.03em; }
.expertise-card p { max-width: 310px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.expertise-tags { display: block; margin-top: 21px; color: #52645c; font-size: 10px; font-weight: 700; letter-spacing: .03em; }
.expertise-tags i { padding: 0 5px; color: #68a58c; font-style: normal; }

.work-section { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 70px; min-height: 360px; margin: 0 calc((min(1160px, 100vw - 48px) - 100vw) / 2); padding: 58px max(24px, calc((100vw - 1160px) / 2)); background: #173a30; color: white; }
.work-section .section-label { color: #b0c9bd; }
.work-section .section-label span { color: var(--green-bright); }
.work-copy h2 { max-width: 485px; margin: 20px 0 14px; font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); font-weight: 400; line-height: 1.12; letter-spacing: -.04em; }
.work-copy > p { max-width: 470px; margin: 0 0 24px; color: #c0d0c8; font-size: 14px; line-height: 1.8; }
.work-aside { padding: 22px 24px; border: 1px solid rgba(220,241,229,.2); background: rgba(255,255,255,.04); }
.work-aside-top { display: flex; justify-content: space-between; color: #b9d1c5; font-family: monospace; font-size: 10px; letter-spacing: .1em; }
.work-aside-top span:last-child { color: var(--green-bright); font-size: 15px; }
.work-diagram { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 38px 0 28px; }
.diagram-node { padding: 11px 12px; border: 1px solid rgba(220,241,229,.28); color: #e3eee8; font-size: 11px; }
.diagram-node-accent { border-color: #72c6a0; background: rgba(128,204,164,.12); }
.diagram-line { flex: 1; height: 1px; background: rgba(220,241,229,.34); }
.work-aside > p { margin: 0; color: #a7bdb2; font-size: 11px; }

.articles-section { padding: 88px 0 96px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-card { overflow: hidden; border: 1px solid #e0e6e1; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(21,35,31,.08); }
.article-image { position: relative; display: grid; height: 208px; place-items: center; overflow: hidden; background: #e8eee9; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.article-card:hover .article-image img { transform: scale(1.035); }
.article-image-placeholder { color: #56836f; font-family: monospace; font-size: 34px; font-weight: 700; }
.article-card-content { padding: 20px 21px 23px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; color: #788780; font-size: 10px; }
.article-meta span { color: #217956; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.article-card h3 { margin: 16px 0 9px; font-size: 18px; line-height: 1.4; letter-spacing: -.025em; }
.article-card h3 a:hover, .featured-copy h2 a:hover { color: #217956; }
.article-card-content > p, .featured-copy > p:not(.featured-kicker) { min-height: 42px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.article-read-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: #17684d !important; font-size: 11px; font-weight: 700; }
.empty-articles { display: flex; align-items: center; gap: 18px; padding: 28px; border: 1px solid var(--line); background: #fff; }
.empty-articles-mark { color: #338361; font-family: monospace; font-size: 24px; font-weight: 700; }
.empty-articles h3 { margin: 0 0 5px; font-size: 15px; }
.empty-articles p { margin: 0; color: var(--muted); font-size: 12px; }

.contact-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 35px 0 75px; border-top: 1px solid var(--line); }
.contact-cta h2 { margin-top: 15px; font-size: 36px; }
.contact-cta p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.site-footer { background: #12221d; color: #eff5f1; }
.footer-inner { width: min(1160px, calc(100% - 48px)); min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto; }
.footer-brand { color: white !important; }
.footer-brand .brand-mark { border: 1px solid #426457; background: transparent; }
.footer-inner > p { margin: 0; color: #adbbb4; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: #c4d0ca; font-size: 11px; }
.footer-copyright { color: #91a198; font-size: 10px; white-space: nowrap; }

.page-hero { padding: 76px 0 40px; }
.page-hero .section-label { gap: 14px; }
.page-hero h1 { max-width: 750px; margin-top: 24px; font-size: clamp(44px, 6vw, 68px); }
.page-hero > p { max-width: 580px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.featured-article { display: grid; grid-template-columns: 1.1fr .9fr; margin: 8px 0 34px; border: 1px solid #e0e6e1; background: white; }
.featured-image { min-height: 350px; display: grid; place-items: center; overflow: hidden; background: #e8eee9; }
.featured-image img { width: 100%; height: 100%; max-height: 400px; object-fit: cover; }
.featured-copy { align-self: center; padding: 38px; }
.featured-kicker { margin: 30px 0 10px; color: #287c5b; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.featured-copy h2 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(28px, 3.2vw, 40px); font-weight: 400; line-height: 1.14; letter-spacing: -.04em; }
.featured-copy > p:not(.featured-kicker) { color: var(--muted); font-size: 13px; line-height: 1.8; }
.listing-section { padding-top: 46px; }
.modern-pagination { display: flex; justify-content: center; margin-top: 35px; }
.modern-pagination nav { display: flex; gap: 6px; }
.modern-pagination a, .modern-pagination span { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--line); background: white; color: var(--ink); font-size: 12px; }
.modern-pagination [aria-current="page"] span { background: var(--green); color: white; }
.blog-status { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #e8d2a3; background: #fff9eb; color: #70511c; font-size: 12px; }

.newsletter-section { padding: 46px 24px; background: #173a30; color: white; }
.newsletter-inner { width: min(760px, 100%); margin: 0 auto; text-align: center; }
.newsletter-inner h2 { margin: 0 0 9px; font-family: var(--serif); font-size: 34px; font-weight: 400; }
.newsletter-inner > p { margin: 0 auto 22px; color: #c0d0c8; font-size: 13px; line-height: 1.7; }
.newsletter-form { display: flex; gap: 9px; max-width: 490px; margin: 0 auto; }
.newsletter-form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 3px; background: rgba(255,255,255,.08); color: white; }
.newsletter-form input::placeholder { color: #d1ddd6; }
.newsletter-form button { padding: 0 18px; border: 0; border-radius: 3px; background: #b2e3c9; color: #173a30; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.newsletter-form button:hover { background: white; }
.newsletter-note { margin: 12px 0 0 !important; color: #aebfb5 !important; font-size: 10px !important; }

.contact-page { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; padding: 78px 0 90px; }
.contact-info { padding-top: 20px; }
.contact-info h1 { max-width: 440px; margin: 22px 0 16px; font-family: var(--serif); font-size: clamp(42px, 5vw, 58px); font-weight: 400; line-height: 1.05; letter-spacing: -.04em; }
.contact-info > p { max-width: 390px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.contact-details { display: grid; gap: 16px; margin-top: 35px; }
.contact-details span { color: #788780; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-details a { display: block; margin-top: 5px; color: #17684d; font-size: 14px; }
.contact-form { padding: 32px; border: 1px solid var(--line); background: white; }
.contact-form h2 { margin: 0 0 22px; font-size: 19px; letter-spacing: -.02em; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.contact-fields label { display: block; color: #53625b; font-size: 11px; font-weight: 700; }
.contact-fields label.full-width { grid-column: 1 / -1; }
.contact-fields input, .contact-fields textarea { display: block; width: 100%; margin-top: 7px; padding: 12px; border: 1px solid #dbe3dd; border-radius: 3px; background: #fbfcfb; color: var(--ink); font: inherit; font-size: 13px; }
.contact-fields input { height: 44px; }
.contact-fields textarea { min-height: 136px; resize: vertical; }
.contact-submit { margin-top: 19px; }
.form-feedback { margin: 0 0 17px; padding: 12px 14px; border: 1px solid #c2e1cd; background: #eff8f1; color: #245c3b; font-size: 12px; }
.form-errors { margin-bottom: 16px; padding: 12px 14px; border: 1px solid #f0c4bf; background: #fff4f2; color: #8d342b; font-size: 12px; }
.form-errors ul { margin: 0; padding-left: 17px; }

.modern-site .article-content { color: #33423b; font-size: 17px; line-height: 1.9; }
.modern-site .article-content h2, .modern-site .article-content h3 { margin: 1.7em 0 .55em; color: var(--ink); font-family: var(--serif); line-height: 1.25; }
.modern-site .article-content h2 { font-size: 32px; }
.modern-site .article-content h3 { font-size: 24px; }
.modern-site .article-content p { margin: 0 0 1.35em; }
.modern-site .article-content a { color: #17684d; text-decoration: underline; text-underline-offset: 3px; }
.modern-site .article-content pre { overflow-x: auto; padding: 20px; background: #16241f; color: #e8f0eb; font-size: 13px; line-height: 1.65; }
.modern-site .article-content code { font-family: Consolas, "Courier New", monospace; }
.modern-site .article-content :not(pre) > code { padding: 2px 5px; background: #e9efea; font-size: .88em; }
.modern-site .article-content img { max-width: 100%; height: auto; }
.article-page { padding-bottom: 80px; }
.article-header { max-width: 840px; margin: 0 auto; padding: 66px 0 34px; }
.back-link { display: inline-block; margin-bottom: 35px; color: #287c5b !important; font-size: 12px; font-weight: 700; }
.article-header h1 { margin: 17px 0 12px; font-family: var(--serif); font-size: clamp(42px, 6vw, 66px); font-weight: 400; line-height: 1.06; letter-spacing: -.05em; }
.article-topic { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.article-byline { margin: 17px 0 0; color: #6b7972; font-size: 12px; }
.article-cover { max-height: 480px; margin: 0; overflow: hidden; background: #e8eee9; }
.article-cover img { display: block; width: 100%; max-height: 480px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 245px; align-items: start; gap: 65px; max-width: 1070px; margin: 0 auto; padding: 56px 0 60px; }
.article-main { min-width: 0; }
.article-reactions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #6b7972; font-size: 11px; }
.article-reactions > span { margin-right: auto; font-weight: 700; }
.article-reactions a { padding: 9px 11px; border: 1px solid var(--line); color: #27634c; }
.article-reactions a:hover { background: #eff5f0; }
.article-note { margin-top: 25px; padding: 18px 20px; border-left: 3px solid #5b9c7d; background: #edf4ef; color: #53665b; font-size: 13px; line-height: 1.8; }
.article-sidebar { position: sticky; top: 28px; padding: 20px; border: 1px solid var(--line); background: white; }
.sidebar-label { color: #328263; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.article-sidebar h2 { margin: 15px 0 7px; font-size: 17px; }
.article-sidebar p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.article-sidebar .text-link { margin-top: 18px; font-size: 11px; }
.comments-section { padding-top: 48px; border-top: 1px solid var(--line); }
.comments-heading { margin-bottom: 25px; }
.comments-heading h2 { margin: 14px 0 0; font-family: var(--serif); font-size: 32px; font-weight: 400; }
.comments-heading h2 span { color: #839188; font-family: var(--sans); font-size: 15px; }
.comments-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 42px; }
.comment-list { display: grid; gap: 20px; }
.comment-item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.comment-initial { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #e1eee6; color: #267351; font-size: 13px; font-weight: 700; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.comment-meta strong, .reply-item strong { font-size: 12px; }
.comment-meta time, .reply-item time { color: #829087; font-size: 10px; }
.comment-body > p, .reply-item p { margin: 7px 0 0; color: #596961; font-size: 12px; line-height: 1.7; white-space: pre-wrap; }
.reply-item { margin: 15px 0 0 12px; padding: 12px 14px; border-left: 2px solid #d5e5d9; background: #f3f6f3; }
.reply-details { margin-top: 13px; }
.reply-details summary { color: #237b5e; font-size: 11px; font-weight: 700; cursor: pointer; }
.reply-details form { display: grid; gap: 10px; margin-top: 12px; }
.comment-form { display: grid; gap: 13px; padding: 20px; border: 1px solid var(--line); background: white; }
.comment-form h3 { margin: 0 0 4px; font-size: 15px; }
.comment-form label, .reply-details label { display: block; color: #53625b; font-size: 10px; font-weight: 700; }
.comment-form input, .comment-form textarea, .reply-details input, .reply-details textarea { display: block; width: 100%; margin-top: 6px; padding: 10px; border: 1px solid #dbe3dd; border-radius: 3px; background: #fbfcfb; color: var(--ink); font: inherit; font-size: 12px; }
.comment-form textarea, .reply-details textarea { resize: vertical; }
.comment-form .button, .reply-details button { justify-self: start; min-height: 40px; }
.reply-details button { padding: 8px 12px; border: 0; border-radius: 3px; background: var(--green); color: white; font: inherit; font-size: 11px; cursor: pointer; }

@media (max-width: 900px) {
    .hero { gap: 35px; }
    .hero-image-frame { height: 350px; }
    .hero-visual { min-height: 360px; }
    .hero-orbit-one { width: 360px; height: 360px; }
    .hero-orbit-two { width: 420px; height: 420px; }
    .work-section { gap: 35px; }
    .footer-inner { flex-wrap: wrap; justify-content: flex-start; padding: 24px 0; }
    .footer-links { order: 4; width: 100%; }
}

@media (max-width: 680px) {
    .site-nav, .site-shell, .footer-inner { width: min(100% - 36px, 560px); }
    .site-nav { min-height: 68px; }
    .nav-actions { margin-left: auto; }
    .nav-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; }
    .nav-toggle span:not(.sr-only) { width: 17px; height: 1px; background: var(--ink); }
    .nav-links { position: absolute; top: 67px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 18px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
    .nav-links.is-open { display: flex; flex-direction: column; }
    .nav-links a { padding: 13px 5px; }
    .nav-links .nav-contact { justify-content: center; margin-top: 5px; padding: 12px; }
    .hero { min-height: auto; grid-template-columns: 1fr; gap: 25px; padding: 62px 0 68px; }
    .hero h1 { max-width: 540px; font-size: clamp(45px, 12vw, 65px); }
    .hero-intro { font-size: 15px; }
    .hero-note { margin-top: 30px; }
    .hero-visual { min-height: 310px; margin-top: 9px; }
    .hero-image-frame { width: min(300px, 78%); height: 320px; }
    .hero-orbit-one { width: 315px; height: 315px; }
    .hero-orbit-two { width: 370px; height: 370px; }
    .hero-caption { right: 0; bottom: 13px; }
    .intro-section, .expertise-section { padding: 57px 0; }
    .intro-grid { grid-template-columns: 1fr; gap: 18px; }
    .intro-grid h2, .section-heading h2 { font-size: 36px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .expertise-grid { grid-template-columns: 1fr; }
    .expertise-card, .expertise-card + .expertise-card { min-height: auto; padding: 21px 0; border-left: 0; }
    .expertise-card + .expertise-card { border-top: 1px solid #dce4de; }
    .expertise-card h3 { margin-top: 15px; }
    .expertise-tags { margin-top: 12px; }
    .work-section { grid-template-columns: 1fr; gap: 30px; margin: 0 calc((100vw - min(100vw - 36px, 560px)) / -2); padding: 44px 18px; }
    .work-copy h2 { font-size: 38px; }
    .work-diagram { gap: 5px; }
    .diagram-node { padding: 9px 7px; font-size: 9px; }
    .articles-section { padding: 64px 0; }
    .article-grid { grid-template-columns: 1fr; gap: 16px; }
    .article-image { height: 220px; }
    .article-card-content > p { min-height: 0; }
    .article-layout { grid-template-columns: 1fr; gap: 25px; padding: 34px 0 45px; }
    .article-sidebar { position: static; }
    .comments-grid { grid-template-columns: 1fr; gap: 24px; }
    .article-header { padding: 48px 0 25px; }
    .article-header h1 { font-size: clamp(38px, 10vw, 54px); }
    .article-content { font-size: 16px; }
    .contact-cta { align-items: flex-start; flex-direction: column; padding: 30px 0 55px; }
    .contact-cta h2 { font-size: 32px; }
    .footer-inner { gap: 14px; padding: 25px 0; }
    .footer-inner > p { width: 100%; }
    .footer-links { gap: 12px 17px; }
    .footer-copyright { width: 100%; }
    .page-hero { padding: 55px 0 28px; }
    .page-hero h1 { font-size: clamp(43px, 11vw, 60px); }
    .featured-article { grid-template-columns: 1fr; }
    .featured-image { min-height: 230px; max-height: 300px; }
    .featured-copy { padding: 24px; }
    .featured-kicker { margin-top: 24px; }
    .featured-copy h2 { font-size: 31px; }
    .listing-section { padding-top: 32px; }
    .newsletter-section { padding: 38px 18px; }
    .newsletter-inner h2 { font-size: 30px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form button { min-height: 44px; }
    .contact-page { grid-template-columns: 1fr; gap: 30px; padding: 55px 0 65px; }
    .contact-info { padding-top: 0; }
    .contact-form { padding: 22px 18px; }
}

@media (max-width: 420px) {
    .site-nav, .site-shell, .footer-inner { width: calc(100% - 32px); }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .contact-fields { grid-template-columns: 1fr; }
    .contact-fields label.full-width { grid-column: auto; }
    .work-section { margin: 0 -16px; }
    .work-aside { padding: 18px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .modern-site *, .modern-site *::before, .modern-site *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

html[data-accent="ocean"] .modern-site { --accent: #1d4ed8; --accent-hover: #1e40af; --accent-bright: #bfdbfe; --accent-soft: #dbeafe; --accent-text: #1d4ed8; --green: var(--accent); --green-bright: var(--accent-bright); }
html[data-accent="violet"] .modern-site { --accent: #6d28d9; --accent-hover: #5b21b6; --accent-bright: #ddd6fe; --accent-soft: #ede9fe; --accent-text: #6d28d9; --green: var(--accent); --green-bright: var(--accent-bright); }
html[data-accent="amber"] .modern-site { --accent: #b45309; --accent-hover: #92400e; --accent-bright: #fde68a; --accent-soft: #fef3c7; --accent-text: #b45309; --green: var(--accent); --green-bright: var(--accent-bright); }
html[data-accent="rose"] .modern-site { --accent: #be123c; --accent-hover: #9f1239; --accent-bright: #fecdd3; --accent-soft: #ffe4e6; --accent-text: #be123c; --green: var(--accent); --green-bright: var(--accent-bright); }

.modern-site a:focus-visible, .modern-site button:focus-visible, .modern-site input:focus-visible, .modern-site textarea:focus-visible { outline-color: var(--accent); }
.modern-site .nav-links a:hover, .modern-site .footer-links a:hover, .modern-site .nav-contact span,
.modern-site .hero h1 span, .modern-site .caption-mark, .modern-site .section-label span, .modern-site .expertise-index,
.modern-site .expertise-tags i, .modern-site .article-image-placeholder, .modern-site .article-meta span,
.modern-site .article-card h3 a:hover, .modern-site .featured-copy h2 a:hover, .modern-site .featured-kicker,
.modern-site .empty-articles-mark, .modern-site .contact-details a, .modern-site .article-content a,
.modern-site .back-link, .modern-site .article-reactions a, .modern-site .sidebar-label,
.modern-site .reply-details summary, .modern-site .comment-initial { color: var(--accent-text); }
.modern-site .text-link, .modern-site .article-read-link { color: var(--accent-text) !important; }
.modern-site .status-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.modern-site .button-primary, .modern-site .reply-details button { background: var(--accent); }
.modern-site .button-primary:hover { background: var(--accent-hover); }
.modern-site .diagram-node-accent { border-color: var(--accent-bright); }
.modern-site .article-note { border-left-color: var(--accent); }
.modern-site .comment-initial { background: var(--accent-soft); }
.modern-site .newsletter-form button { background: var(--accent-bright); color: var(--accent-hover); }
.modern-site .theme-control summary:hover, .modern-site .theme-control[open] summary { background: var(--accent-soft); }
.modern-site .theme-options button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.modern-site .accent-options button[aria-pressed="true"] { outline: 2px solid var(--accent); outline-offset: 1px; }

html[data-theme="dark"] .modern-site {
    --ink: #e8efeb;
    --muted: #aab8b0;
    --paper: #111916;
    --white: #1a2520;
    --line: #33433b;
    --surface: #1a2520;
    color-scheme: dark;
    background: var(--paper);
    color: var(--ink);
}
html[data-theme="dark"] .site-header { border-color: var(--line); background: rgba(17,25,22,.96); }
html[data-theme="dark"] .nav-links { color: var(--muted); }
html[data-theme="dark"] .nav-links .nav-contact { border-color: var(--line); }
html[data-theme="dark"] .nav-toggle { border-color: var(--line); }
html[data-theme="dark"] .nav-toggle span:not(.sr-only) { background: var(--ink); }
html[data-theme="dark"] .theme-panel, html[data-theme="dark"] .article-card, html[data-theme="dark"] .empty-articles,
html[data-theme="dark"] .featured-article, html[data-theme="dark"] .contact-form, html[data-theme="dark"] .article-sidebar,
html[data-theme="dark"] .comment-form { border-color: var(--line); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .featured-copy { background: var(--surface); }
html[data-theme="dark"] .theme-options button { border-color: var(--line); background: var(--paper); color: var(--ink); }
html[data-theme="dark"] .button-secondary { border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .button-secondary:hover, html[data-theme="dark"] .article-reactions a:hover { background: #27352e; }
html[data-theme="dark"] .button-light { background: #e8efeb; color: #15231f !important; }
html[data-theme="dark"] .hero-caption { border-color: rgba(255,255,255,.16); background: rgba(26,37,32,.94); color: var(--ink); }
html[data-theme="dark"] .article-image, html[data-theme="dark"] .featured-image, html[data-theme="dark"] .article-cover,
html[data-theme="dark"] .hero-image-frame { background: #26332d; }
html[data-theme="dark"] .contact-fields label, html[data-theme="dark"] .comment-form label,
html[data-theme="dark"] .reply-details label, html[data-theme="dark"] .nav-links,
html[data-theme="dark"] .eyebrow, html[data-theme="dark"] .section-label,
html[data-theme="dark"] .hero-note, html[data-theme="dark"] .expertise-tags,
html[data-theme="dark"] .article-meta, html[data-theme="dark"] .article-byline,
html[data-theme="dark"] .article-reactions, html[data-theme="dark"] .contact-details span,
html[data-theme="dark"] .contact-info > p, html[data-theme="dark"] .comments-heading h2 span,
html[data-theme="dark"] .comment-meta time, html[data-theme="dark"] .reply-item time,
html[data-theme="dark"] .comment-body > p, html[data-theme="dark"] .reply-item p { color: var(--muted); }
html[data-theme="dark"] .contact-fields input, html[data-theme="dark"] .contact-fields textarea,
html[data-theme="dark"] .comment-form input, html[data-theme="dark"] .comment-form textarea,
html[data-theme="dark"] .reply-details input, html[data-theme="dark"] .reply-details textarea {
    border-color: var(--line);
    background: #131d18;
    color: var(--ink);
}
html[data-theme="dark"] .modern-site .article-content { color: #c4d0ca; }
html[data-theme="dark"] .modern-site .article-content h2, html[data-theme="dark"] .modern-site .article-content h3 { color: var(--ink); }
html[data-theme="dark"] .modern-site .article-content :not(pre) > code { background: #2a3931; }
html[data-theme="dark"] .reply-item, html[data-theme="dark"] .article-note { border-color: var(--line); background: #202d26; color: #c4d0ca; }
html[data-theme="dark"] .blog-status { border-color: #70551e; background: #352b18; color: #f1d89c; }
html[data-theme="dark"] .form-feedback { border-color: #315a40; background: #1b3325; color: #b9e2c5; }
html[data-theme="dark"] .form-errors { border-color: #70413c; background: #351f1d; color: #f0b8b1; }
html[data-theme="dark"] .hero-orbit { border-color: #2c3a33; }
html[data-theme="dark"] .hero-note-line { background: #52665a; }
