/* Pareek Legal — shared stylesheet.
   Layout: a calm, document-like site in the logo's navy and gold, with peacock teal
   as the one lively colour. Wide header band, centred 1120px column, generous type. */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --ink: #141d3a;
  --ink-soft: #4a5372;
  --line: #d9deea;
  --navy: #13235c;
  --navy-deep: #0c173f;
  --gold: #a9802f;
  --gold-soft: #e9dcc0;
  --teal: #0d6b70;
  --on-navy: #f3f1ea;
  --on-navy-soft: #c3c8db;
  --mark: #fff1c2;
  --font-display: "Marcellus", "Trajan Pro", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --radius: 6px;
  --col: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1224; --surface: #141b33; --surface-2: #1a2342; --ink: #e9ebf3; --ink-soft: #a9b0c8;
    --line: #2a3557; --navy: #0a1230; --navy-deep: #070d24; --gold: #d2ad62; --gold-soft: #3d3420;
    --teal: #4fb6b9; --on-navy: #f3f1ea; --on-navy-soft: #b5bbd1; --mark: #4a3f17; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1224; --surface: #141b33; --surface-2: #1a2342; --ink: #e9ebf3; --ink-soft: #a9b0c8;
  --line: #2a3557; --navy: #0a1230; --navy-deep: #070d24; --gold: #d2ad62; --gold-soft: #3d3420;
  --teal: #4fb6b9; --on-navy: #f3f1ea; --on-navy-soft: #b5bbd1; --mark: #4a3f17; color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.wrap { max-width: var(--col); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.prose { max-width: 68ch; display: grid; gap: 1rem; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.tbc { background: var(--mark); padding: 0 .25em; border-radius: 3px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--navy-deep); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--navy-deep); color: var(--on-navy); border-bottom: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--on-navy); text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; }
.brand b { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; letter-spacing: .08em; display: block; line-height: 1.1; }
.brand small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-soft); }
.brand:hover { color: var(--on-navy); }
.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { color: var(--on-navy-soft); text-decoration: none; font-size: .95rem; padding: .3rem 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-navy); border-bottom-color: var(--gold); }
.nav .btn { padding: .45rem 1rem; border: 1px solid var(--gold); color: var(--on-navy); border-radius: var(--radius); }
.nav .btn:hover { background: var(--gold); color: var(--navy-deep); }
.menu-btn { display: none; background: none; border: 1px solid var(--on-navy-soft); color: var(--on-navy); border-radius: var(--radius); padding: .4rem .7rem; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-deep); padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--gold); }
  .nav.open { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid color-mix(in srgb, var(--on-navy-soft) 20%, transparent); }
  .nav .btn { margin-top: .6rem; text-align: center; }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--teal) 35%, transparent), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--on-navy); }
.hero .wrap { padding-block: 4.5rem 4rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--on-navy); }
.hero .lede { color: var(--on-navy-soft); margin-top: 1.2rem; }
.hero .tags { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero .tags span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); color: var(--gold-soft); padding: .3rem .7rem; border-radius: 99px; }
:root[data-theme="dark"] .hero .tags span { color: var(--gold); }
.hero .actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-seal { justify-self: center; width: min(320px, 100%); aspect-ratio: 1; border-radius: 50%; background: #fff; padding: 6px; box-shadow: 0 0 0 1px var(--gold), 0 20px 60px rgba(0,0,0,.35); }
.hero-seal img { border-radius: 50%; display: block; }
.page-hero .wrap { padding-block: 3.2rem 3rem; grid-template-columns: 1fr; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 3rem; } .hero-seal { width: 200px; order: -1; justify-self: start; } }

