/* Studio portrait: a photographic print and its bronze caption form a single cover. */
:root {
  --paper: #f6f1e7;
  --white: #fbf8f2;
  --ink: #271f1b;
  --gold: #684330;
  --line: #cbbfb0;
  --muted: #5a514a;
  --bronze: #593d30;
  --header: 78px;
  --gutter: clamp(28px, 4.6vw, 80px);
}
body { background: var(--paper); }
.site-header {
  height: var(--header);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line);
}
.site-header::after { display: none; }
.site-header .brand, .site-header .brand img { width: 112px; height: 64px; object-fit: contain; }
.site-header nav { gap: clamp(18px, 2.5vw, 48px); }
.site-header nav a, .site-header nav button { color: var(--bronze); font-size: 15px; }
.hero { background: var(--paper); position: relative; top: auto; }
html[data-capa=retrato] .configurator::before {
  content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 2px; background: var(--bronze); transform-origin: right center;
  transform: scaleX(var(--print-rule, 1)); pointer-events: none;
}
.hero-grid {
  position: relative;
  max-width: 1616px;
  min-height: 0;
  margin: auto;
  padding: clamp(22px, 3vh, 42px) var(--gutter) clamp(28px, 4.5vh, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr);
  grid-template-rows: auto auto;
  gap: 0 clamp(32px, 4vw, 68px);
  align-content: center;
}
.hero-heading { grid-column: 1; grid-row: 1; align-self: end; padding: 0; }
.hero .service-name {
  display: flex; align-items: center; gap: 12px; color: var(--bronze);
  font-size: 13px; letter-spacing: .14em; font-weight: 600;
}
.hero .service-name::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.hero h1 {
  color: var(--bronze); font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 5.95vw, 96px); line-height: 1.01;
  letter-spacing: -.063em; margin: clamp(26px, 4.3vh, 52px) 0 0;
}
.hero-invitation { grid-column: 1; grid-row: 2; align-self: start; margin-top: clamp(28px, 5vh, 60px); }
.hero-invitation > p:first-child {
  max-width: 33ch; font-size: clamp(17px, 1.42vw, 21px); line-height: 1.52;
  color: var(--ink);
}
.hero-invitation .action {
  max-width: 355px; min-height: 54px; margin-top: clamp(24px, 4vh, 46px);
  padding: 8px 0 9px; background: transparent; color: var(--bronze);
  border: 0; border-bottom: 1px solid var(--bronze); font-weight: 600;
  font-size: 17px; overflow: visible;
}
.hero-invitation .action-sign {
  background: var(--bronze); color: var(--paper); width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 50%; font-size: 23px; font-weight: 400;
}
.hero-invitation .action:hover { color: #2d2018; border-bottom-width: 2px; padding-bottom: 8px; }
.hero-invitation .action:focus-visible { outline-offset: 4px; }
.hero .hero-media {
  grid-column: 2; grid-row: 1 / 3; display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  width: 100%; max-width: none; height: clamp(505px, 77svh, 810px); max-height: none;
  align-self: center; padding: 0; border: 0; background: var(--bronze);
  overflow: hidden; aspect-ratio: auto; transform: none;
}
.hero .portrait-image { height: 100%; width: 100%; max-height: none; min-width: 0; }
.hero .portrait-image img {
  height: 100%; width: 100%; object-fit: cover; object-position: 50% 72%;
}
.hero-media .portrait-caption {
  grid-row: 1; grid-column: 2; display: flex; align-items: center;
  justify-content: space-between; gap: 14px; writing-mode: vertical-rl;
  border: 0; padding: 22px 0; margin: 0; min-height: 0; align-self: stretch;
  color: var(--paper);
}
.hero-media .portrait-caption .portrait-name { color: inherit; font-size: 24px; letter-spacing: -.045em; }
.hero-media .portrait-caption .portrait-place { color: #eee4d8; font-size: 14px; letter-spacing: .02em; }
@media (max-width: 1000px) and (min-width: 761px) {
  .hero .hero-media { grid-template-columns: minmax(0,1fr) 44px; height: clamp(445px,65svh,560px); }
  .hero-media .portrait-caption .portrait-name { font-size: 21px; }
  .hero h1 { font-size: clamp(40px,5.45vw,56px); }
}
@media (max-width: 760px) {
  :root { --header: 64px; --gutter: clamp(17px, 5vw, 27px); }
  .site-header .brand, .site-header .brand img { height: 54px; width: 94px; }
  .site-header nav { top: var(--header); gap: 0; }
  .hero-grid {
    display: grid; grid-template-columns: minmax(0,1fr);
    grid-template-rows: repeat(4,auto); gap: 0;
    padding: 15px var(--gutter) 30px;
  }
  .hero-heading { display: contents; }
  .hero .service-name {
    grid-row: 1; margin: 0 0 11px;
    font-size: 12px; letter-spacing: .12em;
  }
  .hero .hero-media {
    grid-column: 1; grid-row: 2; grid-template-columns: minmax(0,1fr) 38px;
    height: clamp(220px, 33svh, 345px); padding: 0;
  }
  .hero .portrait-image img { object-position: 50% 73%; }
  .hero-media .portrait-caption { padding: 11px 0; gap: 8px; }
  .hero-media .portrait-caption .portrait-name { font-size: 17px; }
  .hero-media .portrait-caption .portrait-place { font-size: 12px; letter-spacing: 0; }
  .hero h1 {
    grid-column: 1; grid-row: 3; margin: 19px 0 0;
    font-size: clamp(42px, 12.1vw, 58px); line-height: 1.02;
  }
  .hero-invitation { grid-column: 1; grid-row: 4; margin: 13px 0 0; }
  .hero-invitation > p:first-child { font-size: 16px; line-height: 1.43; max-width: 42ch; }
  .hero-invitation .action { margin-top: 13px; width: 100%; max-width: none; min-height: 48px; font-size: 16px; }
  .hero-invitation .action-sign { width: 32px; height: 32px; font-size: 21px; }
}
@media (prefers-reduced-motion:reduce) { .hero .hero-media, .hero .portrait-image img { transform: none !important; } }
html[data-motion=reduced] .hero .hero-media, html[data-motion=reduced] .hero .portrait-image img { transform: none !important; }
