/* Generated from the shared SiteHeader, ProjectHero and app/globals.css. Run npm run sync:case-header. */
.site-header, .case-hero {
  --font-geist-sans: "Geist";
  --ink: #111111;
  --ink-soft: #191919;
  --paper: #f0eee9;
  --paper-bright: #faf9f6;
  --red: #f01446;
  --red-dark: #c80835;
  --red-text: #ff416b;
  --grey: #a7a5a2;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-light: rgba(17, 17, 17, 0.15);
}
.case-hero { background: var(--ink); color: var(--paper-bright); font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.5; }
.case-hero :where(p, dl) { margin: 0; line-height: 1.5; }
.case-hero :where(h1) { font-family: inherit; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px clamp(24px, 5vw, 80px);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.site-header .wordmark { width: max-content; color: var(--red-text); }
.site-header .brand-logo { width: 124px; height: auto; }
.site-header .desktop-nav { display: flex; gap: 34px; color: #c6c3bf; }
.site-header .desktop-nav a { transition: color .2s ease; }
.site-header .desktop-nav a:hover { color: white; }
.site-header .nav-cta { justify-self: end; border-bottom: 1px solid var(--red); padding: 9px 0; }
.site-header .mobile-menu { display: none; }
.case-hero .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #bbb8b5;
  display: flex;
  align-items: center;
  gap: 10px;
}
.case-hero { min-height: 82svh; padding: 160px clamp(24px, 7vw, 110px) 70px; display: flex; flex-direction: column; justify-content: flex-end; }
.case-hero .case-back { position: absolute; top: 105px; color: #777; font-size: 12px; }
.case-hero h1 { margin: 23px 0; font-size: clamp(76px, 11vw, 180px); line-height: .86; letter-spacing: -.075em; font-weight: 500; }
.case-hero .case-summary { max-width: 860px; margin: 0; color: #aaa6a2; font-size: clamp(20px, 2vw, 30px); line-height: 1.45; }
.case-hero .case-site-link { width: max-content; margin-top: 28px; padding: 8px 0; display: inline-flex; align-items: center; gap: 12px; color: var(--project-accent); border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.case-hero .case-meta { margin: 70px 0 0; padding-top: 28px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: .7fr 1.8fr .35fr; gap: 40px; }
.case-hero .case-meta div { display: grid; gap: 8px; }
.case-hero .case-meta dt { color: #686562; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.case-hero .case-meta dd { margin: 0; font-size: 13px; line-height: 1.5; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
}

@media (max-width: 980px) {
  .site-header .desktop-nav { display: none; }
}

@media (max-width: 980px) {
  .site-header .nav-cta { display: none; }
}

@media (max-width: 980px) {
  .site-header .mobile-menu { display: block; justify-self: end; position: relative; }
}

@media (max-width: 980px) {
  .site-header .mobile-menu summary { list-style: none; cursor: pointer; width: 58px; height: 45px; border-radius: 999px; background: var(--paper-bright); display: grid; place-content: center; gap: 7px; }
}

@media (max-width: 980px) {
  .site-header .mobile-menu summary::-webkit-details-marker { display: none; }
}

@media (max-width: 980px) {
  .site-header .mobile-menu summary i { display: block; width: 23px; height: 2px; background: var(--ink); transition: transform .25s ease; }
}

@media (max-width: 980px) {
  .site-header .mobile-menu[open] summary i:first-child { transform: translateY(4px) rotate(45deg); }
}

@media (max-width: 980px) {
  .site-header .mobile-menu[open] summary i:last-child { transform: translateY(-5px) rotate(-45deg); }
}

@media (max-width: 980px) {
  .site-header .mobile-menu nav { position: absolute; right: 0; top: 58px; width: min(330px, calc(100vw - 40px)); padding: 18px; background: var(--paper-bright); color: var(--ink); box-shadow: 0 25px 70px rgba(0,0,0,.35); display: grid; }
}

@media (max-width: 980px) {
  .site-header .mobile-menu nav a { padding: 15px 10px; border-bottom: 1px solid var(--line-light); font-size: 15px; }
}

@media (max-width: 680px) {
  .site-header { padding: 22px 20px; }
}

@media (max-width: 680px) {
  .site-header .mobile-menu summary { width: 53px; height: 42px; }
}

@media (max-width: 680px) {
  .case-hero { min-height: 80svh; padding: 145px 20px 55px; }
}

@media (max-width: 680px) {
  .case-hero .case-back { top: 98px; }
}

@media (max-width: 680px) {
  .case-hero h1 { font-size: clamp(66px, 20vw, 98px); }
}

@media (max-width: 680px) {
  .case-hero[data-long-title] h1 { font-size: clamp(44px, 16vw, 98px); }
}

@media (max-width: 680px) {
  .case-hero .case-summary { font-size: 19px; }
}

@media (max-width: 680px) {
  .case-hero .case-meta { margin-top: 50px; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .case-hero .case-meta div:nth-child(2) { grid-row: 2; grid-column: 1 / -1; }
}
.case-hero .case-back, .case-hero .case-meta dt { color: #96928e; }
/* Preserve the portfolio base styles on the standalone case study. */
.site-header {
  background: var(--ink);
  color: var(--paper-bright);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}
.site-header a { color: inherit; text-decoration: none; }
.site-header .wordmark { color: var(--red-text); }
.site-header summary { -webkit-tap-highlight-color: transparent; }