:root {
  --paper: #f7f2e9;
  --ink: #261912;
  --muted: #695751;
  --wine: #571f2d;
  --rose: #f0d5c5;
  --line: #d8c9bb;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); }
body, h1, h2, h3, h4, figure, p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section[id], article[id] { scroll-margin-top: 2rem; }
.wrap { width: min(87%, 1260px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; transform: translateY(-180%); padding: .6rem 1rem; background: var(--paper); z-index: 5; }
.skip:focus { transform: none; }

.site-header { min-height: 100px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--wine); text-decoration: none; white-space: nowrap; font: 2rem/.9 var(--serif); }
.brand small { display: block; margin-top: .55rem; font: 600 .65rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .13em; }
.brand-mark { position: relative; display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; }
.brand-mark i { position: absolute; width: 14px; height: 32px; border: 1px solid currentColor; border-radius: 100%; transform: rotate(38deg); }
.brand-mark i:first-child { translate: -7px 0; }
.brand-mark i:last-child { translate: 7px 0; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem,3vw,2.7rem); }
.main-nav a { font-size: .9rem; text-decoration: none; }
.main-nav a:hover { color: var(--wine); }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .65rem 1.2rem; border: 1px solid currentColor; border-radius: 2px; font-size: .9rem; font-weight: 700; text-decoration: none; transition: background .2s, color .2s, translate .2s; }
.button:hover { translate: 0 -2px; }
.button-outline { color: var(--wine); }
.button-outline:hover { background: #eadcce; }
.button-solid { color: var(--paper); border-color: var(--wine); background: var(--wine); }
.button-solid:hover { background: #763547; }
.text-link { font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: .32em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,6vw,6rem); align-items: center; padding-block: clamp(3rem,6vw,6rem); }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--wine); text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; font-weight: 700; }
.eyebrow span { width: 18px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .96; }
h1 { font-size: clamp(4.5rem,8.2vw,9.2rem); letter-spacing: -.035em; margin-block: 1.35rem 1.5rem; }
h1 em, h2 em { color: var(--wine); font-weight: 400; }
h1 em { display: block; }
h2 { font-size: clamp(3.1rem,6vw,6rem); letter-spacing: -.025em; }
h3 { font-size: clamp(2.6rem,4vw,3.8rem); }
.hero-copy > p:not(.eyebrow), .section-copy { max-width: 29rem; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.9rem; }
.hero-photo { position: relative; aspect-ratio: 5/6; overflow: hidden; isolation: isolate; border-radius: 48% 48% 2px 2px / 25% 25% 2px 2px; background: radial-gradient(ellipse at 70% 25%, #dac1a3, #986f61 56%, #4a2628); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; animation: photo-settle 1s ease-out both; }
.hero-photo figcaption { position: absolute; bottom: .7rem; right: .7rem; padding: .11rem .45rem; background: var(--paper); color: var(--ink); font-size: .72rem; }
.photo-mark { position: absolute; bottom: 1rem; left: 1rem; width: 63px; height: 63px; color: var(--paper); border: 1px solid currentColor; border-radius: 50%; background: #571f2dbb; }
.hero-copy { animation: rise-in .75s ease-out both; }

.intro { display: grid; grid-template-columns: .4fr 1fr; gap: 2rem; align-items: start; border-top: 1px solid var(--line); padding-block: clamp(4rem,9vw,8rem); }
.intro .eyebrow { margin-top: .65rem; }
.intro-content p { max-width: 40rem; color: var(--muted); margin-top: 1.35rem; font-size: 1.12rem; }
.care { background: var(--wine); color: var(--paper); }
.care-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,7vw,7rem); padding-block: clamp(4rem,8vw,8rem); align-items: start; }
.care .eyebrow, .care h2 em, .care .section-copy, .care .text-link { color: var(--rose); }
.care h2, .team h2, .contact h2 { margin-top: .9rem; }
.care .section-copy { margin-top: 1.1rem; }
.service-list { border-top: 1px solid #f7f2e960; }
details { border-bottom: 1px solid #f7f2e960; padding: .25rem 0; }
summary { display: flex; align-items: center; justify-content: space-between; min-height: 57px; gap: 1rem; padding: .6rem .15rem; cursor: pointer; font-size: 1.06rem; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--rose); font-size: 1.4rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details > p { max-width: 34rem; color: var(--rose); padding-bottom: .5rem; }
details .text-link { display: inline-block; margin-bottom: 1rem; }
.service-links { display: flex; flex-wrap: wrap; column-gap: 1rem; }
.team { padding-block: clamp(4rem,8vw,8rem); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.2rem,3vw,2.2rem); margin-top: 2.5rem; }
.person-photo { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: #73374a; }
.person-photo img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.fernanda-photo img { object-position: center top; }
.role { margin: 1.1rem 0 .35rem; color: var(--muted); font-size: .85rem; }
.person h4 { margin: .85rem 0 .35rem; font-size: 1rem; }
.person > p:last-child { color: var(--muted); }
.reviews { container-type: inline-size; background: #f0e4d7; }
.reviews-inner { padding-block: clamp(2.8rem, 6vw, 5.5rem); }
.reviews h2 { margin-top: .9rem; }
.reviews-swipe { display: none; margin-top: .8rem; color: var(--muted); font-size: .9rem; }
.reviews-scroll { margin-top: 1.3rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-color: #935967 #e2d3c5; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; list-style: none; margin: 0; padding: 0 0 .7rem; }
.review-card {
  min-width: 0;
  min-height: 155px;
  scroll-snap-align: start;
  padding: 1.4rem 1.55rem;
  border: 1px solid #a77a31;
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px #d7bb80;
  background: var(--paper);
}
.review-card h3 { color: var(--wine); font-size: clamp(1.65rem, 2.6vw, 2.25rem); line-height: 1; margin-bottom: .65rem; }
.review-card p { color: var(--muted); overflow-wrap: anywhere; }
@container (max-width: 680px) {
  .reviews-swipe { display: block; }
  .reviews-track { grid-auto-columns: 84%; gap: .75rem; }
}
.contact { background: #ead9ca; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: clamp(2rem,7vw,6rem); padding-block: clamp(3.5rem,7vw,6rem); }
.contact h2 { max-width: 11ch; }
.contact-grid p:not(.eyebrow) { max-width: 26rem; }
.contact-status { border-top: 1px solid #b19b8e; padding-top: 1rem; margin-top: 1rem; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.65rem; color: var(--muted); font-size: .9rem; }
.footer .brand { font-size: 1.65rem; }

@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes photo-settle { from { transform: scale(1.035); } to { transform: none; } }
.motion-ready [data-reveal] { transition: opacity .55s ease, transform .55s ease; }
.motion-ready [data-reveal]:not(.is-visible):not(:focus-within) { transform: translateY(8px); }

@media (max-width: 800px) {
  .wrap { width: 90%; }
  .site-header { min-height: 82px; position: relative; flex-wrap: wrap; }
  .main-nav { width: 100%; flex-wrap: wrap; padding-bottom: 1rem; }
  .has-menu .menu-toggle { display: block; border: 1px solid var(--line); color: var(--wine); padding: .4rem .8rem; min-height: 44px; background: transparent; font-weight: 700; }
  .has-menu .main-nav:not(.open) { display: none; }
  .main-nav.open { display: flex; flex-wrap: wrap; }
  .hero { gap: 2rem; }
}
@media (max-width: 650px) {
  .hero, .intro, .care-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.65rem; }
  h1 { font-size: clamp(4.1rem,14vw,6rem); }
  .hero-photo { width: min(100%, 440px); margin-inline: auto; }
  .intro { gap: .85rem; }
  .intro .eyebrow { margin-top: 0; }
  .team-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
}
