/* ==========================================================================
   Sing Sing — shared design system
   Lacquer black, lantern red (fills only), DM Serif Display titles + Mulish text.
   Signature: the red Chinese corner frame on photography (.framed).
   ========================================================================== */

:root {
  --surface:   #110d0c;   /* lacquer black */
  --surface-2: #1d1716;   /* raised: cards */
  --line:      #2f2624;   /* dividers */
  --text:      #f3eee9;   /* 16.8:1 on surface */
  --text-2:    #b8aea8;   /*  8.9:1 on surface */
  --red:       #c42f28;   /* lantern red — fills & frames only; white on it 5.55:1 */
  --red-hover: #d93a32;
  --red-text:  #ff7062;   /* only if red text is ever needed: 7.1:1 */

  --font: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --radius: 12px;
  --max: 1120px;
  --gutter: 24px;

  --corner-tl: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'><g fill='none' stroke='%23c42f28' stroke-width='2' stroke-linecap='square'><path d='M 0,18 L 0,0 L 18,0'/><path d='M 5,13 L 5,5 L 13,5'/><path d='M 9,10 L 9,9 L 10,9'/></g></svg>");
  --corner-tr: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'><g fill='none' stroke='%23c42f28' stroke-width='2' stroke-linecap='square'><path d='M 28,18 L 28,0 L 10,0'/><path d='M 23,13 L 23,5 L 15,5'/><path d='M 19,10 L 19,9 L 18,9'/></g></svg>");
  --corner-bl: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'><g fill='none' stroke='%23c42f28' stroke-width='2' stroke-linecap='square'><path d='M 0,10 L 0,28 L 18,28'/><path d='M 5,15 L 5,23 L 13,23'/><path d='M 9,18 L 9,19 L 10,19'/></g></svg>");
  --corner-br: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'><g fill='none' stroke='%23c42f28' stroke-width='2' stroke-linecap='square'><path d='M 28,10 L 28,28 L 10,28'/><path d='M 23,15 L 23,23 L 15,23'/><path d='M 19,18 L 19,19 L 18,19'/></g></svg>");
}
@media (max-width: 600px) { :root { --gutter: 18px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* Visible keyboard focus everywhere */
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ── NAV ───────────────────────────────────────────── */
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.nav-logo { display: inline-flex; align-items: center; min-height: 44px; }
.nav-logo img { height: 34px; width: auto; }   /* tightly cropped logo: this is the lettering height */
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  transition: color .15s, background-color .15s;
}
@media (hover: hover) { .nav-links a:hover { color: var(--text); background: var(--surface-2); } }
.nav-links a.active, .nav-links a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--red);
  border-radius: 0;
}
/* Menu button — phones only */
.nav-toggle { display: none; }

@media (max-width: 700px) {
  .nav { position: relative; padding-top: 12px; padding-bottom: 12px; }
  .nav-logo img { height: 26px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: -10px;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: var(--text);
    cursor: pointer;
  }
  @media (hover: hover) { .nav-toggle:hover { background: var(--surface-2); } }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s, background-color .2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after  { top:  7px; }
  .nav.open .nav-toggle-bars { background: transparent; }
  .nav.open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

  /* Links become a full-width panel under the bar */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    flex-direction: column;
    gap: 0;
    padding: 0 var(--gutter) 12px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0,0,0,.45);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a {
    min-height: 48px;
    padding: 0;
    font-size: 17px;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a:hover { background: transparent; color: var(--text); }
  .nav-links a.active, .nav-links a[aria-current="page"] {
    box-shadow: none;
    color: var(--text);
    padding-left: 12px;
    border-left: 2px solid var(--red);
  }
}

/* ── PAGE HEADER ───────────────────────────────────── */
.page-head { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter) 40px; }
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.page-head h1 { font-size: clamp(52px, 8.5vw, 112px); }
.page-head p {
  margin-top: 20px;
  max-width: 34ch;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.4;
  color: var(--text-2);
}
@media (max-width: 600px) { .page-head { padding-top: 28px; padding-bottom: 28px; } }

/* Section titles */
.section-title { font-size: clamp(36px, 4.8vw, 56px); margin-bottom: 28px; }

/* ── SIGNATURE: red Chinese frame on photography ───── */
.framed { position: relative; overflow: hidden; }
.framed::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--red);
  background-image: var(--corner-tl), var(--corner-tr), var(--corner-bl), var(--corner-br);
  background-position: top left, top right, bottom left, bottom right;
  background-repeat: no-repeat;
  background-size: 26px 26px;
  pointer-events: none;
}

/* ── TEXT ──────────────────────────────────────────── */
.prose { max-width: 680px; font-size: 18px; line-height: 1.6; }
.prose p + p { margin-top: 1em; }
.note { color: var(--text-2); font-size: 15px; }
.label { font-size: 14px; font-weight: 600; color: var(--text-2); }

/* ── BUTTONS ───────────────────────────────────────── */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .15s, border-color .15s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-secondary { border-color: var(--line); color: var(--text); background: transparent; }
.btn-secondary:hover { border-color: var(--text-2); }
@media (max-width: 600px) { .buttons .btn { flex: 1 1 100%; } }

/* ── CARDS ─────────────────────────────────────────── */
.card { background: var(--surface-2); border-radius: var(--radius); padding: 24px; }

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--gutter) 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  font-size: 15px;
  color: var(--text-2);
  border-top: 1px solid var(--line);
}
.footer a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.footer a:hover { color: var(--text); text-decoration: underline; }
