/* =========================================================
   Creative Lighting  —  Modern refresh (static)
   Light, editorial, professional. Deep navy + warm amber,
   with a spectrum accent nodding to colour control.
   ========================================================= */

:root {
  --ink:       #0e1726;  /* deep navy */
  --ink-2:     #1b2740;
  --paper:     #ffffff;
  --paper-2:   #f6f8fb;
  --paper-3:   #eef2f7;
  --border:    #e2e8f2;
  --text:      #1c2634;
  --text-dim:  #55617a;
  --text-mute: #8a94a8;

  --amber:     #f5a623;  /* warm accent */
  --amber-2:   #ff7a1a;
  --brand:     #1f6feb;  /* cool accent */
  --spectrum:  linear-gradient(90deg,#f5a623,#ff4d8d,#a24bff,#1f6feb,#22d3ee);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --shadow: 0 24px 60px -28px rgba(14,23,38,.28);
  --shadow-sm: 0 8px 24px -12px rgba(14,23,38,.18);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Sora', var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--display); line-height: 1.14; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; color: var(--text-dim); }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--amber-2); margin-bottom: 1rem;
}
.section { padding: 100px 0; }
.section.tight { padding: 72px 0; }
.section-lead { max-width: 660px; margin: 0 auto 60px; text-align: center; }
.section-lead p { font-size: 1.12rem; }
.bg-paper2 { background: var(--paper-2); }
.bg-ink { background: var(--ink); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink p { color: #b9c3d6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(14,23,38,.5); }
.btn-amber { background: linear-gradient(135deg,var(--amber),var(--amber-2)); color: #1c1200; font-weight: 700; }
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(245,166,35,.6); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); transform: translateY(-2px); }
.btn-ghost.on-ink { border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost.on-ink:hover { background: rgba(255,255,255,.1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--spectrum);
  box-shadow: var(--shadow-sm); flex-shrink: 0;
}
.brand small { display:block; font-family: var(--font); font-weight:600; font-size:.62rem; letter-spacing:.18em; text-transform:uppercase; color:var(--text-mute); margin-top:-2px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; color: var(--text-dim); font-size: .95rem; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--paper-2); }
.nav-cta { margin-left: 10px; }
/* Keep the header CTA a proper amber pill — don't inherit nav-link overrides */
.nav-links a.btn { padding: 10px 20px; border-radius: 999px; }
.nav-links a.btn-amber,
.nav-links a.btn-amber:hover,
.nav-links a.btn-amber.active {
  color: #1c1200;
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
}
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 120px 0 110px;
  background: var(--ink);
}
/* The hero photo is already colour-lit trees on a black night sky. Cycling the
   hue makes the trees and their water reflection appear to change colour, while
   the black sky/water stay black — so colour lives on the trees, not the frame. */
.hero-fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-trees {
  position: absolute; inset: 0;
  background: url('../assets/img/hero.webp') center/cover no-repeat;
  animation: heroHue 26s linear infinite;
}
@keyframes heroHue {
  from { filter: saturate(1.15) hue-rotate(0deg); }
  to   { filter: saturate(1.15) hue-rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) { .hero-trees { animation: none; } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(14,23,38,.92) 0%, rgba(14,23,38,.72) 42%, rgba(14,23,38,.30) 100%),
    radial-gradient(700px 500px at 85% 0%, rgba(245,166,35,.18), transparent 60%),
    radial-gradient(600px 500px at 0% 100%, rgba(31,111,235,.18), transparent 60%);
}
.hero .container { position: relative; z-index: 2; max-width: 900px; }
.hero h1 { color: #fff; }
.hero .spectrum-word { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #c3cde0; font-size: 1.2rem; max-width: 620px; margin: 1.2rem 0 2rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tags { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 10px 24px; color: #8ea0bf; font-size: .9rem; }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ---------- Trusted-by ---------- */
.trusted { border-bottom: 1px solid var(--border); background: var(--paper); }
.trusted .container { padding: 40px 24px; }
.trusted p { text-align: center; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--text-mute); margin-bottom: 22px; font-weight: 600; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 38px; }
.logos span { color: #9aa6bd; font-weight: 700; font-size: 1.05rem; font-family: var(--display); letter-spacing: -0.01em; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; padding: 28px 16px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--border); }
.stat .num { font-family: var(--display); font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; color: var(--ink); }
.stat .num b { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--text-dim); font-size: .92rem; margin-top: 4px; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-2 { grid-template-columns: repeat(2,1fr); }

.card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd9e8; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(245,166,35,.16), rgba(255,122,26,.14));
  margin-bottom: 18px; font-size: 1.4rem;
}
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; font-size: .96rem; }
.card .more { display:inline-block; margin-top:16px; color: var(--brand); font-weight:600; font-size:.92rem; }
.card .more::after { content:" →"; }

