/* ShallWe contact page — site header (same look as the main / service pages: logo · CONTACT · MENU).
   Standalone: does not depend on the main or service page stylesheets. */
@font-face { font-family: "Trap"; src: url("/service/standard/font/Trap-ExtraBold.woff2") format("woff2"), url("/font/Trap-ExtraBold.woff2") format("woff2"), url("/proposal/font/Trap-ExtraBold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

.cs-header {
  font-synthesis: none; /* never a fake-bold Trap: same weight as the other pages */
  --cs-lime: #98ff16;
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 80px; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: none;
  transition: background-color .35s ease, box-shadow .35s ease;
}
.cs-header > * { pointer-events: auto; }
.cs-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}
.cs-logo { display: block; line-height: 0; }
.cs-logo img { display: block; width: 100px; height: auto; }

.cs-header-right { display: flex; align-items: center; gap: 26px; }
.cs-contact-link {
  font: 700 20px/23px "Trap", "Instrument Sans", sans-serif; letter-spacing: -.035em; color: #080808;
  text-decoration: none; padding: 4px 0 5px; border-bottom: 1.5px solid #080808;
}

/* MENU: pill + round arrow (closed) */
.cs-menu { position: relative; }
.cs-menu-btn {
  display: flex; align-items: center; gap: 0; padding: 0; margin: 0; border: 0; background: none;
  cursor: pointer; color: #000; -webkit-tap-highlight-color: transparent;
}
.cs-menu-label {
  display: flex; align-items: center; height: 46px; padding: 4px 14px 0;
  font: 700 20px/20px "Trap", "Instrument Sans", sans-serif; letter-spacing: -.005em;
  background: #fff; border: 1px solid #000; border-radius: 999px;
}
.cs-menu-circle {
  display: grid; place-items: center; width: 46px; height: 46px;
  background: #fff; border: 1px solid #000; border-radius: 50%;
  transition: background-color .25s ease;
}
.cs-menu-circle svg { width: 24px; height: 24px; fill: none; stroke: #000; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.22,1,.36,1); }

/* panel */
.cs-menu-panel {
  position: absolute; top: 0; right: 0; width: 331px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s ease, transform .35s cubic-bezier(.22,1,.36,1), visibility 0s linear .35s;
}
.cs-menu-links {
  display: flex; flex-direction: column; align-items: stretch;
  padding: 22px 24px 24px; background: #fff; border: 1px solid #000; border-radius: 24px;
}
.cs-menu-links a { color: #000; text-decoration: none; font-family: "Trap", "Instrument Sans", sans-serif; font-weight: 700; }
.cs-menu-main { font-size: 30px; line-height: 1.12; letter-spacing: -.035em; margin: 0 0 20px; }
.cs-menu-sub { display: flex; align-items: baseline; gap: 12px; font-size: 20px; line-height: 1.15; letter-spacing: -.035em; margin: 0 0 13px; }
.cs-menu-sub span { min-width: 29px; }
.cs-menu-contact {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 7px; padding-top: 16px; border-top: 1px solid #e3e3e3;
  font-size: 17px; letter-spacing: -.02em;
}
/* same arrow as the service pages' menu CONTACT row (→ turned 45°) */
.cs-menu-contact svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-45deg); transition: transform .35s cubic-bezier(.16,1,.3,1); }
.cs-menu-contact:hover svg { transform: rotate(-45deg) translateX(3px); }
.cs-menu-links a:hover, .cs-menu-links a:hover *, .cs-menu-links a.is-current, .cs-menu-links a.is-current * { color: var(--cs-lime); }
.cs-menu-contact.is-current svg { stroke: var(--cs-lime); }

/* open */
.cs-menu.is-open .cs-menu-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .35s cubic-bezier(.22,1,.36,1), visibility 0s; }

@media (min-width: 821px) {
  /* PC: the panel takes the MENU pill's place, the round arrow turns lime and sits on its left */
  .cs-menu.is-open .cs-menu-label { opacity: 0; }
  .cs-menu.is-open .cs-menu-circle { position: relative; z-index: 2; transform: translateX(-334px); background: var(--cs-lime); }
  .cs-menu.is-open .cs-menu-circle svg { transform: rotate(180deg); }
  .cs-menu-circle { transition: background-color .25s ease, transform .35s cubic-bezier(.22,1,.36,1); }
  .cs-menu-panel { z-index: 1; }
  /* the open menu is wider, so CONTACT slides left instead of being covered (as on the other pages) */
  .cs-menu { width: 138px; height: 46px; transition: width .35s cubic-bezier(.22,1,.36,1); }
  .cs-menu.is-open { width: 380px; }
  .cs-menu-btn { position: absolute; top: 0; right: 0; z-index: 2; }
  .cs-menu.is-open .cs-menu-panel { right: 0; }
  .cs-menu-contact { display: none; } /* CONTACT is already in the header on PC */
}

