:root {
  color-scheme: light;
  --green: #4a5a3f;
  --green-dark: #31412d;
  --beige: #e9dfcf;
  --cream: #f6f1e8;
  --ink: #2e2a25;
  --blue: #1d4ed8;
  --yellow: #f5b800;
  --white: #fffdf9;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; padding-top: 80px; min-width: 320px; color: var(--ink); background: var(--cream); font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.container { width: min(100% - 48px, 1180px); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 128px); }
.eyebrow { margin: 0 0 20px; color: var(--green-dark); font-size: .73rem; font-weight: 800; letter-spacing: .16em; line-height: 1.4; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.045em; }
h1, h2 { font-weight: 800; }
h2 { margin-bottom: 0; font-size: clamp(2.65rem, 5.2vw, 5rem); }
em { font-family: Georgia, serif; font-weight: 400; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 13px 22px; border: 2px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; text-align: center; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.button:hover, .social-link:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: var(--green-dark); }
.button-primary:hover { background: #263722; }
.button-outline { border-color: var(--green-dark); color: var(--green-dark); }
.button-outline:hover { background: var(--beige); }

.site-header { position: fixed; z-index: 20; top: 0; right: 0; left: 0; border-bottom: 1px solid rgba(46,42,37,.12); background: var(--cream); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 20px; }
.brand { display: inline-flex; flex: none; align-items: center; }
.brand img { width: 150px; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 38px); }
.site-nav a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-nav .nav-contact { padding: 10px 17px; border: 1px solid var(--green-dark); border-radius: 999px; }
.menu-toggle { display: none; }

.hero { overflow: hidden; padding-block: clamp(38px, 5vw, 72px) clamp(72px, 8vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center; gap: clamp(30px, 5vw, 72px); }
.hero-copy { padding-block: 20px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.hero h1 { max-width: 680px; margin-bottom: 24px; font-size: clamp(3.4rem, 5.7vw, 5.7rem); }
.hero h1 em { color: var(--green); }
.hero-lead { max-width: 480px; margin: 0 0 32px; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 28px 0 0; color: #555044; font-size: .85rem; }
.hero-media { position: relative; min-width: 0; padding: 0 20px 22px 0; }
.hero-image-wrap { overflow: hidden; aspect-ratio: 1 / 1; border-radius: 40% 40% 25px 25px; background: var(--beige); box-shadow: 20px 22px 0 var(--beige); }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.media-sticker { position: absolute; right: -13px; bottom: -18px; display: grid; place-items: center; width: 116px; height: 116px; border: 5px solid var(--cream); border-radius: 50%; color: var(--ink); background: var(--yellow); font-size: .95rem; font-weight: 800; line-height: 1.12; text-align: center; transform: rotate(12deg); }

.project-section { background: var(--beige); }
.project-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.project-intro h2 em, .ventures-section h2 em { color: var(--green); }
.project-copy p { margin: 0 0 18px; font-size: 1.1rem; line-height: 1.7; }
.project-copy p:last-child { margin-bottom: 0; }
.audience-band { margin-top: 52px; padding: 30px 34px; border-left: 6px solid var(--yellow); border-radius: var(--radius); background: var(--white); }
.audience-band h3 { margin-bottom: 12px; font-size: 1.6rem; }
.audience-band p { max-width: 72ch; margin: 0; font-size: 1.1rem; line-height: 1.7; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.pillar-card { min-width: 0; padding: 28px; border-radius: var(--radius); background: var(--cream); }
.pillar-symbol { display: block; margin-bottom: 30px; color: var(--green); font-size: 2.5rem; line-height: 1; }
.pillar-card h3 { margin-bottom: 12px; font-size: 1.45rem; }
.pillar-card p { margin: 0; }
.process-band { margin-top: 22px; padding: 30px; border-radius: var(--radius); color: #fff; background: var(--green-dark); }
.process-band h3 { margin-bottom: 26px; font-size: 1.6rem; }
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.process-steps li { min-width: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.38); }
.process-steps strong { color: var(--yellow); font-size: 1.05rem; }
.process-steps p { margin: 8px 0 0; font-size: .94rem; }
.ventures-section { background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading > p { max-width: 360px; margin: 0 0 5px; font-size: 1.06rem; }
.ventures-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.venture-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); overflow: hidden; min-width: 0; min-height: 330px; border-radius: var(--radius); background: var(--beige); }
.venture-media { min-width: 0; min-height: 100%; background: var(--beige); }
.venture-media img { width: 100%; height: 100%; object-fit: cover; }
.venture-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(22px, 3vw, 34px); }
.venture-subtitle { margin: 0 0 12px; color: var(--green-dark); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.venture-copy h3 { margin-bottom: 15px; font-size: clamp(1.55rem, 2.4vw, 2.15rem); }
.venture-copy > p:not(.venture-subtitle) { margin: 0 0 24px; line-height: 1.6; }
.venture-copy a { margin-top: auto; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.venture-copy a span { margin-left: 8px; }
.idea-card { color: #fff; background: var(--green-dark); }
.idea-card .venture-subtitle { color: #dfebd6; }
.idea-illustration { display: grid; place-items: center; color: var(--yellow); background: var(--green); font-size: clamp(5rem, 10vw, 9rem); line-height: 1; }
.venture-badge { display: inline-flex; margin-top: auto; padding: 9px 14px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; font-size: .82rem; font-weight: 800; }
.store-card { color: var(--ink); background: var(--beige); }
.store-card .venture-subtitle { color: var(--green-dark); }
.store-card .idea-illustration { color: var(--ink); background: var(--yellow); }
.about-section { color: #fff; background: var(--green); }
.about-section .eyebrow { color: #e6efd9; }
.about-section h2 { font-size: clamp(2.6rem, 5.5vw, 5.5rem); }
.about-section h2 em { color: var(--yellow); }
.bios-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 50px; }
.about-lead { max-width: 640px; margin: 28px 0 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; }
.bio-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.bio-header { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.bio-header > div { min-width: 0; }
.bio-photo { flex: none; width: 70px; height: 70px; border: 3px solid var(--yellow); border-radius: 50%; object-fit: cover; background: var(--beige); }
.bio-initials { display: grid; flex: none; place-items: center; width: 70px; height: 70px; border-radius: 50%; color: var(--ink); background: var(--yellow); font-weight: 800; font-size: 1.2rem; }
.bio-header h3 { margin-bottom: 5px; font-size: 1.55rem; }
.bio-role { margin: 0; color: #e6efd9; font-size: .9rem; }
.bio-card > p { margin: 0 0 28px; line-height: 1.7; }
.bio-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: auto; }
.bio-links a { font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.bio-links a span { margin-left: 5px; }

.social-section { border-bottom: 1px solid rgba(46,42,37,.13); }
.social-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.social-inner h2 { max-width: 650px; }
.social-inner h2 em { color: var(--green); }
.social-links { display: flex; flex: none; flex-wrap: wrap; gap: 10px; max-width: 440px; }
.social-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-width: 130px; padding: 13px 17px; border: 1px solid var(--green-dark); border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .2s ease; }
.coming-soon { margin: 0; padding: 16px 24px; border: 1px solid var(--green); border-radius: 999px; color: var(--green-dark); font-weight: 800; }
.insta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 42px; }
.insta-card { position: relative; display: block; overflow: hidden; min-width: 0; aspect-ratio: 9 / 14; border-radius: var(--radius); color: #fff; background: var(--beige); text-decoration: none; }
.insta-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.insta-card:hover img { transform: scale(1.03); }
.insta-caption { position: absolute; right: 0; bottom: 0; left: 0; display: block; padding: 42px 18px 18px; background: linear-gradient(transparent, rgba(30,26,46,.85)); font-weight: 800; line-height: 1.3; }
.insta-caption small { display: block; margin-bottom: 4px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.coming-soon span { margin-left: 14px; color: var(--blue); }

.contact-section { color: #fff; background: var(--green-dark); text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-section .eyebrow { color: #dfead6; }
.contact-section h2 { max-width: 900px; }
.contact-section h2 em { color: var(--yellow); }
.contact-inner > p:not(.eyebrow) { max-width: 490px; margin: 24px 0 30px; font-size: 1.1rem; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 26px; }
.button-yellow { color: var(--ink); background: var(--yellow); }
.button-yellow:hover { background: #ffd04b; }
.contact-email { color: #fff; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.contact-email span { margin-left: 8px; }
.site-footer { padding-block: 28px; color: #fff; background: #263722; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner img { width: 140px; height: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.site-footer a { font-size: .83rem; text-decoration: none; }
.site-footer small { white-space: nowrap; font-size: .78rem; }

@media (max-width: 980px) {
  .project-intro { grid-template-columns: 1fr; gap: 26px; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venture-card { grid-template-columns: 1fr; }
  .venture-media { min-height: 240px; max-height: 280px; }
  .footer-inner { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 76px; }
  body { padding-top: 68px; }
  .container { width: min(100% - 32px, 1180px); }
  .header-inner { min-height: 68px; }
  .brand img { width: 124px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--green-dark); border-radius: 50%; color: var(--green-dark); background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
  .site-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 20px; border-bottom: 1px solid rgba(46,42,37,.12); background: var(--cream); box-shadow: 0 12px 22px rgba(46,42,37,.1); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 8px; }
  .site-nav .nav-contact { margin-top: 5px; padding: 12px; text-align: center; }
  .hero { padding-block: 34px 82px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { padding: 0; }
  .hero h1 { margin-bottom: 18px; font-size: clamp(3.25rem, 12vw, 5rem); }
  .hero-lead { margin-bottom: 24px; }
  .hero-note { margin-top: 20px; }
  .hero-media { width: min(100% - 12px, 500px); margin-inline: auto; }
  .media-sticker { right: -8px; bottom: -22px; width: 90px; height: 90px; font-size: .73rem; }
  .insta-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .insta-card { scroll-snap-align: start; }
  .section-heading, .social-inner { align-items: start; flex-direction: column; gap: 18px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading > p { max-width: 550px; }
  .audience-band { margin-top: 38px; }
  .pillars-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
  .pillar-symbol { margin-bottom: 18px; }
  .ventures-grid, .bios-grid { grid-template-columns: 1fr; }
  .venture-card { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); min-height: 300px; }
  .venture-media { max-height: none; }
  .social-links { flex: auto; }
}

@media (max-width: 520px) {
  .section { padding-block: 72px; }
  .process-band, .audience-band { padding: 24px; }
  .process-steps { grid-template-columns: 1fr; gap: 18px; }
  .venture-card { grid-template-columns: 1fr; }
  .venture-media { min-height: 220px; max-height: 240px; }
  .venture-copy { min-height: 270px; }
  .bio-header { align-items: flex-start; }
  .bio-initials, .bio-photo { width: 58px; height: 58px; }
  .hero-actions .button { width: 100%; }
  .contact-actions { flex-direction: column; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .site-footer nav { gap: 12px 16px; }
}

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

/* Language and appearance controls */
.header-tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.language-switch { display: flex; align-items: center; gap: 5px; white-space: nowrap; font-size: .78rem; font-weight: 800; }
.language-switch a { padding: 5px 2px; text-decoration: none; }
.language-switch a[aria-current="true"] { color: var(--green-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.theme-toggle { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border: 1px solid var(--green-dark); border-radius: 50%; color: var(--green-dark); background: transparent; cursor: pointer; }
.theme-icon { font-size: 1.35rem; line-height: 1; }
.decor-toggle { border: 0; color: inherit; background: transparent; cursor: pointer; font-size: .8rem; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 721px) and (max-width: 1050px) { .header-inner { gap: 12px; } .site-nav { gap: 12px; } .site-nav a { font-size: .8rem; } .brand img { width: 125px; } }
@media (max-width: 720px) { .header-inner { gap: 8px; } .header-tools { gap: 6px; } .language-switch { font-size: .7rem; gap: 3px; } .theme-toggle { width: 32px; height: 32px; } .menu-toggle { flex: none; } }
@media (max-width: 380px) { .brand img { width: 100px; } .header-tools { gap: 4px; } }

/* Night palette. The media rule also covers visitors before JavaScript loads. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --green: #a6dcc8; --green-dark: #c9b6f2; --beige: #262038; --cream: #1e1a2e;
  --ink: #f7efe4; --blue: #c9b6f2; --yellow: #ffd66b; --white: #342c4d;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --green: #a6dcc8; --green-dark: #c9b6f2; --beige: #262038; --cream: #1e1a2e;
    --ink: #f7efe4; --blue: #c9b6f2; --yellow: #ffd66b; --white: #342c4d;
  }
}
:root[data-theme="dark"] body, :root:not([data-theme="light"]) body { background-color: var(--cream); }
:root[data-theme="dark"] .site-header, :root[data-theme="dark"] .site-nav { background: #1e1a2e; border-color: #4d4167; }
:root[data-theme="dark"] .brand img { content: url('img/logo-artlumi-branco.svg'); }
:root[data-theme="dark"] .hero, :root[data-theme="dark"] .ventures-section, :root[data-theme="dark"] .social-section { background-color: #1e1a2e; background-image: radial-gradient(circle, #c9b6f255 1px, transparent 2px), radial-gradient(circle, #ffd66b33 1px, transparent 2px); background-size: 117px 109px, 163px 151px; }
:root[data-theme="dark"] .project-section { background: #262038; }
:root[data-theme="dark"] .audience-band, :root[data-theme="dark"] .pillar-card, :root[data-theme="dark"] .venture-card:not(.idea-card), :root[data-theme="dark"] .bio-card { background: #342c4d; }
:root[data-theme="dark"] .venture-media { background: #2d2643; }
:root[data-theme="dark"] .process-band, :root[data-theme="dark"] .keycap-card, :root[data-theme="dark"] .contact-section { color: #f7efe4; background: #2d2643; }
:root[data-theme="dark"] .about-section { color: #f7efe4; background: #262038; }
:root[data-theme="dark"] .bio-role, :root[data-theme="dark"] .about-section .eyebrow, :root[data-theme="dark"] .contact-section .eyebrow, :root[data-theme="dark"] .idea-card .venture-subtitle { color: #cfc3dd; }
:root[data-theme="dark"] .hero-note { color: #cfc3dd; }
:root[data-theme="dark"] .button-primary { color: #1e1a2e; background: #c9b6f2; }
:root[data-theme="dark"] .button-primary:hover { background: #e0d3fa; }
:root[data-theme="dark"] .button-outline:hover { background: #342c4d; }
:root[data-theme="dark"] .store-card { color: #f7efe4; background: #342c4d; }
:root[data-theme="dark"] .store-card .idea-illustration { color: #1e1a2e; }
:root[data-theme="dark"] .idea-illustration { color: #ffd66b; background: #4b3c68; }
:root[data-theme="dark"] .media-sticker, :root[data-theme="dark"] .bio-initials, :root[data-theme="dark"] .button-yellow { color: #1e1a2e; }
:root[data-theme="dark"] .hero-image-wrap { box-shadow: 20px 22px 0 #342c4d; }
:root[data-theme="dark"] .site-footer { background: #181425; }
:root[data-theme="dark"] .contact-email { color: #f7efe4; }
:root[data-theme="dark"] .hero .eyebrow-dot { box-shadow: 0 0 16px #ffd66b; animation: star-glow 3s ease-in-out infinite alternate; }
@keyframes star-glow { to { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { :root[data-theme="dark"] .hero .eyebrow-dot { animation: none; } }

/* Seasonal detail next to the logo. Decorative only: no layout impact, one short animation on load. */
.brand { position: relative; }
.season-scene { position: absolute; top: 50%; left: calc(100% + 4px); width: 90px; height: 44px; color: #6f5b91; pointer-events: none; transform: translateY(-50%); }
.season-scene svg { display: block; width: 100%; height: 100%; overflow: visible; }
:root[data-theme="dark"] .season-scene { color: #c9b6f2; }
.season-scene .broom { transform-origin: 66px 29px; animation: broom-sweep .5s ease-in-out 4 alternate both; }
.season-scene .bulb, .season-scene .star { animation: scene-on .4s ease calc(var(--n) * .25s) both; }
@keyframes broom-sweep { from { transform: rotate(-10deg); } to { transform: rotate(14deg); } }
@keyframes scene-on { from { opacity: 0; } }
@media (max-width: 720px) { .season-scene { left: calc(100% + 2px); width: 60px; height: 29px; } }
@media (max-width: 400px) { .season-scene { width: 50px; height: 24px; } }
@media (prefers-reduced-motion: reduce) { .season-scene .broom, .season-scene .bulb, .season-scene .star { animation: none; } }
.hero, .section, .pillar-card, .venture-card { position: relative; }
