@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Mono:wght@400;500&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --green: #1f3d34;
  --green-deep: #142d3f;
  --green-soft: #2c5347;
  --paper: #faf6ec;
  --paper-warm: #f6efe1;
  --paper-deep: #e8dfcf;
  --ink: #2b2620;
  --muted: #6b6255;
  --coral: #d6483c;
  --coral-soft: #f2c2a8;
  --mustard: #e3a93b;
  --line: rgba(43, 38, 32, .14);
  --line-light: rgba(250, 246, 236, .2);
  --shadow: 0 18px 45px rgba(31, 61, 52, .13);
  --display: 'Fraunces', Georgia, serif;
  --body: 'DM Sans', Arial, sans-serif;
  --mono: 'DM Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
h1, h2, h3, h4, h5, p { margin-top: 0; }
h1, h2, h3, h4, .font-display { font-family: var(--display); font-weight: 600; letter-spacing: 0; }
h1 { font-size: clamp(2.55rem, 5vw, 5.2rem); line-height: .96; }
h2 { font-size: clamp(2.05rem, 3.5vw, 3.55rem); line-height: 1; }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.08; }
.site-shell { overflow: clip; }
.eyebrow { color: var(--coral); font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.muted { color: var(--muted); }
.text-green { color: var(--green); }
.text-mustard { color: var(--mustard); }
.text-paper { color: var(--paper); }
.text-coral { color: var(--coral); }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-tight { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.section-paper { background: var(--paper); }
.section-warm { background: var(--paper-warm); }
.section-deep { background: var(--green); color: var(--paper); }
.section-blue { background: var(--green-deep); color: var(--paper); }
.section-coral { background: var(--coral); color: #fffaf0; }
.container { max-width: 1180px; }
.max-copy { max-width: 640px; }

:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
section[id] { scroll-margin-top: 92px; }

/* Shared site chrome */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(43, 38, 32, .12); background: rgba(250, 246, 236, .94); backdrop-filter: blur(14px); }
.site-header .navbar { padding: 1rem 0; }
.brand-lockup { display: inline-flex; align-items: center; gap: .7rem; }
.site-logo { width: 3.35rem; height: 3.35rem; flex: 0 0 auto; border: 1px solid rgba(31, 61, 52, .22); border-radius: .7rem; object-fit: contain; }
.brand-mark { display: grid; width: 3.35rem; height: 3.35rem; place-items: center; border: 1px solid rgba(31, 61, 52, .22); border-radius: .7rem; background: url('../assets/logo.jpeg') center / contain no-repeat; color: transparent; font-size: 0; }
.brand-copy { display: grid; line-height: 1; }
.brand-kicker { color: var(--green); font-size: .62rem; font-weight: 700; letter-spacing: .18em; }
.brand-name { color: var(--coral); font-family: var(--display); font-size: 1.25rem; letter-spacing: .02em; }
.nav-link { position: relative; margin: 0 .3rem; color: #443c33 !important; font-size: .84rem; font-weight: 500; }
.nav-link::after { position: absolute; right: 100%; bottom: .15rem; left: 0; height: 1px; background: currentColor; content: ''; transition: right .22s ease; }
.nav-link:hover::after, .nav-link.active::after { right: 0; }
.nav-link.active { color: var(--green) !important; font-weight: 700; }
.navbar-toggler { border: 1px solid rgba(31, 61, 52, .25); border-radius: 50%; padding: .45rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { width: 1.1rem; height: 1.1rem; }
.btn { border-radius: 999px; font-weight: 700; }
.btn-coral { border: 1px solid var(--coral); background: var(--coral); color: #fffaf0; padding: .65rem 1.1rem; font-size: .88rem; }
.btn-coral:hover, .btn-coral:focus-visible { border-color: #b93830; background: #b93830; color: #fffaf0; }
.btn-mustard { border: 1px solid var(--mustard); background: var(--mustard); color: var(--green); padding: .65rem 1.1rem; font-size: .88rem; }
.btn-mustard:hover, .btn-mustard:focus-visible { border-color: #f1c65d; background: #f1c65d; color: var(--green); }
.btn-outline-paper { border: 1px solid rgba(250, 246, 236, .55); color: var(--paper); padding: .65rem 1.1rem; font-size: .88rem; }
.btn-outline-paper:hover, .btn-outline-paper:focus-visible { border-color: var(--paper); background: rgba(250, 246, 236, .1); color: var(--paper); }
.btn-outline-green { border: 1px solid var(--green); color: var(--green); padding: .6rem 1.05rem; font-size: .88rem; }
.btn-outline-green:hover, .btn-outline-green:focus-visible { background: var(--green); color: var(--paper); }
.line-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--green); font-size: .9rem; font-weight: 700; }
.line-link span { border-bottom: 2px solid var(--mustard); }
.line-link:hover { color: var(--coral); }

/* Hero and image framing */
.home-hero { background: var(--paper-warm); padding: clamp(3.5rem, 6vw, 5.75rem) 0 clamp(4rem, 6vw, 5.75rem); }
.home-hero h1, .page-hero h1 { margin-bottom: 1.5rem; color: var(--green); }
.hero-lede { max-width: 590px; color: var(--muted); font-size: .98rem; line-height: 1.65; }
.hero-visual { position: relative; max-width: 540px; margin-left: auto; }
.hero-visual-main { overflow: hidden; aspect-ratio: 1 / .9; border-radius: 1.25rem 5rem 1.25rem 1.25rem; background: var(--green); box-shadow: 14px 14px 0 var(--coral); }
.hero-visual-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-note { position: absolute; right: -1.1rem; bottom: -1rem; max-width: 230px; padding: 1rem 1.1rem; border: 1px solid rgba(31, 61, 52, .15); background: var(--paper); box-shadow: var(--shadow); }
.hero-note strong { display: block; color: var(--green); font-family: var(--display); font-size: 1.35rem; line-height: 1.1; }
.portrait-frame { overflow: hidden; border-radius: 1.2rem 4.5rem 1.2rem 1.2rem; background: var(--paper-deep); box-shadow: 14px 14px 0 var(--coral); }
.portrait-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; }
.photo-frame { overflow: hidden; border-radius: 1.1rem; background: var(--paper-deep); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.illustration-frame { overflow: hidden; border-radius: 1.1rem; background: var(--paper); }
.illustration-frame img { width: 100%; height: auto; }
.polaroid { width: 130px; padding: .35rem .35rem .85rem; border: 1px solid rgba(43, 38, 32, .13); background: var(--paper); box-shadow: var(--shadow); transform: rotate(-4deg); }
.polaroid img { aspect-ratio: 3 / 4; object-fit: cover; }

/* Editorial sections and repeated blocks */
.section-heading { max-width: 660px; }
.section-heading h2 { margin: .9rem 0 1rem; color: var(--green); }
.section-deep .section-heading h2, .section-blue .section-heading h2 { color: var(--paper); }
.section-heading p:last-child { max-width: 620px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.section-deep .section-heading p:last-child, .section-blue .section-heading p:last-child { color: #d8dfd7; }
.path-card { height: 100%; overflow: hidden; border: 1px solid rgba(43, 38, 32, .12); background: #fffaf0; transition: transform .25s ease, box-shadow .25s ease; }
.path-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.path-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--green); }
.path-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.path-card:hover .path-card-media img { transform: scale(1.04); }
.path-card-body { display: flex; min-height: 190px; flex-direction: column; padding: 1.35rem; }
.path-card-body h3 { margin-bottom: .7rem; color: var(--green); font-size: 1.45rem; }
.path-card-body p { margin-bottom: auto; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.path-tag { position: absolute; top: 1rem; left: 1rem; padding: .3rem .65rem; background: var(--paper); color: var(--green); font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.method-step { height: 100%; border-top: 1px solid var(--line-light); padding: 1.1rem 0; }
.method-step .step-number { color: var(--mustard); font-family: var(--mono); font-size: .72rem; }
.method-step h3 { margin: .75rem 0 .5rem; color: var(--paper); font-size: 1.25rem; }
.method-step p { margin-bottom: 0; color: #d8dfd7; font-size: .9rem; line-height: 1.65; }
.achievement { display: flex; gap: .85rem; height: 100%; border-top: 1px solid var(--line); padding-top: 1rem; }
.achievement i { color: var(--coral); font-size: 1.25rem; }
.achievement h4 { margin: 0 0 .25rem; color: var(--green); font-family: var(--body); font-size: .95rem; font-weight: 700; }
.achievement p { margin: 0; color: var(--muted); font-size: .82rem; }
.quote { height: 100%; border-top: 2px solid var(--coral); padding-top: 1.25rem; }
.quote p { margin-bottom: 1rem; color: var(--green); font-family: var(--display); font-size: 1.45rem; line-height: 1.15; }
.quote small { color: var(--muted); font-family: var(--mono); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.cta-band { margin: clamp(2rem, 5vw, 5rem) auto; max-width: 1180px; background: var(--coral); color: #fffaf0; padding: clamp(2.75rem, 6vw, 5rem); }
.cta-band h2 { max-width: 700px; margin-bottom: 1.2rem; color: #fffaf0; }
.cta-band p { max-width: 580px; color: #ffe8d3; }

/* Detail pages */
.page-hero { padding: clamp(3.5rem, 6vw, 5.75rem) 0; }
.page-hero-dark { background: var(--green); color: var(--paper); }
.page-hero-blue { background: var(--green-deep); color: var(--paper); }
.page-hero-dark h1, .page-hero-blue h1 { color: var(--paper); }
.page-hero-dark .hero-lede, .page-hero-blue .hero-lede { color: #d8dfd7; }
.page-hero-visual { position: relative; max-width: 500px; margin-left: auto; }
.page-hero-visual .polaroid { position: absolute; bottom: -1.5rem; left: -1.5rem; }
.skill-card { height: 100%; border: 1px solid rgba(43, 38, 32, .12); background: #fffaf0; padding: 1.35rem; }
.skill-card .number { color: var(--coral); font-family: var(--mono); font-size: .72rem; }
.skill-card p { margin: 1.2rem 0 0; color: var(--green); font-size: .92rem; font-weight: 700; line-height: 1.5; }
.process-item { display: flex; gap: 1rem; border-top: 1px solid var(--line); padding: 1.15rem 0; }
.process-item .number { flex: 0 0 2rem; color: var(--coral); font-family: var(--mono); font-size: .73rem; }
.process-item h3 { margin-bottom: .35rem; color: var(--green); font-size: 1.45rem; }
.process-item p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.fit-panel { height: 100%; background: var(--green); color: var(--paper); padding: clamp(1.5rem, 4vw, 2.5rem); }
.fit-panel h2 { color: var(--paper); font-size: clamp(1.8rem, 3vw, 2.8rem); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: .7rem; margin-bottom: .8rem; color: #d8dfd7; font-size: .9rem; line-height: 1.55; }
.check-list i { flex: 0 0 auto; color: var(--mustard); }
.section-paper .check-list li, .section-warm .check-list li { color: var(--muted); }
.section-paper .check-list i, .section-warm .check-list i { color: var(--coral); }
.section-deep .skill-card p, .section-blue .skill-card p { color: #d8dfd7; }
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; border: 0; background: transparent; padding: 1.15rem 0; color: var(--green); font-size: .96rem; font-weight: 700; text-align: left; }
.faq-item button::after { color: var(--coral); content: '+'; font-family: var(--mono); font-size: 1.25rem; }
.faq-item button[aria-expanded='true']::after { content: '-'; }
.faq-answer { max-width: 660px; padding: 0 2rem 1.1rem 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* Footer and utilities */
.site-footer { background: var(--green); color: var(--paper); padding: 4.5rem 0 1.25rem; }
.site-footer .brand-mark { border-color: rgba(250, 246, 236, .5); color: var(--paper); }
.site-footer .brand-kicker, .site-footer .brand-name { color: var(--paper); }
.site-footer .brand-name { color: var(--mustard); }
.footer-title { color: var(--mustard); font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-links { display: grid; gap: .65rem; margin: 1rem 0 0; padding: 0; list-style: none; color: #d8dfd7; font-size: .88rem; }
.footer-links a:hover { color: var(--paper); }
.footer-tagline { max-width: 360px; color: var(--paper-warm); font-family: var(--display); font-size: 1.55rem; line-height: 1.1; }
.footer-note { max-width: 360px; color: #b7c7bd; font-size: .86rem; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line-light); margin-top: 3rem; padding-top: 1rem; color: #b7c7bd; font-size: .72rem; }
#backToTop { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 25; display: grid; width: 3.35rem; height: 3.35rem; place-items: center; border: 0; border-radius: 50%; background: var(--green); color: var(--paper); box-shadow: 0 10px 30px rgba(31, 61, 52, .24); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
#backToTop.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.whatsapp-fab { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 20; display: grid; width: 3.35rem; height: 3.35rem; place-items: center; border-radius: 50%; background: var(--coral); color: #fffaf0; box-shadow: 0 10px 30px rgba(214, 72, 60, .28); }
.whatsapp-fab:hover { background: #b93830; color: #fffaf0; transform: translateY(-2px); }

@media (max-width: 991.98px) {
  .site-header .navbar-collapse { border-top: 1px solid rgba(43, 38, 32, .12); margin-top: 1rem; padding-top: .75rem; }
  .nav-link { margin: .25rem 0; padding: .55rem .25rem !important; }
  .nav-link::after { bottom: .35rem; }
  .hero-note { right: .5rem; }
}

@media (max-width: 575.98px) {
  h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .home-hero, .page-hero { padding-top: 3.75rem; }
  .hero-visual { margin-top: 1.25rem; padding-right: .45rem; }
  .hero-note { position: relative; right: auto; bottom: auto; max-width: none; margin: 1rem 0 0; }
  .hero-visual-main { box-shadow: 8px 8px 0 var(--coral); }
  .page-hero-visual .polaroid { right: .25rem; bottom: -2rem; left: auto; }
  .cta-band { margin-right: .75rem; margin-left: .75rem; padding: 2.2rem 1.35rem; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-fab { bottom: 1rem; left: 1rem; right: auto; }
  #backToTop { right: 1rem; bottom: 1rem; }
}

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