/* =========================================================
   NOLAVU 3D Studio — SHARED BASE (Website V0.1)
   Inherited from the locked homepage design system.

   Homepage (index.html) continues to load its own styles.css
   and is NOT affected by this file. New pages load:
       assets/base.css   (this file — tokens + header + footer)
       assets/pages.css  (page-specific sections)
   ========================================================= */

:root{
  /* Surfaces — warm off-white */
  --bg:            #FBF9F5;
  --bg-warm:       #F5F1E8;
  --bg-deep:       #EFEAE0;
  --surface:       #FFFFFF;

  /* Ink */
  --ink:           #16150F;
  --ink-soft:      #403D35;
  --muted:         #7C776B;
  --line:          #E6E1D6;
  --line-soft:     #EFEBE1;
  --line-strong:   #D6D0C2;

  /* PROVISIONAL BRAND ACCENT — NOT a permanent brand colour.
     Must be re-checked for visual conflict once real product
     photography (REAL-01) is supplied. */
  --accent:        #6E8F7D;
  --accent-deep:   #57785F;
  --accent-mist:   #E8EEEA;

  --shell:  1280px;

  /* Restrained Corners — 0–4px by component type */
  --r:  2px;
  --r-img: 0px;
  --r-tag: 1px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --lift: 14px;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'PingFang SC','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Keyboard focus — visible on every interactive element */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible{
  outline:2px solid var(--accent-deep);
  outline-offset:3px;
}

h1,h2,h3,h4{ margin:0; font-weight:600; letter-spacing:-0.022em; line-height:1.14; color:var(--ink); }
p{ margin:0; }
a{ color:inherit; }
img{ max-width:100%; display:block; }
ul,ol{ margin:0; padding:0; list-style:none; }

.shell{ width:100%; max-width:var(--shell); margin:0 auto; padding:0 40px; }
.shell-narrow{ max-width:920px; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:300;
  background:var(--ink); color:#fff; padding:12px 18px; font-size:14px;
}
.skip-link:focus{ left:0; }

/* ============ HEADER — identical to locked homepage (77px) ============ */
/* =========================================================
   HEADER — brand · information · action
   ------------------------------------------------------------
   The header had a translucent backdrop-blur, which is exactly
   the SaaS-template tell this site must not have. It is now a
   flat warm surface with a hairline, and the three zones are
   spaced so the logo reads first, the nav second and the CTA
   last — without the CTA shouting louder than the brand.

   Height stays 77px and the toggle stays 48x48 (touch floor).
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:grid;
  grid-template-columns:minmax(0,auto) minmax(0,1fr) minmax(0,auto);
  align-items:center;
  gap:32px; min-height:77px;
}
.header-logo{
  display:flex; flex-direction:column; line-height:1.04;
  text-decoration:none; flex-shrink:0;
  /* the brand is the anchor, so it carries a little more weight
     than a nav label without increasing its size */
  padding-right:8px;
}
.header-logo .l1{ font-size:19px; font-weight:600; letter-spacing:-0.015em; }

.main-nav{ display:flex; align-items:center; gap:34px; justify-content:center; }
.header-actions{ display:flex; align-items:center; gap:14px; justify-content:flex-end; }
/* the CTA is a quiet outlined action, not a filled block that
   outweighs the wordmark */
.header-actions .btn-primary{
  background:transparent; color:var(--ink);
  border:1px solid var(--line-strong);
}
.header-actions .btn-primary:hover{
  background:var(--ink); color:var(--bg); border-color:var(--ink);
}

.header-logo{ display:flex; flex-direction:column; line-height:1.04; text-decoration:none; flex-shrink:0; }
.header-logo .l1{ font-size:19px; font-weight:600; letter-spacing:-0.015em; }
.header-logo .l2{ font-size:10.5px; font-weight:500; letter-spacing:.19em; text-transform:uppercase; color:var(--muted); margin-top:3px; }

