/* wynnflorante.co base: tokens, chrome (header, footer, mobile menu), typography.
   Page bodies bring their own .wf-* styles; these only set the frame around them. */
:root {
  --accent: hsl(1.6 97% 55%);
  --dark: hsl(6.1 62% 15.5%);
  --light: hsl(8.3 67% 91.6%);
  --ink: #fff;
  --heading-font-font-family: "minion-pro-condensed-display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body-font-font-family: "Almarai", "Helvetica Neue", Arial, sans-serif;
  --meta-font-font-family: "Helvetica Neue", Arial, sans-serif;
  --header-height: 110px;
  --gutter: clamp(20px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--dark); color: var(--ink); font: 400 17px/1.6 var(--body-font-font-family); overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--heading-font-font-family); font-weight: 400; line-height: 1.05; }
main { display: block; min-height: 50vh; }
main > :first-child { margin-top: 0; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; }
.skip:focus { left: 8px; }

/* header */
/* like Squarespace: the header floats over the top of the page; pages reserve the space unless their hero handles it (.overlay) */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 28px; min-height: var(--header-height); padding: 18px var(--gutter); background: transparent; }
main { padding-top: var(--header-height); }
body.overlay main { padding-top: 0; }
.site-logo { display: block; line-height: 0; margin-right: auto; }
.site-logo img { width: 52px; height: auto; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a, .mobile-menu nav a { font: 400 13px/1.2 var(--body-font-font-family); letter-spacing: .02em; text-decoration: none; color: #fff; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.separee-btn { display: inline-flex; align-items: center; padding: 11px 18px; background: #5a1a2b; color: #f3ead8 !important; border: 1px solid #5a1a2b; font: 400 12px/1 var(--body-font-font-family); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: opacity .2s; }
.separee-btn:hover { opacity: .85; }
.page-separee .separee-btn { background: transparent; border-color: rgba(243, 234, 216, .6); }
.burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.burger span { display: block; width: 34px; height: 1px; margin: 9px auto; background: currentColor; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 15; padding: calc(var(--header-height) + 20px) var(--gutter) 40px; background: var(--dark); display: flex; flex-direction: column; gap: 28px; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 18px; }
.mobile-menu nav a { font-size: 26px; font-family: var(--heading-font-font-family); letter-spacing: .02em; }
.mobile-menu .separee-btn { align-self: flex-start; }
@media (max-width: 860px) {
  :root { --header-height: 84px; }
  .site-header { gap: 14px; }
  .site-nav { display: none; }
  .site-header > .separee-btn { padding: 8px 11px; font-size: 10px; letter-spacing: .16em; }
  .burger { display: block; }
  .site-logo img { width: 40px; }
}

/* footer */
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 26px var(--gutter); padding: 64px var(--gutter) 56px; border-top: 1px solid rgba(255, 255, 255, .12); background: var(--dark); font-size: 13px; }
.footer-name { font: 400 22px/1 var(--heading-font-font-family); letter-spacing: .04em; }
.footer-social { display: flex; gap: 14px; align-items: center; }
.footer-social a { display: inline-flex; width: 22px; height: 22px; opacity: .9; }
.footer-social a:hover { opacity: 1; }
.footer-social svg { width: 100%; height: 100%; }
.footer-legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-legal span { opacity: .6; width: 100%; }
.footer-legal a { text-decoration: none; opacity: .85; }
.footer-legal a:hover { text-decoration: underline; opacity: 1; }
@media (max-width: 600px) {
  .site-footer { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
}

/* generic content (pages without a custom block) */
.page { max-width: 1100px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gutter); }
.page h1 { font-size: clamp(40px, 6vw, 84px); color: var(--accent); text-transform: uppercase; margin: 0 0 .4em; }
.page h2 { font-size: clamp(28px, 3.6vw, 46px); margin: 1.4em 0 .5em; }
.page h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 1.2em 0 .4em; }
.page p, .page li { max-width: 70ch; }
.page a { color: var(--accent); }
.page .lead { font-size: 1.15em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; margin: 32px 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; display: block; }
.gallery.masonry { display: block; columns: 3 300px; column-gap: 12px; }
.gallery.masonry img { aspect-ratio: auto; height: auto; margin-bottom: 12px; break-inside: avoid; }
.legal { color: #f3ebe8; }
.legal h1 { font-size: clamp(34px, 5vw, 60px); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* lightbox (site.js) */
main .gallery img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background: rgba(10, 4, 3, .94); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: calc(100vw - 120px); max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; border: 0; background: none; color: #fff; font: 300 44px/1 var(--body-font-font-family); width: 56px; height: 56px; cursor: pointer; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lightbox img { max-width: 100vw; max-height: 86vh; } .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } }
