@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --paper: #faf6ef;
  --ink: #221b18;
  --muted: #6a5750;
  --line: #ded1c4;
  --gold: #dfc39c;
  --display: 'Instrument Serif', Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #e9e0d6; font: 15px/1.6 'DM Sans', Arial, sans-serif; }
button, a { color: inherit; }
a { text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #936543; outline-offset: 4px; }
.masthead { width: min(1100px, calc(100% - 48px)); margin: 0 auto; min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.masthead a { display: inline-flex; gap: 14px; align-items: center; font: 34px var(--display); }
.masthead a span { font: 600 10px 'DM Sans', sans-serif; letter-spacing: .22em; padding-left: 14px; border-left: 1px solid #baa99a; }
.masthead button { border: 0; background: transparent; padding: 10px 0 10px 10px; font-size: 12px; }
.masthead button span { margin-left: 12px; }
.card { width: min(1100px, calc(100% - 48px)); margin: 0 auto 50px; display: grid; grid-template-columns: 46% 54%; background: var(--paper); box-shadow: 0 25px 70px #35201816; }
.visual { min-height: 630px; padding: 23px; display: flex; background: radial-gradient(ellipse at 36% 36%, #624338, #35241f 54%, #231a18); color: var(--gold); }
.frame { border: 1px solid #dfc39c68; width: 100%; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 28px 14px; }
.location, .visual-footer { z-index: 1; font-size: 9px; letter-spacing: .23em; text-align: center; }
.monogram { display: flex; justify-content: center; align-items: center; width: 100%; font: clamp(130px, 19vw, 260px)/.9 var(--display); letter-spacing: -.11em; padding-right: .12em; }
.monogram span:last-child { font-style: italic; margin-left: -.05em; color: #f5dfbd; }
.content { padding: clamp(28px, 5vw, 65px); }
.kicker, .boutique { font-weight: 600; font-size: 10px; letter-spacing: .19em; margin: 0; color: var(--muted); }
h1 { font: clamp(57px, 7.4vw, 108px)/.91 var(--display); letter-spacing: -.035em; margin: 19px 0 14px; }
h1 em { display: block; font-weight: 400; color: #805744; }
.intro { color: var(--muted); margin: 23px 0 27px; max-width: 340px; }
.primary { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 54px; padding: 13px 17px; color: var(--paper); background: #30221f; border: 1px solid #30221f; text-align: left; font-size: 13px; font-weight: 600; }
.primary:hover { background: #583d32; }
.primary span { font-size: 19px; }
.actions { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-top: 0; }
.actions a, .actions button { display: grid; justify-items: center; gap: 3px; padding: 12px 5px; border: 0; border-right: 1px solid var(--line); font-size: 12px; background: none; }
.actions button { border-right: 0; }
.actions span { font-size: 19px; line-height: 1.2; }
.actions a:hover, .actions button:hover { background: #eee4d8; }
.visit { margin-top: 27px; padding-top: 19px; border-top: 1px solid var(--line); }
.visit h2 { font: 28px/1.1 var(--display); margin: 0 0 9px; }
.visit a { display: block; width: fit-content; font-size: 13px; color: var(--muted); }
.visit a:hover, #whatsapp:hover { text-decoration: underline; }
.address span { padding-left: 4px; }
.phone { margin-top: 8px; }
.directory { margin-top: 12px; }
dialog { width: min(410px, calc(100% - 28px)); max-height: 90dvh; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-align: center; padding: 36px 27px 19px; }
dialog::backdrop { background: #241916a6; backdrop-filter: blur(4px); }
dialog h2 { font: 39px/1.05 var(--display); margin: 7px 0 0; }
dialog p { color: var(--muted); font-size: 13px; }
dialog img { display: block; margin: 16px auto 21px; background: white; padding: 8px; max-width: 100%; height: auto; }
.close { position: absolute; right: 11px; top: 5px; border: 0; background: transparent; padding: 5px 9px; font-size: 24px; }
#whatsapp { display: inline-block; margin: 13px 0 0; font-size: 12px; }
#status { overflow-wrap: anywhere; min-height: 18px; }
@media (max-width: 680px) {
  .masthead { width: calc(100% - 36px); min-height: 65px; }
  .card { display: block; width: calc(100% - 28px); margin-bottom: 22px; }
  .visual { min-height: 267px; padding: 13px; }
  .frame { padding: 15px 10px; }
  .monogram { font-size: 146px; }
  .content { padding: 28px 23px 32px; }
  h1 { font-size: clamp(65px, 14vw, 86px); }
}

.actions a, .actions button { min-height: 49px; align-content: center; font-weight: 600; }

.photo-cover { position: relative; margin: 0; padding: 0; overflow: hidden; }
.photo-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.photo-cover::after { position: absolute; inset: 45% 0 0; content: ''; background: linear-gradient(transparent, #1e130eee); pointer-events: none; }
.photo-cover figcaption { align-self: flex-end; z-index: 1; padding: 30px; color: #fff2e2; }
.photo-cover figcaption span { display: block; font-size: 10px; letter-spacing: .18em; }
.photo-cover figcaption a { display: inline-block; font: 29px var(--display); margin-top: 7px; }
.gallery { width: min(1100px, calc(100% - 48px)); margin: 0 auto 56px; scroll-margin-top: 18px; }
.gallery-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.gallery-heading h2 { margin: 0; font: clamp(36px, 5vw, 64px)/1 var(--display); }
.gallery-heading a, .photo-credit { font-size: 12px; color: var(--muted); }
.gallery-heading a:hover { text-decoration: underline; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery-item { display: block; overflow: hidden; background: #d8c7b8; aspect-ratio: 4 / 5; }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-item:hover img { opacity: .9; }
.photo-viewer { width: min(840px, calc(100% - 24px)); padding: 39px 10px 8px; background: #221b18; color: var(--paper); }
.photo-viewer img { width: auto; max-width: 100%; height: auto; max-height: 68dvh; margin: 0 auto; padding: 0; background: transparent; object-fit: contain; }
.photo-viewer .close { color: var(--paper); }
.photo-controls { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 5px; padding-top: 6px; }
.photo-controls p { margin: 0; color: var(--paper); font-size: 12px; }
.photo-controls button { min-height: 44px; border: 0; color: var(--paper); background: transparent; font-size: 22px; }
@media (max-width: 680px) {
  .photo-cover { min-height: 310px; }
  .photo-cover figcaption { padding: 20px; }
  .gallery { width: calc(100% - 28px); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
}
