/* Shared styles for the plain pages (privacy, terms, gallery). */
:root {
  --ink: #14130f; --ink-2: #4a4840; --muted: #7a776c; --line: #e6e1d6; --bg: #fbf9f4; --bg-2: #f3efe6; --white: #fff;
  --accent: #f0512b; --accent-ink: #d13f1c; --accent-soft: #fde8e1;
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 16px/1.65 "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
nav { position: sticky; top: 0; z-index: 20; background: rgba(251,249,244,0.85); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.logo:hover { text-decoration: none; }
.logo i { width: 16px; height: 19px; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='3.5 1.5 17 20'><path d='M5 3l14 8.5-6.2 1.6L9.5 20z' fill='%23fff' stroke='%2314130f' stroke-width='1.6' stroke-linejoin='round'/></svg>") 0 0 / 100% 100% no-repeat; display: inline-block; flex: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.18)); }
nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15.5px; font-weight: 500; }
nav ul a { color: var(--ink-2); white-space: nowrap; }
nav ul a:hover, nav ul a[aria-current="page"] { color: var(--ink); text-decoration: none; }
nav .actions { display: flex; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; line-height: 1.3; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s; }
.btn:hover { text-decoration: none; }
.btn .arr { transition: transform 0.15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
nav .btn { padding: 10px 18px; font-size: 14.5px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; padding: 0; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s, top 0.2s; }
.menu-btn span:nth-child(1) { top: 14px; } .menu-btn span:nth-child(2) { top: 20px; } .menu-btn span:nth-child(3) { top: 26px; }
body.menu-open .menu-btn span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.menu-panel { display: none; }
@media (max-width: 860px) {
  nav ul, nav .btn-ghost { display: none; }
  nav .wrap { height: 68px; }
  .menu-btn { display: block; }
  nav .actions .btn-primary { padding: 9px 14px; font-size: 14px; }
  nav .actions .btn-primary .arr { display: none; }
  .logo { font-size: 20px; }
  .menu-panel { display: block; position: fixed; left: 0; right: 0; top: 68px; bottom: 0; z-index: 19; background: var(--bg); padding: 24px 24px 40px; overflow-y: auto; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.18s, transform 0.18s; }
  body.menu-open .menu-panel { opacity: 1; transform: none; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
  .menu-panel ul { list-style: none; margin: 0; padding: 0; }
  .menu-panel li a { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
  .menu-panel li a::after { content: "→"; color: var(--accent); font-size: 20px; }
  .menu-panel li a:hover { text-decoration: none; }
  .menu-panel .cta { display: grid; gap: 10px; margin-top: 28px; }
  .menu-panel .cta .btn { justify-content: center; padding: 15px 22px; font-size: 16px; }
  .menu-panel .contact { margin-top: 28px; font-size: 14px; color: var(--muted); text-align: center; }
}
@media (max-width: 400px) {
  nav .wrap { gap: 12px; }
  nav .actions { gap: 8px; }
  nav .actions .btn-primary { padding: 9px 12px; font-size: 13.5px; }
  nav .actions .btn-primary .long { display: none; }
  .logo { font-size: 19px; }
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin: 0; }
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.page-head p { margin: 16px 0 0; color: var(--ink-2); font-size: 18px; max-width: 60ch; }
.page-head .meta { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
article { max-width: 720px; padding: 48px 0 96px; }
article h2 { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 12px; line-height: 1.2; }
article h2:first-child { margin-top: 0; }
article h3 { font-family: var(--font-display); font-size: 18px; margin: 28px 0 8px; }
article p, article li { color: var(--ink-2); }
article p { margin: 0 0 14px; }
article ul { padding-left: 22px; margin: 0 0 16px; }
article li { margin-bottom: 6px; }
article strong { color: var(--ink); }
article .placeholder { background: var(--accent-soft); color: var(--accent-ink); padding: 1px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 0.9em; }
article table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; }
article th, article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
article th { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
@media (max-width: 640px) {
  .page-head { padding: 48px 0 32px; }
  article { padding: 36px 0 72px; }
  article table, article tbody, article tr, article td { display: block; }
  article thead { display: none; }
  article tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  article td { padding: 4px 0; border: 0; }
  article td::before { content: attr(data-label); display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
  article td:first-child { color: var(--ink); font-weight: 600; }
}
footer { padding: 40px 0; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }
