/* Dauphine Software — local static site, v3 studio brand.
   Dark primary (ink #141414). Colours from the approved brand sheet.
   No third-party fonts, CDNs, or trackers. No JavaScript.
   Neon colour is scoped to the Neonade product card and the /neonade/ page only.
   Custom brand fonts are not used: CSP font-src is 'none', so type is the system stack.
   The lockup is the supplied outlined SVG, never redrawn. */

:root {
  --ink: #141414;
  --ink-elev: #1c1c1c;
  --paper: #f6f3ec;
  --sunflower: #ffc22e;
  --text: #f7f8f9;
  --muted: #bfc3c8;
  --silver-light: #dcdfe3;
  --silver-mid: #b5bac0;
  --silver-shadow: #8b9198;
  --silver-deep: #6c727a;
  --silver-edge: #3f444b;
  --line: #3f444b;
  --line-strong: #6c727a;
  --focus: #ffc22e;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px rgba(255, 194, 46, 0.4), 0 0 16px rgba(255, 194, 46, 0.16);
  --radius: 6px;
  --max: 68rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: 140ms ease;

  --neo-bg: #05020f;
  --neo-bg-card: #100a22;
  --neo-text: #f4f1ff;
  --neo-muted: #c6bdd8;
  --neo-cyan: #00e6e6;
  --neo-cyan-dim: rgba(0, 230, 230, 0.16);
  --neo-magenta: #ff3caa;
  --neo-line: rgba(0, 230, 230, 0.28);
  --neo-line-strong: rgba(255, 60, 170, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--ink);
  /* Very low-contrast grid. Worst-case cell line is about #1c1c1c; text contrast is re-checked against that. */
  background-image:
    linear-gradient(rgba(247, 248, 249, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 248, 249, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sunflower);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--text);
}

a:focus-visible,
.skip-link:focus-visible,
.btn:focus-visible,
.nav-list a:focus-visible,
.wordmark:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: var(--glow);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 20;
  background: var(--ink-elev);
  color: var(--text);
  padding: 0.6rem 1rem;
  border: 1px solid var(--sunflower);
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.site-footer {
  border-color: var(--line);
  border-style: solid;
  background: var(--ink);
}

.site-header {
  border-width: 0 0 1px;
}

.site-footer {
  border-width: 1px 0 0;
  margin-top: auto;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.header-inner,
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 0.85rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  /* Clear space around the lockup (brand x ≈ half the icon square). */
  padding: 0.65rem 0.15rem;
}

.wordmark img {
  width: clamp(240px, 36vw, 300px);
  height: auto;
  flex-shrink: 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  text-decoration: none;
  color: var(--text);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-list a:hover {
  background: rgba(255, 194, 46, 0.1);
  color: var(--sunflower);
  box-shadow: var(--glow);
}

.nav-list a[aria-current="page"] {
  color: var(--ink);
  background: var(--sunflower);
}

.nav-list a[aria-current="page"]:hover {
  color: var(--ink);
  background: var(--sunflower);
  filter: brightness(1.06);
}

main {
  flex: 1 0 auto;
  padding: 2rem 0 3rem;
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 860px) {
  .hero-with-media {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    min-height: 22rem;
  }
}

.eyebrow,
.kicker,
.badge {
  font-family: var(--font-mono);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--sunflower);
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  color: var(--text);
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

.lede,
.prose p,
.prose li {
  color: var(--muted);
  font-size: 1.05rem;
}

.lede {
  margin: 0 0 1rem;
  max-width: 40rem;
  color: var(--text);
  font-size: 1.125rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--sunflower);
  color: var(--ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--ink);
  filter: brightness(1.06);
  box-shadow: var(--glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--ink-elev);
  color: var(--sunflower);
  border-color: var(--sunflower);
  box-shadow: var(--glow);
}

.phone-frame {
  justify-self: center;
  width: min(100%, 22rem);
  padding: 0.7rem;
  border-radius: 2rem;
  background: var(--silver-edge);
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  border-radius: 1.45rem;
  background: var(--ink);
}

.product-card,
.panel,
.shot-card,
.support-card,
.btn {
  transition: box-shadow var(--ease), border-color var(--ease), background-color var(--ease), color var(--ease), filter var(--ease);
}

