/* =================================================================
   Truxor Norge — warm editorial design system
   Inspired by calm, premium service-landing layouts.
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300..600;1,6..72,300..500&family=Inter:wght@400;450;500;600&display=swap');

:root {
  /* palette — warm cream + wetland greens, restrained machine-blue accent */
  --bg:        #F6F2EA;
  --bg-warm:   #F1ECE1;
  --panel:     #FCFAF5;
  --panel-2:   #EFEADF;
  --card:      #FFFDF8;   /* warm near-white, never pure */

  --ink:       #20281F;   /* deep forest near-black */
  --ink-soft:  #36402F;
  --muted:     #5E6A57;
  --faint:     #8A9079;

  --line:      rgba(32, 40, 31, 0.12);
  --line-soft: rgba(32, 40, 31, 0.07);

  --sage:      #8C9A7E;
  --sage-mid:  #355040;

  /* Truxor brand green */
  --green:      #1A4A3A;   /* primary brand green (footer, dark surfaces) */
  --green-deep: #143C2F;   /* deeper shade */
  --green-soft: #2C5C4A;   /* lighter shade for accents/hover */
  --green-tint: rgba(26, 74, 58, 0.08);
  --sage-deep:  var(--green);   /* footer + dark cards now brand green */

  --accent:    #2F5DA0;   /* truxor blue, used very sparingly */
  --accent-ink:#23467a;
  --gold:      #C8B568;

  --radius:    18px;
  --radius-lg: 26px;
  --radius-xl: 40px;

  --shadow-sm: 0 1px 2px rgba(32,40,31,.05), 0 2px 6px rgba(32,40,31,.04);
  --shadow:    0 4px 14px rgba(32,40,31,.06), 0 18px 40px rgba(32,40,31,.07);
  --shadow-lg: 0 20px 60px rgba(32,40,31,.13);

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--green); color: #fff; }

