/* South View Studios, studio pages theme (ink + navy + gold + paper)
   Used by index.html and the studio-level pages (/support/, /privacy/, /contact/).
   Product sections carry their own chrome and do not load this file. */

:root {
  --ink:      #111c38;
  --navy:     #1e3060;
  --navy-2:   #2a4380;
  --gold:     #c9a355;
  --gold-2:   #e6c77e;
  --paper:    #f6f4ee;
  --paper-2:  #eeebe2;
  --white:    #ffffff;
  --text:     #1a1e2e;
  --muted:    #5b6274;
  --rule:     rgba(30,48,96,.13);
  --chip:     #e9edf7;
  --chip-t:   #1e3060;
  --review:   #fbf3df;
  --review-t: #8a6a1f;
  --display:  "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body:     -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.eyebrow { font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.num { font-variant-numeric: tabular-nums; }

/* NAV */
.svs-nav { position: sticky; top: 0; z-index: 20; background: rgba(246,244,238,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1px solid var(--rule); box-shadow: 0 1px 3px rgba(17,28,56,.12); object-fit: cover; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; color: var(--ink); line-height: 1; }
.brand-name small { display: block; font-weight: 700; font-size: .6rem; letter-spacing: .2em; color: var(--gold); margin-top: .2rem; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; font-size: .9rem; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { background: var(--ink); color: var(--white) !important; padding: .5rem .95rem; border-radius: 7px; font-weight: 600; }
.nav-cta:hover { background: var(--navy); }

/* HERO */
.hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(60% 55% at 78% 40%, rgba(201,163,85,.14), transparent 70%),
  radial-gradient(40% 40% at 10% 100%, rgba(42,67,128,.55), transparent 70%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding: 4.5rem 2rem 4rem; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.9rem); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; margin: 1rem 0 1.25rem; color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero p { font-size: 1.08rem; color: rgba(255,255,255,.72); max-width: 32em; line-height: 1.6; }
.actions { display: flex; gap: .8rem; margin-top: 1.9rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: .78rem 1.4rem; border-radius: 8px; font-weight: 700; font-size: .95rem; font-family: var(--body); border: 0; cursor: pointer; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border: 1px solid rgba(255,255,255,.28); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ICON WALL */
.wall { display: grid; grid-template-columns: repeat(5, 64px); gap: 14px; justify-content: center; transform: rotate(-4deg); padding: 1rem 0; list-style: none; }
.wall li { width: 64px; height: 64px; }
.wall a { display: block; width: 64px; height: 64px; border-radius: 15px; overflow: hidden; background: #0d1730; box-shadow: 0 10px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); transition: transform .15s; }
.wall a img { width: 100%; height: 100%; object-fit: cover; }
.wall a:hover { transform: translateY(-4px) scale(1.04); }
.wall li:nth-child(5n+2), .wall li:nth-child(5n+4) { transform: translateY(18px); }
.wall .more { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: .8rem; color: var(--gold-2); background: rgba(255,255,255,.06); border: 1px dashed rgba(230,199,126,.4); box-shadow: none; }
.wall-cap { margin-top: 1.6rem; text-align: center; font-size: .78rem; color: rgba(255,255,255,.5); }

/* PROOF STRIP */
.proof { border-bottom: 1px solid var(--rule); background: var(--paper); }
.proof-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 1.2rem 1.5rem; border-left: 1px solid var(--rule); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item b { display: block; font-family: var(--display); font-size: 1.45rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.proof-item span { font-size: .82rem; color: var(--muted); }

/* SECTIONS */
.section { padding: 4.5rem 0 1rem; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 1.5rem; }
.section h2, .band h2, .principles h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: var(--ink); margin-top: .5rem; }
.section-head p { color: var(--muted); font-size: 1rem; max-width: 34em; }
.collection { padding: 2.25rem 0; border-top: 1px solid var(--rule); }
.collection:first-of-type { border-top: 0; }
.coll-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.coll-head h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.coll-head p { color: var(--muted); font-size: .92rem; }

/* CARDS */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.card { display: grid; grid-template-columns: 52px 1fr; gap: .9rem; align-items: start; padding: 1rem 1.05rem; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; transition: border-color .15s, transform .15s; color: inherit; }
.card:hover { border-color: rgba(30,48,96,.35); transform: translateY(-2px); }
.card .ic { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--paper-2); }
.card h4 { font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.card p { font-size: .85rem; color: var(--muted); line-height: 1.45; margin-top: .2rem; }
.chip { font-family: var(--body); font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .14rem .45rem; border-radius: 4px; background: var(--chip); color: var(--chip-t); white-space: nowrap; }
.chip.review { background: var(--review); color: var(--review-t); }

/* KEEPERS FAMILY BLOCK */
.family { background: var(--ink); color: var(--white); border-radius: 16px; padding: 1.6rem 1.8rem; margin-bottom: 1rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.family h3 { color: var(--white); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.family p { color: rgba(255,255,255,.72); font-size: .95rem; margin-top: .4rem; max-width: 34em; }
.family .tv { aspect-ratio: 16 / 9; border-radius: 8px; background: #000; border: 5px solid #262e48; box-shadow: 0 18px 40px rgba(0,0,0,.45); overflow: hidden; }
.family .tv img { width: 100%; height: 100%; object-fit: cover; }
.family .code { display: inline-block; margin-top: .9rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; color: var(--gold-2); border: 1px solid rgba(230,199,126,.35); padding: .25rem .55rem; border-radius: 5px; letter-spacing: .12em; }

/* BIG SCREEN BAND */
.band { background: var(--navy); color: var(--white); padding: 4.5rem 0; margin-top: 3rem; }
.band-in { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.band h2 { color: var(--white); }
.band p { color: rgba(255,255,255,.72); margin-top: 1rem; max-width: 32em; }
.phones { display: flex; gap: 1rem; justify-content: center; align-items: flex-end; }
.phone { width: 136px; aspect-ratio: 9 / 19; border-radius: 22px; border: 5px solid #0c1530; background: #000; box-shadow: 0 20px 40px rgba(0,0,0,.45); overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone:nth-child(2) { transform: translateY(-16px); }
.phones figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* PRINCIPLES */
.principles { padding: 4.5rem 0; }
.pl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; margin-top: 1.5rem; border-top: 1px solid var(--rule); }
.pl > div { display: grid; grid-template-columns: 1.4rem 1fr; gap: .8rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.pl svg { width: 20px; height: 20px; margin-top: .15rem; color: var(--gold); }
.pl b { font-family: var(--display); font-weight: 700; color: var(--ink); display: block; }
.pl span { font-size: .9rem; color: var(--muted); }

/* ABOUT */
.about { background: var(--paper-2); padding: 4rem 0; }
.about-in { display: grid; grid-template-columns: 120px 1fr; gap: 2.5rem; align-items: center; }
.about .dog { width: 120px; height: 120px; border-radius: 50%; background: var(--white); border: 1px solid var(--rule); box-shadow: 0 4px 14px rgba(17,28,56,.12); object-fit: cover; }
.about h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.about p { color: var(--muted); max-width: 60ch; margin-top: .7rem; }

/* STUDIO-LEVEL PAGES (support, privacy, contact) */
.page { padding: 3.5rem 2rem 4rem; }
.page-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; color: var(--ink); margin-top: .6rem; }
.page-sub { color: var(--muted); font-size: 1.05rem; max-width: 60ch; margin: .8rem 0 2rem; }
.page-sub a, .page p a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.page > p { max-width: 60ch; color: var(--text); margin-bottom: 1.5rem; }
.hub-grid { margin-bottom: 1rem; }

/* CONTACT FORM */
.contact-band { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 3.5rem 2rem 4rem; }
.contact-inner { max-width: 680px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea { font: inherit; font-size: .95rem; padding: .65rem .8rem; border: 1px solid var(--rule); border-radius: 8px; background: var(--white); color: var(--text); width: 100%; }
.form-group textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { align-self: flex-start; }

/* FOOTER */
.svs-footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 3rem 0 2.5rem; font-size: .85rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot > div > p { margin-top: .8rem; max-width: 30ch; }
.foot h5 { font-family: var(--display); color: var(--white); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .7rem; }
.foot ul { list-style: none; display: grid; gap: .4rem; }
.foot a:hover { color: var(--white); }
.foot .brand-name { color: var(--white); }
.legal { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: rgba(255,255,255,.4); }

/* RESPONSIVE */
@media (max-width: 880px) {
  .hero-in, .section-head, .band-in, .family, .about-in { grid-template-columns: 1fr; }
  .hero-in { padding: 3.5rem 1.5rem 3rem; gap: 2.5rem; }
  .grid { grid-template-columns: 1fr 1fr; }
  .proof-in { grid-template-columns: 1fr 1fr; }
  .proof-item { padding: 1rem 1.2rem; }
  .proof-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .wall { transform: none; grid-template-columns: repeat(5, 52px); gap: 10px; }
  .wall li, .wall a { width: 52px; height: 52px; }
  .wall a { border-radius: 12px; }
  .wall li:nth-child(5n+2), .wall li:nth-child(5n+4) { transform: translateY(12px); }
  .pl { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 1.1rem; }
  .nav-links li:nth-child(2), .nav-links li:nth-child(3) { display: none; }
  .about-in { text-align: left; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 1.25rem; }
  .grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links li:nth-child(1) { display: none; }
  .phones { gap: .6rem; }
  .phone { width: 104px; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
