/* ==========================================================================
   Luka Knows — lukamakes.com
   Palette: cream #fbf6ef · paper #f4f0e9 · sage #dfe3d6 · ink · orange accent
   ========================================================================== */

:root {
  --cream: #fbf6ef;
  --paper: #f4f0e9;
  --sage: #dfe3d6;
  --sage-deep: #c9d0bd;
  --forest: #2e4636;
  --ink: #15171a;
  --ink-soft: #4b504c;
  --line: rgba(21, 23, 26, 0.12);
  --accent: #e8572a;
  --accent-dark: #c9431a;
  --white: #ffffff;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(21, 23, 26, 0.06), 0 12px 32px -12px rgba(21, 23, 26, 0.18);
  --shadow-lg: 0 2px 4px rgba(21, 23, 26, 0.05), 0 30px 60px -20px rgba(21, 23, 26, 0.28);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--forest);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 10px 24px -10px rgba(232, 87, 42, .7); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; }
.btn svg { width: 18px; height: 18px; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 239, .85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.logo svg { width: 36px; height: 36px; flex: none; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .975rem; color: var(--ink-soft); transition: color .15s; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav .btn { padding: .7rem 1.2rem; }

@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
}

/* Hero ------------------------------------------------------------------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.75rem); margin: 1.1rem 0 1.4rem; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; z-index: -1;
  background: var(--sage-deep); border-radius: 4px; transform: rotate(-1deg);
}
.hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.hero-proof { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2.25rem; padding: 0; list-style: none; font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.hero-proof li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-proof svg { width: 18px; height: 18px; color: var(--forest); flex: none; }

.hero-media { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.2; background: var(--sage);
  transform: rotate(1.5deg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media::before {
  content: ""; position: absolute; inset: 6% -6% -6% 8%; border-radius: var(--radius-lg);
  background: var(--sage); z-index: -1; transform: rotate(-3deg);
}

.float-card {
  position: absolute; display: flex; align-items: center; gap: .75rem;
  background: var(--white); border-radius: 16px; padding: .8rem 1rem; box-shadow: var(--shadow);
  font-size: .875rem; line-height: 1.3;
}
.float-card strong { display: block; font-size: .95rem; }
.float-card span { color: var(--ink-soft); }
.float-card .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card .icon svg { width: 22px; height: 22px; }
/* Badges sit on the photo's corners, half outside the frame, clear of the face */
.float-card.one { right: -1.75rem; bottom: -1.75rem; }
.float-card.one .icon { background: #ff0033; color: #fff; }
.float-card.two { left: -2rem; top: -1.5rem; }
.float-card.two .icon { background: var(--sage); color: var(--forest); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin: 1rem auto 0; width: 100%; }
  .float-card.one { right: -.5rem; }
  .float-card.two { left: -.5rem; }
}
@media (max-width: 560px) {
  .float-card.two { display: none; }
  .float-card.one { bottom: -1.25rem; right: .75rem; }
}

/* Logo marquee ----------------------------------------------------------- */
.brands { background: #0b0b0c; color: var(--white); padding: 2.25rem 0 2.5rem; }
.brands-label { text-align: center; font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 1.6rem; }
.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: clamp(4.5rem, 9vw, 8rem); padding-right: clamp(4.5rem, 9vw, 8rem); }
.marquee-group img {
  height: 30px; width: auto; max-width: none; object-fit: contain; flex: none;
  /* Turns any logo — coloured or not — into pure white */
  filter: brightness(0) invert(1);
  opacity: .85; transition: opacity .2s;
}
.marquee-group img:hover { opacity: 1; }
.marquee-group img[src*="wix"] { height: 24px; } /* heavy wordmark, balance it optically */
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; padding: 0 1rem; row-gap: 1.5rem; }
  .marquee-group[aria-hidden="true"], .marquee-group img[alt=""] { display: none; }
}

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); margin: 1rem 0 1rem; }
.section-head p { font-size: 1.15rem; color: var(--ink-soft); }

/* Reasons */
.reasons-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.shot {
  margin: 0; background: var(--white); border-radius: var(--radius-lg); padding: clamp(.75rem, 1.6vw, 1.1rem);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.shot img { border-radius: 14px; width: 100%; }
.shot figcaption { font-size: .85rem; color: var(--ink-soft); padding: .8rem .35rem .15rem; display: flex; align-items: center; gap: .45rem; }
.shot figcaption svg { width: 16px; height: 16px; flex: none; color: var(--accent); }

.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.reason {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
  padding: 1.5rem 1.6rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.reason:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: var(--white); }
.reason .num {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: var(--cream); font-weight: 800; font-size: 1.1rem;
}
.reason h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin-bottom: .4rem; }
.reason p { color: var(--ink-soft); font-size: 1rem; }

