/* =========================================================
   NOLAVU 3D Studio — PAGE SECTIONS (Website V0.1)
   Depends on base.css. Inherits the locked visual system.
   Editorial layouts, no card boxes, no heavy decoration.
   ========================================================= */

/* ---------- shared page hero (inner pages) ---------- */
.page-hero{ padding:76px 0 96px; }
.page-hero .hero-title{ font-size:clamp(34px,3.6vw,52px); letter-spacing:-0.03em; }
/* keep hyphenated compounds like "In-House" from breaking after the hyphen */
.page-hero .hero-title{ overflow-wrap:normal; word-break:normal; hyphens:none; }
.nb{ white-space:nowrap; }
.page-hero-grid{
  display:grid; grid-template-columns:minmax(0,46fr) minmax(0,54fr);
  gap:60px; align-items:center;
}
.page-hero .ph-hero{ aspect-ratio:4/3; }

/* Hero copy rhythm. These two classes were never given page-level rules,
   so sub-headline and CTA collapsed to the browser default 14px gap while
   the homepage used 26px. Match the homepage so the two page families
   feel like one site. */
.page-hero .hero-sub{
  margin-top:26px; font-size:18px; line-height:1.62;
  color:var(--ink-soft); max-width:42ch;
}
.page-hero .hero-actions{
  margin-top:30px; display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px;
}

/* compact hero for text-led pages */
.page-hero-compact{ padding-bottom:72px; }
.page-hero-compact .section-head{ margin-bottom:0; }

/* ---------- generic editorial grids ---------- */
.grid-2{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }

/* numbered editorial columns separated by rules, never boxed */
.rule-cols{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0; border-top:1px solid var(--line-strong);
}
.rule-cols.cols-4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.rule-cols.cols-2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.rule-col{ padding:40px 36px 42px 0; border-bottom:1px solid var(--line); min-width:0; }
.rule-col:not(:last-child){ border-right:1px solid var(--line); }
.rule-col:not(:first-child){ padding-left:36px; }
.rule-num{
  display:block; font-size:12px; font-weight:600; letter-spacing:.12em;
  color:var(--accent-deep); margin-bottom:16px;
}
.rule-title{ font-size:20px; letter-spacing:-0.016em; }
.rule-text{ margin-top:14px; font-size:16px; line-height:1.7; color:var(--ink-soft); }

/* text-led list (product gaps / faq / spec rows) */
.text-list{ border-top:1px solid var(--line-strong); max-width:900px; }
.text-list li{
  padding:24px 0; border-bottom:1px solid var(--line);
  display:grid; grid-template-columns:minmax(0,1fr); gap:6px;
}
.text-list .tl-title{ font-size:18px; font-weight:500; letter-spacing:-0.012em; }
.text-list .tl-text{ font-size:16px; color:var(--ink-soft); line-height:1.68; max-width:70ch; }

/* simple spec / option rows */
.spec-rows{ border-top:1px solid var(--line-strong); }
.spec-row{
  display:grid; grid-template-columns:minmax(0,220px) minmax(0,1fr);
  gap:24px; padding:22px 0; border-bottom:1px solid var(--line);
  align-items:baseline;
}
.spec-row dt{ font-size:15.5px; font-weight:500; }
.spec-row dd{ margin:0; font-size:16px; color:var(--ink-soft); line-height:1.68; max-width:64ch; }

/* inline chip list (option keywords) — underline, not pills */
.chip-row{ display:flex; flex-wrap:wrap; gap:0 12px; }
.chip-row li{
  font-size:14.5px; color:var(--ink-soft);
  border-bottom:1px solid var(--line-strong); padding:0 0 4px; margin-bottom:10px;
}

/* =========================================================
   PROCESS — a sequence, not five icon cards
   ------------------------------------------------------------
   The number is the anchor: set large and quiet, it becomes the
   visual anchor instead of a small caption. The connecting rule
   runs behind the numbers rather than between boxes. Mobile
   collapses to a single left rail with a dot per step.
   ========================================================= */
