/* Deal Appeals — dealappeals.com
   Palette and type follow paikdeal.com: warm cream page, dark olive text,
   white header, olive footer, lime accent from the "pd" mark.
   paikdeal.com uses Adobe fonts (adelle-sans, calluna); Fira Sans and Alegreya
   are the closest free Google Fonts. Swap in the Typekit kit if one is available. */

:root {
  --olive: #4c4c39;
  --olive-deep: #3b3b2c;
  --olive-ink: #2f2f23;
  --cream: #f5f4e6;
  --cream-2: #ecebd8;
  --paper: #ffffff;
  --lime: #b9cf45;
  --lime-dim: #9fb431;
  --rule: #dcdac4;
  --muted: #6d6d58;

  --sans: "Fira Sans", "adelle-sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Alegreya", "calluna", Georgia, "Times New Roman", serif;

  --wrap: 1080px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--olive);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration-color: var(--lime); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--olive-ink); }

h1, h2, h3, h4 { font-family: var(--sans); color: var(--olive); margin: 0; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.05rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--paper); padding: 8px 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 82px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--olive); }
.brand-mark { width: 52px; height: 52px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--sans); font-weight: 500; font-size: 1.32rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.brand-name .dot { color: var(--lime-dim); padding: 0 0.04em; }
.brand-sub {
  font-family: var(--sans); font-size: 0.56rem; letter-spacing: 0.24em;
  text-transform: uppercase; margin-top: 6px; color: var(--muted); text-align: center;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  color: var(--olive); padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--olive-ink); border-bottom-color: var(--lime); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--olive);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 82px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--olive); padding: 8px 0 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { color: var(--cream); padding: 14px var(--gutter); font-size: 0.95rem; border: 0; }
  .nav a:hover { color: #fff; background: var(--olive-deep); }
}

@media (max-width: 420px) {
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 1.08rem; }
  .brand-sub { font-size: 0.5rem; letter-spacing: 0.18em; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: var(--olive-ink);
  color: #fff;
}
.hero-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: #fff; opacity: 0.07; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(47,47,35,0.96) 0%, rgba(47,47,35,0.78) 55%, rgba(47,47,35,0.55) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 104px; padding-bottom: 112px; }
.eyebrow {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--lime); margin: 0 0 18px;
}
.hero h1 {
  color: #fff; font-weight: 700; font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  letter-spacing: -0.01em;
}
.hero h1 .line { display: block; }
.hero .lede {
  font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 36em; margin: 26px 0 36px; color: #e9e8d6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  padding: 15px 26px; border: 2px solid var(--lime); transition: background .15s, color .15s;
}
.btn-solid { background: var(--lime); color: var(--olive-ink); }
.btn-solid:hover { background: #cde05c; border-color: #cde05c; color: var(--olive-ink); }
.btn-ghost { color: #fff; }
.btn-ghost:hover { background: rgba(185,207,69,0.15); color: #fff; }

/* ---------- Stats band ---------- */

.stats { background: var(--paper); border-bottom: 1px solid var(--rule); }
.stats ul {
  list-style: none; margin: 0; padding: 34px 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 24px 56px;
}
.stats li { border-left: 4px solid var(--lime); padding-left: 16px; }
.stats strong { display: block; font-family: var(--sans); font-size: 2rem; line-height: 1; color: var(--olive); }
.stats span { display: block; font-family: var(--sans); font-size: 0.82rem; color: var(--muted); margin-top: 8px; line-height: 1.35; }
@media (max-width: 760px) { .stats ul { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

/* ---------- Sections ---------- */

.section { padding: 92px 0; }
.section.alt { background: var(--cream-2); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head .kicker {
  font-family: var(--sans); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--lime-dim); margin-bottom: 12px; display: block;
}
.section-head p { margin-top: 16px; font-size: 1.12rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.portrait { background: #222; aspect-ratio: 4 / 5; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.portrait-caption { font-family: var(--sans); margin-top: 16px; }
.portrait-caption strong { display: block; font-size: 1.15rem; }
.portrait-caption span { font-style: italic; font-family: var(--serif); color: var(--muted); }

.pull {
  margin: 0 0 30px; padding: 4px 0 4px 26px; border-left: 4px solid var(--lime);
  font-size: 1.32rem; line-height: 1.5; color: var(--olive-ink);
}
.pull cite { display: block; margin-top: 12px; font-family: var(--sans); font-size: 0.8rem; font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .portrait-col { max-width: 340px; }
}

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
.why { background: var(--paper); padding: 34px 32px; }
.why .num { font-family: var(--sans); font-weight: 700; color: var(--lime-dim); font-size: 0.85rem; letter-spacing: 0.12em; }
.why h3 { margin: 10px 0 12px; font-size: 1.2rem; }
.why p { margin: 0; }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } .why { padding: 28px 22px; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  background: var(--paper); padding: 34px 30px 30px; border-top: 5px solid var(--lime);
  display: flex; flex-direction: column;
}
.service svg { width: 38px; height: 38px; color: var(--olive); margin-bottom: 18px; }
.service h3 { font-size: 1.22rem; margin-bottom: 12px; }
.service p { margin-bottom: 14px; }
.service ul { margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--rule); list-style: none; font-size: 0.98rem; }
.service li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.service li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--lime-dim); }
.service .aside { font-style: italic; color: var(--muted); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; max-width: 640px; } }

/* Approach */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.approach-art { background: var(--olive); padding: 36px; color: var(--cream); }
.approach-art svg { width: 100%; height: auto; display: block; }
.approach-art p { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 18px 0 0; text-align: center; color: #d8d7c2; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--lime); color: var(--olive-ink);
  font-family: var(--sans); font-weight: 700; font-size: 0.95rem; display: grid; place-items: center;
}
.steps strong { font-family: var(--sans); display: block; margin-bottom: 2px; }
@media (max-width: 860px) { .approach { grid-template-columns: 1fr; gap: 40px; } .approach-art { order: 2; } }

/* Credentials */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.creds h3 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--lime); }
.creds ul { list-style: none; margin: 0; padding: 0; }
.creds li { margin-bottom: 12px; line-height: 1.4; }
.creds li span { display: block; font-size: 0.92rem; color: var(--muted); }
@media (max-width: 860px) { .creds { grid-template-columns: 1fr; gap: 32px; } }

/* Contact */
.contact { background: var(--olive); color: var(--cream); }
.contact h2 { color: #fff; }
.contact .section-head .kicker { color: var(--lime); }
.contact .section-head p { color: #e3e2cf; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,0.12); }
.contact-card { background: var(--olive); padding: 28px 26px; text-decoration: none; color: var(--cream); display: block; }
a.contact-card:hover { background: var(--olive-deep); color: #fff; }
.contact-card .label { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); display: block; margin-bottom: 8px; }
.contact-card .value { font-family: var(--sans); font-size: 1.12rem; color: #fff; overflow-wrap: anywhere; }
.contact-note { margin-top: 32px; font-size: 0.95rem; color: #cfcebb; max-width: 760px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--olive-deep); color: #d6d5c1; text-align: center; padding: 34px 0 40px; font-size: 0.95rem; }
.site-footer p { margin: 0 0 10px; }
.site-footer a { color: #f1f0df; }
.site-footer .disclaimer { max-width: 760px; margin: 18px auto 0; font-size: 0.82rem; line-height: 1.5; color: #b9b8a3; }

/* Simple page (disclaimer) */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 28px; }
.page h2 { font-size: 1.2rem; margin: 32px 0 10px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
