/* SHEP MEDIA LTD — site styles
   Layout: editorial collage on warm paper; curved section bands in deep teal, blue and sage. */
:root {
  --ink: #153335;
  --ink-soft: #2B4A4C;
  --ink-deep: #0E2426;
  --blue: #3457D5;
  --gold: #E8B64D;
  --rust: #B5432F;
  --rust-text: #9A3624;
  --paper: #F5EFE2;
  --cream: #FFFAF1;
  --sage: #DCE5DF;
  --mist: #CFDCD6;
  --sky: #E6ECFC;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --hand: 'Fraunces', Georgia, 'Times New Roman', serif;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: hidden; overflow-x: clip; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.stack { display: flex; flex-direction: column; }
.hand { font-family: var(--hand); font-style: italic; font-weight: 500; color: var(--rust-text); }
.it { font-style: italic; font-weight: 500; }
.mark { background: linear-gradient(transparent 58%, var(--gold) 58%); }
.c-blue { color: var(--blue); }
.c-gold { color: var(--gold); }

/* Header */
.site-header { position: relative; z-index: 5; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 70px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 16px; font-weight: 600; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--blue); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; text-align: center; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translate(-2px, -2px); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { color: var(--cream); }
.btn-blue { background: var(--blue); color: var(--cream); box-shadow: 6px 6px 0 var(--ink); }
.btn-blue:hover { color: var(--cream); box-shadow: 8px 8px 0 var(--ink); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 6px 6px 0 var(--blue); }
.btn-gold:hover { color: var(--ink); }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { color: var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Type */
.display { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .98; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); }
.h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.lede { font-size: clamp(19px, 2vw, 22px); color: var(--ink-soft); max-width: 62ch; }
.eyebrow { align-self: flex-start; display: inline-block; transform: rotate(-3deg); background: var(--rust); color: var(--cream); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 16px; border-radius: 4px; box-shadow: 3px 3px 0 var(--ink); margin: 0; }
.underline { position: relative; display: inline-block; }
.underline svg { position: absolute; left: 0; bottom: -10px; width: 100%; height: 22px; }

/* Hero */
.hero { position: relative; padding-top: 32px; padding-bottom: 110px; }
.hero .blob-a { position: absolute; right: -140px; top: -60px; width: min(640px, 70vw); z-index: 0; }
.hero .blob-b { position: absolute; left: -110px; bottom: -30px; width: 200px; z-index: 0; }
.hero-grid { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 999 1 560px; min-width: 0; gap: 26px; }
.hero-art { flex: 1 1 360px; min-width: 0; position: relative; min-height: 540px; }
.polaroid { background: var(--cream); padding: 12px 12px 50px; box-shadow: 0 20px 44px rgba(21,51,53,.28); position: relative; }
.polaroid img, .polaroid .shot { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 16px; bottom: 12px; font-family: var(--hand); font-style: italic; font-weight: 500; font-size: 19px; color: var(--ink); }
.hero-art .p1 { position: absolute; top: 0; right: 4%; width: 62%; transform: rotate(4deg); }
.phone { position: absolute; left: -2%; bottom: -40px; width: 42%; max-width: 230px; transform: rotate(-7deg); background: var(--ink); border-radius: 34px; padding: 12px; box-shadow: 0 18px 40px rgba(21,51,53,.3); }
.phone-screen { background: var(--cream); border-radius: 24px; padding: 18px 14px 16px; display: flex; flex-direction: column; gap: 10px; aspect-ratio: 9 / 16; }
.phone-bar { height: 8px; width: 60px; border-radius: 8px; background: var(--mist); align-self: center; }
.phone-title { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.05; color: var(--ink); }
.phone-line { height: 7px; border-radius: 7px; background: var(--sage); }
.phone-line.short { width: 70%; }
.phone-call { margin-top: auto; background: var(--blue); color: var(--cream); border-radius: 999px; padding: 9px; text-align: center; font-weight: 700; font-size: 14px; }
.phone-stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.badge-spin { position: absolute; top: 4%; left: 0; width: 150px; height: 150px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.badge-spin svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.badge-spin span { font-family: var(--display); font-size: 40px; color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Marquee */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; transform: rotate(-2deg); margin: 0 -40px; padding: 18px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; width: max-content; gap: 44px; font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); font-style: italic; white-space: nowrap; animation: slide 45s linear infinite; }
.marquee-track .o { color: transparent; -webkit-text-stroke: 1.5px var(--cream); font-style: normal; font-weight: 800; }
.marquee-track .s { color: var(--gold); font-style: normal; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { padding-top: clamp(80px, 10vw, 130px); padding-bottom: clamp(70px, 9vw, 110px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.section-head .hand { font-size: 22px; transform: rotate(-3deg); }
.band { position: relative; }
.band .wave { position: absolute; left: 0; top: -79px; width: 100%; height: 80px; display: block; }
.band-ink { background: var(--ink); color: var(--cream); }
.band-blue { background: var(--blue); color: var(--cream); overflow: hidden; }
.band-sage { background: var(--sage); }
.band-ink .muted { color: var(--mist); }
.band-blue .muted { color: var(--sky); }
.gap-l { gap: 48px; }
.gap-m { gap: 24px; }
.gap-s { gap: 14px; }

/* Problem cards */
.problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; align-items: start; }
.problem { padding: 38px 32px; display: flex; flex-direction: column; gap: 12px; border-radius: 28px; }
.problem h3 { margin: 0; font-size: 25px; line-height: 1.2; }
.problem .num { font-family: var(--display); font-size: 56px; font-weight: 700; line-height: .9; }
.problem.p-a { background: var(--blue); color: var(--cream); border-radius: 110px 28px 28px 28px; transform: rotate(-1.5deg); }
.problem.p-a p { color: var(--sky); }
.problem.p-a .num, .problem.p-c .num { color: var(--gold); }
.problem.p-b { background: var(--gold); margin-top: 40px; }
.problem.p-b p { color: var(--ink-soft); }
.problem.p-c { background: var(--ink); color: var(--cream); border-radius: 28px 28px 110px 28px; transform: rotate(1.5deg); }
.problem.p-c p { color: var(--mist); }

/* Offer cards */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: stretch; }
.offer { border-radius: 30px; padding: 30px; display: flex; flex-direction: column; gap: 12px; background: var(--cream); color: var(--ink); position: relative; }
.offer h3 { margin: 0; font-size: 22px; }
.offer .price { font-family: var(--display); font-weight: 700; font-size: 58px; line-height: 1; }
.offer .quote { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 30px; line-height: 1.1; }
.offer .note { font-size: 15px; font-weight: 700; }
.offer ul { margin: 0; padding-left: 20px; font-size: 16px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.offer .btn { width: 100%; }
.offer.o-gold { background: var(--gold); transform: rotate(-2deg); }
.offer.o-blue { background: var(--blue); color: var(--cream); }
.offer.o-ink { background: var(--ink); color: var(--cream); border: 2px solid var(--mist); }
.tag { position: absolute; top: -18px; right: 18px; background: var(--rust); color: var(--cream); font-family: var(--hand); font-style: italic; font-weight: 500; font-size: 17px; padding: 1px 14px; border-radius: 999px; transform: rotate(6deg); margin: 0; }
.tag.gold { background: var(--gold); color: var(--ink); }
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border: 2px dashed var(--mist); border-radius: 22px; padding: 20px 26px; }
.strip a { color: var(--gold); font-weight: 700; }

/* Growth steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { background: var(--cream); border: 2px solid var(--ink); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.step h3 { margin: 0; font-size: 20px; }
.step p { color: var(--ink-soft); }
.step svg { width: 38px; height: 38px; }
.step:nth-child(1) { box-shadow: 6px 6px 0 var(--blue); }
.step:nth-child(2) { box-shadow: 6px 6px 0 var(--gold); }
.step:nth-child(3) { box-shadow: 6px 6px 0 var(--ink); }
.step:nth-child(4) { box-shadow: 6px 6px 0 var(--rust); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.plans .offer { border: 2px solid var(--ink); padding: 34px; }
.plans .offer.o-ink { transform: rotate(1deg); }
.pull { text-align: center; font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); }

/* Trades */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-block; text-decoration: none; border-radius: 999px; padding: 10px 20px; font-weight: 700; border: 2px solid transparent; }
.chips li:nth-child(5n+1) .chip { background: var(--blue); color: var(--cream); transform: rotate(-1.5deg); }
.chips li:nth-child(5n+2) .chip { background: var(--ink); color: var(--cream); transform: rotate(1deg); }
.chips li:nth-child(5n+3) .chip { background: var(--gold); color: var(--ink); transform: rotate(-1deg); }
.chips li:nth-child(5n+4) .chip { background: var(--cream); color: var(--ink); border-color: var(--ink); transform: rotate(1.5deg); }
.chips li:nth-child(5n+5) .chip { background: var(--sage); color: var(--ink); transform: rotate(-2deg); }
.chip:hover { filter: brightness(1.08); }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px 28px; }
.sector { background: var(--cream); border: 2px solid var(--ink); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; }
.sector img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sage); }
.sector > div { padding: 20px 24px 26px; }
.sector h3 { margin: 0; font-size: 22px; line-height: 1.2; }
.sector p { color: var(--ink-soft); }
.sector a { font-weight: 700; }
.sector:nth-child(3n+1) { box-shadow: 7px 7px 0 var(--blue); transform: rotate(-.8deg); }
.sector:nth-child(3n+2) { box-shadow: 7px 7px 0 var(--gold); }
.sector:nth-child(3n) { box-shadow: 7px 7px 0 var(--rust); transform: rotate(.8deg); }
.polaroid img { background: var(--sage); }
.logo-frame { aspect-ratio: 4 / 5; width: 100%; display: flex; align-items: center; justify-content: center; padding: 10%; }
.polaroid .logo-frame img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; background: transparent; }