.product-card,
.panel,
.shot-card,
.support-card {
  background: var(--ink-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-card:hover,
.product-card:focus-within,
.panel:hover,
.panel:focus-within,
.shot-card:hover,
.shot-card:focus-within,
.support-card:hover,
.support-card:focus-within {
  border-color: rgba(255, 194, 46, 0.55);
  box-shadow: var(--glow);
}

.product-card {
  display: grid;
  gap: 1.5rem;
  padding: 1.35rem;
}

@media (min-width: 720px) {
  .product-card {
    grid-template-columns: 9.5rem 1fr;
    align-items: center;
    padding: 1.5rem 1.75rem;
  }
}

.product-card img {
  width: min(100%, 9.5rem);
  margin-inline: auto;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.kicker {
  margin: 0 0 0.3rem;
  color: var(--sunflower);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.badge {
  display: inline-block;
  margin: 0.7rem 0 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--sunflower);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status {
  font-family: var(--font-mono);
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.product-card-neonade .status {
  color: var(--neo-muted);
}

.detail-link {
  margin: 1rem 0 0;
}

.section-title {
  margin: 2rem 0 0.85rem;
}

.gallery {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.shot-card {
  padding: 0.7rem 0.7rem 1rem;
  margin: 0;
}

.shot-card img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--ink);
}

.shot-card figcaption {
  margin: 0.75rem 0.35rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.outline {
  margin: 0;
  padding: 0;
}

.outline > li {
  list-style: none;
  margin: 0 0 0.9rem;
}

.outline a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.outline a:hover {
  color: var(--sunflower);
}

.outline ol {
  margin: 0.35rem 0 0 1.2rem;
  color: var(--muted);
  list-style: none;
  padding-left: 1.2rem;
}

.panel,
.support-card {
  padding: 1.35rem 1.4rem;
  margin: 0 0 1.25rem;
}

.support-email {
  font-size: 1.25rem;
  font-weight: 700;
  word-break: break-word;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-meta p {
  margin: 0;
}

.not-found {
  text-align: center;
  padding: 3rem 0 2rem;
}

.not-found h1 {
  color: var(--sunflower);
  font-size: clamp(3rem, 12vw, 6rem);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.prose h2 {
  margin-top: 1.6rem;
}

.prose > :first-child {
  margin-top: 0;
}

.measure {
  max-width: 44rem;
}

.measure.legal {
  max-width: 52rem;
}

.prose h3 {
  margin-top: 1.25rem;
  font-size: 1.1rem;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-elev);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.prose th {
  color: var(--text);
  font-weight: 700;
  background: var(--ink);
}

.prose tr:last-child td {
  border-bottom: 0;
}

.btn-row-center {
  justify-content: center;
}

/* Neon look: Neonade product card and /neonade/ main content only. */
.product-card-neonade {
  background: var(--neo-bg-card);
  border-color: var(--neo-line);
}

.product-card-neonade img {
  border-color: var(--neo-line);
  background: var(--neo-bg);
}

.product-card-neonade .kicker {
  color: var(--neo-cyan);
}

.product-card-neonade h3 {
  color: var(--neo-text);
}

.product-card-neonade p {
  color: var(--neo-muted);
}

.product-card-neonade .badge {
  border-color: var(--neo-line-strong);
  color: var(--neo-magenta);
}

.product-card-neonade a {
  color: var(--neo-cyan);
}

.product-card-neonade a:hover {
  color: var(--neo-text);
}

.page-neonade main {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 60, 170, 0.14), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(0, 230, 230, 0.1), transparent 50%);
}

.page-neonade main .eyebrow {
  color: var(--neo-cyan);
}

.page-neonade main h1,
.page-neonade main h2,
.page-neonade main h3 {
  color: var(--neo-text);
}

.page-neonade main .lede {
  color: var(--neo-text);
}

.page-neonade main .prose p,
.page-neonade main .prose li,
.page-neonade main .shot-card figcaption {
  color: var(--neo-muted);
}

.page-neonade main a {
  color: var(--neo-cyan);
}

.page-neonade main a:hover {
  color: var(--neo-text);
}

.page-neonade main .badge {
  border-color: var(--neo-line-strong);
  color: var(--neo-magenta);
}

.page-neonade main .phone-frame {
  background: linear-gradient(180deg, rgba(0, 230, 230, 0.35), rgba(255, 60, 170, 0.2));
}

.page-neonade main .phone-frame img,
.page-neonade main .shot-card img {
  background: var(--neo-bg);
  border-color: var(--neo-line);
}

.page-neonade main .shot-card {
  background: var(--neo-bg-card);
  border-color: var(--neo-line);
}

@media (max-width: 860px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem 1rem;
  }

  .nav-list a {
    padding: 0 0.5rem;
    font-size: 0.9rem;
  }
}