.process-line{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; border-top:1px solid var(--line-strong); }
.process-line.cols-4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.process-line .step{ position:relative; padding:34px 30px 30px 0; border-bottom:1px solid var(--line); min-width:0; }
.process-line .step::after{
  content:''; position:absolute; top:-1px; left:0; width:44px; height:2px; background:var(--accent);
}
.process-line .p-num{
  display:block; font-size:34px; font-weight:600; line-height:1;
  letter-spacing:-0.03em; color:var(--line-strong);
  transition:color .3s var(--ease);
}
.process-line .step:hover .p-num{ color:var(--accent); }
.process-line .p-name{
  display:block; margin-top:16px; font-size:17px; font-weight:500;
  line-height:1.38; color:var(--ink); letter-spacing:-0.012em; max-width:22ch;
}
@media (max-width:880px){
  .process-line{ grid-template-columns:1fr; border-top:0; }
  .process-line .step{ padding:0 0 26px 34px; border-bottom:0; }
  .process-line .step::before{
    content:''; position:absolute; left:0; top:8px; bottom:-8px;
    width:1px; background:var(--line-strong);
  }
  .process-line .step:last-child::before{ display:none; }
  .process-line .step::after{
    top:6px; left:0; width:9px; height:9px; border-radius:50%; background:var(--accent);
  }
  .process-line .p-num{ font-size:14px; letter-spacing:.1em; }
  .process-line .p-name{ margin-top:7px; font-size:17px; max-width:none; }
}

.arrow-flow{ display:flex; flex-wrap:wrap; align-items:center; gap:0; }
.arrow-flow .af-step{
  font-size:17px; font-weight:500; letter-spacing:-0.012em;
  padding:0 6px; white-space:nowrap;
}
.arrow-flow .af-arrow{ color:var(--accent); font-size:15px; padding:0 4px; }

/* ---------- proof / evidence image grids ---------- */
.evidence-grid{
  display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);
  gap:22px; align-items:start;
}
/* min-width:0 — grid children default to min-width:auto, so a long
   placeholder label would otherwise widen the track past the viewport
   and create horizontal scroll on mobile. */
