
:root {
  color-scheme: light;
  --white: #ffffff;
  --green-soft: #eaf3e8;
  --green: #215c3b;
  --green-dark: #173f2a;
  --ink: #202d25;
  --muted: #58655c;
  --line: #d6e4d7;
  --font: "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
::selection { background: var(--green); color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; background: var(--green); color: white; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; top: 28px; left: 0; width: 100%; z-index: 2; padding-inline: 24px; }
.navigation { display: flex; align-items: center; gap: 38px; width: fit-content; max-width: 100%; min-height: 62px; margin-inline: auto; padding: 10px 14px 10px 26px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 6px 24px #215c3b0a; }
.brand { font-size: 23px; font-weight: 750; letter-spacing: -1.1px; }
.brand span { color: var(--green); }
.navigation-links { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.navigation-link { display: inline-block; padding: 8px 0; border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 500; }
.navigation-link.is-active { color: var(--green); box-shadow: 0 2px 0 var(--green); }
.navigation-link:disabled { color: #69736b; }
.nav-signature { display: inline-flex; gap: 20px; align-items: center; padding: 12px 16px; border-radius: 10px; background: var(--green-soft); color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.nav-signature span { font-size: 17px; line-height: 1; }
.nav-signature:hover { background: var(--green); color: white; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--green-soft); border-radius: 10px; color: var(--green); cursor: pointer; }
.menu-icon { display: flex; flex-direction: column; gap: 6px; width: 17px; margin: auto; }
.menu-icon span { height: 1.5px; width: 100%; background: currentColor; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.hero { position: relative; isolation: isolate; min-height: 790px; min-height: max(790px, 100svh); overflow: hidden; background: var(--green-soft); }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: url("../images/hero-background.webp") center / cover no-repeat; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.78) 38%, rgba(234,243,232,.3) 75%, rgba(234,243,232,.16) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; max-width: 1180px; min-height: inherit; margin-inline: auto; padding: 170px 40px 140px; }
.hero-content { max-width: 560px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 25px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.65px; line-height: 1.7; }
.eyebrow span { flex: 0 0 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #215c3b0c; }
h1 { margin: 0; font-size: clamp(36px, 3.7vw, 49px); font-weight: 750; line-height: 1.16; letter-spacing: -1.8px; text-wrap: balance; }
h1 span { color: var(--green); }
.hero-description { max-width: 425px; margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 47px; padding: 12px 25px; border: 1px solid var(--green); border-radius: 999px; font-size: 12px; font-weight: 650; }
.button svg { width: 17px; height: 17px; }
.button-primary { background: var(--green); color: var(--white); }
.button-secondary { background: rgba(255,255,255,.75); color: var(--green); }
.links-note { margin: 12px 0 0; font-size: 11px; color: var(--muted); }
.hero-profile { position: relative; width: 100%; max-width: 470px; height: 490px; margin-inline: auto; isolation: isolate; }
.portrait-halo { position: absolute; z-index: -1; inset: 70px 10px 15px; border-radius: 48% 48% 35% 35%; background: linear-gradient(145deg, #eaf3e8e6, #a7c9a9c9); border: 1px solid #ffffffa6; transform: rotate(-5deg); }
.hero-portrait { position: absolute; bottom: 0; left: 5%; width: 90%; height: auto; max-height: none; mask-image: linear-gradient(#000 94%, transparent 100%); }
.hello-badge { position: absolute; top: 20px; left: 28px; display: grid; place-content: center; width: 78px; height: 72px; border: 2px solid white; border-radius: 24px 24px 6px 24px; background: var(--green); color: white; box-shadow: 0 8px 22px #173f2a26; font-size: 34px; font-weight: 750; letter-spacing: -2px; transform: rotate(-12deg); }
.hello-badge span { display: inline; position: absolute; right: 13px; top: 10px; color: #c4e5a5; }
.hero-tools { margin: 0; padding: 0; list-style: none; }
.tool-badge { position: absolute; display: grid; place-items: center; width: 58px; height: 58px; padding: 13px; border: 1px solid #d6e4d7; border-radius: 16px; background: #fffffff5; color: #24292f; box-shadow: 0 8px 24px #173f2a18; }
.tool-badge svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tool-html { top: 40px; right: 18px; transform: rotate(12deg); }
.tool-css { top: 160px; left: -5px; transform: rotate(-10deg); }
.tool-github { top: 190px; right: -10px; transform: rotate(8deg); }
.tool-js { bottom: 75px; left: 12px; transform: rotate(9deg); }
.tool-supabase { bottom: 65px; right: 0; transform: rotate(-12deg); }
.tool-workspace { bottom: -8px; left: 43%; width: 65px; transform: rotate(6deg); }


main > section:not(.hero) { content-visibility: auto; contain-intrinsic-size: auto 900px; }


.about { padding: 100px 40px 110px; background: var(--white); scroll-margin-top: 30px; }
.about-inner { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 90px; max-width: 1040px; margin-inline: auto; }
.about-content { grid-column: 2; grid-row: 1; }
.about .eyebrow { margin-bottom: 12px; }
.section-title { margin: 0 0 24px; color: var(--ink); font-size: clamp(32px, 3.3vw, 43px); line-height: 1.2; font-weight: 750; letter-spacing: -1.6px; }
.section-title span { color: var(--green); }
.about-introduction { padding: 22px 24px; border-left: 3px solid #aecdb1; border-radius: 0 12px 12px 0; background: var(--green-soft); color: var(--muted); font-size: 14px; line-height: 1.9; }
.about-introduction p { margin: 0; }
.about-introduction p + p { margin-top: 12px; }
.about-introduction strong { color: var(--green-dark); font-weight: 650; }
.about-focus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 300px; margin: 24px 0; padding: 0; list-style: none; }
.about-focus li { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.focus-symbol { color: var(--green); font-size: 27px; font-weight: 700; line-height: 1.1; letter-spacing: -1px; }
.about-details summary { width: fit-content; min-width: 145px; min-height: 40px; padding: 9px 20px; cursor: pointer; list-style: none; }
.about-details summary::-webkit-details-marker { display: none; }
.about-details summary:hover { background: var(--green-soft); }
.details-plus { margin-left: 12px; font-size: 19px; line-height: 1; transition: transform .2s; }
.about-details[open] .details-plus { transform: rotate(45deg); }
.about-process { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.85; }
.about-process h3 { margin: 0 0 8px; color: var(--green-dark); font-size: 15px; font-weight: 650; }
.about-process p { margin: 0; }
.about-process h3:not(:first-child) { margin-top: 20px; }
.about-visual { position: relative; grid-column: 1; grid-row: 1; isolation: isolate; width: 100%; max-width: 430px; aspect-ratio: 430 / 470; margin-inline: auto; }
.about-star { position: absolute; z-index: -1; inset: 25px -5px 10px; background: #dbead5; clip-path: polygon(50% 0%, 62% 28%, 98% 20%, 79% 49%, 100% 77%, 65% 73%, 50% 100%, 37% 75%, 1% 82%, 19% 52%, 0% 24%, 36% 29%); transform: rotate(-10deg); }
.about-portrait { position: absolute; bottom: 0; left: 5%; width: 90%; height: auto; mask-image: linear-gradient(#000 94%, transparent 100%); }
.about-tools { margin: 0; padding: 0; list-style: none; }
.about-cloudflare { top: 8%; left: 3%; transform: rotate(-12deg); }
.about-netlify { top: 18%; right: 0; transform: rotate(12deg); }
.about-sheets { top: 43%; left: -2%; transform: rotate(8deg); }
.about-bootstrap { top: 49%; right: -2%; transform: rotate(-9deg); }
.about-research { bottom: 4%; left: 2%; transform: rotate(-12deg); }
.about-analytics { bottom: 1%; right: 3%; transform: rotate(10deg); }

.services { padding: 75px 40px 85px; background: white; scroll-margin-top: 30px; }
.services-inner { max-width: 1100px; margin-inline: auto; }
.services-heading { margin-bottom: 35px; text-align: center; }
.services-heading .eyebrow { justify-content: center; margin-bottom: 12px; }
.services-heading .section-title { margin-bottom: 12px; }
.services-heading > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card { display: flex; flex-direction: column; min-width: 0; padding: 28px 25px; border: 1px solid var(--line); border-radius: 12px; background: #f7faf6; }
.service-card h3 { margin: 0 0 15px; font-size: 20px; line-height: 1.4; letter-spacing: -.5px; }
.service-card p { margin: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.service-card .service-problem { margin-bottom: 10px; color: var(--green-dark); font-size: 14px; font-weight: 600; }
.service-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--green); font-size: 12px; font-weight: 650; }
.service-link:hover { text-decoration: underline; text-underline-offset: 4px; }


.projects { padding: 85px 40px 100px; background: linear-gradient(180deg, #f7faf6, #fff); scroll-margin-top: 30px; }
.projects-inner { max-width: 1100px; margin-inline: auto; }
.projects-heading { text-align: center; margin-bottom: 40px; }
.projects-heading .eyebrow { justify-content: center; margin-bottom: 12px; }
.projects-heading .section-title { margin-bottom: 12px; }
.projects-heading > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 4px 16px #173f2a05; }
.project-media { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; object-position: center; border-bottom: 1px solid var(--line); background: #f4f7f3; }
.menu-preview { object-fit: contain; object-position: center; background: #152b20; }
.project-content { display: flex; flex: 1; flex-direction: column; padding: 21px 19px 19px; }
.project-category { margin: 0 0 9px; color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: 1.2px; line-height: 1.6; }
.project-content h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.4; letter-spacing: -.4px; }
.project-content > p:not(.project-category) { margin: 0 0 23px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.project-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.project-actions .button { width: 100%; min-height: 41px; padding: 10px 8px; border-radius: 7px; font-size: 11px; cursor: pointer; }
.project-actions .button-primary:hover { background: var(--green-dark); }
.project-actions .button-secondary:hover { background: var(--green-soft); }
.projects-note { max-width: 760px; margin: 35px auto 0; color: var(--muted); font-size: 12px; line-height: 1.85; text-align: center; }
body:has(dialog[open]) { overflow: hidden; }
.results-dialog { width: min(880px, calc(100% - 40px)); max-height: calc(100dvh - 48px); padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--ink); box-shadow: 0 24px 90px #10271940; overscroll-behavior: contain; }
.results-dialog::backdrop { background: #102719b8; backdrop-filter: blur(5px); }
.results-header { position: sticky; top: -28px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 10px; padding-block: 8px; background: white; }
.results-header .project-category { margin: 0; }
.dialog-close { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 27px; cursor: pointer; }
.results-dialog h2 { margin: 0 0 15px; font-size: clamp(24px, 3vw, 32px); line-height: 1.25; letter-spacing: -.8px; }
.results-description, .results-context { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.case-study-brief { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 0 0 24px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
.case-study-brief h3, .evidence-heading { margin: 0 0 8px; color: var(--green-dark); font-size: 14px; font-weight: 650; }
.case-study-brief p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.evidence-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin: 0 0 20px; padding: 20px; border-radius: 10px; background: var(--green-soft); }
.evidence-summary dt { margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 600; }
.evidence-summary dd { margin: 0; color: var(--green-dark); font-size: 13px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.results-figure { margin: 0 0 22px; }
.results-figure a { display: block; border-radius: 8px; overflow: hidden; }
.results-figure img { display: block; width: 100%; height: auto; background: #22252b; }
.results-figure figcaption { margin-top: 9px; font-size: 11px; color: var(--muted); line-height: 1.6; }
.results-note { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.85; }
.menu-steps { margin: 0 0 22px; padding: 18px 22px 18px 42px; background: var(--green-soft); border-radius: 10px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.menu-steps li + li { margin-top: 12px; }
.menu-steps strong { color: var(--green-dark); }
[hidden] { display: none !important; }

.testimonials { padding: 75px 40px 85px; background: #f7faf6; scroll-margin-top: 30px; }
.testimonials-inner { max-width: 1000px; margin-inline: auto; }
.testimonials-heading { margin-bottom: 35px; text-align: center; }
.testimonials-heading .eyebrow { justify-content: center; margin-bottom: 12px; }
.testimonials-heading .section-title { margin-bottom: 12px; }
.testimonials-heading > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.testimonial-card { min-width: 0; margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.testimonial-quote-mark { display: block; height: 40px; margin-bottom: 8px; color: var(--green); font-size: 64px; font-family: Georgia, serif; line-height: 1; }
.testimonial-card blockquote { margin: 0; }
.testimonial-card blockquote p { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.95; }
.testimonial-details { margin-top: 17px; }
.testimonial-details summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; list-style: none; color: var(--green); font-size: 12px; font-weight: 650; cursor: pointer; }
.testimonial-details summary::-webkit-details-marker { display: none; }
.testimonial-details summary span { font-size: 19px; transition: transform .2s; }
.testimonial-details[open] summary span { transform: rotate(45deg); }
.testimonial-details[open] summary { margin-bottom: 10px; }
.testimonial-card figcaption { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--green-dark); font-size: 13px; font-weight: 700; }


.contact { padding: 65px 40px 70px; background: white; scroll-margin-top: 30px; }
.contact-inner { max-width: 1000px; margin-inline: auto; }
.contact-heading { text-align: center; margin-bottom: 32px; }
.contact-heading .eyebrow { justify-content: center; margin-bottom: 12px; }
.contact-heading .section-title { margin-bottom: 12px; }
.contact-heading > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 70px; }
.contact-visual { position: relative; isolation: isolate; width: 100%; max-width: 410px; aspect-ratio: 410 / 450; margin-inline: auto; }
.contact-halo { position: absolute; z-index: -1; inset: 70px 0 5px; border-radius: 45% 50% 35% 40%; background: var(--green-soft); transform: rotate(6deg); }
.contact-portrait { position: absolute; bottom: 0; left: 5%; width: 90%; height: auto; mask-image: linear-gradient(#000 93%, transparent 100%); }
.contact-envelope { position: absolute; top: 14%; right: 0; display: grid; place-items: center; width: 76px; height: 65px; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--green); box-shadow: 0 8px 24px #173f2a14; transform: rotate(10deg); }
.contact-envelope > svg { width: 100%; height: auto; }
.contact-envelope > span { position: absolute; top: -7px; right: -5px; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid white; border-radius: 50%; background: var(--green); color: white; font-size: 11px; font-weight: 700; }
.contact-spark { position: absolute; top: 28%; left: 0; color: #80a77e; font-size: 40px; transform: rotate(-12deg); }
.contact-formspree { bottom: 12%; left: 0; width: 66px; height: 66px; padding: 9px; transform: rotate(-10deg); }
.contact-formspree img { display: block; width: 100%; height: 100%; object-fit: contain; }
.contact-form { position: relative; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 8px 30px #173f2a08; }
.contact-form h3 { margin: 0 0 8px; font-size: 18px; font-weight: 650; letter-spacing: -.4px; }
.form-intro { margin: 0 0 16px; color: var(--muted); font-size: 11px; }
.form-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { min-width: 0; margin-bottom: 12px; }
.form-field label { display: block; margin-bottom: 7px; color: var(--green-dark); font-size: 11px; font-weight: 600; }
.field-optional { color: var(--muted); font-weight: 400; }
.form-field input, .form-field textarea, .form-field select { display: block; width: 100%; min-height: 44px; padding: 12px 13px; border: 1px solid #d6e4d7; border-radius: 6px; background: #f2f7f0; color: var(--ink); font: inherit; font-size: 13px; line-height: 1.6; }
.form-field textarea { min-height: 116px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #69756b; opacity: 1; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid var(--green); outline-offset: 2px; background: white; }
.form-field input:user-invalid, .form-field textarea:user-invalid { border-color: #a13535; }
.form-privacy { margin: 0 0 17px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.form-privacy a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.contact-submit { width: 100%; border-radius: 6px; cursor: pointer; }
.contact-submit:hover { background: var(--green-dark); }
.contact-submit:disabled { opacity: .7; cursor: wait; }
.form-status { margin: 0; color: var(--green); font-size: 12px; line-height: 1.8; }
.form-status:not(:empty) { margin-top: 16px; }
.form-status[data-state="error"] { color: #9b3030; }
.form-status:focus { outline: none; }

.text-button { padding: 0; border: 0; background: none; color: var(--green); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.site-footer { padding: 30px 40px 18px; border-top: 1px solid var(--line); background: #eef5ec; }
.footer-inner { max-width: 1100px; margin-inline: auto; }
.footer-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding-bottom: 22px; }
.footer-brand p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.footer-socials { display: flex; align-items: center; gap: 10px; }
.footer-socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--green); }
.footer-socials svg { width: 19px; height: 19px; }
.footer-socials a:hover { background: var(--green); color: white; }
.footer-copyright { margin: 0; color: var(--green-dark); font-size: 11px; line-height: 1.9; text-align: right; }
.footer-copyright > span:last-child { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 12px; border-top: 1px solid var(--line); }
.footer-navigation, .footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom a, .footer-legal button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 11px; cursor: pointer; }
.footer-bottom a:hover, .footer-legal button:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.policy-dialog { width: min(740px, calc(100% - 40px)); max-height: calc(100dvh - 48px); padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--ink); box-shadow: 0 24px 90px #10271940; overscroll-behavior: contain; }
.policy-dialog::backdrop { background: #102719b8; backdrop-filter: blur(5px); }
.policy-header { position: sticky; top: -26px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 8px; background: white; }
.policy-header .project-category { margin: 0; }
.policy-dialog h2 { margin: 12px 0 8px; font-size: 30px; line-height: 1.25; letter-spacing: -.8px; }
.policy-updated { margin: 0 0 25px; color: var(--muted); font-size: 11px; }
.policy-content h3 { margin: 23px 0 8px; color: var(--green-dark); font-size: 15px; line-height: 1.5; }
.policy-content p { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.policy-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 761px) and (max-width: 1000px) {
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1600px) {
  .hero-inner { max-width: 1320px; }
}

@media (max-width: 760px) {
  .site-header { top: 20px; padding-inline: 22px; }
  .navigation { position: relative; justify-content: space-between; flex-wrap: wrap; gap: 0; width: 100%; min-height: 62px; padding: 10px 12px 10px 21px; border-radius: 14px; }
  .brand { font-size: 24px; }
  .nav-signature { display: none; }
  .menu-toggle:not([hidden]) { display: inline-block; }
  .navigation-links { justify-content: center; flex-wrap: wrap; gap: 12px 22px; width: 100%; padding: 12px 0 4px; }
  .js .navigation-links { display: none; }
  .js .navigation-links.is-open { display: flex; }
  .navigation:has(.navigation-links.is-open) .nav-signature { display: flex; justify-content: center; width: 100%; margin-top: 8px; }
  .navigation-link { padding: 9px 0; font-size: 13px; }
  .hero { min-height: 900px; }

  .hero::before { bottom: auto; height: 700px; background-color: var(--green-soft); background-size: auto 700px; background-position: 18% 20px; mask-image: linear-gradient(#000 400px, transparent 700px); }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,.3) 0, rgba(255,255,255,.5) 150px, rgba(255,255,255,.9) 260px, rgba(255,255,255,.82) 62%, rgba(234,243,232,.35) 100%); }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; min-height: auto; padding: 190px 26px 110px; }
  .hero-content { width: 100%; max-width: 460px; margin-inline: auto; text-align: center; }
  .eyebrow { justify-content: center; gap: 8px; margin-bottom: 22px; font-size: 8px; letter-spacing: 1.2px; }
  h1 { font-size: clamp(32px, 8.5vw, 42px); letter-spacing: -1.3px; }
  .hero-description { margin-inline: auto; font-size: 14px; line-height: 1.85; }
  .hero-actions { flex-direction: column; gap: 12px; margin-top: 27px; }
  .button { min-height: 46px; width: 100%; font-size: 13px; }
  .links-note { font-size: 10px; }
  .hero-profile { height: auto; aspect-ratio: 470 / 490; max-width: 390px; margin-top: 28px; }
  .portrait-halo { inset: 14% 2% 3%; }
  .hello-badge { top: 4%; left: 6%; width: 63px; height: 59px; border-radius: 20px 20px 5px 20px; font-size: 28px; }
  .hello-badge span { top: 8px; right: 11px; }
  .tool-badge { width: 46px; height: 46px; padding: 10px; border-radius: 13px; }
  .tool-html { top: 8%; right: 4%; }
  .tool-css { top: 33%; left: 0; }
  .tool-github { top: 39%; right: 0; }
  .tool-js { bottom: 15%; left: 2%; }
  .tool-supabase { bottom: 13%; right: 0; }
  .tool-workspace { bottom: -1%; width: 54px; }
  .about { padding: 72px 26px 80px; }
  .about-inner { grid-template-columns: 1fr; gap: 42px; max-width: 460px; }
  .about-content { grid-column: 1; grid-row: 1; text-align: center; }
  .about .eyebrow { margin-bottom: 10px; }
  .section-title { margin-bottom: 22px; font-size: 34px; }
  .about-introduction { padding: 20px 18px; font-size: 13px; line-height: 1.85; }
  .about-focus { gap: 20px; margin: 25px auto; }
  .about-focus li { font-size: 10px; }
  .focus-symbol { font-size: 25px; }
  .about-details summary { width: 100%; }
  .about-process { text-align: left; }
  .about-visual { grid-column: 1; grid-row: 2; max-width: 340px; }

  .about-star { left: 20px; right: 20px; }
  .about-sheets { left: 0; }
  .about-bootstrap { right: 0; }
  .services { padding: 60px 26px 70px; }
  .services-inner { max-width: 460px; }
  .services-heading { margin-bottom: 28px; }
  .services-heading > p:last-child { font-size: 13px; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-card { padding: 25px 22px; }
  .projects { padding: 65px 26px 75px; }
  .projects-inner { max-width: 460px; }
  .projects-grid { grid-template-columns: 1fr; gap: 25px; }
  .projects-heading { margin-bottom: 30px; }
  .projects-heading > p:last-child { font-size: 13px; }
  .project-content { padding: 22px 20px; }
  .project-content h3 { font-size: 18px; }
  .project-content > p:not(.project-category) { font-size: 13px; }
  .project-actions .button { min-height: 44px; font-size: 12px; }
  .projects-note { font-size: 11px; margin-top: 28px; }
  .results-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 20px; border-radius: 14px; }
  .results-description, .results-context { font-size: 13px; }
  .case-study-brief { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .evidence-summary { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .results-header { top: -20px; }
  .contact { padding: 65px 26px 75px; }
  .testimonials { padding: 60px 26px 70px; }
  .testimonials-inner { max-width: 460px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonials-heading { margin-bottom: 28px; }
  .testimonials-heading > p:last-child { font-size: 13px; }
  .testimonial-card { padding: 25px 22px; }
  .testimonial-card blockquote p { font-size: 13px; }
  .contact-inner { max-width: 460px; }
  .contact-heading { margin-bottom: 28px; }
  .contact-heading > p:last-child { font-size: 13px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-visual { max-width: 280px; }
  .contact-envelope { width: 60px; height: 52px; padding: 11px; border-radius: 13px; }
  .contact-spark { font-size: 30px; }
  .contact-formspree { width: 54px; height: 54px; padding: 7px; }
  .contact-form { padding: 22px 18px; }
  .contact-form h3 { font-size: 17px; }
  .form-name-row { gap: 12px; }
  .form-field input, .form-field textarea, .form-field select { font-size: 16px; }
  .form-field label { font-size: 11px; }
  .site-footer { padding: 28px 26px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; justify-items: center; text-align: center; }
  .footer-copyright { text-align: center; }
  .footer-bottom { justify-content: center; gap: 0; }
  .footer-navigation, .footer-legal { justify-content: center; gap: 3px 16px; }
  .policy-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 20px; border-radius: 13px; }
  .policy-header { top: -20px; }
  .policy-dialog h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
