/* copperbrook.co.uk: the agency's own website. Direction A (chosen 26 Oct 2026): data-led and bold.
   Deep brook green for the header and big moments, a cool off-white page, copper only where we want a
   click. Archivo (heavy, tight) for headings, Figtree for reading. Flat surfaces, thin rules, no shadows
   on ordinary cards: the example sites are the only things that float. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --green: #12332F;        /* header, hero, closing band */
  --green-deep: #0C2522;
  --green-mid: #1F5A52;
  --green-line: #2A5850;   /* rules on green */
  --page: #F4F7F3;         /* cool off-white page */
  --white: #FFFFFF;
  --tint: #E7EFEB;
  --ink: #10201D;          /* 16:1 on --page */
  --muted: #4C5F5A;        /* 6.6:1 on --page */
  --line: #C9D8D2;
  --on-dark: #C9DDD6;      /* body text on green, 9:1 */
  --on-dark-soft: #8FB3A9; /* small print on green, 5.2:1 */
  --mint: #8FCBBE;         /* labels on green */
  --copper: #D9824B;       /* buttons and marks; ink on it is 6:1 */
  --copper-text: #A9531E;  /* copper as text on light, 5.1:1 */
  --head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1240px;
  --r: 8px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 17px/1.62 var(--body); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--copper-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0 0 0.45em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.1rem); font-weight: 900; line-height: 0.98; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; }
h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .wrap { padding-left: 40px; padding-right: 40px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.draft { background: var(--copper); color: var(--ink); text-align: center; font-size: 14px; padding: 6px 12px; font-weight: 700; }

/* header: green, sits on top of the green hero so they read as one block */
.site-header { background: var(--green); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--green-line); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); flex: none; }
.logo svg { width: 40px; height: 40px; display: block; }
.logo span { font-family: var(--head); font-weight: 800; font-size: 23px; letter-spacing: -0.015em; }
.logo:hover { color: var(--white); }
nav { margin-left: auto; }
nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
nav a { color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--copper); }