.btn-primary, .btn-ghost { display: inline-block; padding: .75rem 1.3rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: .98rem; border: 1px solid var(--gold); cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--gold); color: #10173a; }
.btn-primary:hover { background: color-mix(in srgb, var(--gold) 85%, #fff); color: #10173a; }
.btn-ghost { background: transparent; color: var(--on-navy); }
.btn-ghost:hover { background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--on-navy); }

/* Sections */
section { padding-block: 4.5rem; }
.section-head { display: grid; gap: .7rem; margin-bottom: 2.4rem; max-width: 70ch; }
.alt { background: var(--surface-2); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.area { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: .7rem; align-content: start; }
.area .code { font-size: .78rem; letter-spacing: .08em; color: var(--teal); font-weight: 600; }
.area p { color: var(--ink-soft); font-size: .98rem; }
.area a.more { font-weight: 600; font-size: .92rem; text-decoration: none; }

/* Forum ladder */
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.ladder li { position: relative; padding: 1.4rem 1.1rem 1.2rem; border-top: 3px solid var(--gold); display: grid; gap: .35rem; align-content: start; }
.ladder li + li { border-left: 1px solid var(--line); }
.ladder .stage { font-family: var(--font-display); font-size: 1.12rem; }
.ladder .law { font-size: .8rem; color: var(--teal); font-weight: 600; letter-spacing: .04em; }
.ladder .when { font-size: .9rem; color: var(--ink-soft); }
.ladder li::before { counter-increment: step; content: counter(step); position: absolute; top: -15px; left: 1.1rem; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--on-navy); border: 2px solid var(--gold); font-size: .8rem; display: grid; place-items: center; font-weight: 700; }
@media (max-width: 900px) {
  .ladder { grid-template-columns: 1fr; }
  .ladder li { border-top: 0; border-left: 3px solid var(--gold) !important; padding: .9rem 0 1.4rem 2.2rem; }
  .ladder li::before { top: .8rem; left: -15px; }
}

.note { font-size: .88rem; color: var(--ink-soft); margin-top: 1.4rem; max-width: 80ch; }

/* Practice detail */
.practice { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2.5rem; padding-block: 2.6rem; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.practice:first-of-type { border-top: 0; }
.practice aside { display: grid; gap: .6rem; align-content: start; }
.practice aside .refs { font-size: .85rem; color: var(--teal); font-weight: 600; line-height: 1.5; }
.practice h3 + p { margin-top: .4rem; }
.practice ul { margin: .8rem 0 0; padding-left: 1.2rem; display: grid; gap: .35rem; color: var(--ink-soft); }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.toc a { font-size: .85rem; text-decoration: none; border: 1px solid color-mix(in srgb, var(--on-navy-soft) 50%, transparent); color: var(--on-navy); padding: .35rem .8rem; border-radius: 99px; }
.toc a:hover { border-color: var(--gold); color: var(--on-navy); }
@media (max-width: 760px) { .practice { grid-template-columns: 1fr; gap: 1rem; } }

/* Team */
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.person .avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-size: 2rem; border: 2px solid var(--gold); }
.person h3 { font-size: 1.25rem; }
.person .role { color: var(--teal); font-weight: 600; font-size: .92rem; }
.person dl { margin: .8rem 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem 1rem; font-size: .92rem; }
.person dt { color: var(--ink-soft); }
.person dd { margin: 0; }
.person p { margin-top: .8rem; color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 520px) { .person { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.values div { display: grid; gap: .5rem; border-top: 1px solid var(--gold); padding-top: 1rem; }
.values p { color: var(--ink-soft); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* Insights */
.article-list { display: grid; gap: 1.2rem; }
.article-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; display: grid; gap: .5rem; }
.article-card .meta { font-size: .82rem; color: var(--ink-soft); letter-spacing: .04em; }
.article-card p { color: var(--ink-soft); }
article.post { padding-block: 3rem; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
article.post header { display: grid; gap: .6rem; margin-bottom: 1.4rem; max-width: 68ch; }
article.post h3 { font-size: 1.15rem; margin-top: .6rem; }
.callout { border-left: 3px solid var(--teal); background: var(--surface-2); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--ink-soft); font-size: .85rem; letter-spacing: .04em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2.5rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form.enquiry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field .hint { font-size: .82rem; color: var(--ink-soft); }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
input, select, textarea { font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .65rem .8rem; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--gold) 70%, transparent); border-color: var(--gold); }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.check input { width: auto; margin-top: .3rem; }
.form-status { font-size: .95rem; padding: .8rem 1rem; border-radius: var(--radius); background: var(--surface-2); }
.office { display: grid; gap: 1.2rem; align-content: start; }
.office .block { display: grid; gap: .2rem; }
.office .label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.copy-btn { font: inherit; font-size: .8rem; margin-left: .5rem; background: none; border: 1px solid var(--line); color: var(--ink-soft); border-radius: 4px; padding: .05rem .45rem; cursor: pointer; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-soft); font-size: .92rem; }
.site-footer .wrap { padding-block: 3rem 2rem; display: grid; gap: 2rem; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { margin: 0 0 .6rem; font-family: var(--font-display); font-weight: 400; color: var(--on-navy); font-size: 1.05rem; letter-spacing: .06em; }
.site-footer a { color: var(--on-navy-soft); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.foot-disclaimer { border-top: 1px solid color-mix(in srgb, var(--on-navy-soft) 25%, transparent); padding-top: 1.4rem; font-size: .82rem; line-height: 1.6; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr; } }

/* Bar Council disclaimer gate */
.gate { position: fixed; inset: 0; z-index: 100; background: rgba(7, 12, 32, .82); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.gate-box { background: var(--surface); color: var(--ink); max-width: 640px; width: 100%; max-height: 100%; overflow-y: auto; border-radius: var(--radius); border-top: 4px solid var(--gold); padding: 2rem; display: grid; gap: 1rem; }
.gate-box ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; color: var(--ink-soft); font-size: .95rem; }
.gate-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.gate .btn-ghost { color: var(--ink); }
.nav .btn.login { background: var(--gold); color: #10173a; }
.nav .btn.login:hover { background: color-mix(in srgb, var(--gold) 85%, #fff); color: #10173a; }
@media (min-width: 861px) { .nav .btn.login { margin-left: -.8rem; } }

/* ===== v2: colourful look matching the client login (navy, gold, peacock) ===== */
:root { --t-teal: #0d8a8f; --t-navy: #2b3f8f; --t-emerald: #1f8a5b; --t-plum: #7b3f8c; --t-coral: #c2553d; --t-blue: #2867b2; --t-gold: #a9802f; --tile-line: #e3e7f1; --shadow: rgba(19, 35, 92, .07); --shadow-h: rgba(19, 35, 92, .15); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --t-teal: #2fb3b8; --t-navy: #6d86e0; --t-emerald: #3cb47e; --t-plum: #b07ac2; --t-coral: #e07a62; --t-blue: #5c9be0; --t-gold: #d2ad62; --tile-line: #2a3557; --shadow: rgba(0,0,0,.25); --shadow-h: rgba(0,0,0,.45); } }
:root[data-theme="dark"] { --t-teal: #2fb3b8; --t-navy: #6d86e0; --t-emerald: #3cb47e; --t-plum: #b07ac2; --t-coral: #e07a62; --t-blue: #5c9be0; --t-gold: #d2ad62; --tile-line: #2a3557; --shadow: rgba(0,0,0,.25); --shadow-h: rgba(0,0,0,.45); }
.t-teal { --tc: var(--t-teal); } .t-navy { --tc: var(--t-navy); } .t-emerald { --tc: var(--t-emerald); } .t-plum { --tc: var(--t-plum); }
.t-coral { --tc: var(--t-coral); } .t-blue { --tc: var(--t-blue); } .t-gold { --tc: var(--t-gold); }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* hero art */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 10%, rgba(31, 163, 168, .35), transparent 45%), radial-gradient(circle at 10% 100%, rgba(123, 63, 140, .35), transparent 45%), linear-gradient(135deg, #0c173f 0%, #13235c 55%, #0d4a63 100%); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #e9dcc0, #c9a045 40%, #5fd0c9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feather { position: absolute; pointer-events: none; z-index: 0; }
.feather.f1 { width: 230px; right: 34%; top: -40px; transform-origin: 50% 100%; animation: sway 9s ease-in-out infinite; opacity: .28; }
.feather.f2 { width: 180px; left: -40px; bottom: -170px; transform-origin: 50% 100%; animation: sway2 11s ease-in-out infinite; opacity: .35; }
.page-hero .feather.f2 { left: auto; right: 6%; bottom: -230px; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; animation: drift 14s ease-in-out infinite; z-index: 0; }
.orb.o1 { width: 120px; height: 120px; right: 6%; bottom: 8%; background: radial-gradient(circle, rgba(201, 160, 69, .5), transparent 70%); }
.orb.o2 { width: 70px; height: 70px; left: 46%; top: 12%; background: radial-gradient(circle, rgba(31, 163, 168, .6), transparent 70%); animation-delay: -5s; }
.orb.o3 { width: 40px; height: 40px; left: 8%; top: 22%; background: radial-gradient(circle, rgba(233, 220, 192, .7), transparent 70%); animation-delay: -9s; }
@keyframes sway { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(-2deg); } }
@keyframes sway2 { 0%, 100% { transform: rotate(14deg) scale(.8); } 50% { transform: rotate(8deg) scale(.8); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(20px, -16px); } }
.hero-seal { position: relative; z-index: 1; }

/* practice tiles */
.tile { position: relative; overflow: hidden; display: grid; gap: .5rem; align-content: start; background: var(--surface); border: 1px solid var(--tile-line); border-radius: 16px; padding: 1.5rem 1.3rem 1.1rem; text-decoration: none; color: var(--ink); box-shadow: 0 6px 22px var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--tc), color-mix(in srgb, var(--tc) 40%, #e9dcc0)); }
.tile::after { content: ""; position: absolute; width: 140px; height: 140px; right: -50px; top: -50px; border-radius: 50%; background: color-mix(in srgb, var(--tc) 10%, transparent); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 16px 34px var(--shadow-h); border-color: color-mix(in srgb, var(--tc) 50%, var(--tile-line)); color: var(--ink); }
.tile h3 { font-size: 1.25rem; position: relative; z-index: 1; }
.tile .code { font-size: .78rem; font-weight: 700; color: var(--tc); letter-spacing: .03em; }
.tile p { color: var(--ink-soft); font-size: .96rem; }
.tile .more { display: inline-flex; align-items: center; gap: .3rem; color: var(--tc); font-weight: 700; font-size: .9rem; margin-top: .3rem; padding-top: .7rem; border-top: 1px dashed var(--tile-line); }
.tile-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--tc, var(--teal)) 70%, #fff), var(--tc, var(--teal))); position: relative; z-index: 1; }
.tile-ico .ico { width: 26px; height: 26px; }

/* practice page */
.practice aside .tile-ico { margin-bottom: .3rem; }
.practice aside .refs { color: var(--tc); }
.practice ul li::marker { color: var(--gold); }

/* method cards */
.values.feats .feat { border-top: 0; background: var(--surface); border: 1px solid var(--tile-line); border-radius: 16px; padding: 1.4rem 1.3rem; box-shadow: 0 6px 22px var(--shadow); gap: .6rem; }
.feat-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.feat-ico .ico { width: 24px; height: 24px; }
.feats .feat:nth-child(1) .feat-ico { background: linear-gradient(135deg, #1fa3a8, #0d6b70); }
.feats .feat:nth-child(2) .feat-ico { background: linear-gradient(135deg, #d2ad62, #a9802f); }
.feats .feat:nth-child(3) .feat-ico { background: linear-gradient(135deg, #9a5bb0, #7b3f8c); }

/* ladder in peacock colours */
.ladder li { border-top-color: transparent; border-image: linear-gradient(90deg, #c9a045, #1fa3a8, #7b3f8c) 1; border-image-width: 3px 0 0 0; }
.ladder li:nth-child(2)::before { background: var(--gold); color: #10173a; }
.ladder li:nth-child(3)::before { background: var(--t-teal); }
.ladder li:nth-child(4)::before { background: var(--t-plum); }
.ladder li:nth-child(5)::before { background: var(--t-blue); }
.ladder li:nth-child(6)::before { background: var(--t-emerald); }
@media (max-width: 900px) { .ladder li { border-image: linear-gradient(180deg, #c9a045, #1fa3a8, #7b3f8c) 1; border-image-width: 0 0 0 3px; } }

/* insights cards */
.article-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .article-list { grid-template-columns: 1fr; } }
.article-card { position: relative; overflow: hidden; text-decoration: none; color: var(--ink); border-radius: 16px; border-color: var(--tile-line); box-shadow: 0 6px 22px var(--shadow); transition: transform .2s, box-shadow .2s; align-content: start; }
.article-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--tc), color-mix(in srgb, var(--tc) 40%, #e9dcc0)); }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px var(--shadow-h); color: var(--ink); }
.article-card:nth-child(1) { --tc: var(--t-teal); } .article-card:nth-child(2) { --tc: var(--t-emerald); } .article-card:nth-child(3) { --tc: var(--t-navy); }
.article-card .tile-ico { width: 42px; height: 42px; border-radius: 12px; }

/* people */
.person { border-radius: 16px; box-shadow: 0 6px 22px var(--shadow); border-color: var(--tile-line); }
.person .avatar { background: radial-gradient(circle at 30% 25%, #1fa3a8, #13235c 70%); color: #e9dcc0; }
.person.solo { max-width: 640px; }
.area, form.enquiry { border-radius: 16px; }

@media (prefers-reduced-motion: reduce) { .feather, .orb { animation: none !important; } .tile, .article-card { transition: none; } }
.values.feats .feat { align-content: start; }
.tile { grid-template-rows: auto auto auto 1fr auto; }
.tile .more { align-self: end; }
.values > div { align-content: start; }

/* team v3 */
.founder { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 2.4rem; align-items: start; background: var(--surface); border: 1px solid var(--tile-line); border-radius: 18px; padding: 2rem; box-shadow: 0 6px 22px var(--shadow); position: relative; overflow: hidden; }
.founder::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, #c9a045, #1fa3a8, #7b3f8c); }
.founder-photo { position: relative; }
.founder-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--gold), 0 18px 40px var(--shadow-h); }
.founder-body { display: grid; gap: .5rem; min-width: 0; }
.founder-body h3 { font-size: 1.8rem; }
.founder-body .role { color: var(--teal); font-weight: 600; }
.founder-body dl { margin: .6rem 0 .4rem; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: .45rem 1rem; font-size: .96rem; }
.founder-body dt { color: var(--ink-soft); font-weight: 600; }
.founder-body dd { margin: 0; }
.founder-body .prose { color: var(--ink-soft); gap: .7rem; }
.founder-body .links { font-size: .92rem; margin-top: .4rem; color: var(--ink-soft); }
.team-grid { margin-top: 1.4rem; }
.person p { margin-top: .8rem; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; padding: 1.4rem; } .founder-photo { width: 220px; } .founder-body dl { grid-template-columns: 1fr; gap: .1rem; } .founder-body dd { margin-bottom: .5rem; } }
.person .avatar-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: block; border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--gold); }

/* v1.1 (24 Nov 2026): phone header, footer tap targets, privacy and 404 pages */
.brand span { display: grid; gap: .15rem; min-width: 0; }
.brand small { display: block; line-height: 1.25; }
@media (max-width: 420px) {
  .brand { gap: .6rem; }
  .brand img { width: 40px; height: 40px; }
  .brand b { font-size: 1.1rem; letter-spacing: .06em; }
  .brand small { font-size: .6rem; letter-spacing: .1em; }
}
@media (max-width: 760px) {
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding-block: .45rem; }
}
.prose h3 { margin: .6rem 0 0; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.prose .table-wrap { margin: 0; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .55rem .7rem; border-bottom: 1px solid var(--line, rgba(0,0,0,.12)); }
.prose th { font-weight: 600; }
.note { font-size: .92rem; color: var(--ink-soft); }
.notfound { text-align: center; justify-items: center; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
