/* ============================================================
   RADUSH — Design System (v7: Orange + Brown)
   Display: Space Grotesk · Body: Inter
   Change a token in :root and it updates everywhere.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* Brand orange (sampled from the logo) */
  --orange:        #F27B22;
  --orange-light:  #FF9C4E;
  --orange-deep:   #D4570C;
  --orange-glow:   rgba(242,123,34,.38);

  /* Brown scale (dark browns replace black) — used for backgrounds, gradients and hues */
  --black:    #2A1409;
  --ink:      #351A0C;
  --charcoal: #43220F;
  --graphite: #54301A;
  --line:     rgba(255,255,255,.10);

  /* Light surfaces */
  --paper:    #FFFFFF;
  --cream:    #FCF6EF;
  --cream-2:  #F3ECE3;
  --border:   #E8E1D8;

  /* Text */
  --text:       #2A1A10;
  --text-soft:  #5C4938;
  --text-muted: #826D5C;
  --on-dark:      #FFFFFF;
  --on-dark-soft: rgba(255,255,255,.72);
  --on-dark-mute: rgba(255,255,255,.52);

  /* Gradients */
  --grad-orange: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 45%, var(--orange-deep) 100%);
  --grad-dark:   linear-gradient(180deg, #2A1409 0%, #4A2610 100%);

  /* Type */
  --display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --body: 'Inter', 'Segoe UI', sans-serif;

  /* Layout */
  --max: 1180px;
  --gutter: 24px;
  --radius: 16px;
  --shadow: 0 18px 50px -18px rgba(42,20,9,.28);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4{
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.015em;
  color: var(--text);
}
h1{ font-size: clamp(2.5rem, 5vw, 4.3rem); font-weight: 700; letter-spacing: -0.03em; }
h2{ font-size: clamp(1.9rem, 3.2vw, 2.8rem); letter-spacing: -0.025em; }
h3{ font-size: 1.3rem; }

p{ margin: 0 0 1em; color: var(--text-soft); max-width: 64ch; }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul{ margin: 0; padding: 0; list-style: none; }

.container{ max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section{ padding: 96px 0; position: relative; }
@media (max-width: 720px){ section{ padding: 60px 0; } }

.text-grad{
  background: var(--grad-orange);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* ---------- Eyebrow ---------- */
.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: .82rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-deep); margin-bottom: 18px;
}
.eyebrow::before{
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad-orange);
}

/* ---------- Dark surfaces ---------- */
.dark{
  background: linear-gradient(160deg, #2A1409 0%, #3F1F0E 55%, #5B2B10 100%);
  color: var(--on-dark);
  isolation: isolate;
}
.dark h1, .dark h2, .dark h3, .dark h4{ color: var(--on-dark); }
.dark p{ color: var(--on-dark-soft); }
.dark .eyebrow{ color: var(--orange-light); }

.bg-glow::before{
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(800px 480px at 88% -8%, rgba(242,123,34,.34), transparent 62%),
    radial-gradient(600px 400px at -6% 108%, rgba(242,123,34,.16), transparent 65%);
}
.bg-grid::after{
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
}
.bg-cream{ background: var(--cream); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: .96rem;
  padding: 13px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--grad-orange); color: #fff;
  box-shadow: 0 10px 28px -10px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(242,123,34,.6), inset 0 1px 0 rgba(255,255,255,.28); }