.main-nav{ display:flex; align-items:center; gap:38px; }
.main-nav > li{ position:relative; }
.main-nav a{
  position:relative; display:inline-flex; align-items:center; gap:6px;
  text-decoration:none; font-size:15px; font-weight:450;
  color:var(--ink-soft); padding:6px 0;
  transition:color .2s var(--ease);
}
/* The active/hover rule is a 1px baseline underline, so it must be anchored
   to the bottom of the label.
   The nav label carries two utilities that both paint its ::after:
   this underline, and .b-hit-nav::after (the transparent 48px tap area in
   brand.css / rollout-pages.css), which sets top:50%. Both declarations
   landed on the same pseudo-element, and with top + bottom + height all
   specified the box is over-constrained: CSS drops `bottom`, so the 1px
   accent line was positioned at top:50% — straight through the middle of
   the word. It only showed on the current page because transform:scaleX(0)
   hides the rule until aria-current/hover flips it to scaleX(1), which is
   why it read as a strikethrough on Contact rather than as an underline.
   Resetting top/right restores the underline to the label baseline. */
.main-nav a::after{
  content:''; position:absolute; left:0; right:auto; top:auto; bottom:0;
  width:100%; height:1px;
  background:var(--accent); transform:scaleX(0); transform-origin:left;
  transition:transform .28s var(--ease);
}
.main-nav a:hover{ color:var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after{ transform:scaleX(1); }
.main-nav a[aria-current="page"]{ color:var(--ink); }
.caret{ width:9px; height:9px; opacity:.55; flex-shrink:0; }

/* Products dropdown.
   left:0 (not -16px) keeps the panel inside the viewport on narrow
   desktops; the hidden state measures at negative x, which is expected
   for an off-canvas panel and does not create horizontal scroll. */
.has-sub > a{ }
.submenu{
  position:absolute; top:calc(100% + 12px); left:0;
  min-width:268px; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--r);
  padding:8px; box-shadow:0 10px 30px rgba(22,21,15,.07);
  opacity:0; visibility:hidden; transform:translateY(-4px);
  transition:opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu{
  opacity:1; visibility:visible; transform:none;
}
.submenu a{
  display:block; padding:11px 12px; border-radius:1px;
  text-decoration:none; line-height:1.4;
}
.submenu a::after{ display:none; }
.submenu a:hover{ background:var(--bg-warm); }
.submenu .sm-title{ font-size:14.5px; font-weight:500; color:var(--ink); }
.submenu .sm-desc{ display:block; margin-top:2px; font-size:12.5px; font-weight:400; color:var(--muted); }

.header-actions{ display:flex; align-items:center; gap:14px; }

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:48px; height:48px; padding:0; cursor:pointer;
  background:transparent; border:1px solid var(--line-strong); border-radius:var(--r);
}
.nav-toggle span{
  display:block; width:18px; height:1.5px; margin:0 auto; background:var(--ink);
  transition:transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

/* ============ BUTTONS — 52px min tap target ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:52px; padding:0 30px;
  font-size:15.5px; font-weight:500; letter-spacing:-0.005em;
  text-decoration:none; white-space:nowrap; cursor:pointer;
  border-radius:var(--r); border:1px solid transparent;
  font-family:inherit;
  transition:background-color .2s var(--ease), color .2s var(--ease),
             border-color .2s var(--ease), transform .18s var(--ease);
}
/* Header CTA: min-height raised 44px → 48px for tap-target compliance.
   Kept in sync with styles.css (.btn-sm). Colour, font and wording
   unchanged; horizontal padding compensated for the extra height. */
.btn-sm{ min-height:48px; padding:0 22px; font-size:14.5px; }
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:var(--accent-deep); transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line-strong); }
.btn-ghost:hover{ border-color:var(--ink); transform:translateY(-1px); }

.link-arrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:15.5px; font-weight:500; color:var(--ink);
  text-decoration:none; padding:8px 0;
  border-bottom:1px solid var(--line-strong);
  transition:border-color .2s var(--ease), color .2s var(--ease), gap .22s var(--ease);
}
.link-arrow:hover{ border-color:var(--accent); color:var(--accent-deep); gap:13px; }

/* ============ SECTION PRIMITIVES ============ */
.section{ padding:112px 0; }
.section-band{ background:var(--bg-warm); }
.section-band-deep{ background:var(--bg-deep); }
.section-tight{ padding:88px 0; }