/* ---------- typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.04;
  color: var(--ink);
}
h1.display { font-size: clamp(2.6rem, 6.2vw, 5.1rem); font-weight: 380; }
h2.display { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h3.display { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--green-soft);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 18px; height: 1px;
  background: var(--green-soft);
  display: inline-block;
}

.lead { font-size: 1.12rem; color: var(--muted); line-height: 1.65; }
.muted { color: var(--muted); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.center { text-align: center; }
.mxauto { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .005em;
  padding: .78rem 1.4rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: transform .35s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1.5px); }
.btn-dark { background: var(--green); color: #F3EFE6; }
.btn-dark:hover { background: var(--green-soft); box-shadow: var(--shadow); }
.btn-light { background: var(--panel); color: var(--ink); border-color: var(--line); }
.btn-light:hover { background: #fff; box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,.5); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.link-arrow {
  font-weight: 500; font-size: .95rem; color: var(--ink);
  display: inline-flex; align-items: center; gap: .4rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: gap .3s var(--ease), border-color .3s;
}
.link-arrow:hover { gap: .65rem; border-color: var(--ink); }

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 14px 0;
  transition: background .4s var(--ease), box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(246,242,234,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 20px; }
.brand {
  display: flex; align-items: center; gap: .6rem;
  color: var(--ink);
}
.brand img.wordmark { height: 26px; width: auto; display: block; }
.brand small {
  font-size: .6rem; letter-spacing: .2em; font-weight: 600;
  text-transform: uppercase; color: var(--green-soft);
  border-left: 1px solid var(--line); padding-left: .6rem;
  align-self: center;
}

.nav-menu {
  display: flex; align-items: center; gap: 4px;
  margin: 0 auto;
  background: rgba(252,250,245,.7);
  border: 1px solid var(--line-soft);
  padding: 5px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.nav-menu a {
  font-size: .88rem; font-weight: 450; color: var(--ink-soft);
  padding: .5rem .92rem; border-radius: 100px;
  transition: background .25s, color .25s;
}
.nav-menu a:hover, .nav-menu a.active { background: rgba(140,154,126,.16); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .signin { font-size: .9rem; font-weight: 500; color: var(--ink); padding: .5rem .4rem; }
.nav-cta .signin:hover { color: var(--accent-ink); }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 38px; cursor: pointer; }
.burger span { display:block; width:18px; height:1.5px; background: var(--ink); margin: 3px auto; transition:.3s; }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(to bottom, rgba(20,28,20,.50) 0%, rgba(20,28,20,.28) 35%, rgba(20,28,20,.55) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { color: #fff; margin-bottom: 1.3rem; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .lead { color: rgba(255,255,255,.92); font-size: 1.18rem; max-width: 560px; margin: 0 auto 2rem; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .btn-light { background: rgba(255,255,255,.92); border-color: transparent; }
.hero .btn-light:hover { background:#fff; }
.hero .btn-glass { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.hero .btn-glass:hover { background: rgba(255,255,255,.2); }
.hero-scroll {
  position:absolute; bottom: 26px; left:50%; transform:translateX(-50%);
  z-index:2; font-size:.72rem; letter-spacing:.2em; text-transform:uppercase;
  color: rgba(255,255,255,.7); display:flex; flex-direction:column; align-items:center; gap:10px;
}
/* travelling dot down a faint track */
.hero-scroll .dot { position:relative; width:1px; height:38px; background: rgba(255,255,255,.22); overflow:hidden; }
.hero-scroll .dot::after {
  content:""; position:absolute; left:50%; top:0; transform:translateX(-50%);
  width:1px; height:14px; background: linear-gradient(rgba(255,255,255,0), #fff);
  animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { transform: translate(-50%, -16px); opacity:0; }
  25%  { opacity:1; }
  75%  { opacity:1; }
  100% { transform: translate(-50%, 38px); opacity:0; }
}

/* hero entrance — staggered rise */
@keyframes heroRise { from { opacity:0; transform: translateY(28px); } to { opacity:1; transform:none; } }
/* the scroll hint is centered with translateX(-50%); its keyframe must keep that
   so the entrance animation doesn't clobber the horizontal centering */
@keyframes heroRiseCentered {
  from { opacity:0; transform: translate(-50%, 28px); }
  to   { opacity:1; transform: translateX(-50%); }
}
.hero h1, .hero .lead, .hero-cta {
  opacity:0; animation: heroRise 1.05s var(--ease) forwards;
}
.hero h1        { animation-delay: .12s; }
.hero .lead     { animation-delay: .38s; }
.hero-cta       { animation-delay: .60s; }
.hero-scroll    { opacity:0; animation: heroRiseCentered 1.05s var(--ease) .95s forwards; }

/* =================================================================
   LOGO / trust strip
   ================================================================= */
.trust { padding: 30px 0; border-bottom: 1px solid var(--line-soft); }
.trust-row { display:flex; align-items:center; justify-content:center; gap: clamp(24px,5vw,64px); flex-wrap:wrap; }
.trust-row span { font-size:.82rem; color: var(--faint); letter-spacing:.04em; font-weight:500; }
.trust-row .num { font-family: var(--serif); font-size: 1.7rem; color: var(--ink); }
.trust-item { text-align:center; }

/* =================================================================
   STEPS (how it works)
   ================================================================= */
.panel-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.steps-wrap { padding: clamp(34px, 5vw, 60px); }
.steps-head { text-align:center; margin-bottom: 2.6rem; }
.steps-head h2 { margin-top: .8rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step { padding: 0 clamp(18px, 3vw, 40px); text-align:center; position: relative; }
.step + .step::before {
  content:""; position:absolute; left:0; top: 8px; bottom: 8px; width:1px; background: var(--line);
}
.step .ic {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--panel-2); border: 1px solid var(--line-soft);
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 1.1rem; color: var(--ink-soft);
}
.step h4 { font-family: var(--serif); font-weight: 450; font-size: 1.22rem; margin-bottom: .5rem; }
.step p { font-size: .94rem; color: var(--muted); }

/* =================================================================
   BIG STATEMENT
   ================================================================= */
.statement { text-align:center; }
.statement .eyebrow { margin-bottom: 1.2rem; }
.statement h2 { max-width: 14ch; margin: 0 auto; }
.statement p { max-width: 52ch; margin: 1.5rem auto 0; }

/* =================================================================
   IMAGE BAND with checklist overlay
   ================================================================= */
.band {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden; min-height: 480px;
  display:flex; align-items:center;
  box-shadow: var(--shadow);
}
.band img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; z-index:0; }
.band::after { content:""; position:absolute; inset:0; background: linear-gradient(105deg, rgba(20,28,20,.72) 0%, rgba(20,28,20,.35) 55%, rgba(20,28,20,.15) 100%); z-index:1; }
.band-inner { position:relative; z-index:2; padding: clamp(34px, 5vw, 64px); color:#fff; max-width: 620px; }
.band-inner .eyebrow { color: rgba(255,255,255,.78); }
.band-inner .eyebrow::before { background: rgba(255,255,255,.6); }
.band-inner h2 { color:#fff; margin: 1rem 0 1.8rem; }
.band-list { list-style:none; display:flex; flex-direction:column; gap: .85rem; }
.band-list li {
  font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.85rem); font-weight: 350;
  color: rgba(255,255,255,.55);
  display:flex; align-items:center; gap: .9rem;
  transition: color .4s var(--ease);
}
.band-list li .check {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
  display:flex; align-items:center; justify-content:center; flex:none;
  transition: .4s var(--ease);
}
.band-list li .check svg { opacity:0; transition:.4s; }
.band-list li.done { color: #fff; }
.band-list li.done .check { background: var(--green-soft); border-color: var(--green-soft); }
.band-list li.done .check svg { opacity:1; }
.band-list li.done span.txt { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.45); text-decoration-thickness: 1px; }

/* =================================================================
   FEATURE split
   ================================================================= */
.feature { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 80px); align-items:center; }
.feature.rev .feature-text { order: 2; }
.feature-text h2 { margin: 1rem 0 1.1rem; }
.feature-text p { margin-bottom: 1.4rem; max-width: 44ch; }
.feature-media { position:relative; }
.feature-media img { width:100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.spec-list { list-style:none; display:flex; flex-direction:column; gap:.7rem; margin: 1.4rem 0 1.8rem; }
.spec-list li { display:flex; gap:.7rem; align-items:flex-start; font-size:.98rem; color: var(--ink-soft); }
.spec-list li .tick { color: var(--green-soft); margin-top:3px; flex:none; }

/* floating mock cards on soft bg (concierge / handymen) */
.mockpad {
  background: linear-gradient(160deg, var(--panel-2), var(--bg-warm));
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  padding: clamp(28px, 4vw, 48px);
  position:relative; min-height: 380px;
  display:flex; flex-direction:column; gap: 14px; justify-content:center;
}
.mini-card {
  background:#fff; border:1px solid var(--line-soft); border-radius: 16px;
  padding: 14px 16px; box-shadow: var(--shadow-sm);
  display:flex; gap:12px; align-items:center;
}
.mini-card .mc-ic { width:38px; height:38px; border-radius:10px; background: var(--panel-2); display:flex; align-items:center; justify-content:center; flex:none; color: var(--ink-soft); }
.mini-card .mc-ic.blue { background: rgba(47,93,160,.12); color: var(--accent); }
.mini-card .mc-ic.sage { background: rgba(140,154,126,.2); color: var(--sage-mid); }
.mini-card .mc-ic.gold { background: rgba(200,181,104,.22); color: #97843a; }
.mini-card h5 { font-size:.92rem; font-weight:600; margin-bottom:1px; }
.mini-card p { font-size:.8rem; color: var(--muted); margin:0; }
.mini-card.pushr { margin-left: 36px; }
.mini-card.pushl { margin-right: 36px; }
.mini-tag { align-self:flex-start; background: var(--ink); color:#fff; font-size:.72rem; padding:.3rem .7rem; border-radius:100px; display:inline-flex; gap:.4rem; align-items:center; }

/* =================================================================
   CAROUSEL
   ================================================================= */
.carousel-head { text-align:center; margin-bottom: 2.4rem; }
.carousel-head h2 { margin-top:.8rem; }
.carousel {
  display:flex; gap: 18px; overflow-x: auto; padding: 6px 28px 24px;
  scroll-snap-type: x mandatory; scroll-padding: 28px;
  -ms-overflow-style:none; scrollbar-width:none;
}
.carousel::-webkit-scrollbar { display:none; }
.slide {
  flex: 0 0 clamp(260px, 30vw, 360px); scroll-snap-align: start;
  border-radius: var(--radius-lg); overflow:hidden; position:relative;
  background:#fff; box-shadow: var(--shadow-sm); border:1px solid var(--line-soft);
}
.slide .img-h { height: 240px; overflow:hidden; }
.slide .img-h img { width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ease); }
.slide:hover .img-h img { transform: scale(1.05); }
.slide .s-body { padding: 18px 20px 22px; }
.slide .s-tag { font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: var(--sage-mid); font-weight:600; }
.slide h4 { font-family: var(--serif); font-weight:450; font-size:1.2rem; margin:.4rem 0 .4rem; }
.slide p { font-size:.88rem; color: var(--muted); }
.carousel-nav { display:flex; justify-content:center; gap:10px; margin-top: 8px; }
.cbtn { width:42px; height:42px; border-radius:50%; border:1px solid var(--line); background: var(--panel); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.3s; }
.cbtn:hover { background:#fff; box-shadow: var(--shadow-sm); transform: translateY(-1px); }

/* =================================================================
   BENTO grid (applications)
   ================================================================= */
.bento { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento .cell {
  background: var(--panel); border:1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px; min-height: 210px; display:flex; flex-direction:column;
  transition: transform .4s var(--ease), box-shadow .4s;
  position:relative; overflow:hidden;
}
.bento .cell:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bento .cell .c-ic { width:42px; height:42px; border-radius:11px; background: var(--panel-2); display:flex; align-items:center; justify-content:center; color: var(--ink-soft); margin-bottom: auto; }
.bento .cell h4 { font-family: var(--serif); font-weight:450; font-size:1.2rem; margin: 18px 0 .4rem; }
.bento .cell p { font-size:.88rem; color: var(--muted); }
.bento .cell.span2 { grid-column: span 2; }
.bento .cell.img-cell { padding:0; min-height: 210px; }
.bento .cell.img-cell img { width:100%; height:100%; object-fit:cover; }
.bento .cell.dark { background: var(--sage-deep); border-color: transparent; color:#EDE9DD; }
.bento .cell.dark h4 { color:#fff; }
.bento .cell.dark p { color: rgba(237,233,221,.75); }
.bento .cell.dark .c-ic { background: rgba(255,255,255,.1); color:#fff; }

/* =================================================================
   MODELS / understanding
   ================================================================= */
.models { display:grid; grid-template-columns: repeat(4,1fr); gap:14px; margin-top: 2.6rem; }
.model-card {
  background: var(--panel); border:1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 22px; transition: .4s var(--ease); cursor:default;
}
.model-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line); }
.model-card .mname { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); }
.model-card .mtag { font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; color: var(--sage-mid); font-weight:600; margin: .3rem 0 1rem; }
.model-card ul { list-style:none; display:flex; flex-direction:column; gap:.5rem; }
.model-card li { font-size:.86rem; color: var(--muted); display:flex; justify-content:space-between; border-bottom:1px dashed var(--line-soft); padding-bottom:.4rem; }
.model-card li span:last-child { color: var(--ink); font-weight:500; }

/* =================================================================
   CTA / pricing block
   ================================================================= */
.cta-block {
  background: var(--panel); border:1px solid var(--line-soft); border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 70px); box-shadow: var(--shadow-sm);
  display:grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items:center;
}
.cta-block .price { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); }
.cta-block .price small { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.cta-feats { list-style:none; display:grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.cta-feats li { display:flex; gap:.6rem; align-items:flex-start; font-size:.92rem; }
.cta-feats li .ci { width:28px; height:28px; border-radius:8px; background: var(--panel-2); display:flex; align-items:center; justify-content:center; flex:none; color: var(--sage-mid); }
.cta-feats li b { font-weight:600; display:block; font-size:.92rem;}
.cta-feats li small { color: var(--muted); font-size:.8rem; }

/* =================================================================
   FAQ
   ================================================================= */
.faq { max-width: 760px; margin: 0 auto; display:flex; flex-direction:column; gap: 12px; }
.faq-item { background: var(--panel); border:1px solid var(--line-soft); border-radius: var(--radius); overflow:hidden; transition: box-shadow .3s; }
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q { width:100%; text-align:left; background:none; border:none; cursor:pointer; padding: 22px 26px; display:flex; justify-content:space-between; align-items:center; gap:20px; font-family: var(--sans); font-size: 1.04rem; font-weight: 500; color: var(--ink); }
.faq-q .pm { flex:none; width:24px; height:24px; position:relative; }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--ink-soft); transition:.3s var(--ease); }
.faq-q .pm::before { top:50%; left:4px; right:4px; height:1.5px; transform:translateY(-50%); }
.faq-q .pm::after { left:50%; top:4px; bottom:4px; width:1.5px; transform:translateX(-50%); }
.faq-item.open .pm::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .45s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; color: var(--muted); font-size:.97rem; line-height:1.7; max-width: 60ch; }

/* =================================================================
   FOOTER
   ================================================================= */
.foot-cta {
  background: var(--green);
  color: #EDE9DD;
  text-align:center;
  padding: clamp(60px,8vw,116px) 0 0;
  position: relative;
  overflow: hidden;
}
.foot-cta .eyebrow { color: rgba(237,233,221,.62); }
.foot-cta .eyebrow::before, .foot-cta .eyebrow::after { background: rgba(237,233,221,.4); }
.foot-cta h2 { color:#fff; max-width: 16ch; margin: 1rem auto 1.6rem; position:relative; z-index:2; }
.foot-cta .btn-dark { background:#F3EFE6; color: var(--green-deep); }
.foot-cta .btn-dark:hover { background:#fff; }
/* faint logo-icon watermark in the green band */
.foot-cta .x-watermark {
  position:absolute; pointer-events:none; z-index:0;
  width: clamp(220px, 26vw, 380px);
  top: -40px; right: -60px;
  filter: brightness(0) invert(1);
  opacity: .05;
}

/* image clipped into an angular peak echoing the Truxor X mark */
.arch-wrap { position: relative; max-width: 1080px; margin: clamp(42px,6vw,68px) auto 0; padding: 0 28px; }
.arch {
  position: relative;
  height: clamp(280px, 38vw, 480px);
  clip-path: polygon(0 22%, 50% 0, 100% 22%, 100% 100%, 0 100%);
  overflow: hidden;
}
.arch img { width:100%; height:100%; object-fit:cover; }
.arch::after { content:""; position:absolute; inset:0; background: linear-gradient(to bottom, transparent 55%, rgba(20,60,47,.45)); }
/* X-mark keystone at the apex */
.arch-keystone {
  position:absolute; top: 0; left:50%;
  transform: translate(-50%, -50%); z-index: 4;
  width: 66px; height: 66px; border-radius: 50%;
  background: #F3EFE6; box-shadow: var(--shadow), 0 0 0 6px var(--green);
  display:flex; align-items:center; justify-content:center;
}
.arch-keystone img { width: 34px; height: 34px; }
@media (max-width:560px){ .arch-keystone { width:54px; height:54px; } .arch-keystone img{ width:28px; } }

footer {
  background: var(--sage-deep); color: #D9D8C8;
  padding: clamp(54px,7vw,88px) 0 36px;
  margin-top: -2px;
}
.foot-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .brand { margin-bottom: 1.1rem; }
.foot-brand img.wordmark { height: 28px; filter: brightness(0) invert(1); opacity: .96; }
.foot-brand .brand small { color: rgba(237,233,221,.7); border-left-color: rgba(237,233,221,.25); }
.foot-brand p { color: rgba(217,216,200,.7); font-size:.92rem; max-width: 32ch; }
.foot-col h6 { font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color: rgba(217,216,200,.55); margin-bottom: 1.1rem; font-weight:600; }
.foot-col a { display:block; color: rgba(217,216,200,.85); font-size:.92rem; padding:.32rem 0; transition: color .25s, padding-left .25s; }
.foot-col a:hover { color:#fff; padding-left: 4px; }
.foot-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(217,216,200,.14); font-size:.82rem; color: rgba(217,216,200,.55); }
.foot-bottom .credit { margin-top: 5px; display:block; color: rgba(222,221,205,.5); }
.foot-bottom .ailo-credit { color: rgba(222,221,205,.82); border-bottom:1px solid rgba(222,221,205,.32); padding-bottom:1px; transition: color .25s, border-color .25s; }
.foot-bottom .ailo-credit:hover { color:#fff; border-color:#fff; }
.foot-bottom .socials { display:flex; gap:14px; }
.foot-bottom .socials a { color: rgba(217,216,200,.7); transition:.25s; }
.foot-bottom .socials a:hover { color:#fff; }

/* =================================================================
   PAGE HEADER (subpages)
   ================================================================= */
.page-head { padding: clamp(64px,9vw,120px) 0 clamp(30px,4vw,50px); text-align:center; }
.page-head h1 { margin: 1rem auto .8rem; max-width: 18ch; }
.page-head p { max-width: 56ch; margin: 0 auto; }
.breadcrumb { font-size:.82rem; color: var(--faint); }
.breadcrumb a:hover { color: var(--ink); }

/* prose */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-family: var(--serif); font-weight:450; font-size: 1.8rem; margin: 2.4rem 0 1rem; }
.prose h3 { font-family: var(--serif); font-weight:450; font-size: 1.35rem; margin: 1.8rem 0 .7rem; }
.prose p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.prose ul { margin: 0 0 1.2rem 1.1rem; color: var(--ink-soft); }
.prose li { margin-bottom: .5rem; }

/* video */
.video-wrap { position:relative; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow); aspect-ratio: 16/9; background:#000; cursor:pointer; }
.video-wrap img { width:100%; height:100%; object-fit:cover; opacity:.85; }
.video-wrap iframe { width:100%; height:100%; border:0; position:absolute; inset:0; }
.play-btn { position:absolute; inset:0; margin:auto; width:84px; height:84px; border-radius:50%; background: rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; transition: transform .3s var(--ease), background .3s; }
.video-wrap:hover .play-btn { transform: scale(1.06); background:#fff; }
.play-btn::after { content:""; border-left: 22px solid var(--ink); border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }

/* contact */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); align-items:start; }
.field { margin-bottom: 16px; }
.field label { display:block; font-size:.82rem; font-weight:500; margin-bottom:.4rem; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width:100%; padding: .8rem 1rem; border-radius: 12px; border:1px solid var(--line);
  background: var(--panel); font-family: var(--sans); font-size:.95rem; color: var(--ink); transition:.25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(140,154,126,.15); background:#fff; }
.contact-info { display:flex; flex-direction:column; gap: 18px; }
.info-row { display:flex; gap:14px; align-items:flex-start; }
.info-row .ir-ic { width:42px; height:42px; border-radius:11px; background: var(--panel-2); display:flex; align-items:center; justify-content:center; flex:none; color: var(--ink-soft); }
.info-row h5 { font-size:.95rem; font-weight:600; margin-bottom:2px; }
.info-row p { font-size:.92rem; color: var(--muted); }

/* keyboard focus — visible, on-brand */
a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--green-soft);
  outline-offset: 3px;
  border-radius: 8px;
}
.hero a:focus-visible, .foot-cta a:focus-visible, footer a:focus-visible {
  outline-color: rgba(255,255,255,.85);
}

/* footer dealer address */
.foot-addr { color: rgba(222,221,205,.66); font-size:.82rem; margin-top:.7rem; line-height:1.6; }

/* honour reduced motion for the hero entrance + indicator */
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .lead, .hero-cta, .hero-scroll { opacity:1; animation:none; }
  .hero-scroll .dot::after { animation:none; }
}

/* reveal animation — hidden only when JS marks the document */
.reveal { opacity:1; transform:none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal { opacity:0; transform: translateY(22px); }
html.js .reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity:1; transform:none; } }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .models { grid-template-columns: repeat(2,1fr); }
  .bento .cell.span2 { grid-column: span 2; }
}
@media (max-width: 860px) {
  .nav-menu { display:none; }
  .burger { display:block; }
  .nav-cta { margin-left: auto; }   /* push the menu button to the right edge */
  .nav-cta .signin { display:none; }
  .feature { grid-template-columns: 1fr; }
  .feature.rev .feature-text { order: 0; }
  .cta-block { grid-template-columns: 1fr; }
  .cta-feats { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step + .step::before { display:none; }
  .step { padding: 26px 0 0; border-top:1px solid var(--line-soft); }
  .step:first-child { border-top:none; padding-top:0; }

  /* mobile menu panel */
  .nav-menu.mobile-open {
    display:flex; position:absolute; top: 70px; left: 16px; right: 16px;
    flex-direction:column; align-items:stretch; gap:2px; border-radius: 18px;
    background: var(--panel); padding: 10px; box-shadow: var(--shadow-lg);
  }
  .nav-menu.mobile-open a { padding: .8rem 1rem; border-radius: 12px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  /* declutter the top bar: logo + menu button only (hero carries the CTA) */
  .nav-cta .btn-dark { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento .cell.span2 { grid-column: span 1; }
  .models { grid-template-columns: 1fr; }
  .cta-feats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
}
