/* Pike & Marlow Accountancy — styles.css — 2026-09-16 */
:root {
  --paper: #fbfaf7; --paper-2: #f1efe9; --ink: #16151a; --ink-2: rgba(22, 21, 26, 0.66); --line: rgba(22, 21, 26, 0.12);
  --plum: #4b2d73; --plum-2: #3a2259; --peach: #ffc19c; --peach-2: #ffd8bf;
  --display: "Unbounded", system-ui, sans-serif; --body: "Figtree", system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 64px); --header: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure, dl, dd, address { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
.on-light :focus-visible, main :focus-visible { outline-color: var(--plum); }
.display { font-family: var(--display); font-weight: 500; line-height: 1.02; letter-spacing: -0.02em; }
.giant { font-family: var(--display); font-weight: 500; font-size: clamp(52px, 8vw, 120px); line-height: 0.95; letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 0.18em; }
.giant .plus { color: var(--peach); font-weight: 400; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; transition: transform 0.15s, background 0.2s, color 0.2s; }
.pill:hover { transform: translateY(-1px); }
.pill-ink { background: var(--ink); color: var(--paper); }
.pill-ink:hover { background: var(--plum); }
.pill-ghost { border: 2px solid var(--ink); }
.pill-ghost:hover { background: var(--ink); color: var(--paper); }
.pill-paper { background: var(--paper); color: var(--ink); }
.pill-paper:hover { background: var(--peach); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.more::after { content: ""; width: 20px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M1 6h17M13 1l5 5-5 5' fill='none' stroke='%2316151a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; transition: transform 0.2s; }
.more:hover { border-color: var(--ink); }
.more:hover::after { transform: translateX(4px); }
.wrap { width: min(1360px, 100% - 2 * var(--pad)); margin-inline: auto; }
.muted { color: var(--ink-2); }

/* header */
.header { position: sticky; top: 0; z-index: 30; height: var(--header); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); background: rgba(251, 250, 247, 0.92); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 12px; }
.mark { width: 38px; height: 38px; border-radius: 10px; background: var(--plum); color: var(--peach); display: grid; place-items: center; font-family: var(--display); font-size: 26px; line-height: 1; font-weight: 400; }
.word { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: -0.01em; line-height: 1; display: grid; gap: 3px; }
.word small { font-family: var(--body); font-weight: 500; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); }
.header-r { display: flex; gap: 10px; align-items: center; }
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--plum); color: var(--paper); display: grid; grid-template-rows: var(--header) 1fr auto; padding: 0 var(--pad) 32px; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; }
.sheet-top .word { color: var(--paper); } .sheet-top .word small { color: var(--peach); }
.sheet nav { align-self: center; display: grid; gap: 4px; }
.sheet nav a { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 5.5vw, 64px); letter-spacing: -0.03em; line-height: 1.15; display: inline-flex; gap: 0.3em; align-items: baseline; width: max-content; }
.sheet nav a::before { content: "+"; color: var(--peach); font-weight: 400; opacity: 0; transition: opacity 0.2s; }
.sheet nav a:hover::before, .sheet nav a:focus-visible::before, .sheet nav a[aria-current]::before { opacity: 1; }
.sheet-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 15px; color: var(--peach-2); }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header)); }
.hero figure { overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.formula { background: var(--plum); color: var(--paper); display: grid; place-items: center; text-align: center; padding: clamp(48px, 8vw, 96px) var(--pad); }
.formula > div { display: grid; gap: 22px; justify-items: center; }
.formula .display { font-size: clamp(26px, 2.9vw, 44px); max-width: 14ch; }
.formula .op { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.6vw, 56px); line-height: 1; color: var(--peach); }
.formula .pill { margin-top: 12px; }

