/* Site header (nav.top + mobile menu) for the projects pages, extracted from main.css. */
nav.top, .mobile-menu {
    --white: #F5F1EE;
    --cream: #EFEAE5;
    --cream-soft: #F4F0EC;
    --cream-deep: #DCD6CE;
    --bordeaux: #1F1D1A;
    --bordeaux-2: #0F0E0D;
    --bordeaux-soft: #3A3936;
    --wine: #6E1F2E;
    --wine-deep: #5A1725;
    --wine-soft: rgba(110, 31, 46, 0.10);
    --brown-mid: #7A7672;
    --text-mute: #7A7672;
    --line: rgba(31, 29, 26, 0.10);
    --line-strong: rgba(31, 29, 26, 0.20);
    --line-cream: rgba(31, 29, 26, 0.24);
}
nav.top {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 22px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: rgba(245, 241, 238, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color .35s ease; }
nav.top.scrolled { border-bottom-color: var(--line); }
.nav-left, .nav-right {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center; }
.nav-right { justify-content: flex-end; }
.nav-divider {
    width: 1px;
    height: 14px;
    background: var(--line-strong);
    display: inline-block; }
.nav-left a, .nav-right a, .nav-right button {
    font-family: 'Inter', sans-serif;
    color: var(--bordeaux);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.005em;
    padding: 6px 0;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap; }
.nav-left a.subtle { font-weight: 400; color: var(--text-mute); }
.nav-left a.subtle:hover { color: var(--bordeaux); }
.nav-left a::after, .nav-right a::after, .nav-right button::after {
    content: "";
    position: absolute;
    left: 0; bottom: 2px;
    width: 0; height: 1px;
    background: var(--bordeaux);
    transition: width .4s cubic-bezier(0.16, 1, 0.3, 1); }
.nav-left a:hover::after, .nav-left a.active::after,
  .nav-right a:hover::after, .nav-right button:hover::after { width: 100%; }
.brand-mark {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.18em;
    color: var(--bordeaux);
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    padding-right: 0;
    margin-right: -0.18em; }
.menu-toggle, .mobile-cart {
    display: none; }
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 12px;
    margin: -12px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 110;
    position: relative; }
.menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--bordeaux);
    transition: transform .35s, opacity .35s;
    transform-origin: center; }
body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg); }
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 105;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom); }
body.menu-open .mobile-menu {
    opacity: 1;
    pointer-events: auto; }
.mm-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 90px 28px 40px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%; }
.mm-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0; }
.mm-links li {
    border-bottom: 1px solid var(--line); }
.mm-links li:first-child { border-top: 1px solid var(--line); }
.mm-links a {
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding: 22px 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--bordeaux);
    text-decoration: none;
    transition: padding .3s, color .3s;
    opacity: 0;
    transform: translateY(20px); }
body.menu-open .mm-links a {
    animation: mm-link-in .5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
body.menu-open .mm-links li:nth-child(1) a { animation-delay: 0.10s; }
body.menu-open .mm-links li:nth-child(2) a { animation-delay: 0.16s; }
body.menu-open .mm-links li:nth-child(3) a { animation-delay: 0.22s; }
body.menu-open .mm-links li:nth-child(4) a { animation-delay: 0.28s; }
body.menu-open .mm-links li:nth-child(5) a { animation-delay: 0.34s; }
body.menu-open .mm-links li:nth-child(6) a { animation-delay: 0.40s; }
.mm-links a:active {
    padding-left: 12px; }
.mm-links .num {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-mute);
    letter-spacing: 0.16em;
    flex-shrink: 0;
    width: 32px;
    align-self: flex-start;
    padding-top: 6px; }
.mm-links a span:nth-child(2) {
    flex: 1; }
.mm-links a b { font-weight: 600; }
.mm-footer {
    padding-top: 40px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.7;
    margin-top: 40px; }
.mm-footer a {
    color: var(--bordeaux);
    text-decoration: none;
    font-weight: 500; }
.mm-footer .mm-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 12px;
    display: block; }
body.menu-open {
    overflow: hidden; }
.mm-close {
    position: absolute;
    top: 18px;
    right: 18px;
    top: max(18px, env(safe-area-inset-top));
    right: max(18px, env(safe-area-inset-right));
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bordeaux); }
.mm-close::before,
  .mm-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 1.5px;
    background: var(--bordeaux);
    transform-origin: center; }
.mm-close::before {
    transform: translate(-50%, -50%) rotate(45deg); }
.mm-close::after {
    transform: translate(-50%, -50%) rotate(-45deg); }
.mm-close:active::before,
  .mm-close:active::after {
    background: var(--bordeaux-soft); }
.mm-close-label {
    position: absolute;
    top: 30px;
    right: 76px;
    top: max(30px, calc(env(safe-area-inset-top) + 12px));
    right: max(76px, calc(env(safe-area-inset-right) + 58px));
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-mute);
    z-index: 200;
    pointer-events: none; }
@media (max-width: 380px) {
  .mm-close-label { display: none; }
}
@media (max-width: 1023px) {
  nav.top {
      grid-template-columns: auto 1fr auto;
      gap: 12px; }
  .nav-left { display: none; }
  .nav-right { display: none; }
  .menu-toggle { display: flex; }
  .mobile-cart {
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 44px;
      height: 44px;
      margin: -12px -8px;
      padding: 12px 8px;
      background: transparent;
      border: none;
      color: var(--bordeaux);
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.04em;
      cursor: pointer;
      white-space: nowrap; }
}
@media (max-width: 760px) {
  nav.top {
      padding: 16px 18px;
      padding-top: max(16px, env(safe-area-inset-top));
      padding-left: max(18px, env(safe-area-inset-left));
      padding-right: max(18px, env(safe-area-inset-right));
      grid-template-columns: auto 1fr auto;
      gap: 12px; }
  .nav-left { display: none; }
  .nav-right { display: none; }
  .menu-toggle { display: flex; }
  .brand-mark {
      font-size: 14px;
      letter-spacing: 0.14em;
      text-align: center; }
  .mobile-cart {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      margin: -12px;
      padding: 12px;
      background: transparent;
      border: none;
      color: var(--bordeaux);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      cursor: pointer; }
}
@keyframes mm-link-in {
    to { opacity: 1; transform: translateY(0); }
  }

.hero{padding-top:calc(56px + 76px)}
@media (max-width:900px){.hero{padding-top:calc(36px + max(76px, calc(env(safe-area-inset-top) + 60px)))}}