.evidence-grid > *{ min-width:0; }
.evidence-lead .ph{ aspect-ratio:3/2; }
.evidence-side{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.evidence-side .ph{ aspect-ratio:1/1; }

.media-5{
  display:grid; grid-template-columns:minmax(0,1.62fr) minmax(0,1fr); gap:20px; align-items:start;
}
.media-5 > *{ min-width:0; }
.media-5 .ph-pair > *{ min-width:0; }
.media-5 .ph-lead{ aspect-ratio:16/10; }
.media-5 .ph-pair{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.media-5 .ph-pair .ph{ aspect-ratio:4/3; }

/* proof band with lead + 3 supporting */
.proof-4{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-areas:"lead lead lead" "s1 s2 s3";
  gap:22px;
}
.proof-4 .pf-lead{ grid-area:lead; }
.proof-4 .pf-s1{ grid-area:s1; }
.proof-4 .pf-s2{ grid-area:s2; }
.proof-4 .pf-s3{ grid-area:s3; }
.proof-4 .ph{ aspect-ratio:3/2; }
.proof-4 .pf-lead .ph{ aspect-ratio:2/1; }
.pf-cap{ margin-top:13px; font-size:13.5px; font-weight:500; color:var(--ink-soft); line-height:1.4; }
.pf-cap span{ display:block; margin-top:2px; font-size:12px; font-weight:400; color:var(--muted); }

/* two-up figure pair */
.fig-pair{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.fig-pair .ph{ aspect-ratio:4/3; }

/* ---------- CTA bands ---------- */
.cta-band{ padding:96px 0; }
.cta-panel{ max-width:820px; }
.cta-actions{ margin-top:38px; display:flex; flex-wrap:wrap; gap:14px; }
.cta-note{
  margin-top:28px; font-size:14px; color:var(--muted); max-width:60ch;
  border-top:1px solid var(--line); padding-top:20px;
}

/* ---------- FAQ (lightweight, no dedicated page) ---------- */
.faq-list{ border-top:1px solid var(--line-strong); max-width:840px; }
.faq-list details{ border-bottom:1px solid var(--line); }
.faq-list summary{
  list-style:none; cursor:pointer; padding:22px 40px 22px 0; position:relative;
  font-size:17.5px; font-weight:500; letter-spacing:-0.012em;
}
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{
  content:'+'; position:absolute; right:8px; top:50%; transform:translateY(-50%);
  font-size:19px; font-weight:400; color:var(--muted); transition:transform .2s var(--ease);
}
.faq-list details[open] summary::after{ content:'−'; color:var(--ink); }
.faq-list summary:hover{ color:var(--accent-deep); }
.faq-answer{ padding:0 40px 24px 0; font-size:16px; color:var(--ink-soft); line-height:1.7; max-width:68ch; }

/* ---------- forms (Contact) — front-end only ---------- */
.form-layout{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,320px);
  gap:72px; align-items:start;
}
.form-group{ margin-bottom:26px; }
.form-label{
  display:block; font-size:14.5px; font-weight:500; color:var(--ink);
  margin-bottom:8px;
}
.req{ color:var(--accent-deep); font-weight:600; }
.opt-tag{
  font-size:11px; font-weight:500; letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted); border:1px solid var(--line-strong);
  border-radius:1px; padding:2px 6px; margin-left:8px; vertical-align:2px;
}
.form-input, .form-select, .form-textarea{
  width:100%; min-height:52px; padding:13px 16px;
  font-family:inherit; font-size:16px; line-height:1.5; color:var(--ink);
  background:var(--surface);
  border:1px solid var(--line-strong); border-radius:var(--r);
  transition:border-color .2s var(--ease);
  appearance:none; -webkit-appearance:none;
}
.form-select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237C776B' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 18px center;
  padding-right:44px; cursor:pointer;
}
.form-textarea{ min-height:140px; resize:vertical; }
.form-input:hover, .form-select:hover, .form-textarea:hover{ border-color:var(--muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus{
  outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-mist);
}
.form-hint{ margin-top:8px; font-size:13px; color:var(--muted); }
.form-optional-head{
  margin:40px 0 24px; padding-top:32px; border-top:1px solid var(--line);
}
/* The optional-fields divider is a real form section, so it carries an h2.
   It previously used an h3 that appeared before the page's first h2, which
   skipped a heading level. Styling is unchanged: same size, same spacing. */
.form-optional-head h2{ font-size:19px; letter-spacing:-0.014em; }
.form-optional-head p{ margin-top:8px; font-size:14.5px; color:var(--muted); }

.form-status{
  margin-top:22px; padding:18px 20px;
  border:1px solid var(--accent-mist); background:var(--accent-mist);
  border-radius:var(--r); font-size:15px; color:var(--ink-soft);
}
.form-status[hidden]{ display:none; }
.form-status strong{ display:block; color:var(--ink); font-weight:600; margin-bottom:4px; }
.form-status.is-success{ border-color:var(--accent); background:var(--accent-mist); }
.form-status.is-error{ border-color:#C4A39A; background:#F7EDEA; }
.form-status.is-test{ border-color:var(--line-strong); background:var(--bg-warm); }
.form-status.is-sending{ border-color:var(--line-strong); background:var(--bg-warm); }

/* privacy consent row */
.consent-row{ margin-top:28px; }
/* The row is a flex line: checkbox, then sentence fragments split around
   the Privacy Policy link. Each <label for> stays clickable; the link
   itself must NOT sit inside a label or clicking it would toggle the box. */
.consent-label{
  display:flex; align-items:flex-start; flex-wrap:wrap; gap:0 12px;
  font-size:14.5px; line-height:1.6; color:var(--ink-soft);
  padding:14px 16px;
  border:1px solid var(--line); border-radius:var(--r);
  background:var(--bg-warm);
  transition:border-color .2s var(--ease);
}
.consent-label:hover{ border-color:var(--muted); }
.consent-label input{
  flex-shrink:0; width:18px; height:18px; margin:2px 0 0;
  accent-color:var(--accent); cursor:pointer;
}
.consent-label label{ cursor:pointer; }
.consent-label .req{ color:var(--accent-deep); font-weight:600; margin-left:auto; }
.consent-link{
  color:var(--accent-deep); text-decoration:underline;
  text-underline-offset:2px; white-space:nowrap;
}
.consent-link:hover{ color:var(--ink); }

/* honeypot — visually gone, still in the DOM for bots */
.hp-field{
  position:absolute !important; left:-9999px !important;
  width:1px; height:1px; overflow:hidden;
}

/* submit button in-flight */
.btn[disabled]{ opacity:.6; cursor:not-allowed; transform:none !important; }

/* inquiry type chooser */
.type-chooser{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; }
.type-choice{ position:relative; }
.type-choice input{ position:absolute; opacity:0; width:1px; height:1px; }
.type-choice label{
  display:block; height:100%; padding:22px 20px; cursor:pointer;
  border:1px solid var(--line-strong); border-right-width:0;
  background:var(--surface);
  transition:border-color .2s var(--ease), background-color .2s var(--ease);
}
.type-choice:last-child label{ border-right-width:1px; }
.type-choice label:hover{ border-color:var(--muted); }
.type-choice input:checked + label{
  border-color:var(--accent); background:var(--accent-mist);
  box-shadow:inset 0 0 0 1px var(--accent);
}
.type-choice input:focus-visible + label{ outline:2px solid var(--accent-deep); outline-offset:2px; }
.type-choice .tc-title{ display:block; font-size:16.5px; font-weight:500; }
.type-choice .tc-desc{ display:block; margin-top:5px; font-size:13.5px; color:var(--muted); line-height:1.5; }

/* contact aside */
.aside-block{ padding:26px 0; border-bottom:1px solid var(--line); }
.aside-block:first-child{ padding-top:0; }
.aside-block:last-child{ border-bottom:0; }
.aside-title{
  font-size:11.5px; font-weight:600; letter-spacing:.15em; text-transform:uppercase;
  color:var(--muted); margin-bottom:12px;
}
.aside-text{ font-size:15.5px; color:var(--ink-soft); line-height:1.7; }
.aside-steps li{
  font-size:15.5px; color:var(--ink-soft); line-height:1.6;
  padding:10px 0 10px 30px; position:relative; border-bottom:1px solid var(--line-soft);
}
.aside-steps li:last-child{ border-bottom:0; }
.aside-steps li::before{
  content:counter(s, decimal-leading-zero); counter-increment:s;
  position:absolute; left:0; top:10px;
  font-size:11.5px; font-weight:600; letter-spacing:.06em; color:var(--accent-deep);
}
.aside-steps{ counter-reset:s; }
/* .email-ph — shared, defined in base.css */

/* ---------- privacy policy page ---------- */
.legal-body h2{ font-size:22px; margin-top:40px; margin-bottom:14px; }
.legal-body h2:first-child{ margin-top:0; }
.legal-body p{ font-size:16.5px; color:var(--ink-soft); line-height:1.75; margin-bottom:16px; max-width:70ch; }
.legal-note{
  margin-top:32px; padding:20px 22px;
  border:1px dashed var(--line-strong); border-radius:var(--r);
  background:var(--bg-warm); font-size:15.5px; color:var(--ink-soft);
}
.policy-intro{ font-size:17.5px !important; color:var(--ink) !important; line-height:1.7 !important; }
.policy-effective{
  margin-top:18px !important; padding-top:18px;
  border-top:1px solid var(--line);
  font-size:14.5px !important; color:var(--muted) !important;
}
/* Plain, unadorned list — a legal page should not look like a marketing grid. */
.policy-list{
  list-style:none; margin:0 0 18px; padding:0;
  max-width:70ch;
}
.policy-list li{
  position:relative; padding-left:20px; margin-bottom:9px;
  font-size:16px; line-height:1.7; color:var(--ink-soft);
}
.policy-list li::before{
  content:""; position:absolute; left:2px; top:.72em;
  width:5px; height:1px; background:var(--accent);
}
.policy-operator{ color:var(--ink) !important; line-height:1.6 !important; }
.legal-body a:not(.link-arrow){ color:var(--accent-deep); text-decoration:underline; text-underline-offset:2px; }
.legal-body a:not(.link-arrow):hover{ color:var(--ink); }

/* ============ TEMP / DEMO VISUAL MODE (concept preview) ============
   These are NOT NOLAVU products and NOT production proof. They exist
   only so the layout can be judged at close-to-final visual fidelity
   while the real photography is still missing.

   The <img> is always in the DOM; it is only revealed when
   SITE_CONFIG.visual.demoAssetsEnabled is true. When the flag is off the
   placeholder chrome shows through, so no HTML needs editing.          */

/* hidden by default — the flag decides */
.demo-img{ display:none; }

.ph.is-demo{ padding:0; border-style:solid; border-color:var(--line); background:var(--bg-warm); }
.ph.is-demo .demo-img{
  display:block; width:100%; height:100%;
  object-fit:cover; object-position:50% 50%;
}
.ph.is-demo .ph-tag,
.ph.is-demo .ph-note{ display:none; }

/* A small, honest marker. It must not read as "real product photo". */
.ph.is-demo::after{
  content:"CONCEPT PREVIEW";
  position:absolute; left:10px; bottom:10px; z-index:2;
  font-size:9.5px; font-weight:600; letter-spacing:.14em;
  padding:4px 8px; border-radius:1px;
  color:var(--accent-deep); background:rgba(255,255,255,.86);
  border:1px solid var(--accent-mist);
  pointer-events:none;
}

/* =========================================================
   CONTACT — MOBILE FIRST-FOLD DENSITY
   ------------------------------------------------------------
   Measured at 390x844: the Name input started at y=848, four pixels
   below the fold, so a visitor landed on a full screen of hero and
   inquiry-type options without seeing a single fillable field. This
   reclaims roughly 110px using spacing alone, so no copy is touched
   and no field is removed.

   What tightens: the hero's own vertical padding, the gap between the
   hero and the form, and the inquiry-type option padding. Body type is
   NOT reduced — titles stay at 16px and descriptions at 13px. Each
   inquiry-type option remains 76px tall, above the 48px floor.
   ========================================================= */
@media (max-width:880px){
  .contact-hero{ padding-top:52px !important; padding-bottom:40px !important; }
  .contact-hero .section-supporting{ margin-top:16px; }
  .contact-form-section{ padding-top:0; }
  .type-choice label{ padding:14px 16px; }
  .type-choice .tc-title{ font-size:16px; }
  .type-choice .tc-desc{ margin-top:4px; font-size:13px; }
  .form-label{ margin-bottom:8px; }
  .form-group{ margin-bottom:22px; }
}

/* ---------- 404 ---------- */
.notfound{ padding:120px 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1180px){
  .page-hero{ padding:60px 0 84px; }
  .page-hero-grid{ grid-template-columns:minmax(0,48fr) minmax(0,52fr); gap:44px; }
  .grid-3{ gap:26px; }
  .rule-col{ padding:36px 28px 38px 0; }
  .rule-col:not(:first-child){ padding-left:28px; }
  .form-layout{ grid-template-columns:1fr; gap:56px; }
  .media-5{ grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); }
}

@media (max-width:880px){
  .page-hero{ padding:40px 0 68px; }
  .page-hero-grid{ grid-template-columns:1fr; gap:34px; }
  .page-hero-compact{ padding-bottom:52px; }
  .page-hero .hero-title{ font-size:clamp(29px,8vw,40px); }
  .page-hero .hero-sub{ margin-top:20px; font-size:17px; }
  /* secondary CTA is a text link on mobile — see base.css for the rationale */
  .page-hero .hero-actions{
    flex-direction:column; align-items:flex-start; gap:18px; margin-top:28px;
  }
  .page-hero .hero-actions .link-arrow{
    font-size:14px; font-weight:500; color:var(--ink-soft);
    border-bottom:0; padding:14px 0; margin-top:-6px; gap:6px;
  }
  .page-hero .hero-actions .link-arrow:hover{ color:var(--accent-deep); gap:9px; }

  .page-hero .hero-actions .btn{ width:100%; }

  .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; gap:26px; }

  .rule-cols, .rule-cols.cols-4, .rule-cols.cols-2{ grid-template-columns:1fr; }
  .rule-col{ padding:28px 0 30px; border-right:0 !important; }
  .rule-col:not(:first-child){ padding-left:0; }
  .rule-title{ font-size:19px; }

  .spec-row{ grid-template-columns:1fr; gap:6px; padding:20px 0; }

  .process-line, .process-line.cols-4{ grid-template-columns:1fr; }
  .process-line.step{ padding:0 0 26px 28px; }
  .process-line.step::before{ top:0; bottom:auto; left:0; right:auto; width:1px; height:100%; }
  .process-line.step::after{ top:0; left:0; width:1px; height:28px; }

  .arrow-flow{ flex-direction:column; align-items:flex-start; gap:2px; }
  .arrow-flow .af-arrow{ transform:rotate(90deg); padding:6px 0; }

  .evidence-grid, .media-5, .fig-pair{ grid-template-columns:minmax(0,1fr); gap:20px; }
  .evidence-side{ gap:16px; }
  .media-5 .ph-pair{ gap:16px; }
  .media-5 .ph-lead{ aspect-ratio:4/3; }
  .media-5 .ph-pair .ph{ aspect-ratio:1/1; }

  .proof-4{
    grid-template-columns:1fr 1fr;
    grid-template-areas:"lead lead" "s1 s2" "s3 s3";
    gap:16px;
  }
  .proof-4 .pf-lead .ph{ aspect-ratio:4/3; }
  .proof-4 .ph{ aspect-ratio:3/2; }
  .proof-4 .pf-s3 .ph{ aspect-ratio:16/9; }

  .cta-band{ padding:64px 0; }
  .cta-actions{ flex-direction:column; }
  .cta-actions .btn, .cta-actions .link-arrow{ width:100%; }
  .cta-actions .link-arrow{ justify-content:flex-start; }

  .faq-list summary{ font-size:16.5px; padding:20px 36px 20px 0; }

  .type-chooser{ grid-template-columns:1fr; }
  .type-choice label{ border-right-width:1px; border-bottom-width:0; padding:18px 18px; }
  .type-choice:last-child label{ border-bottom-width:1px; }
  .form-optional-head{ margin-top:32px; padding-top:28px; }
  .notfound{ padding:80px 0; }
}

@media (max-width:420px){
  .proof-4{ grid-template-columns:1fr; grid-template-areas:"lead" "s1" "s2" "s3"; gap:14px; }
  .proof-4 .ph, .proof-4 .pf-s3 .ph{ aspect-ratio:4/3; }
  .chip-row li{ margin-right:0; }
}