/* Work */
.work { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 48px 36px; align-items: start; }
.work figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.work figure:nth-child(1) { transform: rotate(-2deg); }
.work figure:nth-child(2) { transform: rotate(1.5deg); margin-top: 60px; }
.work figure:nth-child(3) { transform: rotate(-1deg); }
.work .meta { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

/* Studio */
.studio { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; position: relative; }
.studio-copy { flex: 999 1 500px; min-width: 0; gap: 18px; }
.studio-copy p { font-size: 20px; }
.studio figure { flex: 1 1 300px; min-width: 0; max-width: 380px; margin: 0; transform: rotate(3deg); }
.studio .ring { position: absolute; right: -120px; bottom: -150px; width: 340px; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pills span { border-radius: 999px; padding: 9px 18px; font-weight: 700; }

/* Plain ampersand everywhere */
.amp { font-family: var(--body); font-style: normal; font-weight: inherit; letter-spacing: 0; }
.btn .amp { margin: 0 .3em; }

/* Values: same card system as the service cards */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: stretch; }
.value { border-radius: 30px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.value h3 { margin: 0; font-size: 22px; font-weight: 700; }
.value p { font-size: 16px; }
.value.v-blue { background: var(--blue); color: var(--cream); }
.value.v-blue p { color: var(--sky); }
.value.v-gold { background: var(--gold); color: var(--ink); }
.value.v-gold p { color: var(--ink-soft); }
.value.v-ink { background: var(--ink); color: var(--cream); }
.value.v-ink p { color: var(--mist); }
.value.v-rust { background: var(--rust); color: var(--cream); }
.value.v-rust p { color: var(--cream); }

/* Checklist promo */
.promo { background: var(--gold); border-radius: 40px 140px 40px 40px; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.promo .stack { flex: 999 1 420px; min-width: 0; gap: 12px; }

/* FAQ */
.faq { max-width: 940px; margin: 0 auto; gap: 14px; }
.faq details { background: var(--cream); border: 2px solid var(--ink); border-radius: 20px; padding: 18px 24px; }
.faq details:nth-of-type(3n+1) { box-shadow: 5px 5px 0 var(--blue); }
.faq details:nth-of-type(3n+2) { box-shadow: 5px 5px 0 var(--gold); }
.faq details:nth-of-type(3n) { box-shadow: 5px 5px 0 var(--ink); }
.faq summary { font-weight: 800; font-size: 19px; cursor: pointer; }
.faq details p { margin-top: 12px; color: var(--ink-soft); }

/* Form */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact > .stack { flex: 1 1 380px; min-width: 0; gap: 20px; }
.form { flex: 999 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; }
.field .opt { font-weight: 400; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=url], .form select, .form textarea { font: inherit; padding: 12px 14px; border: 2px solid transparent; border-radius: 14px; background: var(--cream); color: var(--ink); min-height: 50px; width: 100%; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 15px; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--gold); }
.form .small, .small { font-size: 14px; }
.band-ink a:not(.btn) { color: var(--gold); }
.form-note { grid-column: 1 / -1; font-size: 15px; background: var(--gold); color: var(--ink); padding: 12px 16px; border-radius: 12px; }
.hidden-field { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--ink-deep); color: var(--mist); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
.site-footer img { height: 80px; width: auto; border-radius: 12px; }
.site-footer a { color: var(--gold); }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer h2 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); margin: 0 0 4px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 28px 56px; }