.btn-ghost{ background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover{ border-color: var(--orange); color: var(--orange-deep); }
.btn-ghost-light{ background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover{ border-color: var(--orange-light); background: rgba(242,123,34,.12); }
.btn-dark{ background: var(--black); color: #fff; }
.btn-dark:hover{ background: #000; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(24,10,3,.7); }
.btn .arrow{ transition: transform .2s ease; }
.btn:hover .arrow{ transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
header.site-header{
  position: sticky; top: 0; z-index: 200;
  background: rgba(42,20,9,.95);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
          backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site-header::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,123,34,.7), transparent);
  opacity: .55;
}
.nav{
  max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand{ display: flex; align-items: center; }
.brand img{ height: 52px; width: auto; }

.nav-links{ display: flex; align-items: center; gap: 30px; }
.nav-links a{
  font-size: .94rem; font-weight: 500; color: var(--on-dark-soft);
  position: relative; padding: 6px 0; transition: color .15s ease; white-space: nowrap;
}
.nav-links a::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--grad-orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover{ color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after{ transform: scaleX(1); }
.nav-links a.active{ color: #fff; font-weight: 600; }

.nav-cta{ display: flex; align-items: center; gap: 12px; }
.nav-cta .btn{ padding: 10px 22px; font-size: .9rem; }
.nav-cta .btn-ghost{ color: #fff; border-color: rgba(255,255,255,.25); }
.nav-cta .btn-ghost:hover{ border-color: var(--orange-light); color: var(--orange-light); }

.nav-toggle{ display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span{ display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }

@media (max-width: 960px){
  .nav-links{
    position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(42,20,9,.97);
    flex-direction: column; align-items: flex-start; gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: transform .25s ease;
    padding: 8px var(--gutter) 18px;
  }
  .nav-links.open{ transform: translateY(0); }
  .nav-links a{ padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a::after{ display: none; }
  .nav-toggle{ display: block; }
  .nav-cta .btn-ghost{ display: none; }
}

/* ---------- Hero (home) ---------- */
.hero{ padding: 96px 0 88px; overflow: hidden; }
.hero .container{
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.hero h1{ margin-bottom: 24px; }
.hero .lede{
  font-family: var(--display); font-size: 1.15rem; font-weight: 500;
  color: var(--on-dark-soft); max-width: 46ch; margin-bottom: 36px; line-height: 1.55;
}
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art{ width: 100%; height: auto; -webkit-mask-image: linear-gradient(180deg,#000 78%,transparent 100%); mask-image: linear-gradient(180deg,#000 78%,transparent 100%); }
.pill{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  border: 1px solid rgba(242,123,34,.4); background: rgba(242,123,34,.1);
  color: var(--orange-light); font-size: .82rem; font-weight: 600; margin-bottom: 26px;
}
.pill i{ width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(242,123,34,.25); }

@media (max-width: 900px){
  .hero{ padding: 56px 0 56px; }
  .hero .container{ grid-template-columns: 1fr; gap: 28px; }
  .hero-art{ order: -1; max-width: 400px; margin: 0 auto; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{ padding: 84px 0 76px; overflow: hidden; }
.page-hero .container{ position: relative; }
.page-hero h1{ margin-bottom: 14px; font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.page-hero p.lede{
  font-family: var(--display); font-size: 1.15rem; font-weight: 500;
  color: var(--on-dark-soft); max-width: 56ch; margin: 0;
}
.page-hero .crumbs{ font-size: .84rem; color: var(--on-dark-mute); margin-bottom: 22px; }
.page-hero .crumbs a:hover{ color: var(--orange-light); }
.page-hero .crumbs span{ margin: 0 8px; opacity: .5; }
.page-hero-art{
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 340px; opacity: .95; pointer-events: none;
}
@media (max-width: 900px){ .page-hero-art{ display: none; } .page-hero{ padding: 56px 0 52px; } }

/* ---------- Trust strip (badges) ---------- */
.trust{ background: var(--charcoal); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust .container{ display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.trust-label{
  font-family: var(--display); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mute); margin-right: 6px;
}
.badge-row{ display: flex; gap: 14px; flex-wrap: wrap; align-items: stretch; }
.badge-card{
  background: #fff; border-radius: 12px; width: 124px; height: 76px;
  display: flex; align-items: center; justify-content: center; padding: 10px 14px;
  box-shadow: 0 8px 22px -12px rgba(24,10,3,.6), inset 0 0 0 1px rgba(255,255,255,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.badge-card:hover{ transform: translateY(-3px); box-shadow: 0 14px 28px -12px rgba(242,123,34,.5); }
.badge-card img{ max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.trust.on-light{ background: var(--cream); border-color: var(--border); }
.trust.on-light .trust-label{ color: var(--text-muted); }
.trust.on-light .badge-card{ box-shadow: 0 8px 22px -14px rgba(42,20,9,.35); border: 1px solid var(--border); }

/* ---------- Section heading pattern ---------- */
.section-head{
  display: flex; justify-content: space-between; align-items: flex-end; gap: 28px;
  margin-bottom: 52px; flex-wrap: wrap;
}
.section-head h2{ margin-bottom: 0; max-width: 18ch; }
.section-head p{ margin: 0; max-width: 42ch; }

/* ---------- Capability tiles ---------- */
.tile-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile{
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px 32px;
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}
.tile::before{
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--grad-orange); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.tile:hover{ transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(242,123,34,.45); }
.tile:hover::before{ transform: scaleX(1); }
.tile-icon{
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #4A2610, #2A1409);
  box-shadow: 0 10px 22px -10px rgba(42,20,9,.6), inset 0 0 0 1px rgba(255,255,255,.08);
}
.tile-icon svg{ width: 28px; height: 28px; stroke: var(--orange-light); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile .tile-num{
  position: absolute; top: 28px; right: 28px;
  font-family: var(--display); font-size: .85rem; font-weight: 600; color: var(--orange-deep); opacity: .75;
}
.tile h3{ margin-bottom: 10px; }
.tile p{ font-size: .96rem; margin-bottom: 0; }
/* Value statements: first two always visible, the rest expand on click.
   Without JS everything stays visible (the .is-collapsible class is added by main.js). */
.tile-points{ margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.tile-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tile-more .tile-list{ padding-top: 12px; }
.tile-list li{
  position: relative; padding-left: 20px;
  font-size: .9rem; line-height: 1.5; color: var(--text-soft);
}
.tile-list li::before{
  content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px;
  background: var(--grad-orange); transform: rotate(45deg) scale(.85);
}
.tile-list li strong{ color: var(--text); font-weight: 600; }
.tile-more{ display: block; }
.tile-points.is-collapsible .tile-more{
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease;
}
.tile-points.is-collapsible .tile-more-inner{ overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s linear .35s; }
.tile-points.is-open .tile-more{ grid-template-rows: 1fr; }
.tile-points.is-open .tile-more-inner{ visibility: visible; transition-delay: 0s; }
.tile-toggle{
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 6px 0;
  background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-size: .85rem; font-weight: 600; color: var(--orange-deep);
}
.tile-toggle[hidden]{ display: none; }
.tile-toggle:hover{ color: var(--orange); }
.tile-toggle:focus-visible{ outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.tile-toggle svg{ width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.tile-points.is-open .tile-toggle svg{ transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce){
  .tile-points.is-collapsible .tile-more, .tile-toggle svg{ transition: none; }
}
.tile-span2{ grid-column: span 2; }
.tile-wide{ background: var(--grad-dark); border-color: #5A3317; }
.tile-wide h3{ color: #fff; }
.tile-wide p{ color: var(--on-dark-soft); }
.tile-wide .tile-num{ color: var(--orange-light); }
.tile-wide::after{
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,123,34,.4), transparent 68%); pointer-events: none;
}
.tile-wide .tile-icon{ background: var(--grad-orange); }
.tile-wide .tile-icon svg{ stroke: #2A1409; }
@media (max-width: 960px){ .tile-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .tile-grid{ grid-template-columns: 1fr; } .tile-span2{ grid-column: span 1; } }

/* ---------- Approach (home) ---------- */
.approach-grid{ display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.approach h2{ font-size: clamp(2rem, 3.4vw, 3rem); max-width: 14ch; }
.approach .tagline{
  font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.02em; margin-top: 12px; margin-bottom: 0; line-height: 1.15;
}
.approach p{ font-size: 1.04rem; }
@media (max-width: 860px){ .approach-grid{ grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Product cards ---------- */
.card-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Five-card grid: 3 on the first row, last two centred beneath so no empty cell shows */
.card-grid.five{ grid-template-columns: repeat(6, 1fr); }
.card-grid.five .card{ grid-column: span 2; }
.card-grid.five .card:nth-child(4){ grid-column: 2 / span 2; }
.card-grid.five .card:nth-child(5){ grid-column: 4 / span 2; }
@media (max-width: 960px){
  .card-grid{ grid-template-columns: repeat(2,1fr); }
  .card-grid.five{ grid-template-columns: repeat(2,1fr); }
  .card-grid.five .card, .card-grid.five .card:nth-child(4){ grid-column: auto; }
  .card-grid.five .card:nth-child(5){ grid-column: 1 / -1; }
}
@media (max-width: 620px){
  .card-grid, .card-grid.five{ grid-template-columns: 1fr; }
  .card-grid.five .card:nth-child(5){ grid-column: auto; }
}

.card{
  display: flex; flex-direction: column; height: 100%;
  background: var(--charcoal); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  overflow: hidden; color: #fff;
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}
.card:hover{ transform: translateY(-6px); border-color: rgba(242,123,34,.55); box-shadow: 0 26px 50px -22px rgba(242,123,34,.45); }
.card-media{ position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--black); }
.card-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img{ transform: scale(1.05); }
.card-media::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(67,34,15,.95)); pointer-events: none; }
.card-body{ padding: 6px 26px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.card h3{ color: #fff; margin-bottom: 8px; }
.card p{ font-size: .95rem; flex-grow: 1; color: var(--on-dark-soft); }
.card .card-link{ margin-top: 12px; font-weight: 600; font-size: .92rem; color: var(--orange-light); display: inline-flex; gap: 8px; align-items: center; }
.card .card-link .arrow{ transition: transform .2s ease; }
.card:hover .card-link .arrow{ transform: translateX(4px); }
.card.stretch::after{ content: ""; position: absolute; inset: 0; }
.card{ position: relative; }

/* ---------- Partner strip ---------- */
.partner{ padding: 56px 0; background: var(--cream); border-top: 1px solid var(--border); }
.partner .container{ display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; text-align: center; }
.partner .label{ font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.partner .name{ font-family: var(--display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }

/* ---------- CTA band ---------- */
.cta-wrap{ padding: 0 0 96px; background: var(--paper); }
.cta-band{
  position: relative; overflow: hidden; border-radius: 28px;
  padding: 72px 48px; text-align: center; color: #fff;
  background:
    radial-gradient(700px 360px at 50% 120%, rgba(24,10,3,.55), transparent 70%),
    linear-gradient(120deg, #2A1409 0%, #2a1306 28%, var(--orange-deep) 72%, var(--orange) 100%);
  box-shadow: 0 40px 80px -40px rgba(242,123,34,.55);
}
.cta-band::before{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 85%); mask-image: linear-gradient(90deg, transparent, #000 85%);
}
.cta-band > *{ position: relative; }
.cta-band h2{ color: #fff; max-width: 20ch; margin: 0 auto 24px; }
.cta-band p{ color: rgba(255,255,255,.86); margin: 0 auto 30px; text-align: center; }
@media (max-width: 720px){ .cta-band{ padding: 52px 24px; border-radius: 20px; } .cta-wrap{ padding-bottom: 60px; } }

/* ---------- People (About) ---------- */
.people-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 860px){ .people-grid{ grid-template-columns: 1fr; } }
.person{
  display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start;
  background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 22px;
  transition: box-shadow .3s ease, transform .25s ease;
}
.person:hover{ box-shadow: var(--shadow); transform: translateY(-3px); }
.person-photo{
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/5.2; background: var(--black);
  box-shadow: 0 0 0 1px rgba(42,20,9,.06);
}
.person-photo img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.person-photo::after{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(42,20,9,.55) 100%);
}
.person-photo::before{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 2; background: var(--grad-orange);
}
.person h3{ margin: 4px 0 2px; font-size: 1.45rem; }
.person .role{ font-size: .88rem; color: var(--orange-deep); font-weight: 600; margin-bottom: 14px; display: block; }
.person p{ font-size: .93rem; }
@media (max-width: 1060px){ .person{ grid-template-columns: 1fr; } .person-photo{ max-width: 260px; } }

/* ---------- Two-col intro (About) ---------- */
.intro-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.intro-grid p{ font-size: 1.05rem; }
@media (max-width: 860px){ .intro-grid{ grid-template-columns: 1fr; gap: 0; } }

/* ---------- Contact ---------- */
.contact-grid{ display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-info{
  position: relative; overflow: hidden; border-radius: 24px; padding: 40px 36px; color: #fff;
  background: radial-gradient(500px 300px at 100% 0%, rgba(242,123,34,.4), transparent 65%), var(--grad-dark);
  border: 1px solid #5A3317;
}
.contact-info h3{ color: #fff; margin-bottom: 26px; }
.contact-detail{ display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-detail .ico{
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(242,123,34,.14); border: 1px solid rgba(242,123,34,.35);
}
.contact-detail .ico svg{ width: 20px; height: 20px; stroke: var(--orange-light); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail .label{ font-family: var(--display); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-light); display: block; margin-bottom: 4px; }
.contact-detail a, .contact-detail div{ font-size: 1rem; color: #fff; line-height: 1.55; }
.contact-detail a:hover{ color: var(--orange-light); }
.contact-form-card{ background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 40px 36px; box-shadow: var(--shadow); }
.contact-form-card h3{ margin-bottom: 22px; font-size: 1.25rem; }

.social-row{ display: flex; gap: 12px; margin-top: 8px; }
.social-row a{
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); color: #fff;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}
.social-row a:hover{ border-color: var(--orange); background: var(--orange); color: #2A1409; transform: translateY(-2px); }
.social-row svg{ width: 18px; height: 18px; fill: currentColor; }

.form-field{ margin-bottom: 18px; }
.form-field label{ display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-field input, .form-field textarea{
  width: 100%; border: 1px solid var(--border); padding: 13px 15px;
  font-family: var(--body); font-size: .96rem; border-radius: 10px; background: var(--cream); color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-field input:focus, .form-field textarea:focus{
  outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 4px rgba(242,123,34,.18);
}
.form-field textarea{ min-height: 140px; resize: vertical; }

/* ---------- Product pages ---------- */
.product-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 860px){ .product-grid{ grid-template-columns: 1fr; gap: 32px; } }
.product-visual{
  border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 80px -40px rgba(242,123,34,.5);
}
.product-visual img{ width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.coming-soon{
  border: 1px dashed rgba(242,123,34,.55); background: linear-gradient(135deg, #FFF3E8, #FFFBF7);
  border-radius: var(--radius); padding: 30px 32px; margin-top: 24px;
}
.coming-soon p{ margin: 0; color: var(--text-soft); font-size: .96rem; }
.tag{
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: rgba(242,123,34,.14); color: var(--orange-light);
  border: 1px solid rgba(242,123,34,.35); margin-bottom: 18px;
}

/* ---------- Book ---------- */
.book-hero{ padding: 88px 0; overflow: hidden; }
.book-hero .container{ display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: center; }
.book-stage{ position: relative; perspective: 1400px; display: flex; justify-content: center; }
.book-stage::before{
  content: ""; position: absolute; inset: 6% -8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,123,34,.55), transparent 68%); filter: blur(20px);
}
.book-cover{
  position: relative; width: 100%; height: auto; max-width: 360px; border-radius: 6px 12px 12px 6px;
  transform: rotateY(-16deg) rotateX(3deg); transition: transform .5s ease;
  box-shadow: -18px 24px 50px rgba(24,10,3,.65), 0 0 0 1px rgba(255,255,255,.1), inset 4px 0 0 rgba(255,255,255,.12);
}
.book-stage:hover .book-cover{ transform: rotateY(-6deg) rotateX(1deg) translateY(-6px); }
.book-hero h1{ font-size: clamp(2.3rem, 4.4vw, 3.8rem); }
.book-hero .subtitle{ font-family: var(--display); font-size: 1.3rem; font-weight: 500; color: var(--orange-light); margin-bottom: 20px; line-height: 1.35; }
.book-hero .description{ font-size: 1.05rem; color: var(--on-dark-soft); margin-bottom: 30px; max-width: 54ch; }
.points{ margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; max-width: 460px; }
.point{ display: flex; align-items: center; gap: 12px; font-size: .95rem; color: #fff; font-weight: 500; }
.point::before{ content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--grad-orange) ; -webkit-mask: none; box-shadow: 0 0 0 4px rgba(242,123,34,.18); }
.btn-lg{ padding: 16px 34px; font-size: 1.02rem; }
@media (max-width: 960px){ .book-hero .container{ grid-template-columns: 1fr; gap: 44px; } .book-cover{ max-width: 300px; } }

.feature-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px){ .feature-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .feature-grid{ grid-template-columns: 1fr; } }
.feature{
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px;
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}
.feature:hover{ transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(242,123,34,.45); }
.feature .n{ font-family: var(--display); font-weight: 700; color: var(--orange-deep); font-size: .85rem; display: block; margin-bottom: 16px; }
.feature .logo{ display: block; width: 72px; height: 72px; margin: -4px 0 12px -2px; }
.feature h3{ font-size: 1.12rem; margin-bottom: 8px; }
.feature p{ font-size: .93rem; margin: 0; }

.about-book{
  position: relative; overflow: hidden; border-radius: 28px; padding: 60px 52px;
  background: radial-gradient(500px 300px at 100% 0%, rgba(242,123,34,.4), transparent 65%), var(--grad-dark);
  color: #fff;
}
.about-book h2{ color: #fff; }
.about-book p{ color: var(--on-dark-soft); font-size: 1.04rem; max-width: 70ch; }
.about-book .btn{ margin-top: 10px; }
@media (max-width: 720px){ .about-book{ padding: 40px 24px; border-radius: 20px; } }

/* ---------- Footer ---------- */
footer.site-footer{
  position: relative; background: var(--black); color: var(--on-dark-soft); padding: 72px 0 28px; overflow: hidden;
}
footer.site-footer::before{
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-orange);
}
footer.site-footer::after{
  content: ""; position: absolute; right: -160px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,123,34,.16), transparent 68%); pointer-events: none;
}
.footer-grid{ position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 52px; }
@media (max-width: 800px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-grid img{ height: 60px; width: auto; margin-bottom: 16px; }
.footer-grid p{ color: var(--on-dark-soft); font-size: 1.02rem; line-height: 1.7; max-width: 36ch; }
.footer-col h4{ font-family: var(--display); font-size: .92rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-light); margin-bottom: 16px; }
.footer-col a{ display: block; color: var(--on-dark-soft); font-size: 1.05rem; padding: 7px 0; transition: color .15s ease, transform .15s ease; }
.footer-col a:hover{ color: var(--orange-light); transform: translateX(3px); }
.footer-bottom{
  position: relative; z-index: 1; border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .95rem; color: var(--on-dark-mute);
}

/* ---------- Legal ---------- */
.legal-tabs{ display: flex; gap: 8px; border-bottom: 1px solid var(--border); margin-bottom: 40px; flex-wrap: wrap; }
.legal-tabs button{
  font-family: var(--body); font-weight: 600; font-size: .94rem; padding: 14px 4px; margin-right: 28px;
  background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; color: var(--text-muted);
  transition: color .15s ease;
}
.legal-tabs button:hover{ color: var(--text); }
.legal-tabs button.active{ color: var(--text); border-bottom-color: var(--orange); }
.legal-panel{ display: none; }
.legal-panel.active{ display: block; }
.legal-panel h3{ margin-top: 32px; font-size: 1.05rem; }
.legal-panel h3:first-child{ margin-top: 0; }
.legal-panel p{ max-width: 74ch; font-size: .95rem; white-space: pre-line; }

/* ---------- Utility ---------- */
.sr-only{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.center{ text-align: center; }
.small{ font-size: .88rem; color: var(--text-muted); }

/* 404 */
.notfound{ padding: 130px 0; text-align: center; }
.notfound .num{ font-family: var(--display); font-weight: 700; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; letter-spacing: -0.05em; margin-bottom: 10px; }
.notfound p{ margin: 0 auto 30px; }

/* reveal on scroll (progressive enhancement; content is visible without JS) */
.js .reveal{ opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .js .reveal{ opacity: 1; transform: none; }
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{ outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Product card (from Figma "Product card") ---------- */
.container-wide{ max-width: 1344px; }
.pcard-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pcard{
  --accent: #FF5A1F;
  position: relative; display: flex; flex-direction: column; gap: 24px; overflow: hidden;
  padding: 12px; border-radius: 24px; color: #fff;
  background: linear-gradient(90deg, #6B3517 0%, #44220F 60%, #2A1409 100%);
  box-shadow: 0 16px 36px rgba(24,10,3,.09);
  font-family: 'Inter', 'Segoe UI', sans-serif; font-weight: 400;
  transition: transform .25s ease, box-shadow .3s ease;
}
.pcard:hover{ transform: translateY(-5px); box-shadow: 0 26px 50px -16px rgba(255,90,31,.35); }
.pcard-media{ position: relative; height: 300px; border-radius: 14px; overflow: hidden; background: #2A1409; flex: none; }
.pcard-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pcard:hover .pcard-media img{ transform: scale(1.04); }
.pcard-meta{ position: absolute; top: 18px; left: 18px; display: flex; gap: 8px; align-items: center; }
.pcard-num, .pcard-cat{ padding: 9px 15px; border-radius: 999px; font-size: 13px; line-height: normal; white-space: nowrap; }
.pcard-num{ background: var(--accent); color: #2A1409; }
.pcard-cat{ background: rgba(42,20,9,.8); color: #fff; text-transform: uppercase; }
.pcard-body{ flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 0 16px 16px; }
.pcard-copy{ display: flex; gap: 32px; align-items: flex-start; }
.pcard-copy h3{ flex: 0 0 250px; margin: 0; font-family: 'Inter', 'Segoe UI', sans-serif; font-weight: 400; font-size: 42px; line-height: normal; letter-spacing: 0; color: #fff; }
.pcard-copy h3 span{ color: var(--accent); }
.pcard-copy p{ flex: 1; margin: 0; max-width: none; font-size: 18px; line-height: 1.5; color: #D0C0B4; }
.pcard-action{ display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; font-size: 16px; }
.pcard-go{ width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
.pcard:hover .pcard-go{ transform: translate(2px,-2px); }
@media (max-width: 1100px){ .pcard-copy{ gap: 20px; } .pcard-copy h3{ flex-basis: 210px; font-size: 36px; } }
@media (max-width: 900px){ .pcard-grid{ grid-template-columns: 1fr; } }
@media (max-width: 560px){ .pcard-copy{ flex-direction: column; gap: 8px; } .pcard-copy h3{ flex: none; font-size: 36px; } .pcard-media{ height: 210px; } }

/* ---------- Home page: compact layout (v13 review round 4, scoped to body.home) ---------- */
.home .pill-brand{ font-size: .95rem; padding: 8px 18px 8px 14px; margin-bottom: 18px; }
.home .pill-brand strong{ color: #fff; font-weight: 700; letter-spacing: .01em; }
.home .hero{ padding: 44px 0 40px; }
.home .hero .container{ grid-template-columns: 1.15fr .85fr; gap: 40px; }
.home .hero h1{ font-size: clamp(2.1rem, 3.6vw, 3.2rem); margin-bottom: 16px; }
.home .hero .lede{ font-size: 1.05rem; margin-bottom: 24px; }
.home .hero-art{ max-width: 420px; margin-left: auto; }
.home section{ padding: 64px 0; }
.home .section-head{ margin-bottom: 32px; }
.home h2{ font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.home .tile{ padding: 26px 24px 24px; }
.home .tile-icon{ width: 46px; height: 46px; margin-bottom: 16px; }
.home .tile-icon svg{ width: 24px; height: 24px; }
.home .tile h3{ font-size: 1.18rem; }
.home .tile-points{ margin-top: 14px; padding-top: 14px; }
.home .approach h2{ font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.home .approach .tagline{ font-size: clamp(1.35rem, 2vw, 1.75rem); }
.home .card-grid{ gap: 20px; }
.home .card-media{ aspect-ratio: 2/1; }
.home .card-body{ padding: 4px 22px 22px; }
.home .card h3{ font-size: 1.18rem; }
.home .card p{ font-size: .9rem; }
.home .partner{ padding: 32px 0; }
.home .cta-gap{ height: 56px !important; }
.home .cta-wrap{ padding-bottom: 64px; }
.home .cta-band{ padding: 52px 40px; }
.home .cta-band h2{ margin-bottom: 16px; }
.home .cta-band p{ margin-bottom: 22px; }
@media (max-width: 900px){
  .home .hero{ padding: 28px 0 36px; }
  .home .hero .container{ grid-template-columns: 1fr; gap: 12px; }
  .home .hero-art{ max-width: 240px; margin: 0 auto; }
}
@media (max-width: 720px){
  .home section{ padding: 44px 0; }
  .home .section-head{ margin-bottom: 24px; }
  .home .cta-gap{ height: 36px !important; }
  .home .cta-wrap{ padding-bottom: 44px; }
  .home .cta-band{ padding: 40px 22px; }
}
.home .brand-name{ color: #fff; font-weight: 700; }
/* Home products: 3 + 3 grid; the sixth slot stays free for the next product */
.home .card-grid.five{ grid-template-columns: repeat(3, 1fr); }
.home .card-grid.five .card,
.home .card-grid.five .card:nth-child(4),
.home .card-grid.five .card:nth-child(5){ grid-column: auto; }
@media (max-width: 960px){
  .home .card-grid.five{ grid-template-columns: repeat(2, 1fr); }
  .home .card-grid.five .card:nth-child(5){ grid-column: 1 / -1; }
}
@media (max-width: 620px){
  .home .card-grid.five{ grid-template-columns: 1fr; }
  .home .card-grid.five .card:nth-child(5){ grid-column: auto; }
}

/* ---------- Products page: 3 + 3 grid (v14; .pcard is only used on products.html) ---------- */
.pcard-grid{ grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard-media{ height: 200px; }
.pcard-meta{ top: 14px; left: 14px; gap: 6px; }
.pcard-num, .pcard-cat{ padding: 6px 12px; font-size: 11.5px; }
.pcard-body{ gap: 18px; padding: 0 12px 12px; }
.pcard-copy{ flex-direction: column; gap: 8px; }
.pcard-copy h3{ flex: none; font-size: 30px; }
.pcard-copy p{ font-size: 15px; line-height: 1.55; }
.pcard-action{ font-size: 15px; padding-top: 12px; }
.pcard-go{ width: 38px; height: 38px; }
@media (max-width: 1100px){ .pcard-copy h3{ font-size: 28px; } }
@media (max-width: 960px){ .pcard-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .pcard-grid{ grid-template-columns: 1fr; } .pcard-media{ height: 200px; } }

/* ---------- v15: home hero art (services illustration) ---------- */
.home .hero .container{ grid-template-columns: 1fr 1fr; }
.home .hero-art{ max-width: 520px; -webkit-mask-image: none; mask-image: none; }
@media (max-width: 900px){ .home .hero .container{ grid-template-columns: 1fr; } .home .hero-art{ max-width: 420px; } }

/* ---------- v15: home product cards light, to match the capability tiles ---------- */
.home .card{ background:#fff; border:1px solid var(--border); color:var(--text); }
.home .card:hover{ border-color: rgba(242,123,34,.45); box-shadow: var(--shadow); }
.home .card-media::after{ display:none; }
.home .card-body{ padding: 20px 22px 22px; }
.home .card h3{ color: var(--text); }
.home .card p{ color: var(--text-soft); }
.home .card .card-link{ color: var(--orange-deep); }

/* v16: home hero + certifications fit in one screen (1920x1080 at 100% and 125% display scaling) */
.home .hero{ padding: 28px 0 28px; }
.home .hero-art{ max-width: 420px; }
.home .trust{ padding: 16px 0; }
.home .badge-card{ width: 104px; height: 62px; padding: 8px 12px; }

/* Book page "Buy" links jump to the form; keep it clear of the sticky header */
#contact-form{ scroll-margin-top: 210px; }

/* v16: products page cards light (white body, brown image panel) to match the capability tiles */
.pcard{ --accent: #F27B22; background: #fff; border: 1px solid var(--border); color: var(--text); box-shadow: 0 16px 36px -18px rgba(42,20,9,.25); }
.pcard:hover{ border-color: rgba(242,123,34,.45); box-shadow: var(--shadow); }
.pcard-copy h3{ color: var(--text); }
.pcard-copy p{ color: var(--text-soft); }
.pcard-action{ border-top-color: var(--border); color: var(--orange-deep); font-weight: 500; }