/* buttons: copper means "do this"; the outline is the second choice */
.btn { display: inline-block; text-align: center; background: var(--copper); color: var(--ink); text-decoration: none; font: 700 17px/1.2 var(--body); padding: 15px 26px; border-radius: 6px; border: 2px solid var(--copper); cursor: pointer; }
.btn:hover { background: #E79762; border-color: #E79762; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn.small { padding: 10px 18px; font-size: 15px; flex: none; }
.hero .btn.ghost, .home-hero .btn.ghost, .brook .btn.ghost, .on-dark .btn.ghost { color: var(--white); border-color: #4F857B; }
.hero .btn.ghost:hover, .home-hero .btn.ghost:hover, .brook .btn.ghost:hover, .on-dark .btn.ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* sections */
section { padding: 96px 0; }
section.tint { background: var(--white); border-top: 1px solid #DCE6E1; border-bottom: 1px solid #DCE6E1; }
section.brook, section.on-dark { background: var(--green); color: var(--on-dark); }
section.brook h2, section.brook h3, section.on-dark h2, section.on-dark h3 { color: var(--white); }
section.brook a:not(.btn), section.on-dark a:not(.btn) { color: #F0B98F; }
.lead { font-size: 1.22rem; line-height: 1.55; color: var(--muted); max-width: 36em; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.09em; font-size: 14px; font-weight: 700; color: var(--copper-text); margin-bottom: 14px; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* page heroes: every page opens on green */
.hero { background: var(--green); color: var(--on-dark); padding: 72px 0 88px; }
.hero h1 { color: var(--white); max-width: 14em; }
.hero .eyebrow { color: var(--mint); }
.hero .lead { color: var(--on-dark); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 8px 22px; flex-wrap: wrap; color: var(--on-dark-soft); font-size: 15px; }
.ticks li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); margin-right: 9px; vertical-align: 2px; }

/* grids and cards: flat, ruled, quiet */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--white); border: 1px solid #DCE6E1; border-radius: var(--r); padding: 28px; }
.card h3 { margin-top: 0; }
.icon { width: 44px; height: 44px; border-radius: 6px; background: var(--tint); color: var(--green-mid); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }

/* prices */
.prices { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.price { display: flex; flex-direction: column; }
.price.featured { border: 2px solid var(--ink); position: relative; }
.price.featured::before { content: "Most popular"; position: absolute; top: -14px; left: 24px; background: var(--copper); color: var(--ink); font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 4px; }
.amount { font-family: var(--head); font-weight: 800; font-size: 2.9rem; letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin: 10px 0 6px; }
.amount small { font-family: var(--body); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--muted); }
.monthly { color: var(--muted); margin-bottom: 16px; }
.price ul { padding: 0; list-style: none; margin: 0 0 24px; flex: 1; }
.price li { padding: 8px 0 8px 26px; border-top: 1px solid #E3ECE8; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 2px; color: var(--green-mid); font-weight: 700; }
.note { font-size: 15px; color: var(--muted); }
.offer { margin-top: 28px; background: var(--green); color: var(--on-dark); border-radius: var(--r); padding: 18px 22px; }
.offer .eyebrow { color: var(--mint); margin-bottom: 6px; }
.offer b { color: var(--white); }
.offer p:last-child { margin: 0; }
.founding { margin: 2px 0 6px; font-weight: 700; color: var(--copper-text); }

/* steps: a real sequence, so big numbers and no boxes */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-family: var(--head); font-weight: 900; font-size: 2.8rem; line-height: 1; color: var(--copper); margin-bottom: 12px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

/* long text (about, privacy, terms) */
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.5em; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.callout { background: var(--tint); border-radius: var(--r); padding: 18px 22px; margin: 24px 0; }

/* FAQ */
details { background: var(--white); border: 1px solid #DCE6E1; border-radius: var(--r); padding: 18px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; color: var(--ink); }
details p { margin: 12px 0 0; color: var(--muted); }

/* form */
form.enquiry, .enquiry { display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 15px; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #B7C7C1; border-radius: 6px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--green-mid); outline: 3px solid #CFE3DC; }
.two { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.hidden { position: absolute; left: -9999px; }
.contact-grid { display: grid; gap: 48px; grid-template-columns: 1.5fr 1fr; align-items: start; }

/* footer */
.site-footer { background: var(--green-deep); color: var(--on-dark); padding: 64px 0 44px; font-size: 15px; }
.site-footer .cols { display: grid; gap: 36px; grid-template-columns: 1.4fr 1fr 1.4fr; }
.site-footer h2 { color: var(--white); font-family: var(--body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #F0B98F; }
.site-footer .logo { margin-bottom: 14px; }
.fine { font-size: 13.5px; color: var(--on-dark-soft); }

/* ---- the homepage ---------------------------------------------------------------------------------- */

/* hero: the promise, then a real site with notes on why each part is there */
.home-hero { background: var(--green); color: var(--on-dark); padding: 56px 0 104px; }
.home-hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.home-hero .pitch { flex: 1 1 520px; min-width: 0; }
.home-hero h1 { color: var(--white); }
.home-hero .eyebrow { color: var(--mint); }
.home-hero .lead { color: var(--on-dark); margin-top: 26px; font-size: 1.25rem; }
.show { flex: 1 1 440px; min-width: 0; display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: center; }
.phone { width: 270px; flex: 0 0 270px; border: 10px solid #0A1A17; border-radius: 40px; background: #0A1A17; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.phone .screen { border-radius: 30px; overflow: hidden; background: #FFFFFF; font-size: 11px; line-height: 1.4; color: #1B2430; }
.why { list-style: none; margin: 0; padding: 0; flex: 1 1 210px; min-width: 0; display: grid; gap: 18px; }
.why li { border-left: 3px solid var(--copper); padding-left: 14px; font-size: 14.5px; color: #A9C7BE; line-height: 1.45; }
.why b { display: block; color: var(--white); font-size: 16px; margin-bottom: 2px; }

/* the example sites (drawn in HTML, so they're crisp and light) */
.demo-trade .top { background: #1D3557; color: #FFFFFF; }
.demo-trade .call { background: #F2A93B; color: #1B2430; border-radius: 6px; font-weight: 800; text-align: center; }
.mini-h { font-family: var(--head); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; }
.kicker { text-transform: uppercase; letter-spacing: 0.08em; }
.stars { color: #E8A13A; letter-spacing: 1px; }
.examples { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.example { margin: 0; }
.browser { border-radius: 10px; overflow: hidden; border: 1px solid #DCE3E8; box-shadow: 0 18px 40px rgba(16, 32, 29, 0.10); background: #FFFFFF; }
.browser .chrome { background: #EEF1F4; padding: 9px 12px; display: flex; gap: 6px; }
.browser .chrome span { width: 9px; height: 9px; border-radius: 50%; background: #CBD3DB; }
.example figcaption { margin-top: 16px; font-size: 15px; color: var(--muted); }
.example figcaption b { display: block; font-family: var(--head); font-size: 1.2rem; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 22px; font-size: 11px; color: #4A5568; }
.tags span { border: 1px solid #E2E8F0; padding: 5px 8px; border-radius: 4px; }

/* what we look at: the four lessons, ruled like a ledger */
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > .intro { flex: 1 1 340px; min-width: 0; }
.lessons { flex: 2 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 2px solid var(--ink); }
.lessons > div { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.lessons h3 { margin-bottom: 8px; }
.lessons p { margin: 0; color: var(--muted); }

/* the founder */
.founder { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.founder .mark { flex: 0 0 220px; aspect-ratio: 1; border-radius: var(--r); background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 900; font-size: 4.4rem; letter-spacing: -0.04em; }
.founder .mark span { color: var(--copper); }
.founder blockquote { margin: 0; flex: 1 1 460px; min-width: 0; }
.founder blockquote p { font-family: var(--head); font-weight: 700; font-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.3rem); line-height: 1.22; letter-spacing: -0.015em; margin: 0; }
.founder footer { margin-top: 22px; color: var(--muted); }
.founder footer b { color: var(--ink); display: block; }

/* the closing price band */
.band .wrap { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: space-between; }
.band h2 { margin: 0; max-width: 16em; }
.band p { margin: 18px 0 0; font-size: 1.15rem; }

@media (max-width: 860px) {
  .bar { flex-wrap: wrap; gap: 10px 16px; padding-top: 12px; padding-bottom: 10px; min-height: 0; }
  nav { order: 3; width: 100%; margin: 0; }
  nav ul { gap: 6px 20px; flex-wrap: wrap; }
  nav a { white-space: nowrap; }
  .btn.small { margin-left: auto; }
  .hero { padding: 44px 0 56px; }
  .home-hero { padding: 36px 0 64px; }
  section { padding: 64px 0; }
  .contact-grid, .site-footer .cols, .two { grid-template-columns: 1fr; }
  .founder .mark { flex-basis: 140px; font-size: 3rem; }
  .lessons > div { padding-right: 0; }
}
@media (max-width: 520px) { .logo span { font-size: 20px; } .logo svg { width: 34px; height: 34px; } .logo { gap: 10px; } .site-header .btn.small { padding: 8px 12px; font-size: 14px; } .bar { column-gap: 10px; } }
@media (max-width: 420px) { .phone { width: 250px; flex-basis: 250px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---- the AI tools page ------------------------------------------------------------------------------- */
/* an example conversation: what the Enquiry Responder does, in the hero */
.convo { flex: 1 1 380px; min-width: 0; max-width: 460px; background: var(--white); border-radius: 12px; padding: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); display: grid; gap: 12px; color: var(--ink); font-size: 15px; line-height: 1.5; }
.convo-label { margin: 0; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--copper-text); }
.msg { border-radius: 10px; padding: 12px 14px; }
.msg .who { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.msg.in { background: #EEF2F0; margin-right: 36px; }
.msg.out { background: var(--green); color: #EAF2EE; margin-left: 36px; }
.msg.out .who { color: var(--mint); }
.msg.note { background: transparent; border: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.msg.note b { color: var(--ink); }
/* the four tools: a moment, the tool, what it does */
.tools-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.tools-list article { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.tools-list .moment { margin: 0 0 8px; font-weight: 700; font-size: 15px; color: var(--copper-text); }
.tools-list h3 { font-size: 1.6rem; margin-bottom: 10px; }
.tools-list p { color: var(--muted); }
.tools-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15.5px; }
.tools-list li { padding-left: 22px; position: relative; }
.tools-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-mid); font-weight: 700; }
@media (max-width: 860px) { .tools-list article { padding-right: 0; } .msg.in { margin-right: 16px; } .msg.out { margin-left: 16px; } }
/* the website + Enquiry Responder bundle: one bordered offer, text beside its price */
.bundle { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; border: 2px solid var(--ink); border-radius: var(--r); padding: 36px 40px; background: var(--white); }
.bundle-text { flex: 2 1 420px; min-width: 0; }
.bundle-text h2 { margin-bottom: 12px; }
.bundle-text p:last-child { margin: 0; color: var(--muted); }
.bundle-price { flex: 1 1 260px; min-width: 0; }
.bundle-price .note { margin: 0 0 18px; }
@media (max-width: 520px) { .bundle { padding: 26px 22px; } }