/* what we do */
.what { padding: clamp(56px, 8vw, 112px) 0 0; }
.what .giant { padding: 0 var(--pad); margin-bottom: clamp(32px, 4vw, 56px); }
.what-grid { display: grid; grid-template-columns: 1fr 1fr; }
.lists { background: var(--paper-2); padding: clamp(32px, 4vw, 56px) var(--pad); display: grid; gap: 40px; align-content: start; }
.lists h3 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 8px; }
.lists h3 + h3 { margin-top: 0; }
.lists .more { margin-top: 14px; }
.lists h3::before { content: "+"; color: var(--plum); font-weight: 400; margin-right: 0.35em; }
.what-copy { padding: clamp(32px, 4vw, 56px) var(--pad); display: grid; gap: 28px; align-content: start; }
.what-copy p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; letter-spacing: -0.01em; max-width: 34ch; }
.photo-round { overflow: hidden; border-radius: 0 0 clamp(80px, 14vw, 220px) 0; aspect-ratio: 4 / 3; }
.photo-round img { width: 100%; height: 100%; object-fit: cover; }

/* band */
.band { display: grid; grid-template-columns: 1fr 1fr; height: clamp(120px, 16vw, 220px); }
.band > div:first-child { background: var(--peach); }
.band > div:last-child { background: var(--plum) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath d='M48 20v56M20 48h56' stroke='%23ffc19c' stroke-width='7' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E") center / 96px 96px; }

/* where */
.where { padding: clamp(56px, 8vw, 112px) 0 0; position: relative; overflow: hidden; }
.where-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: clamp(24px, 3vw, 40px); }
.where-copy { display: grid; gap: 24px; padding-top: clamp(24px, 6vw, 96px); }
.where-copy p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; letter-spacing: -0.01em; max-width: 30ch; }
.where-city { position: relative; min-height: 360px; }
.where-city h3 { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4vw, 60px); letter-spacing: -0.03em; line-height: 1; position: relative; z-index: 1; }
.ghost { position: absolute; right: -0.05em; top: 0.35em; font-family: var(--display); font-weight: 500; font-size: clamp(140px, 22vw, 340px); line-height: 0.8; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 2px var(--plum); opacity: 0.55; user-select: none; pointer-events: none; }
.team-photo { position: relative; z-index: 1; margin-top: clamp(96px, 14vw, 200px); aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0 0 0 clamp(60px, 10vw, 160px); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

/* who */
.who { padding: clamp(56px, 8vw, 112px) 0; position: relative; overflow: hidden; }
.who .ghost { left: -0.04em; right: auto; top: -0.1em; }
.who .giant { position: relative; z-index: 1; margin-left: clamp(0px, 18vw, 280px); }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-top: clamp(32px, 4vw, 56px); position: relative; z-index: 1; }
.who-photo { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 0 clamp(60px, 10vw, 160px) 0 0; }
.who-photo img { width: 100%; height: 100%; object-fit: cover; }
.who-copy { display: grid; gap: 14px; padding-bottom: 24px; padding-left: clamp(0px, 8vw, 120px); }
.who-copy .name { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.02em; line-height: 1.1; }
.who-copy .tag { font-weight: 800; font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: -0.03em; max-width: 12ch; }

/* full photo */
.full { height: clamp(320px, 60vh, 640px); overflow: hidden; }
.full img { width: 100%; height: 100%; object-fit: cover; }

/* footer */
.footer { background: var(--ink); color: var(--paper); padding: clamp(40px, 5vw, 72px) var(--pad) 32px; }
.giant-word { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 8.6vw, 150px); line-height: 0.9; letter-spacing: -0.04em; white-space: nowrap; }
.giant-word span { color: var(--peach); font-weight: 400; }
.foot-sub { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 2vw, 28px); margin-top: 6px; letter-spacing: -0.01em; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-top: clamp(48px, 7vw, 120px); font-size: 17px; }
.foot-grid ul { display: grid; gap: 6px; align-content: start; }
.foot-grid a:hover { color: var(--peach); }
.footer address { font-style: normal; line-height: 1.6; color: rgba(251, 250, 247, 0.8); }
.footer address a { color: var(--paper); }
.foot-legal { margin-top: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: rgba(251, 250, 247, 0.6); justify-content: center; }

