/* Make It Nice — design layer over JJDD's styles.css (loaded after it).
   JJDD keeps the structure (bordered cards, double-rule motif, seal, steps);
   this file brings in the abba-lab v3 "Friendly & local" feel Jay picked:
   Plus Jakarta Sans at 800, rounder corners, pill buttons, a highlighter
   marker under the key phrase — recoloured to Adam's logo: deep palm green
   and sunset orange. */

:root {
  --cream: #f7f3ea;
  --paper: #fffefb;
  --ink: #17261d;
  --muted: #5e6b62;
  --line: #e3dccb;
  --gold: #f2a51f;
  --sun: #e8650a;          /* logo sun orange */
  --sun-dark: #c4520a;
  --sun-tint: #fdf0e4;
  --mark: rgba(242, 165, 31, .62);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 44px rgba(12, 40, 28, .14);
  --shadow-sm: 0 6px 18px rgba(12, 40, 28, .08);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
body { font-family: var(--font); letter-spacing: -.005em; }
h1, h2, h3, .title { font-family: var(--font-display); }
h2.title, h1.title { font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
h2.title em, h1.title em { font-style: normal; background: linear-gradient(transparent 64%, var(--mark) 64%); padding: 0 .06em; }
.eyebrow { font-weight: 700; letter-spacing: .12em; }
.btn { border-radius: 999px; font-weight: 700; padding: 14px 26px; }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }

/* ------------------------------------------------------------ nav (from lab v3) */
.lnav { position: sticky; top: 0; z-index: 70; height: 84px; padding: 0 clamp(16px, 3vw, 40px);
  display: flex; align-items: center; gap: 22px; background: #fff; color: var(--primary);
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 26px rgba(0,0,0,.05); }
.lbrand { display: flex; align-items: center; gap: 11px; color: inherit; margin-right: auto; min-width: 0; }
.lbrand img { width: 54px; height: auto; flex: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.12)); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.lbrand:hover img { transform: rotate(-6deg) scale(1.06); }
.lbrand span { display: flex; flex-direction: column; line-height: 1.05; }
.lbrand b { font-size: 21px; font-weight: 800; letter-spacing: -.025em; color: var(--primary); white-space: nowrap; }
.lbrand small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); margin-top: 4px; white-space: nowrap; }
.lmenu { display: flex; align-items: center; gap: 2px; height: 100%; }
.ltop { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 100%; padding: 0 12px; color: var(--primary); font-size: 15.5px; font-weight: 600; }
.ltop::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 22px; height: 3px; border-radius: 3px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.ltop:hover::after, .ltop.on::after { transform: scaleX(1); }
.ltop svg { transition: transform .2s; }
.lmenu-call { display: none; }
.lacts { display: flex; align-items: center; gap: 16px; }
.lcall { display: inline-flex; align-items: center; gap: 7px; color: var(--primary); font-weight: 800; font-size: 16px; white-space: nowrap; }
.lcall svg { color: var(--accent); }
.lbtn { background: var(--accent); color: #fff; font-weight: 800; font-size: 15.5px; padding: 13px 22px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px rgba(31,122,74,.28); transition: transform .15s, background .15s; }
.lbtn:hover { background: var(--accent-dark); transform: translateY(-1px); color: #fff; }
.lburger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--primary); padding: 12px 10px; }
.lburger i { display: block; height: 2.5px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.lnav.open .lburger i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.lnav.open .lburger i:nth-child(2) { opacity: 0; }
.lnav.open .lburger i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Services dropdown: round photo tiles, three across (lab v3) */
.lnav .dd { height: 100%; position: relative; display: flex; align-items: center; }
.mm { position: absolute; top: calc(100% - 8px); left: 50%; width: 640px; background: #fff; color: var(--ink); border-radius: 24px; padding: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.05); opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .18s, transform .18s, visibility .18s; }
.dd:hover .mm, .dd:focus-within .mm, .dd.open .mm { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd:hover .ltop svg, .dd.open .ltop svg { transform: rotate(180deg); }
.mm-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mm-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 14px 8px; border-radius: 18px; color: var(--ink); }
.mm-item:hover { background: var(--accent-tint); }
.mm-ph { width: 80px; height: 80px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--sun-tint); transition: box-shadow .2s, transform .2s; }
.mm-item:hover .mm-ph { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold); transform: scale(1.04); }
.mm-t b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.mm-t small { display: none; }
.mm-all { display: block; text-align: center; margin-top: 8px; padding: 12px 0 2px; border-top: 1px solid var(--line); font-weight: 800; font-size: 14px; color: var(--accent-dark); }

