:root {
    color-scheme: light;
    --ink: #172b2a;
    --ink-soft: #274342;
    --muted: #667774;
    --paper: #f5f6f1;
    --surface: #ffffff;
    --line: #dce4df;
    --accent: #d05d42;
    --accent-dark: #a94430;
    --green: #25675d;
    --green-light: #e8f0e9;
    --shadow: 0 18px 48px rgba(23, 43, 42, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', sans-serif; line-height: 1.65; }
body, button, input, textarea { font-family: 'DM Sans', sans-serif; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button, input, textarea { font-size: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #df795f; outline-offset: 4px; }
::selection { color: white; background: var(--green); }

.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-160%); background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(100% - 56px, 1160px); margin-inline: auto; }
.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid rgba(220, 228, 223, 0.85); background: rgba(245, 246, 241, 0.94); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: min(100% - 56px, 1160px); min-height: 78px; margin-inline: auto; }
.logo { color: var(--ink); font-family: 'Manrope', sans-serif; font-size: 20px; font-weight: 800; text-decoration: none; }
.logo span, .hero-period { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { position: relative; padding: 8px 0; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; transition: color 180ms ease; }
.site-nav a::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--accent); content: ''; transition: transform 180ms ease; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(300px, 0.87fr); align-items: center; gap: 86px; min-height: 630px; padding-block: 76px 88px; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 18px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 1.25px; text-transform: uppercase; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin: 0 7px 1px 0; border-radius: 50%; background: #62a176; box-shadow: 0 0 0 4px rgba(98, 161, 118, 0.13); }
h1, h2, h3 { margin-top: 0; font-family: 'Manrope', sans-serif; font-weight: 700; line-height: 1.12; }
h1 { max-width: 700px; margin-bottom: 12px; font-size: 68px; letter-spacing: 0; }
h2 { margin-bottom: 17px; font-size: 38px; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 22px; letter-spacing: 0; }
.hero-title { margin: 0 0 20px; color: var(--ink-soft); font-size: 18px; font-weight: 600; }
.hero-title span { padding-inline: 5px; color: var(--accent); }
.lede { max-width: 590px; margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 21px; border: 1px solid var(--accent); border-radius: 5px; background: var(--accent); color: white; font-weight: 700; text-decoration: none; transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-2px); background: var(--accent-dark); box-shadow: 0 8px 18px rgba(169, 68, 48, 0.18); }
.button.secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--surface); box-shadow: 0 8px 18px rgba(23, 43, 42, 0.08); }
.hero-visual { justify-self: end; width: min(100%, 390px); }
.hero-portrait { position: relative; padding: 0 20px 20px 0; }
.hero-portrait::after { position: absolute; z-index: -1; inset: 22px 0 0 22px; border: 1px solid var(--accent); content: ''; }
.hero-portrait img, .about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #d7e0d9; }
.portrait-caption { display: block; margin-top: 14px; color: var(--muted); font-size: 13px; }
.hero-socials { display: flex; gap: 22px; margin-top: 32px; }
.hero-socials a, .text-link { color: var(--green); font-size: 14px; font-weight: 700; text-decoration: none; }
.hero-socials a:hover, .text-link:hover { color: var(--accent-dark); }