/* Product card w/ swatch header */
.product-card { overflow: hidden; padding: 0; }
.product-card .ph { height: 150px; position: relative; }
.product-card .ph::after { content: attr(data-tag); position:absolute; top:14px; left:16px; background:rgba(14,23,38,.72); color:#fff; font-size:.72rem; font-weight:600; padding:5px 10px; border-radius:999px; letter-spacing:.04em; }
.product-card .body { padding: 26px 28px 30px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.split.reverse .media { order: 2; }
.media {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--paper-2); min-height: 320px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.media .spectrum-bar { position:absolute; inset: 0; background: var(--spectrum); opacity:.9; }
.media .panel { position:absolute; inset: 24px; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 24px; }
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.feature-list li { position: relative; padding-left: 32px; margin-bottom: 13px; color: var(--text-dim); }
.feature-list li strong { color: var(--ink); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 3px; color: #fff; background: var(--amber-2); width: 20px; height: 20px; border-radius: 50%; display:grid; place-items:center; font-size:.7rem; font-weight:800; }

/* comparison bars (DALI speed) */
.compare { display:grid; gap: 16px; }
.compare .row .top { display:flex; justify-content:space-between; font-size:.86rem; font-weight:600; margin-bottom:6px; color: var(--text); }
.compare .bar { height: 14px; border-radius: 999px; background: var(--paper-3); overflow:hidden; }
.compare .bar i { display:block; height:100%; border-radius:999px; }

/* ---------- Solutions list ---------- */
.sol-list { columns: 2; column-gap: 40px; list-style: none; padding: 0; margin: 0; }
.sol-list li { break-inside: avoid; margin-bottom: 14px; padding-left: 28px; position: relative; color: var(--text-dim); }
.sol-list li::before { content: "→"; position: absolute; left: 0; color: var(--amber-2); font-weight: 700; }

/* ---------- Quote / values ---------- */
.value-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.value { padding: 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--border); }
.value h3 { display:flex; align-items:center; gap:12px; }
.value h3 .n { width:34px; height:34px; border-radius:9px; background:var(--ink); color:#fff; display:grid; place-items:center; font-size:.9rem; font-family:var(--font); }

/* ---------- CTA band ---------- */
.cta-band { border-radius: 24px; padding: 66px 44px; text-align: center; background: var(--ink); color:#fff; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 80% 0%, rgba(245,166,35,.28), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color:#fff; max-width: 620px; margin: 0 auto .6rem; }
.cta-band p { color:#c3cde0; max-width: 540px; margin: 0 auto 1.8rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info .row { display:flex; gap:16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-info .row:last-child { border-bottom: 0; }
.contact-info .ic { width:44px; height:44px; border-radius:12px; background: var(--paper-2); display:grid; place-items:center; font-size:1.2rem; flex-shrink:0; }
.contact-info .row h3 { margin:0 0 2px; font-size:1rem; }
.contact-info .row a { color: var(--brand); }
.contact-info .row p { margin:0; font-size:.95rem; }

.form { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form label { display:block; font-size:.85rem; font-weight:600; color: var(--ink); margin: 14px 0 6px; }
.form input, .form textarea, .form select {
  width:100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: .96rem; color: var(--text); background: var(--paper-2);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline:none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,166,35,.18); background:#fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { width:100%; justify-content:center; margin-top: 20px; }
.form small { display:block; color: var(--text-mute); font-size: .82rem; margin-top: 12px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: var(--ink); color:#fff; padding: 90px 0 70px; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 400px at 90% 10%, rgba(245,166,35,.2), transparent 60%); }
.page-hero .container { position: relative; z-index:1; max-width: 760px; }
.page-hero h1 { color:#fff; }
.page-hero p { color:#c3cde0; font-size:1.15rem; margin: .6rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color:#b9c3d6; padding: 72px 0 34px; }
.site-footer .brand { color:#fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 44px; }
.footer-grid h4 { font-family: var(--font); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #7f8aa3; margin: 0 0 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color:#b9c3d6; font-size:.95rem; }
.footer-grid a:hover { color:#fff; }
.footer-about p { font-size:.94rem; max-width: 320px; margin-top:16px; }
.footer-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; color:#7f8aa3; font-size:.85rem; }
.footer-bottom a { color:#9aa6bd; }
.footer-bottom a:hover { color:#fff; }

/* ---------- Real images ---------- */
.brand img.mark { background: transparent; box-shadow: none; object-fit: contain; }

/* client logo wall */
.logos img { height: 42px; width: auto; max-width: 150px; object-fit: contain; opacity: 1; transition: opacity .2s ease, transform .2s ease; }
.logos img:hover { opacity: 1; transform: translateY(-2px); }

/* media panels filled with photography */
.media img.media-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.media.contain { background: var(--paper-2); }
.media.contain img.product-photo { position: absolute; inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); object-fit: contain; }
/* portrait product-shot media (4:5) for hero blocks with the new portrait product photos */
.media.portrait { aspect-ratio: 4 / 5; min-height: 0; }

/* product detail — at-a-glance, spec table, downloads */
.spec-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.spec-strip .item { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.spec-strip .item .k { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }
.spec-strip .item .v { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.02rem; margin-top: 6px; line-height: 1.25; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 20px; border-bottom: 1px solid var(--border); font-size: .95rem; vertical-align: top; }
.spec-table th { width: 40%; color: var(--text-dim); font-weight: 600; background: var(--paper-2); }
.spec-table td { color: var(--ink); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.dl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dl-list a { display: flex; align-items: center; gap: 12px; padding: 15px 20px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); transition: border-color .2s ease, transform .2s ease; }
.dl-list a:hover { border-color: var(--amber); transform: translateY(-2px); }
.dl-list a .ic { font-size: 1.2rem; }
.dl-list a small { display: block; font-weight: 500; color: var(--text-mute); font-size: .8rem; margin-top: 2px; }

/* projects gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 250px; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 15px; color: #fff; font-weight: 600; font-size: .96rem; background: linear-gradient(transparent, rgba(14,23,38,.9)); }
.gallery figcaption span { display: block; font-weight: 500; font-size: .82rem; color: #c3cde0; margin-top: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .stats, .spec-strip { grid-template-columns: repeat(2,1fr); }
  .split, .split.reverse .media { grid-template-columns: 1fr; }
  .split.reverse .media { order: 0; }
  .value-grid, .contact-grid { grid-template-columns: 1fr; }
  .sol-list { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px;
    transform: translateY(-130%); transition: transform .25s ease; z-index: 40; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .stats, .gallery, .spec-strip { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