@media (max-width: 820px) {
  .cs-header { height: 64px; padding: 0 16px; }
  .cs-logo img { width: 88px; }
  .cs-contact-link { display: none; }
  .cs-menu-label { height: 36px; padding: 4px 12px 0; font-size: 16px; line-height: 16px; }
  .cs-menu-circle { width: 36px; height: 36px; }
  .cs-menu-circle svg { width: 21px; height: 21px; transform: rotate(-90deg); }
  .cs-menu.is-open .cs-menu-circle { background: var(--cs-lime); }
  .cs-menu.is-open .cs-menu-circle svg { transform: rotate(90deg); }
  .cs-menu-panel { top: 42px; right: -6px; width: 264px; }
  .cs-menu-links { padding: 16px 17px; border-radius: 20px; }
  .cs-menu-main { font-size: 23.4px; margin-bottom: 14px; }
  .cs-menu-sub { font-size: 16px; padding: 6px 0; margin: 0; gap: 10px; }
  .cs-menu-sub span { min-width: 20px; font: 400 13px/1.15 "Instrument Sans", sans-serif; }
  .cs-menu-contact { font-size: 16px; margin-top: 14px; padding-top: 14px; border-top-color: rgba(0,0,0,.14); }
}

/* 2026-11-06: match the service pages exactly when the menu is open (no extra space under EDITORIAL,
   CONTACT sits as far left as on the other pages) */
@media (min-width: 821px) {
  .cs-menu.is-open { width: 390px; }
  .cs-menu-sub:nth-of-type(4) { margin-bottom: 0; }
}

/* CONTACT = the page you are on: same black word, the underline becomes a lime bar
   (the site marks "current" in lime — e.g. 01 STANDARD in the menu). Clicking it goes back to the top. */
.cs-contact-link.is-current { border-bottom: 0; padding-bottom: 5px; background: linear-gradient(var(--cs-lime), var(--cs-lime)) no-repeat 0 100% / 100% 5px; cursor: default; }

/* 2026-11-09 — header line weights: CONTACT underline, MENU outline and arrow-circle outline all 1px;
   on a Mac (html.is-mac) all three 1.5px. Same as the other ShallWe pages. */
.cs-contact-link { border-bottom-width: 1px; }
/* PC: underline drawn 5px higher (closer to CONTACT, same gap as on the other pages); the link box keeps its size */
@media (min-width: 821px) {
  .cs-contact-link:not(.is-current) { border-bottom-color: transparent; }
  .cs-contact-link:not(.is-current)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: currentColor; pointer-events: none; }
  html.is-mac .cs-contact-link:not(.is-current)::after { box-shadow: 0 0.5px 0 currentColor; } /* Mac: same 1px + half pixel as the outlines */
}
.cs-menu-label, .cs-menu-circle { border-width: 1px; }
/* (browsers round border widths, so the extra half pixel is a shadow next to the 1px line) */
/* (Mac weight for the CONTACT underline: see the PC rule above) */
html.is-mac .cs-menu-label, html.is-mac .cs-menu-circle { box-shadow: inset 0 0 0 0.5px currentColor; }

/* 2026-11-09 — header size follows the screen (PC ≥821px).
   The header was the same pixel size on every screen, so on smaller laptop screens it looked big.
   It is now a little smaller step by step below 1920px wide (100% → 80%). Only the size changes:
   positions, edges and the menu behaviour stay the same (scale, anchored to the outer edges). */
@media (min-width: 821px) { :root { --hdr-s: 0.8; } }
@media (min-width: 1280px) { :root { --hdr-s: 0.84; } }
@media (min-width: 1440px) { :root { --hdr-s: 0.88; } }
@media (min-width: 1680px) { :root { --hdr-s: 0.94; } }
@media (min-width: 1920px) { :root { --hdr-s: 1; } }
@media (min-width: 821px) {
  .cs-header .cs-logo { zoom: var(--hdr-s, 1); }
  .cs-header .cs-header-right { zoom: var(--hdr-s, 1); }
}

/* 2026-11-09 — CONTACT matches MENU (PC): same letter-spacing and the same text line (it sat 3.5px higher). */
@media (min-width: 821px) {
  .cs-contact-link { letter-spacing: -0.005em; position: relative; top: 3.5px; }
}