.section-head{ max-width:760px; margin-bottom:60px; }
.section-head-wide{ max-width:880px; }
.section-title{ font-size:clamp(32px,3.9vw,46px); }
.section-supporting{ margin-top:22px; font-size:17.5px; color:var(--muted); max-width:60ch; }

.eyebrow{
  display:flex; align-items:center; gap:12px;
  font-size:11.5px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:var(--muted); margin-bottom:24px;
}
.eyebrow::after{ content:''; height:1px; width:52px; background:var(--line-strong); }

/* =========================================================
   HERO SECONDARY CTA — MOBILE ONLY
   ------------------------------------------------------------
   Measured at 390px: the secondary link was 15.5px, exactly the
   primary's size, with its own border-bottom, so a full-width accent
   button sat directly above an underlined line of equal weight. The
   approved benchmark (Mini Fuse hero) carries a single CTA and has no
   such conflict.

   Below 880px the secondary becomes a compact text link: smaller type,
   no rule, 18px from the primary, and the image follows immediately
   after it. The anchor keeps a 48px tap height via padding, so the
   touch floor is unchanged. Desktop is not affected — every rule here
   is inside the max-width:880px block.
   ========================================================= */
@media (max-width:880px){
  .hero .hero-actions,
  .page-hero .hero-actions{
    flex-direction:column; align-items:flex-start;
    gap:18px; margin-top:28px;
  }
  .hero .hero-actions .btn,
  .page-hero .hero-actions .btn{ width:100%; }
  .hero .hero-actions .link-arrow,
  .page-hero .hero-actions .link-arrow{
    font-size:14px; font-weight:500; color:var(--ink-soft);
    /* the rule is what made it read as a second component */
    border-bottom:0;
    /* padding keeps the tap target at 48px while the type stays small */
    padding:14px 0; margin-top:-6px;
    gap:6px;
  }
  .hero .hero-actions .link-arrow:hover,
  .page-hero .hero-actions .link-arrow:hover{
    color:var(--accent-deep); gap:9px;
  }
  /* close the gap between the link and the image below it */
  .hero-visual{ margin-top:26px; }
}

/* =========================================================
   BUSINESS EMAIL — a link, not an input
   ------------------------------------------------------------
   The dashed border and white fill made this read as a debug box or
   an empty form field. It is an address a visitor should be able to
   click, so it is set as a plain underlined link on the same warm
   surface as the rest of the aside. Text and href are unchanged.
   ========================================================= */
.email-ph{
  display:inline-flex; align-items:center;
  font-size:15px; font-weight:500;
  color:var(--ink); background:transparent;
  border:0; border-bottom:1px solid var(--line-strong);
  border-radius:0; padding:2px 0;
  text-decoration:none;
  word-break:break-word;
  transition:color .2s var(--ease), border-color .2s var(--ease);
}
.email-ph:hover{ color:var(--accent-deep); border-color:var(--accent); }
.email-pending{
  font-size:14.5px; font-weight:400; color:var(--muted);
  border-bottom:0; padding:0;
}

/* =========================================================
   SECTION RHYTHM — the anti-template layer
   ------------------------------------------------------------
   Measured problem: every section on every page used identical
   values — 112px vertical padding, a 46px H2, and an eyebrow on
   100% of them. Scrolling then read as the same rectangle over
   and over, which is what makes a site look generated.

   This does not add components. It introduces four *rhythm
   levels* so consecutive sections differ in scale and density
   without changing a single word of copy.

   level-lead    a statement section — quieter heading, more air
   level-std     the default working level
   level-dense   information-heavy — tighter, smaller heading
   level-quiet   a breathing pause, deliberately almost empty
   ========================================================= */

/* --- vertical padding ladder (was: 112px everywhere) --- */
.section{ padding:104px 0; }
.section-level-lead{ padding:132px 0; }
.section-level-dense{ padding:84px 0; }
.section-level-quiet{ padding:72px 0; }

/* --- heading scale ladder (was: 46px everywhere) --- */
.section-title{ font-size:clamp(31px,3.5vw,42px); }
.section-level-lead .section-title{ font-size:clamp(34px,4.1vw,50px); max-width:20ch; }
.section-level-dense .section-title{ font-size:clamp(27px,2.9vw,34px); letter-spacing:-0.022em; }
.section-level-quiet .section-title{ font-size:clamp(25px,2.5vw,30px); color:var(--ink-soft); }

