@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #fcfaf6;
  --soft: #f0eae0;
  --ink: #25201d;
  --muted: #595149;
  --wine: #741d29;
  --rose: #f0cbd0;
  --deep: #321d20;
  --sand: #f1dcc0;
  --line: #dbd1c2;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.55 var(--sans);
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[id] { scroll-margin-top: 1.5rem; }
:focus-visible { outline: 2px solid #9a4e4f; outline-offset: 4px; }
.hero :focus-visible, .footer :focus-visible { outline-color: var(--sand); }
.wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: 0; left: 1rem; transform: translateY(-120%); background: var(--paper); padding: .75rem; }
.skip:focus { transform: none; }
.topline { color: #f3e4d8; background: var(--deep); font-size: .72rem; }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 16px; }
.header { position: relative; z-index: 2; background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 28px; }
.brand { display: inline-block; flex: none; }
.brand img { width: 200px; height: auto; }
.header nav { display: flex; align-items: center; gap: clamp(20px, 3.3vw, 47px); }
.header nav a { text-decoration: none; font-size: .91rem; font-weight: 600; }
.header nav a:not(.button):hover, .header nav a[aria-current] { color: var(--wine); text-decoration: underline; text-underline-offset: 5px; }
.header nav .button { padding: 7px 8px 7px 18px; min-height: 46px; }
.menu-button { display: none; }

.hero { background: #211c1b; color: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(26px, 5.5vw, 78px); align-items: center; padding-block: clamp(52px, 7vw, 100px); }
.hero-visual { margin: 0; border-radius: 22px; overflow: hidden; background: var(--deep); }
.hero-image { width: 100%; aspect-ratio: 1.04; height: auto; object-fit: cover; object-position: 66% 50%; }
.eyebrow { font-size: .72rem; letter-spacing: .135em; text-transform: uppercase; font-weight: 700; color: var(--wine); }
.hero .eyebrow, .inner-hero .eyebrow { color: var(--rose); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; }
h1 { font-size: clamp(3.55rem, 7.4vw, 6.35rem); letter-spacing: -.022em; }
.hero h1 { margin-block: 18px 20px; font: 600 clamp(2.65rem, 5.45vw, 5.1rem)/.99 var(--sans); letter-spacing: -.06em; max-width: 690px; }
.hero-copy, .inner-description { max-width: 540px; font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: #f1e5d8; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; width: fit-content; min-height: 49px; background: var(--wine); color: #fff8f0; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font: 700 .89rem/1.35 var(--sans); padding: 12px 17px; }
.button:hover { background: #52212a; }
.hero .button-whatsapp { color: #3d1920; background: var(--rose); padding: 7px 7px 7px 18px; }
.hero .button-whatsapp:hover { background: #ffe4e6; }
.button-whatsapp span { display: grid; place-items: center; min-width: 32px; min-height: 32px; border-radius: 50%; background: #fff9f1; color: var(--wine); }
.hero .button-whatsapp span { background: var(--wine); color: #fff9f1; }
.button-outline { background: transparent; border-color: #a38c88; }
.button-outline:hover { background: #352d26; }
.button-secondary { background: transparent; color: var(--wine); border-color: #aa8c7f; }
.button-secondary:hover { background: var(--paper); }
.button span { font-size: 1.15rem; }
.mobile-whatsapp { display: none; }

.section { padding-block: clamp(50px, 7vw, 93px); }
.section-head h2 { margin-top: 9px; }
h2 { font-size: clamp(2.45rem, 5vw, 4.15rem); }
.section-intro { color: var(--muted); max-width: 620px; margin-top: 13px; }
.profile-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 25px 22px; }
.profile-controls button { color: var(--muted); background: transparent; padding: 8px 15px; min-height: 44px; border: 1px solid #cbbdb1; border-radius: 999px; font-size: .88rem; }
.profile-controls button:hover { background: var(--soft); }
.profile-controls button[aria-pressed="true"] { color: white; background: var(--wine); border-color: var(--wine); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.section-head + .cards { margin-top: 24px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; min-height: 195px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); padding: 21px 23px; transition: background .16s ease, border-color .16s ease; }
.profile-section .card:nth-child(1) { background: #f5e5e7; }
.profile-section .card:nth-child(2) { background: #f2e7d8; }
.profile-section .card:nth-child(3) { background: #efebe6; }
.card:hover { background: #f5efe5; border-color: #aa8c7f; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.arrow { color: var(--wine); font-size: 1.2rem; line-height: 1; }
.card h3 { font-size: clamp(1.82rem, 3vw, 2.38rem); margin-block: 18px 8px; }
.card p, .person p:not(.eyebrow) { color: var(--muted); }
.soft { background: var(--soft); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(28px, 7vw, 100px); align-items: start; }
.section-text { display: grid; gap: 15px; }
.section-text p { max-width: 560px; font-size: 1.12rem; }
.text-link { width: fit-content; display: block; color: var(--wine); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .26em; overflow-wrap: anywhere; }
.text-link:hover { color: var(--deep); }
.after-cards { margin-top: 21px; }

.inner-hero { background: var(--deep); color: var(--paper); padding-block: 26px clamp(50px, 8vw, 93px); }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; color: #f1e3d6; font-size: .82rem; margin-bottom: clamp(32px, 6vw, 63px); }
.crumb a { text-underline-offset: 3px; }
.inner-hero h1 { font-size: clamp(3.15rem, 7vw, 5.65rem); margin-block: 12px 16px; max-width: 960px; }
.inner-description { max-width: 660px; }
.topic-list { display: grid; gap: 21px; }
.topic-list article { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.topic-list h3 { font-size: clamp(1.72rem, 3.5vw, 2.35rem); margin-bottom: 9px; }
.topic-list p, details p { color: var(--muted); }
.questions details { border-top: 1px solid #ccbfad; }
.questions details:last-child { border-bottom: 1px solid #ccbfad; }
.questions summary { padding: 14px 0; min-height: 44px; font-weight: 600; cursor: pointer; }
.questions details p { padding-bottom: 15px; }
.source-note { color: var(--muted); font-size: .92rem; margin-top: 16px; }
.source-note a { color: var(--wine); }
.contact-band { padding-block: 36px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 19px; border-top: 1px solid var(--line); }
.contact-band h2 { font-size: clamp(2.25rem, 4vw, 3.3rem); margin-top: 4px; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.person img { width: 118px; height: 118px; object-fit: cover; border-radius: 50%; margin-bottom: 19px; }
.person h2 { font-size: clamp(2rem, 3vw, 2.85rem); margin-block: 8px; }
.contact-layout address { max-width: 440px; margin-block: 12px 19px; color: var(--muted); }
.contact-layout .text-link + .text-link { margin-top: 12px; }
.contact-form { display: grid; gap: 9px; border: 1px solid var(--line); background: var(--soft); padding: 23px; }
.contact-form h2 { font-size: 2.25rem; }
.contact-form p { color: var(--muted); }
.contact-form label { margin-top: 7px; font-weight: 600; font-size: .91rem; }
.contact-form :is(input, select, textarea) { min-width: 0; width: 100%; min-height: 44px; padding: 7px 10px; border: 1px solid #b9a998; background: var(--paper); color: var(--ink); font: inherit; }
.contact-form button { margin-top: 10px; }
.editorial-demo aside h3 { margin-top: 30px; font-size: 1.8rem; }
.editorial-flow { padding-left: 1.3rem; color: var(--muted); }
.editorial-flow li { margin-bottom: 9px; }
.editorial-form { border-radius: 16px; }
.editorial-form textarea { resize: vertical; }
.editorial-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#editorial-preview { padding: 16px 0 0; border-top: 1px solid var(--line); }
#editorial-preview h3 { font-size: 1.95rem; margin-bottom: 9px; }
#editorial-preview-text { white-space: pre-wrap; }
.footer { background: #211b19; color: #f3e8db; }
.footer-inner { display: grid; grid-template-columns: .82fr 1.1fr 1.1fr; gap: 34px; padding-block: 43px; align-items: start; }
.footer .brand img { width: min(190px, 100%); filter: grayscale(1) brightness(0) invert(1); }
.footer h2 { font: 700 .91rem/1.35 var(--sans); margin-bottom: 8px; }
.footer address, .footer a:not(.brand) { font-size: .85rem; color: #e2d3c5; }
.footer a:not(.brand) { display: block; width: fit-content; overflow-wrap: anywhere; text-underline-offset: 3px; }
.footer a + a { margin-top: 5px; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 74px; flex-wrap: wrap; gap: 0; }
  .brand img { width: 174px; }
  .header nav { width: 100%; flex-wrap: wrap; gap: 14px; padding-block: 4px 13px; }
  .js .header nav { display: none; }
  .js .header nav[data-open] { display: flex; }
  .js .menu-button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid #b18d85; color: var(--wine); background: var(--paper); font-weight: 600; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 37px 30px; gap: 28px; }
  .hero h1 { font-size: clamp(2.7rem, 10vw, 4.1rem); }
  .hero-image { aspect-ratio: 2 / 1; }
  .hero-visual { border-radius: 15px; }
  .cards, .cards.two, .split, .people, .footer-inner { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .footer-inner { gap: 22px; }
  body { padding-bottom: 62px; }
  .mobile-whatsapp { position: fixed; z-index: 4; display: flex; justify-content: center; inset: auto 0 0; padding: 7px 18px calc(7px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-whatsapp .button { justify-content: center; gap: 14px; padding: 4px 14px; min-height: 45px; width: min(100%, 420px); }
  .mobile-whatsapp .button span { min-height: 25px; min-width: 25px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.4rem; }
  .hero .buttons { margin-top: 19px; }
  .inner-hero h1 { font-size: 3rem; }
}

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