/* Kettle Creek Heating & Air — ad script pack, concept demo. Fonts: Bricolage Grotesque, Geist Mono (SIL OFL), self-hosted. */
@font-face { font-family: "Bricolage"; src: url("fonts/Bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --paper: #f4f1ea; --paper-2: #ebe6db; --ink: #141414; --ink-2: #55524b; --rule: #141414;
  --hot: #ff5a1f; --a: #ff5a1f; --b: #ffc400; --c: #2f6bff; --d: #1f9d6b;
  --sans: "Bricolage", system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); font-variation-settings: "opsz" 14; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
p, h1, h2, h3, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }
.wrap { width: min(1240px, 100% - 64px); margin-inline: auto; }

.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding: 9px 32px; background: var(--ink); color: #cfcabe; font-size: 13px; }
.demo-bar b { color: #fff; font-weight: 600; }
.demo-bar a { color: #fff; text-underline-offset: 3px; white-space: nowrap; }

.top { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); gap: 20px; }
.mark { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; font-stretch: 85%; }
.mark span:not(.mark__dot) { font-weight: 400; color: var(--ink-2); }
.mark__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 4px rgba(255,90,31,.18); }
.top nav { display: flex; gap: 28px; font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--hot); }

.eyebrow { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.hero { padding: 64px 0 72px; }
.hero h1 { font-size: clamp(54px, 9.6vw, 152px); line-height: .88; letter-spacing: -0.045em; font-weight: 750; font-stretch: 78%; font-variation-settings: "opsz" 96; margin: 22px 0 48px; }
.hero h1 em { font-style: normal; color: #e8470e; }
.hero__row { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; border-top: 3px solid var(--rule); padding-top: 26px; }
.hero__lede { font-size: 22px; line-height: 1.4; max-width: 34ch; }
.specs { display: grid; grid-template-columns: repeat(4, auto); gap: 0; border: 1px solid var(--rule); }
.specs div { padding: 14px 22px; border-left: 1px solid var(--rule); }
.specs div:first-child { border-left: 0; }
.specs dt { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: 8px; }
.specs dd { font-size: 30px; font-weight: 700; font-stretch: 80%; line-height: 1; letter-spacing: -0.02em; }

.brief { background: var(--ink); color: var(--paper); padding: 88px 0; }
.brief__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.brief h2 { font-size: 52px; line-height: 1; font-weight: 700; font-stretch: 80%; letter-spacing: -0.03em; }
.brief__list div { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid rgba(244,241,234,.28); }
.brief__list div:last-child { border-bottom: 1px solid rgba(244,241,234,.28); }
.brief__list dt { font: 500 12px/1.9 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #a9a497; }
.brief__list dd { font-size: 19px; line-height: 1.45; }
.brief__list b { color: var(--hot); }
.ph { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; border: 1px solid rgba(244,241,234,.4); padding: 3px 6px; margin-left: 6px; vertical-align: 2px; color: #cfcabe; white-space: nowrap; }

.sec-h { font-size: clamp(40px, 5vw, 64px); line-height: .95; font-weight: 700; font-stretch: 80%; letter-spacing: -0.035em; }
.tag { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 600 13px/1 var(--mono); color: var(--ink); background: var(--a); flex: none; }
li:has(> .tag:is(:nth-child(1))) {}
.angles { padding: 96px 0; }
.angles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.ang { background: #fff; border: 1px solid var(--rule); padding: 26px 24px 30px; min-height: 260px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.ang::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; opacity: .16; background: currentColor; }
.ang h3 { font-size: 28px; line-height: 1.02; font-weight: 700; font-stretch: 82%; letter-spacing: -0.02em; margin-top: auto; }
.ang p { color: var(--ink-2); font-size: 16px; }
.ang--a { color: var(--a); } .ang--b { color: #d9a600; } .ang--c { color: var(--c); } .ang--d { color: var(--d); }
.ang h3, .ang p { color: var(--ink); } .ang p { color: var(--ink-2); }
.ang--b .tag, .tag:is([data-a="B"]) { background: var(--b); }
.ang--c .tag { background: var(--c); color: #fff; } .ang--d .tag { background: var(--d); color: #fff; }

.hooks { background: var(--paper-2); padding: 96px 0; border-block: 1px solid var(--rule); }
.hooks__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.hooks__head p { color: var(--ink-2); max-width: 44ch; justify-self: end; }
.hooklist { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); counter-reset: h; }
.hooklist li { counter-increment: h; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; background: var(--paper); position: relative; }
.hooklist li::before { content: counter(h, decimal-leading-zero); position: absolute; top: 24px; right: 22px; font: 500 12px/1 var(--mono); color: var(--ink-2); }
.hook { font-size: 22px; line-height: 1.22; font-weight: 600; font-stretch: 88%; letter-spacing: -0.015em; }
.shot { font: 400 12.5px/1.5 var(--mono); color: var(--ink-2); margin-top: auto; padding-top: 10px; border-top: 1px dashed rgba(20,20,20,.3); }
.shot::before { content: "SHOT  "; color: var(--ink); font-weight: 600; }

.scripts { padding: 96px 0 40px; }
.script { display: grid; grid-template-columns: 300px 1fr; gap: 56px; padding: 56px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.script:first-of-type { margin-top: 24px; border-top: 3px solid var(--rule); }
.phone { width: 260px; aspect-ratio: 9 / 19; border-radius: 40px; background: var(--ink); padding: 10px; box-shadow: 0 30px 60px -30px rgba(20,20,20,.55); position: sticky; top: 24px; }
.phone__screen { height: 100%; border-radius: 31px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 26px; color: #fff; }
.phone__screen::before { content: ""; position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 76px; height: 22px; border-radius: 12px; background: var(--ink); }
.phone__screen--a { background: radial-gradient(120% 70% at 30% 20%, #3b4a6b 0%, #141a28 60%, #0b0d12 100%); }
.phone__screen--b { background: linear-gradient(170deg, #ffd23f 0%, #ff8a3d 100%); color: var(--ink); }
.phone__screen--c { background: radial-gradient(70% 45% at 50% 62%, #5c8bff 0%, #1f3fa8 40%, #0b1430 100%); }
.phone__time { position: absolute; top: 44px; left: 22px; font: 500 11px/1 var(--mono); opacity: .75; }
.phone__cap { font-size: 32px; line-height: 1.02; font-weight: 750; font-stretch: 78%; letter-spacing: -0.03em; }
.phone__screen--a .phone__cap b { color: var(--hot); } .phone__screen--c .phone__cap b { color: #ffd23f; }
.phone__cta { position: absolute; left: 18px; right: 18px; bottom: 22px; text-align: center; padding: 12px; border-radius: 12px; background: #fff; color: var(--ink); font: 600 13px/1 var(--sans); }
.phone__screen--b .phone__cta { background: var(--ink); color: #fff; }
.script header { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; margin-bottom: 26px; }
.script header .meta { grid-column: 2; font: 400 13px/1.4 var(--mono); color: var(--ink-2); }
.script h3 { font-size: 38px; line-height: 1; font-weight: 700; font-stretch: 80%; letter-spacing: -0.025em; }
.script:nth-of-type(2) .tag { background: var(--b); } .script:nth-of-type(3) .tag { background: var(--c); color: #fff; }
.hooklist li:nth-child(n+4):nth-child(-n+6) .tag { background: var(--b); }
.hooklist li:nth-child(n+7):nth-child(-n+9) .tag { background: var(--c); color: #fff; }
.hooklist li:nth-child(n+10) .tag { background: var(--d); color: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th { text-align: left; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding: 0 16px 12px 0; border-bottom: 1px solid var(--rule); }
td { padding: 16px 16px 16px 0; border-bottom: 1px solid rgba(20,20,20,.18); vertical-align: top; }
td:first-child { font: 600 13px/1.6 var(--mono); width: 64px; color: #c2410c; }
td:nth-child(2) { width: 34%; color: var(--ink-2); }
td b { font-weight: 650; }

.test { padding: 72px 0 104px; }
.test__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.test__note { margin-top: 20px; color: var(--ink-2); max-width: 36ch; font-size: 18px; }
.steps { counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 20px 0 20px 56px; border-top: 1px solid var(--rule); font-size: 18px; }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before { position: absolute; left: 0; top: 22px; content: counter(s, decimal-leading-zero); font: 600 13px/1.9 var(--mono); color: #c2410c; }

.foot { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0 40px; border-top: 3px solid var(--rule); font: 400 13px/1.5 var(--mono); color: var(--ink-2); }
.foot a { color: var(--ink); white-space: nowrap; }

@media (max-width: 1020px) {
  .angles__grid { grid-template-columns: repeat(2, 1fr); }
  .hooklist { grid-template-columns: repeat(2, 1fr); }
  .hero__row { grid-template-columns: 1fr; }
  .script { grid-template-columns: 1fr; gap: 32px; }
  .phone { position: static; margin-inline: auto; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .demo-bar { padding: 9px 20px; }
  .top nav { display: none; }
  .hero { padding: 40px 0 56px; }
  .hero h1 { margin: 16px 0 32px; }
  .hero__lede { font-size: 19px; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .specs div:nth-child(3) { border-left: 0; }
  .specs div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .brief { padding: 64px 0; }
  .brief__grid { grid-template-columns: 1fr; gap: 28px; }
  .brief h2 { font-size: 44px; }
  .brief__list div { grid-template-columns: 1fr; gap: 6px; }
  .brief__list dd { font-size: 17px; }
  .angles, .hooks { padding: 64px 0; }
  .angles__grid, .hooklist { grid-template-columns: 1fr; }
  .ang { min-height: 0; }
  .ang h3 { margin-top: 18px; }
  .hooks__head { grid-template-columns: 1fr; gap: 14px; }
  .hooks__head p { justify-self: start; }
  .hook { font-size: 20px; }
  .scripts { padding: 64px 0 24px; }
  .script { padding: 40px 0; }
  .phone { width: 220px; }
  .script h3 { font-size: 30px; }
  .phone__cap { font-size: 27px; }
  table, thead, tbody, tr, td { display: block; width: auto !important; }
  thead { display: none; }
  tr { padding: 14px 0; border-bottom: 1px solid rgba(20,20,20,.18); display: grid; grid-template-columns: 52px 1fr; gap: 4px 12px; }
  td { border: 0; padding: 0; }
  td:nth-child(2), td:nth-child(3) { grid-column: 2; }
  td:nth-child(2) { font-size: 14px; }
  .test__grid { grid-template-columns: 1fr; gap: 28px; }
  .steps li { font-size: 17px; padding-left: 44px; }
  .foot { flex-direction: column; }
}
