@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f5f0e8;
  --ink: #252b2d;
  --accent: #bd4c2d;
  --warm-field: #eae1d5;
  --margin: clamp(1.25rem, 3vw, 5.25rem);
  --header-height: clamp(88px, 8vw, 116px);
  --portrait-size: clamp(112px, calc(24vw - 4.4rem), 260px);
  --person-gap: clamp(.75rem, calc(8vw - 3rem), 4.5rem);
  --body: clamp(1.0625rem, .95rem + .2vw, 1.2rem);
  --lead: clamp(1.0625rem, 1.7vw, 1.6rem);
  --heading: clamp(3rem, 6.5vw, 7rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  font-optical-sizing: auto;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: var(--body); line-height: 1.5; text-rendering: optimizeLegibility; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
button, a { touch-action: manipulation; }
img { max-width: 100%; height: auto; }
button, input { border-radius: 0; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 500; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; hyphens: none; }
h2 { font-size: var(--heading); }
p { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--paper); }
.skip-link { position: fixed; z-index: 20; left: 1rem; top: 1rem; padding: .8rem 1rem; background: var(--ink); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.cover { position: relative; }
main { position: relative; z-index: 1; }
#ribbon-canvas { display: block; width: 100%; height: 100%; }
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); padding: clamp(1.25rem, 1.7vw, 1.5rem) var(--margin); gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; white-space: nowrap; }
.brand span { font-weight: 750; font-size: clamp(1.9rem, 2.45vw, 2.2rem); letter-spacing: -.07em; line-height: 1; }
.brand img { display: block; flex: 0 0 auto; width: clamp(36px, 3vw, 43px); height: clamp(36px, 3vw, 43px); object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3.5rem); }
.site-header nav a { text-decoration: none; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.site-header nav a { font-weight: 550; }
.site-menu { display: none; }
.menu-toggle { border: 0; padding: .6rem 0 .6rem 1rem; background: transparent; color: var(--ink); cursor: pointer; list-style: none; }
.menu-toggle::-webkit-details-marker { display: none; }
.hero { min-height: calc(100svh - var(--header-height)); display: flex; align-items: center; padding: 4rem max(var(--margin), 18vw) clamp(5rem, 8vw, 7rem) var(--margin); }
.hero-content { margin-left: clamp(0rem, calc(15vw - 7rem), 8.5vw); max-width: 100%; }
h1 { font-size: clamp(4.5rem, 7.75vw, 9.2rem); line-height: 1.04; }
h1 span { display: block; white-space: nowrap; }
.hero-content > .button { margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 60px; padding: 1rem 1.5rem; background: var(--ink); color: var(--paper); text-decoration: none; border: 0; border-radius: 100px; font-weight: 600; transition: transform 140ms var(--ease), background-color 180ms ease; }
.button span { font-size: 1.3em; line-height: 1; }
.button .whatsapp-mark { display: block; flex: 0 0 24px; width: 24px; height: 24px; }
.button:active { transform: scale(.97); }
.menu-toggle:active, .site-header nav a:active { background-color: var(--warm-field); color: var(--ink); }

.contact { padding: clamp(4rem, 6.7vw, 6rem) max(var(--margin), 18vw) clamp(2rem, 2.8vw, 2.5rem) var(--margin); }
.contact-main { display: flex; flex-direction: column; align-items: flex-start; gap: 2.5rem; padding-bottom: 6rem; }
.contact-main h2 { font-size: clamp(2.5rem, 5.5vw, 6rem); }
.contact-main p { margin-bottom: 1.5rem; font-size: var(--lead); }
.button-light { background: var(--paper); color: var(--ink); }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.interior-title, .about-intro h1 { font-size: var(--heading); line-height: 1.06; }
.contact-page { min-height: calc(100svh - var(--header-height)); display: flex; align-items: center; }
.contact-page .contact-main { width: 100%; padding-bottom: 0; padding-left: clamp(0rem, calc(15vw - 7rem), 8.5vw); }
.contact-page .button-light { background: var(--ink); color: var(--paper); }
.contact-links { display: flex; flex-direction: column; align-items: stretch; gap: .875rem; width: max-content; max-width: 100%; }
.button .facebook-mark { display: block; flex: 0 0 22px; width: 22px; height: 22px; background: #fff; border-radius: 50%; }
.contact-page .button-secondary { background: var(--paper); color: var(--ink); border: 1px solid #252b2d55; min-height: 52px; padding: .75rem 1.5rem; font-weight: 500; } /* taste-skill-ignore: functional secondary button; the outline keeps WhatsApp visually primary. */
.about-intro { padding: clamp(2rem, 4vw, 4rem) 18vw clamp(3rem, 5.6vw, 5rem) var(--margin); }
.about-intro h1 { margin-bottom: clamp(2rem, 3.34vw, 3rem); }
.about-people { display: grid; gap: clamp(3.5rem, 4.5vw, 4rem); }
.person { display: grid; grid-template-columns: var(--portrait-size) minmax(0, 1fr); gap: var(--person-gap); align-items: start; }
.person > img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%); mask-image: linear-gradient(to bottom, #000 90%, transparent 100%); } /* taste-skill-ignore: requested short bottom transparency mask, not a background gradient. */
.portraits-pending .person > img:not(.is-ready) { opacity: 0; }
.person-copy { max-width: 52ch; }
.portrait-name { font-size: clamp(1.875rem, 3.5vw, 3.5rem); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.portrait-role { margin-top: .75rem; font-size: var(--lead); font-weight: 600; line-height: 1.35; }
.portrait-bio { margin: 1.25rem 0 0; line-height: 1.6; font-style: normal; }

@media (hover: hover) and (pointer: fine) {
  .site-header nav a:hover { text-decoration: underline; }
  .button:hover { background: var(--accent); }
  .button-light:hover { background: var(--warm-field); }
  .contact-page .button-light:hover { background: var(--accent); }
  .hero .button:hover, .contact-page .button-light:hover { color: #fff; }
  .contact-page .button-secondary:hover { background: #252b2d08; border-color: var(--ink); }
}

@media (max-width: 760px) {
  :root { --body: 1.0625rem; }
  html { scroll-padding-top: 1rem; }
  .site-header { gap: 1rem; }
  .site-header nav { gap: 1rem; font-size: 1rem; }
  .site-menu { display: block; }
  .site-header .desktop-navigation { display: none; }
  .menu-toggle { display: flex; }
  .site-menu::details-content { content-visibility: hidden; transition: content-visibility 120ms allow-discrete; }
  .site-menu[open]::details-content { content-visibility: visible; }
  .site-menu nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; right: var(--margin); left: var(--margin); padding: 1.25rem; background: var(--paper); box-shadow: 0 14px 30px #252b2d20; transform-origin: top right; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); pointer-events: none; transition: opacity 120ms var(--ease), transform 120ms var(--ease), visibility 0s linear 120ms; } /* taste-skill-ignore: shadow belongs to the mobile overlay menu. */
  .site-menu[open] nav { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-duration: 180ms, 180ms, 0s; transition-delay: 0s; }
  .site-header nav a { min-height: 44px; display: flex; align-items: center; }
  .hero, .contact, .about-intro { padding-right: var(--margin); }
  .hero-content { position: relative; z-index: 1; }
  h1 { font-size: clamp(2.7rem, 9.6vw, 4.5rem); line-height: 1.08; letter-spacing: -.055em; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 4.5rem); }
  .button { max-width: 100%; min-height: 56px; padding: 1rem 1.25rem; gap: 1rem; }
  .contact-main { padding-bottom: 4rem; }
  .contact-main h2 { font-size: 2.6rem; }
  .contact-page { padding-bottom: 4rem; }
  .person { grid-template-columns: clamp(80px, 25vw, 112px) minmax(0, 1fr); gap: .3rem var(--person-gap); }
  .person > img { grid-column: 1; grid-row: 1 / span 2; width: 100%; max-width: 100%; }
  .person-copy { display: contents; }
  .portrait-name { grid-column: 2; align-self: end; font-size: clamp(1.6rem, 7.6vw, 1.875rem); }
  .portrait-role { grid-column: 2; align-self: start; margin: 0; font-size: 1.0625rem; }
  .portrait-bio { grid-column: 1 / -1; margin-top: 1.1rem; font-size: 1.0625rem; line-height: 1.55; }
}
@media (min-width: 1024px) {
  .contact-page { padding: 4rem clamp(2rem, 8vw, 10rem); }
  .contact-page .contact-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20vw; align-items: center; padding-left: 0; }
  .contact-page .interior-title, .contact-page .contact-links { justify-self: center; }
  .about-intro { --profile-portrait: clamp(8rem, 13.5vw, 13.75rem); --profile-header: clamp(9rem, 15vw, 15rem); padding-right: max(var(--margin), 10vw); }
  .about-people { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(2rem, 4vw, 4rem); }
  .person { grid-template-columns: var(--profile-portrait) minmax(0, 1fr); grid-template-rows: calc(var(--profile-header) / 2) calc(var(--profile-header) / 2) auto; column-gap: clamp(1.25rem, 2vw, 2rem); row-gap: 0; }
  .person > img { grid-column: 1; grid-row: 1 / span 2; }
  .person-copy { display: contents; }
  .portrait-name { grid-column: 2; align-self: end; font-size: clamp(2rem, 2.9vw, 3.5rem); white-space: nowrap; }
  .portrait-role { grid-column: 2; align-self: start; margin-top: .5rem; }
  .portrait-bio { grid-column: 1 / -1; max-width: 52ch; margin-top: 1.5rem; }
}
/* Finite opacity entrance begins with the first style, including without JS. */
@keyframes content-entrance {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  main h1 { animation: content-entrance 280ms cubic-bezier(.2,.7,.2,1) backwards; }
  main .person { animation: content-entrance 280ms cubic-bezier(.2,.7,.2,1) 80ms backwards; }
  main .button { animation: content-entrance 280ms cubic-bezier(.2,.7,.2,1) 140ms backwards; }
  .portraits-pending .person > img.is-ready { animation: content-entrance 240ms ease-out backwards; }
}
/* Native document navigation: retain the browser crossfade, without geometry motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(root) { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) {
    animation-duration: 180ms;
    animation-timing-function: ease-out;
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
@media (prefers-contrast: more) {
  :focus-visible { outline-width: 4px; }
}