/* --- head spacing also varies, not a single 60px --- */
.section-head{ margin-bottom:56px; }
.section-level-lead .section-head{ margin-bottom:72px; }
.section-level-dense .section-head{ margin-bottom:40px; }
.section-level-quiet .section-head{ margin-bottom:32px; }

/* --- eyebrow density ---
   The rule after the label is a nice touch, but drawing it on
   all 43 sections made the label read as a template stamp. On
   dense and quiet levels it is dropped; on lead level it is
   allowed to sit wider so the scale change is felt.          */
.section-level-dense .eyebrow,
.section-level-quiet .eyebrow{ margin-bottom:16px; }
.section-level-dense .eyebrow::after{ display:none; }
.section-level-lead .eyebrow{ margin-bottom:28px; }
.section-level-lead .eyebrow::after{ width:84px; }

/* --- supporting copy width varies with the level --- */
.section-supporting{ max-width:58ch; }
.section-level-lead .section-supporting{ font-size:18.5px; max-width:52ch; }
.section-level-dense .section-supporting{ font-size:16.5px; max-width:64ch; margin-top:18px; }

/* --- a side-by-side head: title left, intro right ---
   Breaks the "stacked label + headline + paragraph" shape that
   otherwise repeats on every single section.                  */
.section-head-split{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:56px; align-items:end; max-width:none;
}
.section-head-split .section-title{ margin-bottom:0; }
.section-head-split .section-supporting{ margin-top:0; padding-bottom:4px; }
@media (max-width:880px){
  .section-head-split{ grid-template-columns:1fr; gap:20px; align-items:start; }
  .section-head-split .section-supporting{ padding-bottom:0; }
}

/* --- a narrow measure head for list-led sections ---
   Product-gap style insights read better in a tight column than
   stretched across the full shell.                           */
.section-head-narrow{ max-width:640px; }
.section-head-narrow .section-title{ max-width:22ch; }

/* ============ PLACEHOLDER — no stock imagery, explicit labels ============ */
/* =========================================================
   EVIDENCE PLACEHOLDER — an intentional slot, not an error
   ------------------------------------------------------------
   A reader must be able to tell at a glance that a real photograph
   will sit here later. So: quiet warm surface, a hairline instead of
   a dashed debug border, a stable ratio, and the label set small
   and deliberate. No red, no warning styling.
   ========================================================= */
.ph{
  border:1px solid var(--line-strong);
  border-radius:var(--r-img);
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 62%),
    var(--bg-warm);
}
.ph-tag{
  font-size:9.5px; font-weight:600; letter-spacing:.15em; text-transform:uppercase;
  color:var(--ink-soft); background:rgba(255,255,255,.92);
  border:1px solid var(--line-strong); padding:6px 11px; border-radius:1px;
  max-width:100%; line-height:1.35;
}
.ph-note{ font-size:12.5px; color:var(--muted); max-width:26ch; line-height:1.5; text-align:center; }
/* a short corner rule reads as "slot", not as "broken" */
.ph::before{ content:''; position:absolute; top:11px; left:11px; width:16px; height:1px; background:var(--line-strong); }

.ph{
  position:relative; overflow:hidden;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:9px; text-align:center; padding:22px;
  background:
    repeating-linear-gradient(135deg,rgba(22,21,15,.026) 0 1px,transparent 1px 10px),
    var(--bg-warm);
  border:1px dashed var(--line-strong);
  border-radius:var(--r-img);
}
.ph-tag{
  font-size:10px; font-weight:600; letter-spacing:.13em; text-transform:uppercase;
  color:var(--accent-deep); background:var(--surface);
  border:1px solid var(--accent-mist); padding:5px 10px; border-radius:var(--r-tag);
  max-width:100%; line-height:1.35;
}
.ph-note{ font-size:12.5px; color:var(--muted); max-width:24ch; line-height:1.5; }

/* ============ FOOTER — identical to locked homepage ============ */
/* =========================================================
   FOOTER — an ending, not a link dump
   ------------------------------------------------------------
   Four zones with real hierarchy: who we are, where to go, how
   to reach us, and the small print. Nothing invented — no social
   icons, no newsletter, no address, no company number.
   ========================================================= */
