/* All assets are served locally; no third-party fonts, scripts or trackers. */
:root {
    --paper: #f8f7f2;
    --white: #fffefa;
    --ink: #253b33;
    --muted: #637069;
    --green: #254e42;
    --green-dark: #1b3d33;
    --lime: #d8edb4;
    --line: #dce0d6;
    --orange: #a4532f;
    --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; line-height: 1.12; }
h1 { font-size: clamp(44px, 4.65vw, 68px); }
h2 { font-size: clamp(34px, 3.5vw, 48px); }
h3 { font-size: 20px; line-height: 1.4; letter-spacing: -.025em; font-weight: 600; }
em { color: var(--green); font-style: italic; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 105px; }
.eyebrow { text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .15em; line-height: 1.6; }
.eyebrow + h2 { margin-top: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 52px; padding: 14px 23px; border: 1px solid transparent; border-radius: 5px; background: var(--green); color: white; font-size: 13px; font-weight: 600; line-height: 1.5; transition: background .2s, transform .2s; }
.button:hover { background: var(--green-dark); transform: translateY(-2px); }
.button > span { font-size: 20px; font-weight: 400; line-height: 1; }
.button-small { min-height: 43px; padding: 10px 17px; gap: 20px; font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 13px; font-size: 13px; font-weight: 600; text-underline-offset: 5px; }
.text-link:hover { text-decoration: underline; }
.text-link > span { font-size: 19px; }
.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px 20px; background: var(--green); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 100px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 650; line-height: 1.4; letter-spacing: -.03em; }
.brand-symbol { display: block; width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; }
.brand-caption { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: .015em; }
.site-header nav { display: flex; gap: 28px; font-size: 12px; }
.site-header nav a:hover { color: var(--orange); }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 60px; padding-block: 81px 78px; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 25px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #628254; flex-shrink: 0; }
.hero h1 { max-width: 590px; }
.hero h1 em { white-space: nowrap; }
.hero-lead { font-size: 21px; line-height: 1.5; margin-top: 25px; letter-spacing: -.025em; }
.hero-description { max-width: 470px; margin-top: 15px; color: var(--muted); font-size: 14px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin-top: 29px; }
.hero-note { margin-top: 20px; color: var(--muted); font-size: 11px; }
.hero-note > span { margin-inline: 8px; }
.hero-visual { position: relative; padding: 0 0 12px; }
.hero-visual::before { position: absolute; z-index: -1; content: ""; width: 100%; height: 87%; top: 10%; right: 0; background: #e9ecdf; border-radius: 50% 42% 44% 43%; }
.visual-heading { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 30px 18px 0; line-height: 1.2; }
.handwritten { font-family: Georgia, serif; font-size: 17px; font-style: italic; transform: rotate(-4deg); }
.visual-heading > span:last-child { font-size: 28px; }
.demo-window { position: relative; border: 1px solid #d2d9cf; border-radius: 10px; background: var(--white); box-shadow: 0 17px 44px #243c3310; transform: rotate(-2deg); }
.window-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 42px; padding: 0 15px; border-bottom: 1px solid #e9ece5; color: var(--muted); font-size: 9px; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 6px; height: 6px; background: #d4d8d1; border-radius: 50%; }
.window-avatar { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e7ecdf; color: var(--green); font-size: 8px; }
.demo-body { padding: 22px 25px 0; }
.demo-greeting { display: flex; justify-content: space-between; align-items: center; gap: 8px; line-height: 1.4; }
.demo-greeting p { font-size: 9px; color: var(--muted); }
.demo-greeting h2 { margin-top: 3px; font-family: "Segoe UI", Arial, sans-serif; font-size: 18px; font-weight: 600; letter-spacing: -.04em; }
.sun-icon { color: #ad793d; font-size: 31px; line-height: 1; }
.demo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 23px; }
.demo-stats > div { padding: 12px 14px; border: 1px solid #e0e5dc; border-radius: 5px; }
.demo-stats > div:first-child { background: #eff3e9; }
.demo-stats span { display: block; color: var(--muted); font-size: 9px; }
.demo-stats strong { display: block; margin-top: 5px; font-size: 21px; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; }
.demo-stats small { margin-left: 5px; color: var(--muted); font-size: 9px; font-weight: 400; }
.demo-tabs { display: flex; gap: 20px; margin-top: 20px; border-bottom: 1px solid #e3e7df; }
.demo-tabs button { padding: 0 0 9px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 10px; }
.demo-tabs [aria-selected="true"] { border-bottom-color: var(--green); color: var(--green); font-weight: 650; }
.demo-row { display: flex; align-items: center; gap: 10px; min-height: 60px; border-bottom: 1px solid #edf0e9; }
.demo-row:last-child { border-bottom: 0; }
.row-icon { display: grid; place-items: center; width: 30px; height: 32px; flex-shrink: 0; border: 1px solid #e1e6dc; border-radius: 5px; color: var(--muted); font-size: 10px; }
.demo-row strong { display: block; font-size: 11px; font-weight: 600; }
.demo-row small { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.badge { margin-left: auto; padding: 3px 7px; background: #eeefed; color: #56635c; border-radius: 4px; font-size: 8px; white-space: nowrap; }
.badge-orange { background: #faeada; color: #965328; }
.badge-green { background: #e8efdd; color: #476235; }
.demo-footer { display: flex; align-items: center; gap: 7px; margin-top: 4px; padding: 12px 0; border-top: 1px solid #e3e7df; font-size: 9px; color: var(--muted); }
.demo-footer .status-dot { width: 5px; height: 5px; }
.visual-label { position: relative; display: flex; align-items: center; gap: 11px; width: fit-content; max-width: 100%; margin: -5px 0 0 auto; padding: 15px 19px; background: var(--green); color: white; border-radius: 6px; transform: rotate(2deg); box-shadow: 0 8px 20px #243c3310; line-height: 1.5; }
.label-check { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #729182; border-radius: 50%; color: var(--lime); }
.visual-label strong { display: block; font-size: 12px; font-weight: 500; }
.visual-label small { display: block; color: #c7d6c9; font-size: 9px; }
.demo-disclaimer { margin-top: 17px; text-align: center; font-size: 9px; color: var(--muted); }
.principles-strip { border-block: 1px solid var(--line); }
.principles-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; min-height: 89px; font-size: 12px; }
.principles-inner p { font-size: 14px; }
.principles-inner p strong { font-weight: 600; }
.principles-inner > span::before { content: "✓"; color: var(--green); margin-right: 9px; }
.heading-columns { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 90px; margin-top: 22px; }
.heading-columns > p { color: var(--muted); font-size: 14px; padding-bottom: 3px; }
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 50px; border-block: 1px solid var(--line); }
.solution { padding: 28px 25px 25px; border-right: 1px solid var(--line); }
.solution:first-child { padding-left: 0; }
.solution:last-child { padding-right: 0; border-right: 0; }
.solution-number { font-size: 9px; letter-spacing: .1em; color: var(--muted); }
.solution-icon { display: block; width: 42px; height: 42px; margin-block: 27px 20px; color: var(--green); }
.solution h3 { font-size: 19px; }
.solution p { margin-top: 13px; color: var(--muted); font-size: 13px; }
.solution-outcome { display: block; margin-top: 25px; font-size: 11px; font-weight: 600; }
.section-footnote { margin-top: 26px; font-size: 12px; color: var(--muted); }
.section-footnote a { margin-left: 8px; color: var(--green); font-size: 12px; }
.process-section { background: #edf0e6; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; margin: 48px 0 0; padding: 0; }
.process-steps li { border-top: 1px solid #bfcbb9; padding-top: 22px; }
.step-number { font-family: Georgia, serif; font-size: 31px; color: #657c5c; }
.process-steps h3 { margin-top: 22px; font-size: 18px; }
.process-steps p { margin-top: 12px; color: #59675b; font-size: 13px; }
.step-note { display: block; margin-top: 23px; color: #4c6647; font-size: 10px; font-weight: 600; }
.about-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.experience-panel { display: flex; flex-direction: column; align-items: center; min-height: 450px; padding: 38px 30px; background: #e9e7db; text-align: center; border-radius: var(--radius); }
.experience-panel .eyebrow { font-size: 9px; }
.experience-number { position: relative; font-family: Georgia, serif; font-size: 162px; line-height: 1; letter-spacing: -.08em; margin-top: 30px; padding-right: 8px; }
.experience-number > span { position: absolute; left: -19px; top: 31px; font-family: Georgia, serif; font-size: 18px; font-style: italic; letter-spacing: 0; transform: rotate(-12deg); }
.experience-panel > p { font-size: 16px; line-height: 1.5; margin-top: 5px; }
.experience-line { width: 35px; height: 1px; margin-block: 26px 20px; background: #b2b7a7; }
.experience-panel > span:last-child { color: #64705f; font-size: 12px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; margin-top: 18px; }
.about-copy > p.large-copy { margin-top: 25px; color: var(--ink); font-size: 17px; }
.signature { display: inline-flex; flex-direction: column; margin-top: 25px; font-family: Georgia, serif; font-size: 27px; font-style: italic; letter-spacing: -.03em; }
.signature > span { font-family: "Segoe UI", Arial, sans-serif; font-size: 10px; font-style: normal; letter-spacing: .01em; color: var(--muted); }
.price-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 46px 48px; background: #efe8db; border-left: 3px solid #ac7950; border-radius: 0 var(--radius) var(--radius) 0; }
.price-section .eyebrow { color: #83542f; font-size: 10px; }
.price-section h2 { font-size: 37px; }
.price-section p:not(.eyebrow) { font-size: 13px; color: #666558; }
.price-section p + p { margin-top: 13px; }
.price-section .text-link { margin-top: 18px; }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 21px; font-size: 14px; font-weight: 500; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--green); font-size: 23px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 30px 23px 0; font-size: 13px; color: var(--muted); }
.contact-section { padding-block: 78px; background: var(--green-dark); color: var(--paper); }
.contact-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 95px; align-items: center; }
.contact-section em { color: var(--lime); }
.contact-section .eyebrow { color: #bed0b4; font-size: 10px; }
.contact-section h2 { font-size: clamp(42px, 4.3vw, 60px); }
.contact-copy > p:not(.eyebrow) { max-width: 460px; color: #c2d0c8; font-size: 14px; margin-top: 25px; }
.contact-promises { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 24px; font-size: 10px; color: #cfdbc8; }
.contact-promises > span::before { content: "✓"; margin-right: 8px; color: var(--lime); }
.contact-card { padding: 32px; border: 1px solid #507062; border-radius: var(--radius); background: #ffffff04; }
.contact-card-label { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #c6d5c7; }
.contact-card h3 { margin-top: 13px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.contact-card > p { color: #bdcdbf; font-size: 11px; margin-top: 4px; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 23px; font-size: clamp(15px, 1.6vw, 21px); letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-email:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-email > span { font-size: 25px; }
.button-light { width: 100%; margin-top: 22px; background: var(--lime); color: var(--green-dark); }
.button-light:hover { background: #e6f3ce; }
.contact-phone { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px; margin-top: 23px; font-size: 11px; }
.contact-phone > span { color: #bdcdbf; }
.contact-phone a { font-size: 16px; }
.contact-phone a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-card > small { display: block; margin-top: 23px; border-top: 1px solid #507062; padding-top: 17px; color: #b7c9bb; font-size: 9px; }
.site-footer { padding-block: 35px 22px; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-top .brand { font-size: 15px; }
.footer-top .brand-symbol { width: 32px; height: 32px; border-radius: 8px; }
.footer-top p { font-family: Georgia, serif; font-size: 17px; font-style: italic; color: var(--muted); }
.footer-top > a:last-child { font-size: 11px; }
.footer-top > a:last-child span { margin-left: 10px; }
.footer-bottom { align-items: flex-start; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 30px; color: var(--muted); font-size: 9px; }
.business-details { display: flex; flex-direction: column; align-items: center; max-width: 45%; text-align: center; }
.error-page { min-height: 60vh; }
.error-page h1 { margin-top: 22px; }
.error-page p:not(.eyebrow) { margin-block: 25px; }

@media (min-width: 1500px) {
    .hero { padding-block: 100px; }
}

@media (max-width: 1100px) {
    .container { width: calc(100% - 64px); }
    .header-inner { gap: 20px; }
    .site-header nav { gap: 18px; font-size: 11px; }
    .hero { gap: 30px; }
    .hero-actions { gap: 15px; }
    .hero-actions .button { padding-inline: 16px; gap: 14px; font-size: 12px; }
    .hero-actions .text-link { font-size: 12px; }
    .demo-body { padding-inline: 18px; }
    .demo-greeting h2 { font-size: 16px; }
    .demo-stats { gap: 8px; }
    .demo-stats > div { padding-inline: 10px; }
    .demo-stats strong { font-size: 18px; }
    .demo-row { gap: 7px; }
    .demo-row strong { font-size: 10px; }
    .demo-row small { font-size: 8px; }
    .principles-inner { gap: 16px; font-size: 10px; }
    .principles-inner p { font-size: 12px; }
    .heading-columns { gap: 40px; }
    .solution { padding-inline: 18px; }
    .solution h3 { font-size: 17px; }
    .process-steps { gap: 22px; }
    .about-section { gap: 60px; }
    .price-section { gap: 35px; padding-inline: 30px; }
    .contact-inner { gap: 50px; }
    .contact-card { padding: 26px; }
}

@media (max-width: 820px) {
    .section { padding-block: 75px; }
    .header-inner { min-height: 85px; }
    .site-header nav { display: none; }
    .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 60px 45px; }
    .hero-copy { max-width: 640px; }
    .hero h1 { max-width: 620px; font-size: clamp(45px, 7.7vw, 63px); }
    .hero-description { max-width: 520px; }
    .hero-visual { width: min(510px, 100%); justify-self: center; padding-top: 15px; }
    .demo-body { padding-inline: 25px; }
    .demo-greeting h2 { font-size: 18px; }
    .demo-row strong { font-size: 11px; }
    .demo-row small { font-size: 9px; }
    .principles-inner { min-height: 100px; flex-wrap: wrap; justify-content: flex-start; gap: 10px 25px; padding-block: 20px; }
    .principles-inner > p { width: 100%; font-size: 13px; }
    .heading-columns { grid-template-columns: 1fr; gap: 22px; }
    .heading-columns > p { max-width: 570px; }
    .solutions-grid { grid-template-columns: 1fr 1fr; margin-top: 35px; }
    .solution { padding: 25px; }
    .solution:nth-child(2) { border-right: 0; padding-right: 0; }
    .solution:nth-child(3) { border-top: 1px solid var(--line); padding-left: 0; }
    .solution:nth-child(4) { border-top: 1px solid var(--line); }
    .solution h3 { font-size: 20px; }
    .process-steps { grid-template-columns: 1fr 1fr; gap: 35px; }
    .process-steps h3 { margin-top: 10px; }
    .about-section { gap: 40px; grid-template-columns: .8fr 1.2fr; }
    .experience-panel { min-height: 400px; padding-inline: 20px; }
    .experience-number { font-size: 130px; }
    .experience-number > span { left: -9px; font-size: 15px; }
    .about-copy h2 { font-size: 34px; }
    .about-copy > p.large-copy { font-size: 15px; }
    .price-section { grid-template-columns: 1fr; gap: 25px; padding: 35px; }
    .faq-section { grid-template-columns: 1fr; gap: 35px; }
    .contact-inner { grid-template-columns: 1fr; gap: 35px; }
    .contact-copy > p:not(.eyebrow) { max-width: 580px; }
    .contact-card { max-width: 510px; width: 100%; }
    .contact-email { font-size: 23px; }
    .footer-top p { display: none; }
    .footer-bottom { flex-wrap: wrap; gap: 15px; }
    .business-details { order: 1; width: 100%; max-width: none; align-items: flex-start; text-align: left; }
}

@media (max-width: 520px) {
    html { scroll-padding-top: 25px; }
    .container { width: calc(100% - 40px); }
    .section { padding-block: 58px; }
    .header-inner { gap: 12px; min-height: 80px; }
    .brand { gap: 9px; font-size: 16px; }
    .brand-symbol { width: 35px; height: 35px; border-radius: 8px; }
    .brand-caption { font-size: 8px; }
    .header-inner .button-small { gap: 6px; padding: 9px 11px; min-height: 38px; font-size: 10px; }
    .header-inner .button-small > span { font-size: 16px; }
    .hero { padding-top: 45px; }
    .hero .eyebrow { font-size: 10px; margin-bottom: 20px; }
    .hero h1 { font-size: clamp(40px, 10.5vw, 53px); }
    .hero-lead { font-size: 20px; }
    .hero-description { font-size: 14px; }
    .hero-actions { gap: 16px 25px; margin-top: 25px; }
    .hero-actions .button { min-height: 50px; padding-inline: 20px; font-size: 12px; }
    .hero-note { max-width: 300px; font-size: 10px; }
    .hero-visual { padding-top: 8px; }
    .hero-visual::before { right: 0; }
    .visual-heading { margin-right: 8px; }
    .handwritten { font-size: 15px; }
    .demo-window { transform: rotate(-1deg); }
    .demo-body { padding: 20px 15px 0; }
    .demo-greeting h2 { font-size: 16px; }
    .demo-stats strong { font-size: 20px; }
    .demo-stats small { margin-left: 3px; font-size: 8px; }
    .demo-tabs { gap: 22px; margin-top: 20px; }
    .demo-row strong { font-size: 10px; }
    .demo-row small { font-size: 8px; }
    .demo-row { min-height: 63px; }
    .badge { font-size: 7px; padding-inline: 6px; }
    .visual-label { padding: 12px 16px; }
    .principles-inner { gap: 8px 18px; }
    .principles-inner > span { font-size: 9px; }
    .principles-inner > span::before { margin-right: 5px; }
    h2 { font-size: 35px; }
    .heading-columns { gap: 20px; }
    .solutions-grid { grid-template-columns: 1fr; }
    .solution, .solution:first-child, .solution:last-child, .solution:nth-child(2), .solution:nth-child(3) { padding: 25px 0; border: 0; border-bottom: 1px solid var(--line); }
    .solution:last-child { border-bottom: 0; }
    .solution-icon { width: 34px; height: 34px; float: right; margin: -7px 4px 5px 16px; }
    .solution h3 { margin-top: 16px; font-size: 21px; }
    .solution p { font-size: 14px; }
    .solution-outcome { margin-top: 15px; }
    .section-footnote .text-link { display: flex; margin: 5px 0 0; font-size: 11px; }
    .process-steps { gap: 28px 23px; margin-top: 35px; }
    .process-steps h3 { font-size: 17px; }
    .process-steps p { font-size: 12px; }
    .step-note { font-size: 9px; margin-top: 15px; }
    .about-section { grid-template-columns: 1fr; gap: 35px; }
    .experience-panel { min-height: auto; padding-block: 27px; }
    .experience-number { font-size: 135px; margin-top: 22px; }
    .experience-line { margin-block: 18px; }
    .about-copy h2 { font-size: 36px; }
    .price-section { padding: 30px 23px; }
    .price-section h2 { font-size: 31px; }
    .faq-list summary { font-size: 13px; padding-block: 19px; }
    .contact-section { padding-block: 55px; }
    .contact-section h2 { font-size: 46px; }
    .contact-card { padding: 25px 20px; }
    .contact-card h3 { font-size: 27px; }
    .contact-email { font-size: clamp(15px, 4.8vw, 21px); }
    .button-light { font-size: 12px; padding-inline: 15px; gap: 10px; }
    .contact-promises { gap: 17px; font-size: 9px; }
    .footer-top { gap: 12px; }
    .footer-top > a:last-child { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
    .button:hover { transform: none; }
}


/* Portfolio: real application screens, with no external assets or dependencies. */
.hero-portfolio-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--green); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.portfolio-section { background: #f0f1e9; border-top: 1px solid var(--line); }
.project-showcase { margin-top: 44px; }
.project-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; }
.project-kicker { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.project-brand { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.project-icon { display: grid; place-items: center; width: 58px; height: 58px; background: #152b46; border-radius: 16px; flex-shrink: 0; }
.project-icon img { display: block; width: 54px; height: 54px; }
.project-brand h2 { font-size: 34px; letter-spacing: -.045em; }
.project-lead { font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.2; letter-spacing: -.035em; margin-top: 25px; }
.project-description { font-size: 14px; color: var(--muted); margin-top: 17px; max-width: 490px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 21px; }
.project-tags > span { border: 1px solid #cbd3c5; border-radius: 4px; padding: 4px 9px; color: var(--green); font-size: 10px; }
.project-benefits { border-top: 1px solid #ccd5c6; }
.project-benefits > div { display: flex; gap: 18px; padding-block: 20px; border-bottom: 1px solid #ccd5c6; }
.project-benefits > div > span { flex-shrink: 0; font-size: 11px; color: #77886e; padding-top: 3px; }
.project-benefits h3 { font-size: 15px; font-weight: 600; line-height: 1.5; margin: 0; }
.project-benefits p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.project-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 50px; }
.project-screen { margin: 0; min-width: 0; }
.screen-preview { position: relative; display: block; padding: 20px 12px 18px; background: #e3e8dc; border: 1px solid #d8dfd0; border-radius: 10px; }
.screen-preview:hover { background: #dde4d5; }
.phone-frame { display: block; width: min(100%, 220px); margin-inline: auto; padding: 5px; border: 1px solid #435448; background: #283a31; border-radius: 25px; box-shadow: 0 12px 23px #253b3317; overflow: hidden; }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 19px; background: white; }
.screen-enlarge { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 14px; color: var(--green); font-size: 10px; }
.screen-enlarge > span { font-size: 15px; }
.project-screen figcaption { padding-top: 18px; }
.screen-index { font-size: 9px; letter-spacing: .09em; color: var(--muted); }
.project-screen h3 { margin: 7px 0 0; font-size: 16px; line-height: 1.4; letter-spacing: -.02em; }
.project-screen p { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.project-bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 1px solid #ccd5c6; padding-top: 23px; margin-top: 35px; }
.project-bottom p { color: var(--muted); font-size: 10px; max-width: 560px; }
.project-bottom .text-link { flex-shrink: 0; font-size: 12px; }
.screenshot-dialog { width: min(850px, calc(100% - 32px)); max-height: calc(100svh - 32px); border: 1px solid #dce0d6; border-radius: 12px; padding: 18px 20px 14px; background: var(--paper); color: var(--ink); overflow: auto; }
.screenshot-dialog::backdrop { background: #10281fdd; }
.screenshot-dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.screenshot-dialog-toolbar p { font-size: 14px; font-weight: 600; }
.gallery-close, .gallery-nav { border: 1px solid #ccd5c6; border-radius: 6px; background: white; color: var(--green); min-height: 44px; min-width: 44px; }
.gallery-close { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 12px; font-size: 12px; }
.gallery-close span { font-size: 24px; line-height: 1; }
.screenshot-dialog-stage { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px; margin-top: 15px; }
.gallery-nav { font-size: 30px; line-height: 1; padding: 0; }
.screenshot-full { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100svh - 172px); margin-inline: auto; border-radius: 10px; }
.screenshot-dialog-count { color: var(--muted); text-align: center; margin-top: 10px; font-size: 11px; }
body.gallery-open { overflow: hidden; }
@media (max-width: 1100px) {
    .project-intro { gap: 45px; }
    .project-gallery { gap: 18px; }
    .screen-preview { padding: 15px 9px 12px; }
    .project-screen h3 { font-size: 14px; }
}
@media (max-width: 820px) {
    .project-intro { grid-template-columns: 1fr 1fr; gap: 30px; }
    .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
    .phone-frame { width: min(100%, 230px); }
    .screen-preview { padding: 22px 16px 14px; }
    .project-screen h3 { font-size: 17px; }
    .project-bottom { align-items: flex-start; flex-direction: column; gap: 13px; }
}
@media (max-width: 520px) {
    .project-showcase { margin-top: 30px; }
    .project-intro { grid-template-columns: 1fr; gap: 28px; }
    .project-brand h2 { font-size: 31px; }
    .project-lead { font-size: 29px; margin-top: 20px; }
    .project-gallery { grid-template-columns: 1fr; margin-top: 32px; gap: 30px; }
    .screen-preview { padding: 23px 25px 16px; }
    .phone-frame { width: min(100%, 230px); }
    .project-screen figcaption { padding-top: 13px; }
    .project-screen h3 { font-size: 19px; }
    .project-screen p { font-size: 13px; }
    .project-bottom { margin-top: 26px; }
    .screenshot-dialog { padding: 12px; width: calc(100% - 16px); max-height: calc(100svh - 16px); }
    .screenshot-dialog-toolbar p { font-size: 12px; }
    .screenshot-dialog-stage { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 5px; }
    .gallery-nav { min-width: 36px; }
    .gallery-close { gap: 8px; }
}

.portfolio-back { margin-bottom: 28px; }
.site-header nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