/* Inner pages */
.crumbs { font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }
.page-hero { position: relative; padding-top: 24px; padding-bottom: 80px; }
.page-hero .blob-a { position: absolute; right: -180px; top: -80px; width: min(520px, 60vw); z-index: 0; opacity: .95; }
.page-hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: start; }
.panel { background: var(--cream); border: 2px solid var(--ink); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.panel h2, .panel h3 { margin: 0; }
.panel ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.ticks { list-style: none; padding-left: 0 !important; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 12px; border-left: 4px solid var(--blue); border-bottom: 4px solid var(--blue); transform: rotate(-45deg); }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-family: var(--display); font-size: 30px; line-height: 1.15; margin: 24px 0 0; }
.prose h3 { font-size: 21px; margin: 12px 0 0; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.table-scroll { overflow-x: auto; }
.callout { background: var(--cream); border-left: 0; border: 2px solid var(--ink); border-radius: 16px; padding: 16px 20px; }
.checklist { counter-reset: c; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.checklist li { counter-increment: c; background: var(--cream); border: 2px solid var(--ink); border-radius: 22px; padding: 24px 24px 24px 84px; position: relative; display: flex; flex-direction: column; gap: 6px; }
.checklist li::before { content: counter(c); position: absolute; left: 22px; top: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--cream); font-family: var(--display); font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.checklist h2 { margin: 0; font-size: 21px; font-family: var(--body); }
.checklist p { color: var(--ink-soft); }
.checklist .fix { font-size: 16px; }

@media (max-width: 720px) {
  body { font-size: 17px; }
  .logo img { height: 56px; }
  .nav { gap: 4px 16px; font-size: 15px; }
  .hero-art { min-height: 440px; }
  .badge-spin { width: 120px; height: 120px; left: 0; top: 0; }
  .hero .blob-a { top: auto; bottom: 40px; right: -180px; width: 440px; }
  .page-hero .blob-a { width: 220px; right: -130px; top: -60px; }
  .eyebrow { font-size: 12px; }
  .badge-spin svg { width: 120px; height: 120px; }
  .work figure:nth-child(2), .problem.p-b { margin-top: 0; }
  .checklist li { padding: 74px 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .badge-spin svg { animation: none; }
  .btn { transition: none; }
}