/* ------------------------------------------------------------ hero (lab v3) */
.lhero { position: relative; min-height: calc(100svh - 84px); display: flex; flex-direction: column; color: #fff; background: var(--primary-darker); overflow: hidden; isolation: isolate; }
.lhero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; max-width: none; animation: lzoom 22s ease-out both; }
@keyframes lzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.lhero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,35,24,.9) 0%, rgba(7,35,24,.66) 48%, rgba(7,35,24,.28) 100%); }
.lhero-in { flex: 1; width: 100%; max-width: 1320px; margin: 0 auto; padding: 64px clamp(20px, 4vw, 56px); display: flex; align-items: center; gap: clamp(28px, 5vw, 72px); }
.lhero-copy { flex: 1 1 0; max-width: 700px; }
.leyebrow { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .01em; margin-bottom: 24px; }
.ldot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242,165,31,.7); animation: lping 2s infinite; }
@keyframes lping { 70% { box-shadow: 0 0 0 9px rgba(242,165,31,0); } 100% { box-shadow: 0 0 0 0 rgba(242,165,31,0); } }
.lhero h1 { color: #fff; font-weight: 800; font-size: clamp(42px, 5.4vw, 78px); line-height: 1.03; letter-spacing: -.04em; text-wrap: balance; }
.lhero h1 em { font-style: normal; position: relative; white-space: nowrap; padding: 0 .06em; background: linear-gradient(transparent 60%, var(--mark) 60%) no-repeat 0 0 / 0% 100%; animation: lmark .9s .5s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes lmark { to { background-size: 100% 100%; } }
.llede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: rgba(255,255,255,.9); max-width: 580px; margin-top: 24px; }
.ltrust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 15px; margin-top: 30px; color: rgba(255,255,255,.95); }
.lstars { color: var(--gold); letter-spacing: 2px; font-size: 17px; }
.ldot::before { content: '·'; margin-right: 12px; opacity: .6; }
.lcard { flex: 0 1 480px; min-width: 0; animation: lrise .7s .15s cubic-bezier(.2,.8,.2,1) both; }
@keyframes lrise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.lcard .funnel { margin: 0; max-width: none; }
.lcard .funnel-card { background: #fff; border: 0; border-radius: 26px; padding: 34px 30px 30px; color: var(--ink); box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.lcard .funnel-card p { color: var(--muted); }
.funnel-card .funnel-title { font-size: 27px; line-height: 1.15; }
.funnel-card .funnel-title, .funnel-card .fpanel > h3 { color: var(--accent-dark); font-weight: 800; letter-spacing: -.025em; }
.funnel-card input { border-radius: 14px; }
.funnel-card .btn { border-radius: 999px; background: var(--accent); border-color: var(--accent); }
.funnel-card .btn:hover { background: var(--accent-dark); }

/* ------------------------------------------------------------ towns ticker */
.ticker-towns { background: var(--primary); color: #fff; overflow: hidden; padding: 15px 0; border-top: 3px solid var(--gold); }
.tt-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: ttscroll 38s linear infinite; }
.tt-track span { font-weight: 800; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.tt-track i { font-style: normal; color: var(--gold); font-size: 13px; }
.ticker-towns:hover .tt-track { animation-play-state: paused; }
@keyframes ttscroll { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ three crews switcher */
.crew { margin-top: 40px; }
.crew-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; background: var(--cream); border: 1.5px solid var(--line); padding: 6px; border-radius: 999px; width: max-content; max-width: 100%; margin: 0 auto 28px; }
.crew-tab { display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent; color: var(--primary); font: 700 15.5px/1 var(--font); padding: 13px 20px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.crew-tab svg { color: var(--accent); transition: color .2s; }
.crew-tab:hover { background: #fff; }
.crew-tab.on { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(12,59,40,.25); }
.crew-tab.on svg { color: var(--gold); }
.crew-panel { display: none; grid-template-columns: 1.05fr 1fr; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.crew-panel.on { display: grid; animation: lfade .45s ease both; }
@keyframes lfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.crew-photo { position: relative; min-height: 420px; background-size: cover; background-position: center; }
.crew-badge { position: absolute; left: 18px; top: 18px; background: var(--sun); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; }
.crew-body { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.crew-body h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.03em; color: var(--primary); line-height: 1.1; }
.crew-body > p { color: var(--muted); }
.crew-list { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 10px; }
.crew-svc { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border: 1.5px solid var(--line); border-radius: 16px; color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.crew-svc:hover { border-color: var(--accent); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.crew-svc-ph { flex: none; width: 54px; height: 54px; border-radius: 50%; background-size: cover; background-position: center; }
.crew-svc b { display: block; font-size: 15.5px; color: var(--primary); }
.crew-svc small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.crew-go { margin-left: auto; color: var(--accent); font-weight: 800; font-size: 18px; }
.crew-body .btn { align-self: flex-start; }

/* ------------------------------------------------------------ before / after toggle */
.ba-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ba-copy p { color: var(--muted); margin-top: 6px; }
.ba-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 14px; }
.ba-pick-b { border: 1.5px solid var(--line); background: #fff; color: var(--primary); font: 700 13.5px/1 var(--font); padding: 10px 14px; border-radius: 999px; cursor: pointer; transition: all .2s; white-space: nowrap; }
.ba-pick-b.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.ba-note { min-height: 3.2em; font-size: 15px; margin-bottom: 18px !important; }
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--primary-darker); border: 6px solid #fff; }
.ba-pair { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s; }
.ba-pair.on { opacity: 1; }
.ba-pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease, transform 6s ease; }
.ba-pair .ba-b { opacity: 0; }
.ba.show-before .ba-pair .ba-b { opacity: 1; }
.ba.show-before .ba-pair .ba-a { opacity: 0; }
.ba-pair.on img { transform: scale(1.03); }
.ba-switch { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; background: rgba(255,255,255,.94); padding: 5px; border-radius: 999px; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.ba-switch button { border: 0; background: transparent; font: 800 14px/1 var(--font); color: var(--primary); padding: 11px 20px; border-radius: 999px; cursor: pointer; letter-spacing: .02em; text-transform: uppercase; transition: background .2s, color .2s; }
.ba-switch button.on { background: var(--sun); color: #fff; }
.ba::after { content: 'After'; position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.ba.show-before::after { content: 'Before'; background: #444; }

/* ------------------------------------------------------------ who we work for */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.who-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.who-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.who-ph { height: 180px; background-size: cover; background-position: center; border-bottom: 4px double var(--gold); }
.who-body { padding: 24px 24px 26px; }
.who-body h3 { font-size: 21px; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.who-d { color: var(--sun-dark); font-weight: 700; font-size: 14.5px; margin: 4px 0 14px; }
.who-body ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.who-body li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.who-body li svg { flex: none; margin-top: 3px; color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

/* ------------------------------------------------------------ meet adam */
.adam-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.adam-ph { position: relative; }
.adam-ph > img:first-child { width: 100%; aspect-ratio: 8 / 7; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.adam-logo { position: absolute; right: -18px; bottom: -26px; width: 120px; height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); animation: lbob 4s ease-in-out infinite; }
@keyframes lbob { 50% { transform: translateY(-8px) rotate(-3deg); } }
.adam-grid p { color: var(--muted); }
.adam-quote { margin: 22px 0 24px; padding: 18px 22px; background: var(--sun-tint); border-left: 5px solid var(--sun); border-radius: 0 16px 16px 0; }
.adam-quote p { color: var(--ink); font-weight: 700; font-size: 17px; line-height: 1.5; }
.adam-quote span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--sun-dark); font-weight: 700; }

/* ------------------------------------------------------------ storm band */
.storm-band, section.band.storm-band { padding: 0; }
.storm-in { display: flex; align-items: center; gap: 16px; background: linear-gradient(110deg, var(--primary) 0%, var(--primary-dark) 60%, #13492f 100%); color: #fff; border-radius: 18px; padding: 14px 18px; margin: 28px auto; max-width: 900px; box-shadow: var(--shadow-sm); border: 3px double rgba(242,165,31,.55); }
.storm-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(242,165,31,.16); color: var(--gold); }
.storm-ic svg { width: 24px; height: 24px; }
.storm-t { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.storm-t b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.storm-t span { color: rgba(255,255,255,.82); font-size: 13.5px; line-height: 1.45; }
.storm-in .btn { padding: 10px 18px; font-size: 14px; white-space: nowrap; }

/* ------------------------------------------------------------ JJDD pieces, recoloured */
.cta-band h2 em { color: var(--gold); }
.page-hero h1 { font-weight: 800; letter-spacing: -.035em; }
.rev-card { border-radius: var(--radius); }
.svc-card .ph, .svc-card { border-radius: var(--radius); }
footer .ft-logo { width: 110px; height: auto; background: none; }

/* ------------------------------------------------------------ phones + tablets */
@media (max-width: 1180px) { .lcall span { display: none; } .ltop { padding: 0 9px; font-size: 15px; } }
@media (max-width: 960px) {
  .lnav { height: 70px; gap: 10px; }
  .lbrand img { width: 44px; } .lbrand b { font-size: 18px; } .lbrand small { font-size: 10px; }
  .lburger { display: block; order: 3; }
  .lacts { margin-left: auto; gap: 10px; } .lbtn { padding: 10px 15px; font-size: 14px; }
  .lcall { width: 42px; height: 42px; justify-content: center; border-radius: 50%; background: var(--accent-tint); }
  .lmenu { display: none; position: fixed; inset: 70px 0 0 0; height: auto; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 28px; overflow-y: auto; }
  .lnav.open .lmenu { display: flex; }
  .lmenu .ltop { height: auto; padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .lmenu .ltop::after { display: none; }
  .lmenu .ltop svg { display: none; }
  .lnav .dd { display: block; height: auto; }
  .mm { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; padding: 8px 0 4px; border-radius: 0; }
  .dd:hover .mm, .dd:focus-within .mm, .dd.open .mm { transform: none; }
  .mm-ph { width: 62px; height: 62px; }
  .lmenu-call { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; padding: 15px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; font-size: 17px; }
  .lhero { min-height: 0; }
  .lhero-in { flex-direction: column; align-items: stretch; padding-top: 40px; padding-bottom: 44px; }
  .lcard { flex: none; }
  .crew-panel.on { grid-template-columns: 1fr; }
  .crew-photo { min-height: 240px; }
  .ba-grid, .adam-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .storm-in { flex-direction: column; text-align: center; }
  .adam-logo { right: 8px; width: 96px; }
}
@media (max-width: 560px) {
  .lbrand small { display: none; }
  .lbrand b { font-size: 17px; }
  .lcall { display: none; }
  .ldot { display: none; }
  .crew-tabs { border-radius: 22px; width: 100%; }
  .crew-tab { flex: 1 1 100%; justify-content: center; }
  .lcard .funnel-card { padding: 26px 20px 22px; }
  .mm-list { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .lhero-bg, .lcard, .tt-track, .adam-logo, .ldot-live { animation: none; }
  .lhero h1 em { animation: none; background-size: 100% 100%; }
}
