/* copperbrook.co.uk: the agency's own website. Tokens come from brand/brand.css. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cb-cream); color: var(--cb-ink); font: 17px/1.6 var(--cb-sans); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--cb-copper-text); }
a:hover { color: var(--cb-brook); }
:focus-visible { outline: 3px solid var(--cb-copper); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--cb-serif); color: var(--cb-brook); line-height: 1.2; font-weight: 600; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--cb-max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cb-paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.draft { background: var(--cb-copper-soft); color: var(--cb-copper-text); text-align: center; font-size: 14px; padding: 6px 12px; font-weight: 600; }

/* header */
.site-header { background: var(--cb-paper); border-bottom: 1px solid var(--cb-sand); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: flex; flex: none; }
.logo img { width: 200px; height: 40px; display: block; }
nav { margin-left: auto; }
nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
nav a { color: var(--cb-ink); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: var(--cb-brook); border-bottom-color: var(--cb-copper); }

/* buttons */
.btn { display: inline-block; text-align: center; background: var(--cb-copper-text); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--cb-copper-text); cursor: pointer; font: 600 16px/1.2 var(--cb-sans); }
.btn:hover { background: var(--cb-brook); border-color: var(--cb-brook); color: #fff; }
.btn.ghost { background: transparent; color: var(--cb-brook); border-color: var(--cb-brook); }
.btn.ghost:hover { background: var(--cb-brook); color: #fff; }
.btn.small { padding: 8px 16px; font-size: 15px; flex: none; }

/* sections */
section { padding: 64px 0; }
section.tint { background: var(--cb-paper); border-top: 1px solid var(--cb-sand); border-bottom: 1px solid var(--cb-sand); }
section.brook { background: var(--cb-brook); color: var(--cb-cream); }
section.brook h2, section.brook h3 { color: var(--cb-cream); }
section.brook a:not(.btn) { color: #f0c19e; }
.lead { font-size: 1.2rem; color: var(--cb-ink-soft); max-width: 40em; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 700; color: var(--cb-copper-text); margin-bottom: 10px; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* hero */
.hero { padding: 80px 0 72px; position: relative; overflow: hidden; }
.hero .wrap { position: relative; }
.hero h1 { max-width: 15em; }
.hero::after { content: ""; position: absolute; right: -80px; bottom: -40px; width: 520px; height: 260px; background: url("brand/waves.svg") no-repeat center / contain; opacity: 0.9; pointer-events: none; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 10px 28px; flex-wrap: wrap; color: var(--cb-ink-soft); }
.ticks li::before { content: "✓"; color: var(--cb-good); font-weight: 700; margin-right: 8px; }

/* grids and cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--cb-paper); border: 1px solid var(--cb-sand); border-radius: var(--cb-radius); padding: 26px; box-shadow: var(--cb-shadow); }
.card h3 { margin-top: 0; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--cb-brook-soft); color: var(--cb-brook); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; }

/* prices */
.prices { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.price { display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--cb-copper); position: relative; }
.price.featured::before { content: "Most popular"; position: absolute; top: -13px; left: 24px; background: var(--cb-copper-text); color: #fff; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.amount { font-family: var(--cb-serif); font-size: 2.4rem; color: var(--cb-brook); line-height: 1; margin: 6px 0 4px; }
.amount small { font-family: var(--cb-sans); font-size: 15px; color: var(--cb-ink-soft); }
.monthly { color: var(--cb-ink-soft); margin-bottom: 14px; }
.price ul { padding: 0; list-style: none; margin: 0 0 22px; flex: 1; }
.price li { padding: 7px 0 7px 26px; border-top: 1px solid var(--cb-sand); position: relative; }
.price li::before { content: "✓"; position: absolute; left: 2px; color: var(--cb-good); font-weight: 700; }
.note { font-size: 15px; color: var(--cb-ink-soft); }

/* steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: step; background: var(--cb-paper); border: 1px solid var(--cb-sand); border-radius: var(--cb-radius); padding: 22px 22px 18px; position: relative; }
.steps li::before { content: counter(step); font-family: var(--cb-serif); font-size: 1.1rem; font-weight: 700; color: #fff; background: var(--cb-brook); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--cb-ink-soft); }

/* long text (about, privacy, terms) */
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.callout { background: var(--cb-brook-soft); border-left: 4px solid var(--cb-brook); padding: 16px 20px; border-radius: 0 var(--cb-radius) var(--cb-radius) 0; margin: 24px 0; }

/* FAQ */
details { background: var(--cb-paper); border: 1px solid var(--cb-sand); border-radius: var(--cb-radius); padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; color: var(--cb-brook); }
details p { margin: 10px 0 0; }

/* form */
form.enquiry { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--cb-ink-soft); font-size: 15px; }
input, select, textarea { width: 100%; font: inherit; color: var(--cb-ink); background: #fff; border: 1px solid #b9b0a2; border-radius: 8px; padding: 11px 13px; }
input:focus, select:focus, textarea:focus { border-color: var(--cb-brook); outline: 3px solid var(--cb-brook-soft); }
.two { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.hidden { position: absolute; left: -9999px; }
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1.5fr 1fr; align-items: start; }

/* footer */
.site-footer { background: var(--cb-brook); color: #d9e4e1; padding: 48px 0 36px; font-size: 15px; }
.site-footer .cols { display: grid; gap: 32px; grid-template-columns: 1.3fr 1fr 1.3fr; }
.site-footer h2 { color: var(--cb-cream); font-family: var(--cb-sans); font-size: 14px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #f0c19e; }
.site-footer img { width: 200px; height: 40px; margin-bottom: 10px; }
.fine { font-size: 13.5px; color: #b9cbc7; }

@media (max-width: 860px) {
  .bar { flex-wrap: wrap; gap: 10px 16px; padding-top: 12px; padding-bottom: 10px; }
  nav { order: 3; width: 100%; margin: 0; }
  nav ul { gap: 6px 18px; flex-wrap: wrap; }
  nav a { white-space: nowrap; }
  .btn.small { margin-left: auto; }
  .hero { padding: 40px 0 44px; }
  .hero::after { display: none; }
  section { padding: 48px 0; }
  .contact-grid, .site-footer .cols, .two { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .logo img { width: 170px; height: 34px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* the founding-customer offer: a quiet copper panel above the prices, and the founding price on each card */
.offer { margin-top: 28px; background: var(--cb-copper-soft); border-radius: var(--cb-radius); padding: 16px 20px; }
.offer .eyebrow { margin-bottom: 6px; }
.offer p:last-child { margin: 0; }
.founding { margin: 4px 0 6px; font-weight: 700; color: var(--cb-copper-text); }
