:root { --paper: #f7f5ef; --ink: #19211d; --muted: #576157; }
html { scroll-padding-top: calc(var(--header-height, 84px) + 12px); }
.site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0 clamp(.75rem, 2vw, 2rem);
  min-height: 84px;
  height: auto;
  padding-inline: clamp(.875rem, 4vw, 4rem);
}
.section-nav {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 clamp(.25rem, 1.3vw, 1.4rem);
}
.section-nav a, .header-actions > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 600;
}
.section-nav a {
  position: relative;
  padding-inline: .4rem;
}
.section-nav a::after {
  content: "";
  position: absolute;
  inset: auto .4rem .35rem;
  height: 2px;
  border-radius: 2px;
  background: #9b783f;
  opacity: 0;
}
.section-nav a:is(:focus-visible, [aria-current="location"])::after { opacity: 1; }
@media (hover: hover) {
  .section-nav a:hover::after { opacity: 1; }
  .header-actions .navcta:hover { background: #efe8d9; }
}
@media (prefers-reduced-motion: no-preference) {
  .section-nav a::after { transition: opacity 160ms ease; }
  .header-actions .navcta { transition: background-color 160ms ease; }
}
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-actions .navcta { padding: .45rem .75rem; border-radius: .3rem; }
@media (max-width: 960px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-top: .35rem;
  }
  .section-nav {
    grid-area: 2 / 1 / 3 / -1;
    border-top: 1px solid #dedfd6;
    column-gap: clamp(.35rem, 2.4vw, 1.5rem);
  }
}
@media (max-width: 420px) {
  .site-header .logo-window { width: clamp(108px, 34vw, 135px); }
  .header-actions { gap: .15rem; }
  .header-actions .lang { padding-inline: .3rem; }
  .header-actions .navcta { padding-inline: .5rem; }
}
.hero { min-height: clamp(32rem, 55vw, 43rem); }
.herocopy { align-self: center; padding: clamp(3rem, 7vw, 7rem) 0 clamp(3rem, 7vw, 7rem) 10%; }
.herocopy h1 { font-size: clamp(3.25rem, 6.3vw, 6.25rem); max-width: 10ch; line-height: 1.02; }
.herocopy > p { font-size: clamp(1rem, 1.5vw, 1.15rem); margin-bottom: 1.75rem; }
.hero-actions { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; }
.studio-link { color: #eed9ae; border-bottom: 1px solid #a99267; padding-bottom: .25rem; font-weight: 600; }
.studio-experience {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(2rem, 8vw, 8rem);
}
.studio-intro h2 { margin: 0 0 1.25rem; max-width: 13ch; }
.studio-experience p, .tech p { color: var(--muted); line-height: 1.72; font-size: 1rem; }
.studio-intro p { max-width: 34rem; }
.studio-details h3 { margin: 0; color: var(--ink); font-size: 1.25rem; font-weight: 600; }
.studio-details p { margin: .55rem 0 1.5rem; }
.studio-details h3 + p + h3 { border-top: 1px solid #d7d6ca; padding-top: 1.35rem; }
.studio-experience .eyebrow, #care .eyebrow, .tech .eyebrow { color: #786038; }
#care { background: #efeee6; }
.tech { gap: clamp(2rem, 7vw, 7rem); }
.techvisual { border-radius: 1.2rem; }
.tech .techlist span { font-size: 1rem; }
#focus { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
@media (max-width: 800px) {
  .hero { min-height: 0; }
  .herocopy { padding: 3rem 7% .5rem; }
  .herocopy h1 { font-size: clamp(2.75rem, 10vw, 4.5rem); }
  .studio-experience { grid-template-columns: 1fr; }
  .tech > div:last-child { grid-row: 1; }
}

.tc-frame:has(.topic-photo-open) { cursor: zoom-in; }
.topic-photo-open {
  position: absolute; inset: 0; width: 100%; border: 0; background: transparent;
  cursor: zoom-in; color: #171c19; text-align: right;
}
.topic-photo-open:focus-visible { outline-offset: -4px; }
.topic-photo-open span {
  position: absolute; right: .65rem; bottom: .65rem; padding: .4rem .7rem;
  border-radius: .3rem; background: #eed9ae; font-size: .875rem; font-weight: 700;
}
.topic-photo-dialog {
  width: min(56rem, calc(100% - 1.5rem)); max-height: 95dvh;
  border: 1px solid #776747; border-radius: .8rem; padding: 1rem;
  background: #161d18; color: #f7f5ef;
}
.topic-photo-dialog::backdrop { background: rgb(10 14 11 / .88); }
.topic-photo-bar { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
.topic-photo-bar h2 { font-size: 1.15rem; margin: 0; }
.topic-photo-dialog img { display: block; width: 100%; height: min(62dvh, 36rem); object-fit: contain; margin-block: .75rem; }
.topic-photo-dialog button {
  background: #e4c991; color: #1a2119; border: 0; border-radius: .3rem;
  min-height: 44px; padding: .5rem .8rem; font-weight: 700;
}
.topic-photo-dialog button:disabled { opacity: .55; cursor: default; }
body:has(.topic-photo-dialog[open]) { overflow: hidden; }

a.wa { --contact-icon: url("/assets/contact-icons/whatsapp.svg"); }
a[href^="tel:"] { --contact-icon: url("/assets/contact-icons/phone.svg"); }
a[href^="mailto:"] { --contact-icon: url("/assets/contact-icons/mail.svg"); }
a[href^="https://www.instagram.com/"] { --contact-icon: url("/assets/contact-icons/instagram.svg"); }

a:is(.wa, [href^="tel:"], [href^="mailto:"], [href^="https://www.instagram.com/"])::before {
  content: "";
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin-inline-end: .5em;
  vertical-align: -.25em;
  background: currentColor;
  mask: var(--contact-icon) center / contain no-repeat;
  flex: none;
}
a.btn:is(.wa, [href^="mailto:"]) { gap: .55rem; }
a.btn:is(.wa, [href^="mailto:"])::before { margin-inline-end: 0; }
a.btn:is(.wa, [href^="mailto:"])::after { content: none; }
a.floating.wa { display: inline-flex; align-items: center; }

.care-directory {
  margin-top: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid #c9c8ba;
  border-radius: .8rem;
  background: var(--paper);
}
.care-directory > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.3vw, 1.5rem) clamp(1rem, 3.5vw, 2.5rem);
  border-radius: inherit;
  cursor: pointer;
  list-style: none;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.45rem);
  font-weight: 700;
}
.care-directory > summary::-webkit-details-marker { display: none; }
.care-directory > summary:hover { background: #eeebe0; }
.care-directory-toggle {
  position: relative;
  flex: 0 0 2.25rem;
  height: 2.25rem;
  border: 1px solid #b19a6c;
  border-radius: 50%;
  color: #71582d;
}
.care-directory-toggle::before,
.care-directory-toggle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: .8rem;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.care-directory-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.care-directory[open] .care-directory-toggle::after { opacity: 0; }
.care-directory-content { padding: 0 clamp(1rem, 3.5vw, 2.5rem) clamp(1rem, 3vw, 2rem); }
.care-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0 clamp(1rem, 4vw, 3rem);
}
.care-directory-grid article {
  border-top: 1px solid #d9d6ca;
  padding: 1.25rem 0;
}
.care-directory-grid h3 {
  margin: 0 0 .6rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.care-directory-grid ul {
  margin: 0;
  padding-inline-start: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
}
.care-directory-grid li + li { margin-top: .25rem; }
.care-directory-grid li::marker { color: #96713f; }
.care-directory-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  border-top: 1px solid #d9d6ca;
  padding-top: 1.25rem;
}
.care-directory-footer p { margin: 0; color: var(--muted); }
.care-directory-footer .btn { border-radius: .25rem; font-size: .875rem; }

.email-options {
  scroll-margin-top: calc(var(--header-height, 5rem) + 1rem);
}

.email-options > summary {
  cursor: pointer;
  list-style: none;
  overflow-wrap: anywhere;
}

.email-options > summary::-webkit-details-marker {
  display: none;
}

.email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem;
}
