:root {
  color-scheme: light;
  --paper: #faf4ec;
  --ink: #30211e;
  --wine: #48242a;
  --body: #56453d;
  --rule: #d8c7b8;
  --serif: "Bodoni 72", Didot, Georgia, serif;
  font: 100%/1.5 "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse at top, #f6e9dc, #e8d8ca 55rem); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #815622; outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, p, figure { margin: 0; }
.page {
  --gutter: clamp(1rem, 5cqi, 1.75rem);
  width: 100%;
  position: relative;
  margin-inline: auto;
  background: var(--paper);
  container-type: inline-size;
}
@media (min-width: 681px) {
  .page { max-width: 30rem; box-shadow: 0 0 64px #482d2317; }
}
.skip { position: absolute; z-index: 4; left: 1rem; top: .75rem; transform: translateY(-200%); padding: .6rem 1rem; background: white; border-radius: .5rem; }
.skip:focus { transform: none; }
.masthead { position: absolute; z-index: 2; top: max(.65rem, env(safe-area-inset-top)); right: var(--gutter); }
.masthead a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding-inline: .95rem;
  background: #fff8efed;
  color: #40282b;
  border: 1px solid #503b311f;
  border-radius: 2rem;
  font-size: .875rem;
}
.opening { --overlap: clamp(1.5rem, 4dvh, 2.75rem); }
.portrait { position: relative; }
.portrait img { width: 100%; height: 50vh; height: 50dvh; object-fit: cover; object-position: center 32%; }
.portrait figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem var(--gutter) calc(var(--overlap) + 1rem);
  background: linear-gradient(transparent, #271a18db 65%, #271a18f5);
  color: #fff7ed;
}
h1, h2, .label, .wordmark { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 24ch; font-size: clamp(1.6rem, 6.5cqi, 2rem); line-height: 1.06; text-wrap: balance; }
@media (max-height: 520px) {
  .portrait figcaption { padding-block: 1rem calc(var(--overlap) + .45rem); }
  h1 { max-width: none; font-size: 1.25rem; }
}
.directory { position: relative; margin-top: calc(-1 * var(--overlap)); padding-inline: var(--gutter); }
.links { display: grid; gap: .75rem; }
.link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 39%;
  align-items: stretch;
  min-height: clamp(7.25rem, 28cqi, 8rem);
  color: #382623;
  background: #f0dfcf;
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px #573d3021, 0 3px 10px #452c200a;
}
.link:nth-child(even) { grid-template-columns: 39% minmax(0, 1fr); }
.link:nth-child(odd) .thumbnail { order: 1; border-radius: 0 1rem 1rem 0; }
.link:nth-child(even) .thumbnail { border-radius: 1rem 0 0 1rem; }
.link.contact-maria { background: #eae5db; }
.link.portfolio { color: #fff5e9; background: #243d48; }
.link.backstage { color: #fff5e9; background: #532d34; }
.thumbnail { background-repeat: no-repeat; }
.maria, .helena { background-size: cover; background-position: center 18%; }
.maria { background-image: url("assets/retrato-maria.jpg"); }
.helena { background-image: url("assets/retrato-helena.jpg"); }
.paper { background: #183046 url("assets/portfolio-editorial.jpg") center / cover no-repeat; }
.camera { background: #442831 url("assets/instagram-bastidores.jpg") center / cover no-repeat; }
.label { align-self: center; padding: 1rem clamp(.875rem, 4.3cqi, 1.5rem); font-size: clamp(1.5rem, 6.5cqi, 2rem); line-height: 1.12; }
.channel { display: block; margin-bottom: .375rem; font: 500 .8125rem/1.3 "Helvetica Neue", Arial, sans-serif; letter-spacing: .02em; color: #5a453c; }
.portfolio .channel, .backstage .channel { color: #f1e1d3; }
.label > span:last-child { display: inline-flex; align-items: center; gap: .45rem; }
.label i { flex: none; font: 400 1rem/1 Arial, sans-serif; }
@media (hover: hover) {
  .link:hover .label > span:last-child, .masthead a:hover, footer a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
}
.link:active { box-shadow: inset 0 0 0 2px currentColor; }
.story { padding-top: clamp(2.5rem, 10cqi, 3.5rem); }
.about { margin-inline: var(--gutter); padding-block: 1.4rem 2.4rem; border-top: 1px solid var(--rule); }
h2 { font-size: clamp(2rem, 8.3cqi, 2.65rem); line-height: 1.1; text-wrap: balance; }
.about h2 em { color: var(--wine); }
.story p { font-size: 1rem; line-height: 1.6; }
.about p { max-width: 40ch; margin: .85rem 0 1.25rem; color: var(--body); }
.about img { width: 100%; height: auto; border-radius: .75rem; }
.faq, footer { padding-inline: var(--gutter); color: #fff5ec; background: var(--wine); }
.faq { padding-block: 2rem 1.35rem; }
.faq h2 { margin-bottom: 1.25rem; }
details { border-top: 1px solid #fff1df40; }
summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding-block: .75rem; gap: .75rem; cursor: pointer; font-weight: 500; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: .5rem; height: .5rem; margin-right: .3rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq p { padding-bottom: 1.15rem; color: #f0ded5; }
.faq a { text-decoration: underline; text-underline-offset: .18em; }
.faq :focus-visible, footer :focus-visible { outline-color: #ffe3ae; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; column-gap: .75rem; padding-block: .75rem max(1rem, env(safe-area-inset-bottom)); border-top: 1px solid #fff1df40; }
.wordmark { font-size: 1.3rem; }
.wordmark span { font-style: italic; }
footer nav { display: flex; gap: 1rem; }
footer a { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; font-size: .875rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
