/* Lue Digital · landing page
   Follows the Lue Digital Brand Guidelines: navy foundation, electric blue for actions,
   teal for small supporting details, white and mist canvas, Arial type system. */

:root {
  /* Brand palette */
  --navy: #102A43;
  --blue: #0066FF;
  --blue-2: #0052CC;      /* hover/pressed shade of electric blue */
  --teal: #00B3B8;        /* decorative accents only; never small text on white */
  --white: #FFFFFF;
  --mist: #F3F6FA;

  /* Working tints of navy for secondary text and rules */
  --ink: var(--navy);
  --ink-2: #486581;       /* 6.2:1 on white */
  --ink-3: #9FB3C8;
  --rule: #D9E2EC;
  --on-navy: #D9E2EC;     /* body text on navy, 11:1 */
  --paper: var(--white);

  --text: Arial, Helvetica, sans-serif;
  --display: var(--text);
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1.0625rem/1.55 var(--text); }
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--blue-2); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--text); color: var(--ink); margin: 0; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 2.6vw, 2rem); line-height: 1.2; max-width: 26ch; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 1rem; max-width: 64ch; }

/* ---------- Header ---------- */
.top-bar { background: var(--white); border-bottom: 1px solid var(--rule); }
.top {
  max-width: var(--max); margin: 0 auto; padding: .9rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
}
/* Logo: tagline lockup, never below 240px wide. Padding keeps the 1/4H clear space. */
.logo { display: block; padding: 8px 0; line-height: 0; }
.logo img { width: 260px; height: auto; }
.top nav { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.top nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; }
.top nav a:not(.btn):hover { color: var(--blue); text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--blue); color: var(--white);
  border: 2px solid var(--blue); border-radius: 6px;
  font: 700 1.0625rem/1.2 var(--text); padding: .85rem 1.4rem;
}
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); color: var(--white); }
.btn.quiet { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.quiet:hover { background: var(--mist); color: var(--navy); }
.btn.small { padding: .55rem 1rem; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1rem; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3rem, 7vw, 6rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.eyebrow { display: flex; align-items: center; gap: .6rem; font-size: .875rem; font-weight: 700; color: var(--ink-2); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--teal); }
.hero h1 { font-size: clamp(2.25rem, 4.2vw, 3rem); line-height: 1.12; max-width: 16ch; }
.lead { font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); margin-top: 1.3rem; max-width: 48ch; }
.fine { font-size: .875rem; color: var(--ink-2); }

.hero-shot {
  margin: 0; position: relative;
  margin-right: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter)));
}
.hero-shot::before {
  content: ""; position: absolute; z-index: -1;
  inset: 14% -10% -9% -4%;
  background: var(--navy); border-radius: 14px 0 0 14px;
}
.hero-shot::after {   /* small teal detail, echoing the monogram's corner */
  content: ""; position: absolute; z-index: -1;
  left: -4%; bottom: -9%; width: 64px; height: 52px;
  background: var(--teal); clip-path: polygon(0 0, 100% 100%, 0 100%);
  border-bottom-left-radius: 14px;
}
.hero-shot img {
  border-radius: 10px 0 0 10px;
  box-shadow: 0 30px 60px -20px rgba(16, 42, 67, .45);
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both .15s;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Services ---------- */
.services { background: var(--mist); }
.services-inner { max-width: var(--max); margin: 0 auto; padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); }
.section-lead { font-size: 1.125rem; margin-top: 1rem; color: var(--ink-2); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); margin-top: 2.4rem; }
.svc {
  background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--teal);
  border-radius: 0 0 8px 8px; padding: 1.4rem 1.4rem 1.5rem;
  display: flex; flex-direction: column;
}
.svc h3 { font-size: 1.375rem; margin-bottom: .4rem; }
.svc-for { color: var(--ink-2); margin-bottom: .9rem; }
.svc ul { margin: 0 0 1.4rem; padding-left: 1.1rem; }
.svc li { margin-bottom: .45rem; }
.svc li::marker { color: var(--blue); }
.svc-link { margin-top: auto; font-weight: 700; }

