/* CJM site styles. Look = one-pager version H:
   bold condensed headlines (Barlow Condensed), Inter body text,
   navy + orange on warm cream, rounded cards. */

:root {
  --ink: #0f1b3d;        /* navy: text, dark sections */
  --muted: #5b6478;      /* secondary text */
  --accent: #f26b3a;     /* orange: labels, buttons, highlights */
  --accent-dark: #c2481c;
  --accent-soft: #fde5da;
  --bg: #f7f4ee;         /* warm cream page background */
  --card: #ffffff;
  --line: #e4e1d8;
  --radius: 16px;
  --max: 1120px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.label { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: .005em; }
h2 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 24px; }
h3 { font-size: 24px; letter-spacing: .02em; margin-bottom: 10px; }
.lead { font-size: 19px; color: var(--muted); max-width: 720px; }

/* Buttons */
.btn { display: inline-block; font-weight: 700; font-size: 16px; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--accent); transition: transform .15s, background .15s; cursor: pointer; font-family: var(--body); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(247, 244, 238, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--head); font-weight: 800; font-size: 24px; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand span { color: var(--accent); }
.brand .mark { width: 26px; height: 32px; flex: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav .btn { padding: 10px 20px; font-size: 15px; }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(46px, 6.4vw, 78px); line-height: .95; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Photo placeholder until the real photo arrives */
.photo { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: repeating-linear-gradient(135deg, #ece7dc 0 14px, #e4ded1 14px 28px); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-weight: 600; font-size: 15px; border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.photo.cutout { background: none; border: none; border-radius: 0; align-items: flex-end; overflow: visible; }
.photo.cutout img { height: 100%; object-fit: contain; object-position: bottom; filter: grayscale(1) contrast(1.05);
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }

/* Proof strip */
.proof { padding: 36px 0 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof .label { text-align: center; color: var(--muted); }
.logos { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; margin: 6px 0 4px; }
.logos img { height: 26px; width: auto; filter: grayscale(1); opacity: .6; }
.badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.badge { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 12px; font-size: 14px; font-weight: 700; }
.badge svg { width: 18px; height: 18px; fill: var(--accent); flex: none; }

/* Call me when */
.when-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin-top: 8px; }
.when-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 56px; position: relative; font-weight: 500; }
.when-list li::before { content: "→"; position: absolute; left: 22px; top: 20px; color: var(--accent); font-weight: 800; font-size: 20px; }

/* How I work */
.dark { background: var(--ink); color: #fff; }
.dark .lead { color: #b9c2d6; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; counter-reset: step; }
.step { border-top: 3px solid var(--accent); padding-top: 18px; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--head); font-weight: 800; font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.step p { color: #b9c2d6; font-size: 16px; }

/* What I bring */
.bring { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; }
.bring div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.bring p { color: var(--muted); font-size: 16px; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; }
.package { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.package p { color: var(--muted); font-size: 16px; flex: 1; margin-bottom: 20px; }
.package a { font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.package a:hover { text-decoration: underline; }

/* About */
.about .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: center; }
.about p { font-size: 19px; margin-bottom: 18px; }
.more { font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact .lead { margin-bottom: 28px; }
.book { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.book p { color: var(--muted); font-size: 16px; margin: 6px 0 18px; }
form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fcfbf8; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.field textarea { min-height: 120px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }   /* spam honeypot */
form .btn { width: 100%; text-align: center; }

/* Footer */
footer { background: var(--ink); color: #b9c2d6; padding: 40px 0; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #fff; text-decoration: none; }

/* Placeholder marker, so unfinished items are easy to spot */
.ph { background: #fff3b0; color: #6b5300; padding: 0 4px; border-radius: 3px; }

/* Phones and small tablets */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero .wrap, .about .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero .photo { max-width: 360px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .bring, .packages { grid-template-columns: 1fr; }
  .when-list { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .brand { font-size: 19px; }
  .logos { justify-content: center; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; text-align: center; }
}

/* Scroll reveal (see assets/site.js). Only active when JavaScript runs,
   so the page is fully visible without it. */
.reveal-on .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-on .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Full-width navy hero with contour lines + abstract shapes (option 12) ===== */
.hero.bleed { position: relative; overflow: hidden; padding: 120px 0 130px; }
.hero.bleed .wrap { grid-template-columns: 1fr; position: relative; z-index: 1; }
.hero.bleed h1 { max-width: 860px; }
.hero.bleed .lead { max-width: 640px; }
.hero .bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero .bg svg { width: 100%; height: 100%; }
.cl { animation: drift 18s ease-in-out infinite alternate; }
.cl.accent { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: drift 18s ease-in-out infinite alternate, draw 4s ease-out .3s forwards; }
@keyframes drift { from { transform: translateX(0) } to { transform: translateX(-60px) } }
@keyframes draw { to { stroke-dashoffset: 0 } }
@media (prefers-reduced-motion: reduce) { .hero .bg * { animation: none !important; stroke-dashoffset: 0 !important; } }

.hero.bleed { background: #0f1b3d; color: #fff; }
.hero.bleed h1 { color: #fff; }
.hero.bleed .lead { color: #c9d2e0; }
.hero.bleed .pill { background: rgba(242,107,58,.16); color: #ffb08a; }
.hero.bleed .btn-ghost { color: #fff; border-color: #fff; }

.spin { animation: spin 40s linear infinite; }
.spin.rev { animation-duration: 28s; animation-direction: reverse; }
.float { animation: float 7s ease-in-out infinite; }
.float.b { animation-delay: -2s } .float.c { animation-delay: -4s } .float.d { animation-delay: -1s }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@media (max-width: 900px) { .hero .bg .abs { opacity: .35; } }
