/* Open Sauce One: OFL-1.1, served via Fontsource CDN. */
@import url("https://cdn.jsdelivr.net/npm/@fontsource/open-sauce-one@5.3.0/latin-400.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/open-sauce-one@5.3.0/latin-600.css");

:root {
  --navy: #1F2935;
  --white: #F8FBFD;
  --accent: #C1E5F5;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--navy);
  color: var(--white);
  font-family: "Open Sauce One", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.home-page {
  display: grid;
  grid-template-rows: 120px minmax(0, 1fr) auto;
  isolation: isolate;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.wrap { width: min(calc(100% - 80px), 1260px); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 50;
  padding: 12px 16px;
  background: #fff;
  color: var(--navy);
}
.skip-link:focus { top: 12px; }

/* Centered mark, with no other header controls. */
.site-header { position: relative; z-index: 1; }
.header-content { height: 100%; display: flex; align-items: center; justify-content: center; }
.brand { display: inline-flex; justify-content: center; align-items: center; line-height: 0; text-decoration: none; }
.brand img { display: block; width: 128px; height: 64px; object-fit: contain; }

/* Precise, geometric sans-serif paired with a human editorial italic. */
main { min-width: 0; }
.hero { height: 100%; }
.hero-layout {
  height: 100%;
  min-height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 18px 26px;
}
.hero h1 {
  max-width: 1120px;
  margin: 0;
  text-align: center;
  text-wrap: balance;
  font-size: clamp(54px, 6.9vw, 106px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.054em;
}
.hero h1 em {
  color: inherit;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.12em;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.025em;
  white-space: nowrap;
}

/* Quiet, consistent footer across home and privacy pages. */
.site-footer { padding: 0 0 28px; }
.footer-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-copyright {
  font-size: 12px;
  font-weight: 400;
  color: rgba(248, 251, 253, .58);
  white-space: nowrap;
}
.footer-links {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: wrap;
  column-gap: 26px;
  row-gap: 8px;
  font-size: 13px;
}
.footer-links a {
  color: rgba(248, 251, 253, .76);
  font-size: inherit;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: color .18s ease;
}
.footer-links a:hover { color: var(--white); }
.footer-links a:not(.footer-linkedin):hover { text-decoration: underline; text-underline-offset: 4px; }
/* Baseline alignment: SVG bottom follows the font's text-bottom on all viewports. */
.footer-links .footer-linkedin {
  display: inline-block;
  width: 30px;
  height: 34px;
  line-height: 34px;
  text-align: center;
}
.footer-linkedin svg {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: text-bottom;
}

/* Reveal the address only after a deliberate click. */
.footer-email { display: inline-flex; align-items: baseline; gap: 4px; min-height: 34px; }
.footer-email-value {
  color: rgba(248, 251, 253, .76);
  font-size: inherit;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.footer-email-toggle {
  width: 30px;
  height: 34px;
  display: inline-block;
  font: inherit;
  font-size: inherit;
  line-height: 34px;
  text-align: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(248, 251, 253, .76);
  cursor: pointer;
  transition: color .18s ease;
}
.footer-email-toggle:hover { color: var(--white); }
.footer-email-toggle svg {
  width: 18px;
  height: 12px;
  display: inline-block;
  vertical-align: text-bottom;
}
.footer-email-toggle .footer-copy-icon { width: 18px; height: 18px; }
.footer-email-toggle svg[hidden] { display: none; }
.privacy-page { display: flex; min-height: 100svh; flex-direction: column; }
.privacy-page .site-footer { margin-top: auto; }

@media (max-width: 820px) {
  .wrap { width: min(calc(100% - 56px), 1260px); }
  .hero h1 { font-size: clamp(48px, 8.2vw, 76px); }
}
@media (max-width: 600px) {
  .home-page { grid-template-rows: 100px minmax(0, 1fr) auto; }
  .wrap { width: min(calc(100% - 40px), 1260px); }
  .brand img { width: 108px; height: 54px; }
  .hero-layout { min-height: 310px; padding-block: 22px; }
  .hero h1 { font-size: clamp(41px, 9.6vw, 55px); line-height: 1.14; letter-spacing: -.052em; }
  .site-footer { padding-bottom: 22px; }
  .footer-inner { flex-direction: column; justify-content: center; gap: 12px; }
  .footer-links { order: -1; justify-content: center; column-gap: 22px; row-gap: 3px; }
  .footer-links { font-size: 12px; }
  .footer-copyright { font-size: 11px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 39px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-links a, .footer-email-toggle { transition: none; }
}

.privacy-page .site-header { height: 120px; }
.privacy-main { width: min(calc(100% - 48px), 740px); margin: 0 auto; padding: 20px 0 110px; }
.privacy-main h1 { font-size: clamp(39px, 5.1vw, 62px); line-height: 1.1; letter-spacing: -.045em; margin: 0 0 10px; font-weight: 600; }
.privacy-main .privacy-date { margin: 0 0 40px; color: rgba(248,251,253,.68); font-size: 13px; }
.privacy-main h2 { font-size: 19px; line-height: 1.35; font-weight: 600; letter-spacing: -.02em; margin: 35px 0 11px; }
.privacy-main p { margin: 0 0 14px; line-height: 1.75; color: rgba(248,251,253,.84); font-size: 15px; }
.privacy-main a { color: #fff; text-underline-offset: 3px; }
.privacy-main a:hover { color: var(--accent); }
@media (max-width: 600px) {
  .privacy-page .site-header { height: 100px; }
  .privacy-main { width: min(calc(100% - 40px), 740px); padding-top: 24px; padding-bottom: 72px; }
  .privacy-main .privacy-date { margin-bottom: 32px; }
}

/* Contact access is verified on demand. The modal is intentionally understated. */
.contact-dialog {
  width: min(440px, calc(100vw - 30px));
  max-height: min(90svh, 680px);
  padding: 28px;
  border: 1px solid rgba(248, 251, 253, .19);
  border-radius: 14px;
  background: #1F2935;
  color: #F8FBFD;
  font: inherit;
  box-shadow: 0 16px 60px rgba(0,0,0,.32);
}
.contact-dialog::backdrop { background: rgba(9, 15, 23, .68); }
.contact-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.contact-dialog h2 { margin: 0; font-size: 24px; letter-spacing: -.035em; }
/* This heading receives programmatic focus only when the dialog opens. */
.contact-dialog h2:focus { outline: none; }
.contact-dialog-close {
  color: rgba(248,251,253,.75);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 2px 7px;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}
.contact-dialog-close:hover { color: #fff; }
.contact-dialog-status { margin: 8px 0; color: rgba(248,251,253,.78); font-size: 12px; line-height: 1.5; }
.contact-dialog-status:empty { display: none; }
.contact-turnstile { min-height: 30px; margin-top: 18px; }
.contact-dialog-result[hidden] { display: none; }
.contact-dialog-address-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
}
.contact-revealed-address {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 17px;
  font-weight: 600;
  word-break: break-word;
  color: #F8FBFD;
  text-decoration: none;
  text-underline-offset: 4px;
}
.contact-revealed-address:hover { text-decoration: underline; }
.contact-dialog-actions { display: flex; align-items: center; flex: none; gap: 5px; }
.contact-dialog-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 6px;
  color: rgba(248, 251, 253, .82);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}
.contact-dialog-actions svg { width: 19px; height: 19px; display: block; }
.contact-dialog-actions button:hover {
  color: #F8FBFD;
  background: rgba(248,251,253,.10);
}
@media (max-width: 600px) {
  .contact-revealed-address { font-size: 15px; }
}
.contact-dialog button:focus-visible, .contact-dialog a:focus-visible { outline: 2px solid #C1E5F5; outline-offset: 4px; }
@media (max-width: 600px) { .contact-dialog { padding: 20px; } }