/* ---------- What it does (navy band) ---------- */
.band { background: var(--navy); color: var(--on-navy); }
.band-inner { max-width: var(--max); margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); }
.band h2 { color: var(--white); }
.band .section-lead { color: var(--on-navy); }
.features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: 2.4rem; margin-top: 3rem;
}
.feature { border-top: 2px solid var(--teal); padding-top: 1.1rem; }
.feature h3 { color: var(--white); margin-bottom: .55rem; }
.feature p { margin: 0; color: var(--on-navy); }

/* ---------- Split: phone + copy ---------- */
.split {
  max-width: var(--max); margin: 0 auto; padding: clamp(3.5rem, 8vw, 7rem) var(--gutter);
  display: grid; grid-template-columns: minmax(220px, 330px) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.phone { margin: 0; position: sticky; top: 2rem; }
.phone img {
  aspect-ratio: 9 / 16.5; object-fit: cover; object-position: top;
  border: 10px solid var(--navy); border-radius: 32px;
  box-shadow: 0 24px 50px -24px rgba(16, 42, 67, .55);
}
.split-copy h2 { margin-bottom: 1.4rem; }
.split-copy em { font-style: normal; font-weight: 700; color: var(--navy); }
.inline-shot { margin: 2.4rem 0 0; }
.inline-shot img { border-radius: 8px; border: 1px solid var(--rule); box-shadow: 0 16px 40px -24px rgba(16, 42, 67, .4); }
.inline-shot figcaption { font-size: .875rem; color: var(--ink-2); margin-top: .6rem; }

/* ---------- How a project works ---------- */
.how { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(3.5rem, 8vw, 7rem); }
.steps {
  list-style: none; counter-reset: step; padding: 0; margin: 2.6rem 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2.4rem);
}
.steps li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 1rem; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--blue); color: var(--white); font: 700 1.125rem/1 var(--text); margin-bottom: .9rem;
}
.steps h3 { margin-bottom: .5rem; }
.steps p { margin: 0; color: var(--ink-2); }

/* ---------- Costs ---------- */
.costs { background: var(--mist); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.costs-inner { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) var(--gutter); }
.costs h2 { margin-bottom: 1.3rem; }
.costs p { font-size: 1.125rem; }
mark { background: linear-gradient(transparent 58%, rgba(0, 179, 184, .35) 58%); color: inherit; padding: 0 .12em; font-weight: 700; }

/* ---------- Contact ---------- */
.contact { max-width: var(--max); margin: 0 auto; padding: clamp(3.5rem, 8vw, 7rem) var(--gutter); }
.contact h2 { font-size: clamp(2rem, 3.6vw, 2.5rem); max-width: 22ch; margin-bottom: 1.2rem; }
.contact p { font-size: 1.125rem; color: var(--ink-2); }

/* ---------- Footer (navy) ---------- */
.foot-bar { background: var(--navy); color: var(--on-navy); }
.foot {
  max-width: var(--max); margin: 0 auto; padding: 2.2rem var(--gutter) 2.6rem;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1.2rem 2rem; flex-wrap: wrap;
  font-size: .875rem;
}
/* White name lockup: 220px wide (min 160px); padding keeps the 1/4H clear space */
.foot-logo { display: block; padding: 11px 0; line-height: 0; margin-bottom: .2rem; }
.foot-logo img { width: 220px; height: auto; }
.foot-tagline { display: block; white-space: nowrap; color: var(--on-navy); }
.foot a { color: var(--white); }
.foot a:hover { color: var(--on-navy); }
.foot-meta { text-align: right; }
.foot-meta span { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.4rem; }
  .split { grid-template-columns: 1fr; }
  .phone { position: static; max-width: 260px; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .logo img { width: 240px; }   /* tagline lockup minimum */
  .top nav a:not(.btn) { display: none; }
  .hero h1 { font-size: 2rem; }
  .features, .steps { grid-template-columns: 1fr; }
  .lead { font-size: 1.0625rem; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
  .hero-shot::before { inset: 10% -10% -7% 6%; }
  .hero-shot::after { left: 6%; bottom: -7%; width: 48px; height: 40px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot-meta { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-shot img { animation: none; }
}
