:root {
  --chrome-ink: #29463c;
  --chrome-muted: #5e7068;
  --chrome-paper: #faf7f1;
  --chrome-ivory: #f3ede3;
  --chrome-sage: #e3eee7;
  --chrome-line: rgba(41,70,60,.12);
  --chrome-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --chrome-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.site-chrome-header {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px),1500px);
  min-height: 58px;
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(41,70,60,.1);
  border-radius: 999px;
  background: rgba(255,252,247,.9);
  box-shadow: 0 14px 42px rgba(41,70,60,.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: border-radius .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.site-chrome-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  color: var(--chrome-ink);
  text-decoration: none;
}

.site-chrome-brand__name {
  font: 600 17px/1 var(--chrome-serif);
  letter-spacing: .17em;
  white-space: nowrap;
}

.site-chrome-brand__note {
  margin-top: 5px;
  color: var(--chrome-muted);
  font: 500 8px/1 var(--chrome-sans);
  letter-spacing: .19em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-chrome-menu {
  position: relative;
  z-index: 1;
  display: none;
  min-height: 38px;
  padding: 8px 14px;
  color: var(--chrome-ink);
  border: 1px solid var(--chrome-line);
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  font: 500 12px/1 var(--chrome-sans);
}

.site-chrome-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px,1.4vw,24px);
  color: var(--chrome-ink);
  font: 400 11px/1.2 var(--chrome-sans);
}

.site-chrome-nav a {
  position: relative;
  padding: 9px 5px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.site-chrome-nav a:not(.site-chrome-nav__contact)::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 3px;
  left: 5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}

.site-chrome-nav a:hover::after,
.site-chrome-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-chrome-nav__contact {
  padding: 10px 18px !important;
  color: #fff !important;
  border-radius: 999px;
  background: var(--chrome-ink);
  box-shadow: 0 8px 18px rgba(41,70,60,.14);
}

.site-chrome-brand:focus-visible,
.site-chrome-menu:focus-visible,
.site-chrome-nav a:focus-visible,
.site-chrome-footer a:focus-visible,
.site-chrome-footer button:focus-visible {
  outline: 2px solid rgba(41,70,60,.42);
  outline-offset: 3px;
}

.site-chrome-content {
  padding-top: 72px;
}

.site-chrome-footer {
  display: grid;
  grid-template-columns: .7fr 1.6fr .2fr;
  gap: 35px;
  align-items: end;
  margin: 8px 4vw 0;
  padding: 30px 18px 34px;
  color: var(--chrome-ink);
  border-radius: 26px 26px 0 0;
  background: rgba(255,252,247,.62);
  font-family: var(--chrome-sans);
}

.site-chrome-footer p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: var(--chrome-muted);
  font-size: 10px;
  line-height: 1.58;
}

.site-chrome-footer p:last-child {
  justify-content: flex-end;
  text-align: right;
}

.site-chrome-footer a {
  color: inherit;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .site-chrome-header { padding: 9px 10px 9px 16px; }
  .site-chrome-header:has(.site-chrome-nav.is-open),
  .site-chrome-header.is-menu-closing {
    border-radius: 24px 24px 0 0;
    border-bottom-color: transparent;
    background: rgba(255,252,247,.98);
    box-shadow: 0 8px 24px rgba(41,70,60,.06);
  }
  .site-chrome-menu { display: block; }
  .site-chrome-nav {
    position: absolute;
    z-index: -1;
    top: calc(100% - 16px);
    right: -.5px;
    left: -1px;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: 0;
    padding: 0 10px;
    overflow: hidden;
    border: 1px solid transparent;
    border-top: 0;
    border-radius: 0;
    background: rgba(255,252,247,.98);
    box-shadow: none;
    visibility: hidden;
    pointer-events: none;
    transition: max-height .46s cubic-bezier(.4,0,.6,1), padding .46s cubic-bezier(.4,0,.6,1), border-radius .2s ease, border-color .12s ease, visibility 0s linear .46s;
  }
  .site-chrome-nav.is-open {
    max-height: 340px;
    padding: 18px 10px 10px;
    border-color: var(--chrome-line);
    border-top-color: transparent;
    border-radius: 0 0 24px 24px;
    visibility: visible;
    pointer-events: auto;
    transition: max-height .46s cubic-bezier(.4,0,.6,1), padding .46s cubic-bezier(.4,0,.6,1), border-radius .2s ease, border-color .12s ease, visibility 0s;
  }
  .site-chrome-nav a {
    min-height: 44px;
    padding: 14px !important;
    border-radius: 14px;
    outline: 0;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity .12s ease, transform .18s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .site-chrome-nav.is-open a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .18s;
  }
  .site-chrome-nav a:hover,
  .site-chrome-nav a:focus,
  .site-chrome-nav a:focus-visible,
  .site-chrome-nav a:active { outline: 0; background: transparent; }
  .site-chrome-nav a::after { display: none; }
  .site-chrome-nav__contact { text-align: center; }
  .site-chrome-footer { grid-template-columns: 1fr; }
  .site-chrome-footer p:last-child { justify-content: flex-start; text-align: left; }
}

@media (max-width: 560px) {
  .site-chrome-header { top: 8px; width: calc(100% - 20px); min-height: 54px; border-radius: 20px; }
  .site-chrome-header:has(.site-chrome-nav.is-open),
  .site-chrome-header.is-menu-closing { border-radius: 20px 20px 0 0; }
  .site-chrome-nav { border-radius: 0; }
  .site-chrome-nav.is-open { border-radius: 0 0 20px 20px; }
  .site-chrome-brand__name { font-size: 14px; }
  .site-chrome-brand__note { font-size: 7px; }
  .site-chrome-content { padding-top: 64px; }
  .site-chrome-footer { margin: 8px 10px 0; padding: 26px 12px; border-radius: 22px 22px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .site-chrome-nav,
  .site-chrome-nav a,
  .site-chrome-nav a::after { transition: none; }
}
