/* Selected Wairua gallery direction: shared type, navigation and utility surfaces.
   Loaded after clarity.css; gallery-home.css and gallery-pages.css own page composition. */
:root,
html[data-theme] {
  --gallery-ivory: #f8f6f0;
  --gallery-white: #fffefa;
  --gallery-ink: #292d29;
  --gallery-muted: #62665f;
  --gallery-gold: #af925b;
  --gallery-gold-text: #806537;
  --gallery-platinum: #d8d9d5;
  --ink: #292d29;
  --paper: #f8f6f0;
  --muted: #62665f;
  --gold: #af925b;
  --gold-dim: #af925b;
  --line: #d8d9d5;
  --panel: #fffefa;
  --surface: #fffefa;
  --theme-primary: #292d29;
  --theme-accent: #af925b;
  --lux-ink: #292d29;
  --lux-muted: #62665f;
  --lux-gold: #af925b;
  --lux-gold-text: #806537;
  --lux-silver: #d8d9d5;
  --lux-soft: #f8f6f0;
  --lux-warm: #f3efe5;
  --sans: "Tenor Sans", sans-serif;
  --serif: "Tenor Sans", sans-serif;
}

html { scroll-padding-top: 105px; }
body { background: var(--gallery-white); color: var(--gallery-ink); font-family: var(--sans); font-weight: 400; line-height: 1.75; }
button, input, textarea, select, h1, h2, h3, h4, h5, h6 { font-family: var(--sans); font-weight: 400; }
h1, h2, h3, h4 { letter-spacing: -.035em; }
::selection { background: #e9dfcb; color: var(--gallery-ink); }
.paper { background: var(--gallery-ivory); color: var(--gallery-ink); }
.muted, .lead, .paper .muted, .paper .lead { color: var(--gallery-muted); }
.eyebrow, .paper .eyebrow { color: var(--gallery-gold-text); font-size: 10px; letter-spacing: .18em; line-height: 1.65; }
.eyebrow::before { display: none; }
.skip-link { border-radius: 1px; background: var(--gallery-ink); color: #fffefa; }

/* White, compact masthead. The logo itself remains the approved brand artwork. */
.site-header { background: #fffefa; border-bottom: 1px solid #e2e1da; box-shadow: none; backdrop-filter: none; }
.site-header .header-row { height: 88px; gap: 24px; }
.site-header .brand { width: 220px; max-width: none; flex: none; }
.site-header .brand .signature-picture { display: block; width: 100%; }
.site-header .brand img.signature-horizontal { display: block; width: 220px; height: 70px; object-fit: contain; object-position: left center; filter: none; opacity: 1; }
.site-header .desktop-nav { display: flex; margin-left: auto; align-items: center; gap: 22px; min-width: 0; font-size: 11px; }
.site-header .nav-link { display: inline-flex; align-items: center; min-height: 44px; padding-block: 11px; line-height: 1.4; color: var(--gallery-ink); }
.site-header .nav-link:hover, .site-header .nav-link[aria-current=page] { color: var(--gallery-gold-text); }
.concept-motion-ready .site-header .nav-link::after { bottom: 6px; background: var(--gallery-gold); }
.site-header .nav-dropdown ul { width: 285px; padding: 10px; border: 1px solid var(--gallery-platinum); border-radius: 2px; background: var(--gallery-white); box-shadow: 0 10px 28px #292d290c; }
.site-header .nav-dropdown ul a { min-height: 44px; padding: 11px 13px; border-radius: 0; color: var(--gallery-ink); line-height: 1.5; }
.site-header .nav-dropdown ul a:hover { background: var(--gallery-ivory); color: var(--gallery-gold-text); }
.site-header .nav-dropdown ul li:last-child a { border-radius: 0; border-color: var(--gallery-platinum); }
.site-header .language-switch { flex: none; gap: 0; }
.site-header .language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 29px; min-height: 44px; padding: 8px 6px; font-size: 10px; color: var(--gallery-muted); }
.site-header .language-switch a[aria-current=true] { border-radius: 1px; background: #f3efe5; color: var(--gallery-gold-text); }
.site-header .language-switch a:hover { background: var(--gallery-ivory); color: var(--gallery-ink); }
.site-header .header-cta { display: inline-flex; flex: none; min-height: 42px; padding: 10px 17px; gap: 9px; border: 1px solid var(--gallery-gold); border-radius: 1px; background: transparent; color: var(--gallery-gold-text); font-size: 11px; box-shadow: none; }
.site-header .header-cta .arrow { display: none; }
.site-header .header-cta:hover { background: var(--gallery-ivory); color: var(--gallery-ink); border-color: var(--gallery-gold-text); }
.site-header .menu-toggle { display: none; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--gallery-platinum); border-radius: 1px; background: transparent; color: var(--gallery-ink); }
.site-header .menu-toggle svg { width: 22px; height: 22px; }
.site-header .mobile-nav { max-height: calc(100svh - 88px); padding-top: 9px; padding-bottom: 24px; background: var(--gallery-white); border-color: var(--gallery-platinum); overflow-y: auto; overscroll-behavior: contain; }
.site-header .mobile-nav a, .site-header .mobile-nav summary { min-height: 46px; padding-block: 13px; border-color: var(--gallery-platinum); color: var(--gallery-ink); font-size: 15px; line-height: 1.5; }
.site-header .mobile-nav .sub { color: var(--gallery-muted); font-size: 13px; }

/* Matte controls, thin rules and visible keyboard focus. */
.btn, .cta-section .btn { min-height: 48px; padding: 13px 23px; gap: 16px; border: 1px solid var(--gallery-gold); border-radius: 1px; background: var(--gallery-gold); color: #20241f; box-shadow: none; filter: none; font-size: 13px; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover, .cta-section .btn:hover { border-color: #bda16b; background: #bda16b; color: #20241f; box-shadow: none; filter: none; }
.btn.secondary, .paper .btn.secondary, .contact-form .btn.secondary, .funding-actions .btn { border-color: #b8a16e; background: transparent; color: var(--gallery-ink); }
.btn.secondary:hover, .paper .btn.secondary:hover, .contact-form .btn.secondary:hover, .funding-actions .btn:hover { border-color: var(--gallery-gold-text); background: var(--gallery-ivory); color: var(--gallery-ink); box-shadow: none; }
.concept-motion-ready .btn::after { display: none; }
.link-arrow, .card-link { min-height: 44px; border-color: #b8a16e; color: var(--gallery-ink); }
.link-arrow:hover, .card-link:hover { border-color: var(--gallery-gold-text); color: var(--gallery-gold-text); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .paper :focus-visible, .bot-panel :focus-visible { outline: 2px solid var(--gallery-gold-text); outline-offset: 5px; }
.contact-form { border-color: var(--gallery-platinum); border-radius: 2px; background: var(--gallery-white); box-shadow: none; }
.contact-form .field input:not([type=checkbox]):not([aria-invalid=true]), .contact-form .field textarea:not([aria-invalid=true]), .contact-form .field select:not([aria-invalid=true]) { border-color: #c9cbc4; border-radius: 1px; background: #fffefa; color: var(--gallery-ink); }
.contact-form .field label { color: var(--gallery-ink); }
.contact-form input[type=checkbox], .privacy-option input { accent-color: var(--gallery-gold-text); }

/* Utility UI stays light and visually subordinate to the page content. */
.privacy-banner, .privacy-dialog { border: 1px solid var(--gallery-platinum); border-top-color: var(--gallery-gold); border-radius: 3px; background: var(--gallery-white); color: var(--gallery-ink); box-shadow: 0 12px 40px #292d2912; }
.privacy-banner { border-top-width: 1px; }
.privacy-dialog { border-top-width: 2px; }
.privacy-choice { border-color: var(--gallery-gold); border-radius: 1px; color: var(--gallery-gold-text); background: transparent; }
.privacy-choice:hover { background: var(--gallery-ivory); border-color: var(--gallery-gold-text); }
.privacy-required { border-color: var(--gallery-platinum); border-radius: 1px; background: var(--gallery-ivory); }
.privacy-option { border-radius: 0; border-color: var(--gallery-platinum); }
.privacy-dialog::backdrop, .privacy-dialog-shade { background: #292d2966; backdrop-filter: none; }
.privacy-dialog-close { border-radius: 1px; border-color: var(--gallery-platinum); }
.floating-tools { gap: 9px; }
.wa-float { width: 44px; height: 44px; border-color: #c3b18a; background: var(--gallery-white); color: var(--gallery-ink); box-shadow: 0 4px 15px #292d2908; }
.wa-float:hover { background: var(--gallery-ivory); color: var(--gallery-ink); }
.bot-trigger { min-height: 44px; padding: 10px 15px; border: 1px solid #b9bdb3; border-radius: 2px; background: var(--gallery-white); color: var(--gallery-ink); box-shadow: 0 4px 15px #292d2908; }
.bot-trigger:hover { background: var(--gallery-ivory); color: var(--gallery-ink); border-color: var(--gallery-gold); }
.bot-panel { border-color: #c5c8bf; border-radius: 3px; background: var(--gallery-white); color: var(--gallery-ink); box-shadow: 0 14px 44px #292d2917; }
.bot-header { border-color: var(--gallery-platinum); background: var(--gallery-ivory); color: var(--gallery-ink); }
.bot-header h2, .bot-close { color: var(--gallery-ink); }
.bot-mark { border-color: #c3b18a; background: transparent; color: var(--gallery-gold-text); }
.bot-message { border-radius: 1px; background: #f3f3ee; color: var(--gallery-ink); }
.bot-message.user { background: #f2ecdf; color: var(--gallery-ink); }
.bot-quick button { border-color: #c5c8bf; border-radius: 2px; background: transparent; color: var(--gallery-ink); }
.bot-quick button:hover { border-color: var(--gallery-gold-text); background: var(--gallery-ivory); }
.bot-form { border-color: var(--gallery-platinum); background: var(--gallery-ivory); }
.bot-form input { border-radius: 1px; background: var(--gallery-white); color: var(--gallery-ink); }
.bot-form button { border-radius: 1px; background: var(--gallery-gold); color: #20241f; }

/* Light editorial footer with the same unaltered emblem and restrained rules. */
.site-footer { padding-top: 56px; padding-bottom: 100px; border-top: 1px solid var(--gallery-platinum); background: var(--gallery-ivory); color: var(--gallery-ink); }
.site-footer .footer-grid { gap: clamp(30px,5vw,75px); padding-bottom: 38px; }
.site-footer .footer-brand .signature-picture { display: block; width: min(100%,178px); padding: 0; margin: 0 0 20px; border: 0; border-radius: 0; background: transparent; }
.site-footer .footer-brand img.signature-lockup { width: 100%; height: auto; max-height: 175px; margin: 0; object-fit: contain; object-position: left center; }
.site-footer .footer-title { margin-bottom: 18px; color: var(--gallery-ink); font-size: 11px; letter-spacing: .14em; }
.site-footer .footer-links a, .site-footer .footer-contact a, .site-footer .footer-bottom a, .site-footer .privacy-settings-trigger, .site-footer .intro-replay { color: var(--gallery-ink); }
.site-footer .footer-brand p, .site-footer .footer-contact p, .site-footer .footer-bottom { color: var(--gallery-muted); }
.site-footer .footer-links a:hover, .site-footer .footer-contact a:hover, .site-footer .footer-bottom a:hover, .site-footer .privacy-settings-trigger:hover, .site-footer .intro-replay:hover { color: var(--gallery-gold-text); }
.site-footer .footer-bottom { padding-top: 20px; border-color: var(--gallery-platinum); }
.site-footer .footer-bottom > div { flex-wrap: wrap; gap: 8px 22px; }
.social-links a, .paper .social-links a, .site-footer .social-links a { border-color: #cdd0c7; border-radius: 50%; background: transparent; color: var(--gallery-ink); }
.social-links a:hover, .paper .social-links a:hover, .site-footer .social-links a:hover { border-color: var(--gallery-gold); background: var(--gallery-ivory); color: var(--gallery-gold-text); }

@media (max-width:1180px) {
  .site-header .desktop-nav, .site-header .header-cta { display: none; }
  .site-header .menu-toggle { display: inline-flex; flex: none; }
  .site-header .language-switch { margin-left: auto; }
  .site-header .header-row { gap: 18px; }
}
@media (max-width:640px) {
  html { scroll-padding-top: 88px; }
  .site-header .header-row { height: 72px; gap: 8px; padding-inline: 22px; }
  .site-header .brand { width: 170px; min-width: 110px; flex: 0 1 170px; }
  .site-header .brand img.signature-horizontal { width: 100%; height: 58px; }
  .site-header .language-switch a { min-width: 28px; padding-inline: 3px; font-size: 9px; }
  .site-header .mobile-nav { max-height: calc(100svh - 72px); }
  .site-footer { padding-top: 42px; padding-bottom: 96px; }
  .site-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 22px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-brand .signature-picture { width: 154px; }
  .site-footer .footer-bottom { font-size: 10px; }
  .site-footer .footer-bottom > div { gap: 8px 17px; }
  .privacy-banner, .privacy-dialog { border-radius: 3px; }
  .floating-tools { right: 16px; bottom: 16px; gap: 8px; }
  .bot-panel { right: 12px; width: min(390px,calc(100vw - 24px)); border-radius: 3px; }
  .contact-form input:not([type=checkbox]), .contact-form textarea, .contact-form select, .bot-form input { font-size: 16px; }
}
@media (max-width:360px) {
  .site-header .brand { width: 132px; flex-basis: 132px; }
  .site-header .header-row { gap: 8px; }
  .site-header .language-switch a { min-width: 28px; padding-inline: 2px; }
  .site-footer .footer-grid { grid-template-columns: minmax(0,1fr); }
  .site-footer .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion:reduce) {
  .btn, .header-cta, .link-arrow svg, .privacy-choice { transition: none; }
}
@media print {
  body, .paper, .site-footer { background: #fff; color: #000; }
}

/* The entry film follows the same warm, restrained identity as the pages. */
.brand-intro { background: #f8f6f0; color: #292d29; }
.brand-intro > video { filter: none; }
.intro-skip { min-height: 44px; padding: 11px 18px; border: 1px solid #af925b; border-radius: 1px; background: #f8f6f0e8; color: #65502a; box-shadow: none; font-family: var(--sans); font-size: 11px; }
.intro-skip:hover { background: #fffefa; border-color: #806b41; }
.intro-boot { bottom: 95px; width: min(390px,calc(100% - 48px)); color: #292d29; }
.intro-boot-label { display: block; margin-bottom: 11px; color: #806b41; font-size: 8px; letter-spacing: .2em; opacity: 1; }
.intro-boot-row { margin-bottom: 11px; }
.intro-boot-stage { font-size: 11px; line-height: 1.5; }
.intro-boot-percent { color: #806b41; font-size: 12px; }
.intro-boot-track { height: 2px; border-radius: 0; background: #d8d9d5; }
.intro-boot-fill { border-radius: 0; background: #af925b; box-shadow: none; transition: width .2s linear; }
.intro-bottom { bottom: max(25px,env(safe-area-inset-bottom)); left: 30px; right: 30px; color: #656b63; font-size: 10px; }
.intro-bottom > span:last-child { font-size: 8px; letter-spacing: .16em; }
.intro-play { min-height: 44px; padding: 11px 19px; border: 1px solid #af925b; border-radius: 1px; background: #af925b; color: #20241f; font-size: 12px; box-shadow: none; }
body[data-page=home] #site-shell { opacity: 1; transition: opacity .5s ease; }
.intro-pending body[data-page=home] #site-shell { opacity: 0; }
@media (max-width:640px) {
 .intro-skip { top: max(20px,env(safe-area-inset-top)); right: 20px; }
 .intro-boot { bottom: 112px; max-width: 310px; }
 .intro-bottom { left: 22px; right: 22px; font-size: 9px; }
 .intro-bottom > span:last-child { font-size: 7px; letter-spacing: .12em; }
}
@media (max-height:550px) {
 .intro-boot { bottom: 63px; width: min(300px,calc(100% - 48px)); }
 .intro-boot-label { display: none; }
 .intro-bottom { bottom: 18px; }
}
@media (prefers-reduced-motion:reduce) { body[data-page=home] #site-shell,.intro-boot-fill { transition: none; } }

/* One aligned utility row, followed by a quiet metadata row. */
.site-footer .footer-bottom {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 14px;
  padding-top: 14px;
}
.site-footer .footer-bottom > .footer-utilities {
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 4px 28px;
  min-width: 0;
}
.site-footer .footer-utilities > a,
.site-footer .footer-utilities > button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 6px 0;
  line-height: 1.5;
  font-size: 11px;
  text-align: left;
  white-space: normal;
}
.site-footer .footer-bottom > .footer-meta {
  grid-row: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  border-top: 1px solid var(--gallery-platinum);
  padding-top: 14px;
  min-width: 0;
  line-height: 1.7;
  font-size: 10px;
}
.site-footer .footer-meta > span { min-width: 0; }
.site-footer .footer-meta .intro-replay {
  width: auto;
  min-height: 44px;
  padding-block: 8px;
  flex: none;
  font-size: 11px;
  text-align: left;
}
@media(max-width:640px) {
  .site-footer .footer-bottom > .footer-utilities {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 4px 20px;
    align-items: stretch;
  }
  .site-footer .footer-utilities > a,
  .site-footer .footer-utilities > button { width: 100%; min-width: 0; overflow-wrap: anywhere; }
  .site-footer .footer-bottom > .footer-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* Quiet dialogue and architecture marks, without robot or chip motifs. */
.bot-trigger > svg, .bot-header .bot-mark svg { color: var(--gallery-gold-text); }

/* Blend the approved white-matte artwork into all light brand surfaces.
   Original emblem pixels, typography and proportions remain untouched. */
.signature-picture,
img.booking-shell-emblem,
img[src*="brand/signature-"]:not(.gallery-system-watermark) {
  mix-blend-mode: multiply;
  background: transparent;
}