/* inner pages */
.page-head { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); display: grid; gap: 24px; }
.page-head p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; letter-spacing: -0.01em; max-width: 42ch; }
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.rows { border-top: 2px solid var(--ink); margin: clamp(32px, 4vw, 56px) 0 clamp(56px, 8vw, 112px); }
.row { display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.row .n { font-family: var(--display); font-weight: 400; font-size: 28px; color: var(--plum); line-height: 1; }
.row h2 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; line-height: 1.15; }
.row p { color: var(--ink-2); max-width: 56ch; }
.row p + p { margin-top: 10px; }
.row small { display: block; margin-top: 10px; font-weight: 600; color: var(--ink); }
.callout { background: var(--plum); color: var(--paper); border-radius: 0 clamp(60px, 10vw, 160px) 0 0; padding: clamp(32px, 5vw, 72px) var(--pad); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-bottom: clamp(56px, 8vw, 112px); }
.callout .display { font-size: clamp(24px, 2.8vw, 40px); max-width: 22ch; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: clamp(56px, 8vw, 112px); }
.card { display: grid; gap: 14px; }
.card figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0 0 clamp(40px, 6vw, 96px) 0; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover img { transform: scale(1.03); }
.card h2 { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.card h2::before { content: "+"; color: var(--peach); font-weight: 400; margin-right: 0.3em; }
.card p { color: var(--ink-2); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; margin: clamp(32px, 4vw, 56px) 0 clamp(56px, 8vw, 112px); }
.team li { border-top: 2px solid var(--ink); padding-top: 12px; }
.team b { display: block; font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.team span { color: var(--ink-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: clamp(56px, 8vw, 112px); }
.prose { display: grid; gap: 18px; }
.prose h2 { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -0.02em; line-height: 1.1; }
.prose p { color: var(--ink-2); max-width: 56ch; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea { font: 400 17px/1.4 var(--body); background: var(--paper-2); border: 0; border-bottom: 2px solid var(--ink); padding: 12px 14px; color: var(--ink); border-radius: 8px 8px 0 0; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--plum); }
.form .pill { justify-self: start; }
.form-status { font-weight: 600; color: var(--plum); min-height: 1.4em; }
.contact-side { display: grid; gap: 24px; }
.contact-side .photo-round { aspect-ratio: 4 / 3; }

/* demo note */
.demo-note { position: fixed; left: 12px; bottom: 12px; z-index: 50; padding: 6px 10px; border-radius: 999px; background: rgba(22, 21, 26, 0.6); color: rgba(251, 250, 247, 0.85); font: 500 11px/1 var(--body); backdrop-filter: blur(6px); }
.demo-note:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) { * { transition-duration: 0.001s !important; } html { scroll-behavior: auto; } }
@media (max-width: 960px) {
  :root { --header: 72px; }
  .pill-ghost.header-cta { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero figure { aspect-ratio: 4 / 3; }
  .formula { min-height: 60vh; }
  .what-grid, .where-grid, .who-grid, .intro-split, .two { grid-template-columns: 1fr; }
  .row { grid-template-columns: 56px 1fr; }
  .row p:first-of-type { grid-column: 2; }
  .row > div:last-child { grid-column: 2; }
  .cards, .team { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .who .giant { margin-left: 0; }
  .who-copy { padding-left: 0; }
  .callout { grid-template-columns: 1fr; }
  .where-city { min-height: 0; }
  .team-photo { margin-top: 48px; }
}
@media (max-width: 560px) {
  .cards, .team, .foot-grid { grid-template-columns: 1fr; }
  .band { height: 90px; }
  .header-r .pill { height: 40px; padding: 0 18px; }
  .word small { display: none; }
}