@media (max-width: 900px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .reasons-grid .shot { order: 2; }
}

/* Video types */
.videos { background: var(--sage); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.video-card {
  background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-card .thumb { background: var(--white); padding: 1rem 1rem 0; border-bottom: 1px solid var(--line); }
.video-card .thumb img { border-radius: 12px 12px 0 0; width: 100%; aspect-ratio: 16 / 7.4; object-fit: cover; object-position: left top; }
.video-card .body { padding: 1.6rem 1.6rem 1.9rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.video-card .tag { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.video-card h3 { font-size: 1.55rem; letter-spacing: -0.025em; }
.video-card p { color: var(--ink-soft); font-size: 1rem; }

@media (max-width: 960px) {
  .video-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about-card { position: sticky; top: 110px; }
.about-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1.1; box-shadow: var(--shadow-lg); background: var(--sage); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 1rem; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.stat strong { display: block; font-size: 1.9rem; letter-spacing: -0.04em; line-height: 1.1; }
.stat span { font-size: .875rem; color: var(--ink-soft); line-height: 1.35; display: block; margin-top: .25rem; }

.about-copy h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); margin: 1rem 0 1.75rem; }
.about-copy p { font-size: 1.125rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.about-copy p.lead { font-size: 1.3rem; color: var(--ink); font-weight: 500; }
.about-copy blockquote {
  margin: 2rem 0; padding: 1.6rem 1.8rem; border-radius: var(--radius); background: var(--ink); color: var(--cream);
  font-size: 1.2rem; font-weight: 600; line-height: 1.5; letter-spacing: -0.01em;
}
.about-copy blockquote span { color: #f3a283; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; max-width: 480px; }
}

/* Contact */
.contact { background: var(--ink); color: var(--cream); }
.contact .eyebrow { color: var(--sage); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-copy h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 1rem 0 1.25rem; }
.contact-copy > p { color: rgba(251, 246, 239, .75); font-size: 1.15rem; max-width: 30rem; }
.steps { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; gap: 1.1rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; counter-increment: step; }
.steps li::before {
  content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(251, 246, 239, .35); font-weight: 700; font-size: .9rem;
}
.steps strong { display: block; }
.steps span { color: rgba(251, 246, 239, .65); font-size: .975rem; }
.contact-direct { margin-top: 2.25rem; font-size: .975rem; color: rgba(251, 246, 239, .65); }
.contact-direct a { color: var(--cream); font-weight: 600; }

.form-card { background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: .85rem 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9a9d97; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 4px rgba(46, 70, 54, .14); }
.field.invalid input, .field.invalid textarea { border-color: #c62828; }
.field .error { color: #c62828; font-size: .85rem; font-weight: 600; min-height: 0; }
.field .error:empty { display: none; }

.consent { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: .9rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--forest); }
.consent a { color: var(--ink); font-weight: 600; }
.consent.invalid { color: #c62828; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-actions { grid-column: 1 / -1; display: flex; flex-direction: column; gap: .9rem; margin-top: .4rem; }
.form-actions .btn { width: 100%; padding: 1.05rem 1.5rem; font-size: 1.05rem; }
.form-actions .btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-status { font-size: .95rem; font-weight: 600; border-radius: 12px; padding: .85rem 1rem; }
.form-status:empty { display: none; }
.form-status.error { background: #fdecea; color: #a12020; }
.form-status.ok { background: var(--sage); color: var(--forest); }

.form-success { text-align: center; padding: 2rem 1rem; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; margin: 0 auto 1.25rem; }
.form-success .check svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.8rem; margin-bottom: .6rem; }
.form-success p { color: var(--ink-soft); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { background: #0b0b0c; color: rgba(251, 246, 239, .7); padding: 2.25rem 0; font-size: .925rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer .logo { color: var(--cream); font-size: 1.1rem; }
.site-footer .logo svg { width: 30px; height: 30px; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--cream); text-decoration: underline; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Simple content pages (privacy, thank you) */
.page { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 2.5rem 0 .75rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 1rem; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: .4rem; }
.prose .meta { font-size: .95rem; color: var(--ink-soft); }
.prose a { color: var(--ink); font-weight: 600; }
.prose strong { color: var(--ink); }