.section { padding-block: 88px; }
.intro-band, .detail-section, .video-section { background: var(--surface); }
.intro-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 56px; }
.intro-grid > .eyebrow { padding-top: 9px; }
.intro-grid > div { max-width: 720px; }
.intro-grid p:not(.eyebrow) { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 35px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p:not(.eyebrow) { color: var(--muted); }
.featured-project { display: grid; grid-template-columns: 1.08fr 0.92fr; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.project-placeholder, .project-art { display: flex; position: relative; min-height: 300px; align-items: center; justify-content: center; overflow: hidden; background-color: #dce8dd; background-image: linear-gradient(rgba(37, 103, 93, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 103, 93, 0.07) 1px, transparent 1px); background-size: 28px 28px; color: var(--green); }
.project-placeholder > span { font-family: 'Manrope', sans-serif; font-size: 86px; font-weight: 800; }
.placeholder-mark, .project-art-mark span { color: var(--accent); }
.project-placeholder small, .project-art-label { position: absolute; right: 22px; bottom: 18px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.4px; }
.featured-copy { align-self: center; padding: 44px; }
.featured-copy p:not(.eyebrow) { color: var(--muted); }
.featured-copy .eyebrow { margin-bottom: 12px; }
.media-block { display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 64px; }
.media-block .section-heading { display: block; margin: 0; }
.media-block video { width: 100%; max-height: 430px; border: 7px solid var(--ink); border-radius: 5px; background: var(--ink); object-fit: contain; }
.cta-section { display: flex; align-items: center; justify-content: space-between; gap: 38px; margin-block: 80px; padding: 52px 56px; border-radius: 6px; background: var(--ink); color: white; }
.cta-section .eyebrow { color: #a8cbbb; }
.cta-section h2 { max-width: 680px; margin-bottom: 10px; font-size: 34px; }
.cta-section p:not(.eyebrow) { max-width: 640px; margin: 0; color: #c3d0c9; }
.button-light { flex: 0 0 auto; border-color: #f1f3ed; background: #f1f3ed; color: var(--ink); }
.button-light:hover { border-color: white; background: white; color: var(--ink); }
.outline-light { border-color: rgba(255,255,255,.38); background: transparent; color: white; }
.outline-light:hover { border-color: white; background: rgba(255,255,255,.09); color: white; }

.page-intro { padding-block: 76px 55px; border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 810px; font-size: 54px; }
.page-intro .lede { max-width: 690px; margin-bottom: 0; }
.about-grid { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); align-items: center; gap: 90px; }
.about-portrait { width: min(100%, 360px); }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 16px; }
.about-copy .text-link { margin-top: 14px; }
.detail-section .section-heading { display: block; max-width: 650px; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.journey-card { min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.card-kicker { display: block; margin-bottom: 25px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.journey-card p, .muted-copy { color: var(--muted); }
.interests-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 72px; }
.interests-layout h2 { max-width: 390px; }
.interest-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.interest-list li { padding: 17px 19px; border-left: 3px solid var(--accent); background: var(--surface); font-weight: 600; }

.projects-section { padding-top: 60px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); box-shadow: 0 8px 24px rgba(23, 43, 42, 0.04); transition: transform 200ms ease, box-shadow 200ms ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-art { min-height: 245px; }
.project-art-mark { font-family: 'Manrope', sans-serif; font-size: 76px; font-weight: 800; }
.project-art-empty { border-bottom: 1px dashed #aabbb0; background-color: #edf0ec; background-image: linear-gradient(rgba(23, 43, 42, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 43, 42, 0.04) 1px, transparent 1px); color: var(--muted); }
.project-art-empty span { padding: 9px 13px; border: 1px dashed #9baaa0; background: rgba(255,255,255,.65); font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.project-content { padding: 27px; }
.project-content .card-kicker { margin-bottom: 13px; }
.project-content h2 { margin-bottom: 10px; font-size: 24px; }
.project-content > p:not(.card-kicker) { min-height: 54px; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; padding: 0; list-style: none; }
.tag-list li { padding: 5px 9px; border-radius: 3px; background: var(--green-light); color: var(--green); font-size: 12px; font-weight: 700; }
.project-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.small-button { min-height: 39px; padding-inline: 13px; font-size: 13px; }
.is-disabled { border-color: var(--line); background: #f1f2ee; color: #79827e; cursor: default; font-size: 11px; }
.is-disabled:hover { transform: none; background: #f1f2ee; box-shadow: none; }

.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: 72px; }
.contact-aside h2 { font-size: 34px; }
.contact-details { display: grid; gap: 0; margin-block: 28px; border-top: 1px solid var(--line); }
.contact-item { padding: 17px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.contact-label { display: block; margin-bottom: 3px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.contact-item > a, .contact-item > span:last-child { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-item > a:hover, .social-links a:hover { color: var(--accent-dark); }
.social-links { display: flex; flex-wrap: wrap; gap: 18px; }
.social-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.whatsapp-button { margin-top: 6px; }
.form-panel { padding: 34px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); box-shadow: 0 12px 32px rgba(23, 43, 42, 0.05); }
.form-panel h2 { margin-bottom: 8px; font-size: 28px; }
.form-note { margin: 0 0 24px; color: var(--muted); font-size: 13px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 7px; margin-bottom: 17px; }
.form-field label { font-size: 13px; font-weight: 700; }
.form-field input, .form-field textarea { width: 100%; min-height: 47px; padding: 11px 13px; border: 1px solid #cdd8d1; border-radius: 4px; background: #fcfdfb; color: var(--ink); }
.form-field textarea { min-height: 136px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--green); outline: 2px solid rgba(37, 103, 93, .15); }
.form-field [aria-invalid='true'] { border-color: #bb3c2b; }
.field-error { min-height: 0; color: #a42b20; font-size: 12px; }
.field-error:not(:empty) { min-height: 17px; }
.submit-button { cursor: pointer; }
.form-status { min-height: 24px; margin: 12px 0 0; color: var(--green); font-size: 13px; font-weight: 600; }

.site-footer { margin-top: 72px; padding-top: 52px; background: #e9ede7; color: var(--muted); }
.footer-main { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 60px; padding-bottom: 42px; }
.footer-brand p { max-width: 330px; margin: 12px 0 0; font-size: 14px; }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column h2 { margin: 0 0 7px; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.footer-column a { width: fit-content; color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-column a:hover, .back-to-top:hover { color: var(--accent-dark); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; border-top: 1px solid #d3dcd5; font-size: 12px; }
.back-to-top { color: var(--ink); font-weight: 700; text-decoration: none; }

.js-ready [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 550ms ease, transform 550ms ease; }
.js-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
    .container, .header-inner { width: min(100% - 40px, 1160px); }
    .hero { grid-template-columns: minmax(0, 1.1fr) minmax(240px, .9fr); gap: 42px; min-height: 570px; }
    h1 { font-size: 56px; }
    .page-intro h1 { font-size: 46px; }
    .about-grid { gap: 46px; }
    .contact-layout { gap: 38px; }
    .footer-main { gap: 35px; }
    .cta-section { padding: 42px; }
}

@media (max-width: 640px) {
    html { scroll-padding-top: 72px; }
    .container, .header-inner { width: min(100% - 36px, 1160px); }
    .header-inner { min-height: 68px; }
    .menu-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; }
    .menu-toggle span { display: block; width: 19px; height: 2px; background: currentColor; transition: transform 180ms ease; }
    .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
    .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; gap: 0; padding: 8px 18px 16px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 14px 22px rgba(23,43,42,.08); }
    .site-nav.is-open { display: grid; }
    .site-nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); }
    .site-nav a:last-child { border-bottom: 0; }
    .site-nav a::after { display: none; }
    .hero { grid-template-columns: 1fr; gap: 40px; min-height: auto; padding-block: 56px 72px; }
    h1 { font-size: 50px; }
    h2 { font-size: 32px; }
    .hero-title { max-width: 440px; font-size: 16px; }
    .hero-title span { padding-inline: 2px; }
    .hero-visual { justify-self: start; width: min(83%, 330px); }
    .hero-socials { margin-top: 25px; }
    .section { padding-block: 68px; }
    .intro-grid, .media-block, .about-grid, .journey-grid, .interests-layout, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
    .intro-grid { gap: 8px; }
    .intro-grid h2 { max-width: 580px; }
    .section-heading { align-items: start; flex-direction: column; gap: 12px; }
    .featured-project { grid-template-columns: 1fr; }
    .project-placeholder { min-height: 230px; }
    .featured-copy { padding: 27px; }
    .media-block { gap: 30px; }
    .page-intro { padding-block: 58px 40px; }
    .page-intro h1 { font-size: 40px; }
    .about-portrait { width: min(82%, 330px); }
    .journey-grid { gap: 12px; }
    .journey-card { min-height: 0; }
    .card-kicker { margin-bottom: 18px; }
    .interests-layout { gap: 15px; }
    .interest-list { gap: 8px; }
    .interest-list li { padding: 14px 12px; font-size: 14px; }
    .project-grid { grid-template-columns: 1fr; }
    .project-art { min-height: 220px; }
    .project-content { padding: 23px; }
    .project-content > p:not(.card-kicker) { min-height: 0; }
    .contact-layout { gap: 42px; }
    .form-panel { padding: 24px 19px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .cta-section { align-items: flex-start; flex-direction: column; gap: 24px; margin-block: 54px; padding: 31px 24px; }
    .cta-section h2 { font-size: 29px; }
    .site-footer { margin-top: 52px; padding-top: 38px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-bottom: 30px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .js-ready [data-reveal] { opacity: 1; transform: none; }
}