.site-footer{ border-top:1px solid var(--line); background:var(--bg-warm); padding:76px 0 40px; }
.footer-inner{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,.55fr) minmax(0,.75fr) auto;
  gap:48px; align-items:start;
}
.footer-brand{ min-width:0; }
.footer-name{ font-size:17px; font-weight:600; letter-spacing:-0.01em; }
.footer-tagline{ margin-top:12px; font-size:14.5px; color:var(--muted); max-width:38ch; line-height:1.7; }

.footer-col-title{
  font-size:11px; font-weight:600; letter-spacing:.15em; text-transform:uppercase;
  color:var(--muted); margin-bottom:18px;
}
.footer-nav{ display:flex; flex-direction:column; gap:12px; }
.footer-nav a{
  font-size:15px; color:var(--ink-soft); text-decoration:none;
  transition:color .2s var(--ease);
}
.footer-nav a:hover{ color:var(--accent-deep); }
.footer-contact{ display:flex; flex-direction:column; gap:10px; }
.footer-contact a{ font-size:15px; color:var(--ink-soft); text-decoration:none; word-break:break-word; }
.footer-contact a:hover{ color:var(--accent-deep); }
.footer-location{ font-size:14.5px; color:var(--muted); white-space:nowrap; }
.footer-base{
  margin-top:56px; padding-top:26px;
  border-top:1px solid var(--line);
  display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap;
  font-size:13px; color:var(--muted);
}

/* the title was inline, so the label and the value shared a line while
   every other column stacked. Same markup, block-level children. */
.footer-location{ display:flex; flex-direction:column; align-items:flex-start; }
.footer-location .footer-col-title{ display:block; }

/* ============ REVEAL — fade + 14px rise only ============ */
/* Reveal is progressive enhancement.
   The hidden state only applies once JS has confirmed it can reveal
   again, so the page stays fully readable when JavaScript is off. */
.js .reveal{
  opacity:0; transform:translateY(var(--lift));
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible{ opacity:1; transform:none; }
/* No-JS (or JS failed): content is simply visible. */
.reveal{ opacity:1; transform:none; }

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  *,*::before,*::after{ animation:none !important; transition-duration:.01ms !important; }
}

/* ============ TABLET ============ */
@media (max-width:1180px){
  .shell{ padding:0 32px; }
  .section{ padding:92px 0; }
  .section-tight{ padding:76px 0; }
  .footer-inner{ grid-template-columns:1fr 1fr; gap:36px; }
  .footer-location{ text-align:left; }
}

/* ============ MOBILE — re-typeset, not a shrink ============ */
@media (max-width:880px){
  .shell{ padding:0 24px; }
  body{ font-size:16.5px; }

  .nav-toggle{ display:flex; }
  .header-actions .btn{ display:none; }
  .main-nav{
    position:absolute; left:0; right:0; top:100%;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--bg); border-bottom:1px solid var(--line);
    padding:6px 24px 20px; display:none;
  }
  .main-nav.is-open{ display:flex; }
  .main-nav > li{ border-bottom:1px solid var(--line-soft); }
  .main-nav > li:last-child{ border-bottom:0; }
  .main-nav a{ padding:15px 0; font-size:16.5px; border-bottom:0; }
  .main-nav a::after{ display:none; }
  .caret{ display:none; }
  /* mobile: submenu is inline, always visible — no hover dependency */
  .submenu{
    position:static; min-width:0; opacity:1; visibility:visible; transform:none;
    box-shadow:none; border:0; border-left:1px solid var(--line);
    margin:0 0 0 12px; padding:0 0 10px 14px; background:transparent;
  }
  .submenu a{ padding:10px 0; font-size:15px; }
  .submenu .sm-desc{ display:none; }

  .section{ padding:64px 0; }
  .section-tight{ padding:56px 0; }
  .section-head{ margin-bottom:36px; }
  .section-title{ font-size:clamp(27px,7.4vw,34px); }
  .section-supporting{ margin-top:18px; font-size:16.5px; }

  .footer-inner{ grid-template-columns:1fr; gap:32px; }
}
