/* JYL & Co — site styles. Brand: green #1A4332, gold #D4AF37, maroon #5A302F, ink #212121.
   Layout: one centred 1120px column; sections alternate stone and white bands; maroon bar marks each section break. */

@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

:root {
  --green: #1A4332;
  --green-deep: #10291F;
  --green-hover: #143627;
  --green-soft: #E6EEE9;
  --gold: #D4AF37;
  --gold-text: #8A6D12;
  --gold-soft: #F7F0D9;
  --maroon: #5A302F;
  --ink: #212121;
  --muted: #4E565B;
  --bg: #F6F6F4;
  --surface: #FFFFFF;
  --line: #E1E3DD;
  --field: #C7CBC3;
  --on-dark: #DCE6E0;
  --on-dark-muted: #B7C6BD;   /* secondary text on dark green */
  --error: #A1342A;           /* form errors only */
  --error-soft: #FBEAE7;
  --font-head: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 8px;
  --max: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.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)); }
.narrow { max-width: 820px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-weight: 700; font-size: clamp(2.05rem, 4.4vw, 3.3rem); line-height: 1.08; letter-spacing: -0.025em; margin: .7rem 0 1.1rem; }
h2 { font-weight: 700; font-size: clamp(1.55rem, 2.9vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; margin: .45rem 0 .9rem; }
h3 { font-weight: 600; font-size: 1.15rem; line-height: 1.3; margin: 0 0 .5rem; }
.eyebrow { margin: 0; font: 600 .78rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.lede { font-size: 1.2rem; line-height: 1.5; color: var(--muted); max-width: 62ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.25rem; border-radius: 6px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn-sm { padding: .55rem .95rem; font-size: .95rem; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); color: #fff; }
.btn-ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green-soft); }
.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: var(--gold); filter: brightness(1.07); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { border-color: var(--gold); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; position: relative; }
.wordmark { display: inline-flex; align-items: baseline; gap: .22rem; text-decoration: none; color: var(--green); font: 700 1.7rem/1 var(--font-head); letter-spacing: -.03em; }
.wordmark span { font: 600 .9rem/1 var(--font-head); letter-spacing: 0; color: var(--gold-text); }
.wordmark-light { color: #fff; }
.wordmark-light span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-top { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav-top:hover, .nav-top[aria-current="page"], .nav-group:focus-within > .nav-top { color: var(--green); border-bottom-color: var(--gold); }
.nav-group { position: relative; }
.nav-group > .nav-top::after { content: ""; width: .4rem; height: .4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .65; }
.nav-drop { position: absolute; top: 100%; left: -1rem; padding-top: .55rem; display: none; z-index: 60; }
.nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop { display: block; }
.nav-drop-box { min-width: 17rem; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .4rem; box-shadow: 0 18px 36px -18px rgba(26,67,50,.4); }
.nav-drop-box a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .6rem .8rem; border-radius: 6px; }
.nav-drop-box a:hover, .nav-drop-box a:focus-visible { background: var(--green-soft); color: var(--green); }
.menu { display: none; }
.menu summary { list-style: none; display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; font-weight: 600; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 6px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.menu-panel { display: flex; flex-direction: column; gap: .25rem; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
  padding: .75rem max(20px, env(safe-area-inset-right, 0px)) 1.25rem max(20px, env(safe-area-inset-left, 0px)); box-shadow: 0 16px 24px -16px rgba(0,0,0,.18); }
.menu-panel a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.menu-panel { max-height: calc(100vh - 70px); overflow-y: auto; }
.menu-label { margin: .9rem 0 0; font: 600 .72rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.menu-label:first-child { margin-top: .2rem; }
.menu-panel .btn { margin-top: .75rem; }
@media (max-width: 920px) { .nav { display: none; } .menu { display: block; } }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.trust { list-style: none; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: .6rem 1.75rem; margin: 2rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.trust strong { color: var(--ink); display: block; font-family: var(--font-head); font-size: 1rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Month-end pack card */
.pack { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.4rem 1.2rem; box-shadow: 0 24px 48px -28px rgba(26,67,50,.45); }
.pack-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.pack-title { font: 600 1.02rem/1.3 var(--font-head); }
.pack-sub { font-size: .88rem; color: var(--muted); }
.pack ul { list-style: none; margin: .9rem 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.pack li { display: grid; grid-template-columns: 1.35rem 1fr; gap: .55rem; align-items: start; font-size: .98rem; line-height: 1.4; }
.pack li::before { content: ""; width: 1.35rem; height: 1.35rem; border-radius: 50%; margin-top: .02rem; }
.pack li.done::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.pack li.query::before { background: var(--gold-soft); border: 2px solid var(--gold); }
.pack li.next::before { border: 2px dashed var(--field); }
.pack li.query { color: var(--ink); }
.pack li.query em { font-style: normal; display: block; font-size: .85rem; color: var(--gold-text); font-weight: 600; }
.pack-foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.pack-foot b { color: var(--maroon); font-weight: 600; }
.tag { display: inline-block; font: 600 .72rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); background: var(--gold-soft); padding: .15rem .5rem; border-radius: 3px; white-space: nowrap; }

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 2.25rem; }
.section-head::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--maroon); margin-bottom: 1.1rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; max-width: 64ch; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; } }
.prose-col p { max-width: 64ch; }

/* Grids and cards */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.section.alt .card { background: var(--bg); }
.card p { color: var(--muted); margin: 0; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(26,67,50,.5); }
.card .more { margin-top: auto; padding-top: .6rem; font-weight: 600; color: var(--green); }
.card .more::after { content: " \2192"; }
.card-kicker { font: 600 .74rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }

/* Lists */
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.85rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .25rem; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%231A4332' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/78% no-repeat; }
.flags { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.flags li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 6px; padding: .9rem 1.1rem; }
.section.alt .flags li { background: var(--bg); }
.flags strong { display: block; font-family: var(--font-head); font-size: 1rem; margin-bottom: .2rem; }
.flags span { color: var(--muted); }

/* Four-part position note list */
.parts { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.parts li { border-top: 2px solid var(--gold); padding-top: .65rem; }
.parts strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.parts span { color: var(--muted); font-size: .98rem; }
@media (max-width: 520px) { .parts { grid-template-columns: 1fr; } }
.note { font-size: .95rem; color: var(--muted); background: var(--green-soft); border-radius: 6px; padding: .85rem 1rem; }
.section.alt .note { background: var(--green-soft); }

/* Memo */
.memo { margin: 0; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 22px 44px -30px rgba(26,67,50,.55); }
.memo-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.memo-kind { font: 700 1.05rem/1.2 var(--font-head); color: var(--green); }
.memo dl { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .9rem 1rem; margin: 0; }
.memo dt { font: 600 .74rem/1.5 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--gold-text); padding-top: .15rem; }
.memo dd { margin: 0; font-size: .98rem; line-height: 1.5; }
.opts { margin: 0; padding-left: 1.15rem; display: flex; flex-direction: column; gap: .6rem; }
.opts .pro, .opts .con { display: block; font-size: .92rem; padding-left: 1rem; position: relative; color: var(--muted); }
.opts .pro::before { content: "+"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.opts .con::before { content: "\2212"; position: absolute; left: 0; color: var(--maroon); font-weight: 700; }
.decide { display: flex; align-items: center; gap: .35rem; color: var(--muted); }
.box { display: inline-block; width: .95rem; height: .95rem; border: 1.5px solid var(--field); border-radius: 3px; }
.memo-note { margin: 1.1rem 0 0; font-size: .82rem; color: var(--muted); }
@media (max-width: 560px) { .memo dl { grid-template-columns: 1fr; gap: .35rem; } .memo dd { margin-bottom: .6rem; } }

/* Steps: flex-wrap so 5, 4 or 3 steps fill each row without an orphan cell */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.steps li { flex: 1 1 12rem; counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.steps-3 li { flex-basis: 16rem; }
.steps-4 li { flex-basis: 13rem; }
.section.alt .steps li { background: var(--bg); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 700 .9rem/1 var(--font-head); color: var(--gold-text); }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
.mode { margin-top: auto; padding-top: .4rem; font-size: .8rem; font-weight: 600; color: var(--green); }

/* Roles table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .98rem; }
th, td { text-align: left; vertical-align: top; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
th { font: 600 .78rem/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); background: var(--bg); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; white-space: nowrap; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font: 600 1.05rem/1.4 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 0 1.2rem; color: var(--muted); max-width: 70ch; }
.faq-points { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .45rem; }
.faq-points li { padding-left: 1rem; position: relative; }
.faq-points li::before { content: ""; position: absolute; left: 0; top: .7em; width: .35rem; height: .35rem; border-radius: 50%; background: var(--gold); }
.faq-points strong { color: var(--ink); font-weight: 600; }

/* CTA band */
.cta-band { background: var(--green); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); position: relative; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold); }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-row > div:first-child { max-width: 560px; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: var(--on-dark); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Inner page hero */
.page-hero { padding-block: clamp(2.25rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--muted); }

/* Partners */
.person { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
.creds { font: 600 .9rem/1.4 var(--font-body); color: var(--gold-text); margin: -.2rem 0 .6rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .req { color: var(--maroon); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--field); border-radius: 6px; padding: .7rem .85rem; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.field .err { display: block; color: var(--error); font-size: .9rem; margin-top: .3rem; }
.consent { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: .65rem; align-items: start; font-size: .95rem; color: var(--muted); }
.consent input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--green); }
.form-status { border-radius: 6px; padding: .85rem 1rem; font-weight: 600; }
.form-status.ok { background: var(--green-soft); color: var(--green); }
.form-status.bad { background: var(--error-soft); color: var(--error); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.contact-list .label { display: block; font: 600 .74rem/1.4 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.contact-list address { font-style: normal; }

/* Privacy notice */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.6rem; margin-top: 0; }
.prose h3 { margin-top: 2rem; font-size: 1.12rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .35rem; }
.lang-switch { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.draft-flag { background: var(--gold-soft); border: 1px solid var(--gold); border-radius: 6px; padding: .8rem 1rem; font-weight: 600; color: var(--gold-text); }
.lang-block + .lang-block { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.lang-block[hidden] + .lang-block { margin-top: 0; padding-top: 0; border-top: 0; }
.lang-switch a[aria-current="true"] { background: var(--green); border-color: var(--green); color: #fff; }
[hidden] { display: none !important; }

/* Footer */
.site-footer { background: var(--green-deep); color: var(--on-dark); padding-block: 3.5rem 1.5rem; font-size: .97rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,.35); }
.site-footer a:hover { text-decoration-color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin-top: 1rem; max-width: 36ch; }
.footer-brand .reg { font-size: .88rem; color: var(--on-dark-muted); }
.footer-h { font: 600 .78rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; margin-bottom: .8rem; }
.footer-serve { margin: 0 0 1rem; padding-left: .7rem; border-left: 2px solid var(--gold); color: #fff; font-weight: 600; line-height: 1.45; }
.footer-sub { margin: 0 0 .2rem; font-size: .82rem; letter-spacing: .04em; color: var(--on-dark-muted); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; color: var(--on-dark-muted); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .cta-band, .site-footer, .skip { display: none; } body { background: #fff; } }

/* ---------- Illustrations ---------- */
/* Home hero: illustration panel with two status chips (real text, crawlable) */
.hero-visual { position: relative; padding-block: 1.4rem 1.6rem; }
.hero-art { border-radius: 16px; background: var(--green-soft); border: 1px solid var(--line); overflow: hidden; aspect-ratio: 14 / 11; }
.hero-art img, .page-hero-art img, .card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; margin: 0; display: flex; align-items: center; gap: .7rem; max-width: 17.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: .7rem .95rem; font-size: .9rem; line-height: 1.35; color: var(--muted); box-shadow: 0 18px 34px -22px rgba(26,67,50,.6); }
.chip strong { display: block; color: var(--ink); font: 600 .95rem/1.3 var(--font-head); }
.chip-top { top: 0; right: 1rem; }
.chip-bottom { bottom: 0; left: 1rem; }
.chip-icon { flex: none; width: 2rem; height: 2rem; border-radius: 50%; }
.chip-icon--gold { background: var(--gold-soft); border: 2.5px solid var(--gold); }
.chip-icon--done { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat; }
@media (max-width: 560px) {
  .hero-visual { padding: 0; display: flex; flex-direction: column; gap: .6rem; }
  .chip { position: static; max-width: none; }
}

/* Inner page heroes with an illustration */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.page-hero-art { margin: 0; border-radius: 14px; background: var(--green-soft); border: 1px solid var(--line); overflow: hidden; aspect-ratio: 16 / 10; }
.page-hero-grid h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-art { max-width: 520px; } }

/* Card illustrations */
.card-media { display: block; margin: -1.5rem -1.5rem .85rem; aspect-ratio: 16 / 10; background: var(--green-soft); border-bottom: 1px solid var(--line);
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; overflow: hidden; }
a.card:hover .card-media img { transform: scale(1.03); }
.card-media img { transition: transform .25s ease; }

/* Steps stacked in a narrow column */
.steps-stack li { flex-basis: 100%; }

/* Fees (bookkeeping page): two tiers described by volume, what both include, how we quote,
   and a named partner to talk to. No published prices. */
/* Bookkeeping: software note under "What's included" */
.software-note { margin-top: 1.25rem; padding: 1.25rem 1.5rem; background: var(--green-soft); border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: .5rem 2rem; align-items: start; }
.software-note h3 { font-size: 1.1rem; margin-top: .2rem; }
.software-note > p { margin: 0; color: var(--ink); max-width: 64ch; }
@media (max-width: 760px) { .software-note { grid-template-columns: 1fr; } }

/* Bookkeeping: payment set-up (maker only; the client approves) */
.pay-cover { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
@media (max-width: 800px) { .pay-cover { grid-template-columns: 1fr; } }
.pay-list { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; }
.pay-list li { padding: .7rem 0; border-top: 1px solid var(--line); }
.pay-list li:last-child { padding-bottom: 0; }
.pay-list strong { display: block; font: 600 1rem/1.35 var(--font-head); color: var(--ink); }
.pay-list span { color: var(--muted); font-size: .97rem; }
.card.pay-setup { background: var(--green-soft); border-color: transparent; border-left: 4px solid var(--gold); }
.card.pay-setup p:not(.card-kicker) { color: var(--ink); }
.pay-note { margin: 1rem 0 0; color: var(--muted); font-size: .97rem; }
.pay-note a { white-space: nowrap; }
.fee-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 1.25rem; align-items: stretch; }
@media (max-width: 1000px) { .fee-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fee-included { grid-column: 1 / -1; } }
@media (max-width: 640px) { .fee-plans { grid-template-columns: 1fr; } }
.fee-plan { background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.fee-plan h3 { font-size: 1.65rem; }
.fee-scope { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; }
.fee-scope li { padding: .75rem 0; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.4; }
.fee-scope strong { display: block; font: 700 1.15rem/1.25 var(--font-head); color: var(--green); }
.fee-included { position: relative; overflow: hidden; background: var(--green); color: var(--on-dark); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.fee-included h3 { color: #fff; font-size: 1.2rem; }
.fee-included .ticks li::before { background-color: var(--gold-soft); }
.fee-extra { margin: auto 0 0; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .95rem; color: var(--on-dark-muted); }
.fee-between { margin: 1.1rem 0 0; color: var(--muted); }
.fee-quote { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); margin-top: clamp(2.5rem, 6vw, 3.75rem); align-items: center; }
@media (max-width: 900px) { .fee-quote { grid-template-columns: 1fr; } }
.fee-how h3 { font-size: 1.2rem; margin-bottom: 1.1rem; }
.fee-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 640px) { .fee-steps { grid-template-columns: 1fr; gap: 1rem; } }
.fee-steps li, .section.alt .fee-steps li { background: none; border: 0; border-top: 2px solid var(--gold); border-radius: 0; padding: .85rem 0 0; }
.fee-steps h4 { margin: 0; font: 600 1.03rem/1.3 var(--font-head); color: var(--ink); }
.fee-contact { background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .85rem; min-width: 0; }
.fee-partners { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.fee-partners strong { display: block; font: 600 1.1rem/1.25 var(--font-head); color: var(--ink); }
.fee-partners span { font-size: .9rem; color: var(--muted); }
.fee-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.fee-actions .btn { flex: 1 1 auto; }
@media (min-width: 641px) and (max-width: 900px) {
  .fee-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .85rem 2rem; }
  .fee-contact .card-kicker { grid-column: 1 / -1; }
  .fee-actions { flex-direction: column; }
}

/* Position-note outline card (replaces the example notes) */
.parts-card { align-self: start; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.parts-card .parts { margin: 0 0 1.1rem; }
.parts-lead { margin: 0 0 1rem; font-weight: 600; color: var(--ink); }
.parts-close { margin: 0; color: var(--ink); }
.who-does h3 { margin-bottom: .75rem; }

/* Home: note under the industry cards, for businesses outside the four focus industries */
.industries-note { margin: 1.25rem 0 0; color: var(--muted); }

/* Bookkeeping page: optional extra noted under a list card */
.card .card-note { margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }

/* Home hero heading: each sentence starts on its own line */
.h1-line { display: block; }

/* Language switcher: "BM · 中文" dropdown on desktop, a row of buttons at the top of the mobile menu */
.nav-lang .nav-top { cursor: pointer; }
.nav-lang .globe { flex: none; opacity: .75; }
.nav-lang .nav-drop { left: auto; right: -1rem; }
.nav-lang .nav-drop-box { min-width: 12rem; }
.nav-drop-box a[aria-current="page"] { color: var(--green); background: var(--green-soft); }
.menu-panel .menu-langs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .2rem 0 .9rem; border-bottom: 1px solid var(--line); }
.menu-panel .menu-langs .globe { color: var(--gold-text); margin-right: .1rem; }
.menu-panel .menu-langs a { padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; line-height: 1.2; }
.menu-panel .menu-langs a[aria-current="page"] { background: var(--green); border-color: var(--green); color: #fff; }
.menu-langs + .menu-label { margin-top: .9rem; }
.site-header { background: #fff; }

/* Line spacing: lists a touch tighter than prose, and a clear gap after a list before the next paragraph or note */
.ticks { gap: .6rem; }
.ticks li { line-height: 1.5; }
.ticks + p, .ticks + .note, .ticks + div, .ticks + ul { margin-top: 1.25rem; }
/* Chinese reads better with a little more space between lines */
html:lang(zh) body { line-height: 1.75; }
html:lang(zh) .lede { line-height: 1.7; }
html:lang(zh) .ticks li { line-height: 1.7; }
@media (max-width: 640px) { .lede { font-size: 1.1rem; } }

/* ---------- Version 2: logo image in the header and footer ---------- */
.brand-logo { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo img { display: block; height: 50px; width: auto; }
@media (max-width: 560px) { .brand-logo img { height: 42px; } }
.brand-logo-footer img { height: 58px; }

/* ---------- Version 2: photo hero with Malaysia map watermark, photo slots ---------- */
.hero-v2 { position: relative; overflow: hidden; background: var(--green-deep); color: #fff; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,41,31,.96) 0%, rgba(16,41,31,.9) 42%, rgba(16,41,31,.62) 100%); }
.hero-v2-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero-v2 h1 { color: #fff; }
.hero-v2 .eyebrow { color: var(--gold); }
.hero-v2 .lede { color: var(--on-dark); }
.hero-v2 .trust { border-top-color: rgba(255,255,255,.18); color: var(--on-dark-muted); }
.hero-v2 .trust strong { color: #fff; }

.map-mark { margin: -1.5rem 0; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.my-map { width: 100%; max-width: 430px; height: auto; overflow: visible; }
.map-dot { fill: rgba(255,255,255,.26); }
.land-fill { fill: url(#map-dots); }
.land-line { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.42); stroke-width: 1.3; stroke-linejoin: round; }
.pin .dot { fill: #fff; stroke: var(--gold); stroke-width: 3; }
.pin-hq .dot { fill: var(--gold); stroke: #fff; }
.pin .pulse { fill: none; stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pin-pulse 2.4s ease-out infinite; }
@keyframes pin-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.pin text { fill: #fff; font: 600 22px var(--font-body); paint-order: stroke; stroke: rgba(16,41,31,.9); stroke-width: 4px; stroke-linejoin: round; }
.pin .sub { fill: var(--gold); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.map-mark figcaption { font-size: 1rem; line-height: 1.5; color: var(--on-dark-muted); text-align: center; }
.map-mark figcaption a { color: #fff; text-decoration-color: rgba(255,255,255,.5); }
.map-mark figcaption a:hover { text-decoration-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .pin .pulse { animation: none; opacity: 0; } }
@media (max-width: 900px) {
  .hero-v2-grid { grid-template-columns: 1fr; }
  .map-mark { margin: 0; }
  .my-map { max-width: 340px; }
  .pin text { font-size: 30px; }
  .pin .sub { font-size: 19px; }
  .hero-bg::after { background: rgba(16,41,31,.9); }
}

/* Photo slots: real photos crop to fit; missing ones show what will go there */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; width: 100%; height: 100%; padding: 1rem; text-align: center;
  background: repeating-linear-gradient(135deg, var(--green-soft) 0 12px, var(--line) 12px 24px); }
.ph-icon { width: 2rem; height: 2rem; color: var(--green); }
.ph-label { font: 600 .72rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.ph-desc { font-size: .9rem; line-height: 1.35; max-width: 24ch; color: var(--ink); }
.page-hero-art .ph-desc { font-size: 1rem; }

:root { --flip-rgb: 16, 41, 31; }
/* How we work: flip cards. Both faces are in the HTML. By default (phones, tablets, touch screens)
   the photo sits above the text with nothing hidden; on wider screens with a mouse, hover or keyboard
   focus turns the card over. */
.flips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.flip { flex: 1 1 12.5rem; min-width: 0; perspective: 1200px; }
.flip-inner { position: relative; display: block; border-radius: var(--radius); }
.flip-inner:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.flip-front, .flip-back { position: relative; overflow: hidden; }
.flip-front { height: 12rem; background: var(--green-soft); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.flip-media { position: absolute; inset: 0; display: block; }
.flip-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.flip-media .ph { padding-bottom: 4.5rem; }
.flip-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1rem 1rem;
  background: linear-gradient(180deg, rgba(var(--flip-rgb), 0) 0%, rgba(var(--flip-rgb), .88) 50%, rgba(var(--flip-rgb), .95) 100%); }
.flip-title h3 { color: #fff; margin: .3rem 0 0; font-size: 1.15rem; }
.step-no { font: 600 .85rem/1 var(--font-head); letter-spacing: .04em; color: var(--gold); }
.flip-back { background-color: var(--green);
  color: var(--on-dark); padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .55rem;
  border-radius: 0 0 var(--radius) var(--radius); }
.flip-back > .step-no, .flip-back-title { display: none; }
.flip-back p { margin: 0; font-size: .97rem; line-height: 1.5; }
.flip-back .mode { margin-top: auto; padding-top: .4rem; color: var(--gold); }
.flip-hint { display: none; }

@media (hover: hover) and (pointer: fine) and (min-width: 641px) {
  .flip-inner { height: 22rem; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
  .flip-front, .flip-back { position: absolute; inset: 0; height: auto; border-radius: var(--radius);
    -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  .flip-back { transform: rotateY(180deg); padding: 1.25rem 1.1rem; }
  .flip-back > .step-no { display: inline; }
  .flip-back-title { display: block; margin: 0; font: 600 1.15rem/1.3 var(--font-head); color: #fff; }
  .flip:hover .flip-inner, .flip-inner:focus-visible { transform: rotateY(180deg); }
  .flip-hint { display: block; margin: -1.25rem 0 1.5rem; font-size: .92rem; color: var(--muted); }
}
@media (hover: hover) and (pointer: fine) and (min-width: 641px) and (prefers-reduced-motion: reduce) {
  .flip-inner, .flip:hover .flip-inner, .flip-inner:focus-visible { transform: none; transition: none; }
  .flip-back { transform: none; opacity: 0; transition: opacity .2s; }
  .flip:hover .flip-back, .flip-inner:focus-visible .flip-back { opacity: 1; }
}

/* Home Services and Industries: the same flip cards, each one a link, in a four-column grid.
   Touch screens get the stacked layout (photo, then details), with card bottoms lined up per row. */
.flips-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1000px) { .flips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .flips-grid { grid-template-columns: 1fr; } }
.flips-grid .flip { display: flex; }
a.flip-inner { flex: 1; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.flips-grid .flip-back { flex: 1; }
.flip-kicker { display: block; font: 600 .74rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.flip-back > .flip-kicker { display: none; }
.flip-back .more { margin-top: auto; padding-top: .4rem; font-weight: 600; color: var(--gold); }
.flip-back .more::after { content: " \2192"; }
@media (hover: hover) and (pointer: fine) and (min-width: 641px) {
  .flips-grid .flip-inner { height: 20rem; }
  .flip-back > .flip-kicker { display: block; }
  .flip-back .more { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: .2em; }
}

/* Line up card contents across a row: titles, descriptions and links share rows,
   so a title that wraps to two lines doesn't push its description out of line. */
@supports (grid-template-rows: subgrid) {
  .grid > .card:not(.person) { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: .5rem; align-content: start; }
  .grid > .card:has(> .card-media) { grid-row: span 4; }
  .grid > .card:has(> .card-media):has(> .card-kicker) { grid-row: span 5; }
  .grid > .card > .more { margin-top: 0; padding-top: .35rem; align-self: end; }
}

/* ---------- Version 3: the new name card. Navy and gold foil, light grey triangle pattern,
   "JYL" watermark on navy, gold-square bullets, Source Sans throughout. ---------- */

:root {
  --green: #374A74;          /* card navy */
  --green-deep: #26325A;     /* deep navy for footer and hero */
  --green-hover: #2D3D63;
  --green-soft: #E9ECF3;
  --gold: #C9AE78;           /* foil gold on navy */
  --gold-text: #8A6C35;      /* readable gold on white */
  --gold-soft: #F5F0E4;
  --maroon: #B99E6A;         /* accent bars become gold */
  --ink: #23272F;
  --muted: #565D6A;
  --bg: #F3F4F7;
  --line: #DCE0E8;
  --field: #C3C9D4;
  --on-dark: #D6DCEA;
  --on-dark-muted: #AEB6CA;   /* secondary text on navy */
  --navy-mark: #2C3862;
}

h1, h2, h3 { font-weight: 600; }
h1 { letter-spacing: -.012em; }
h2 { letter-spacing: -.006em; }
.eyebrow { letter-spacing: .16em; }

/* Header: navy strip across the top, like the card front */
.site-header { border-top: 6px solid var(--green); }
.brand-logo { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo img { display: block; height: 50px; width: auto; }
@media (max-width: 560px) { .brand-logo img { height: 42px; } }
.nav-drop-box { box-shadow: 0 18px 36px -18px rgba(38,50,90,.35); }

/* Buttons */
.btn-gold { background: var(--gold); color: var(--green-deep); }
.btn-gold:hover { background: var(--gold); filter: brightness(1.07); }

/* Home hero: deep navy over the photo */
.hero-bg::after { background: linear-gradient(90deg, rgba(38,50,90,.96) 0%, rgba(38,50,90,.9) 42%, rgba(38,50,90,.64) 100%); }
.pin text { stroke: rgba(38,50,90,.92); }
.hero-v2 .eyebrow { color: var(--on-dark); font-weight: 600; }
.hero-v2 .trust { color: var(--on-dark-muted); }
@media (max-width: 900px) { .hero-bg::after { background: rgba(38,50,90,.92); } }

/* Inner page heroes: triangle pattern fading down, as on the card front */
.page-hero { position: relative; overflow: hidden; background: var(--surface); }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/brand/triangles.svg") left top / 720px auto repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.45) 30%, transparent 65%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.45) 30%, transparent 65%); }
@media (max-width: 640px) { .page-hero::before { -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 35%); mask-image: linear-gradient(180deg, #000 0%, transparent 35%); } }
.page-hero > .wrap { position: relative; }

/* Lists: gold squares, like the card's service list */
.ticks li { padding-left: 1.4rem; }
.ticks li::before { top: .5rem; left: .1rem; width: .55rem; height: .55rem; border-radius: 1px; background: var(--maroon); }

/* Cards and panels */
a.card:hover { box-shadow: 0 14px 28px -20px rgba(38,50,90,.5); }
.pack, .memo { box-shadow: 0 22px 44px -30px rgba(38,50,90,.5); }
.chip { box-shadow: 0 18px 34px -22px rgba(38,50,90,.55); }
.pack-foot b { color: var(--gold-text); }
.opts .con::before { color: var(--gold-text); }
.ph { background: repeating-linear-gradient(135deg, var(--green-soft) 0 12px, var(--line) 12px 24px); }

/* Partner names in Chinese, as on the card */
.zh { font: 400 .9em var(--font-body); color: var(--muted); margin-left: .35rem; }

/* Navy bands carry the "JYL" watermark from the card back */
.cta-band { overflow: hidden; }
.cta-band::after { content: ""; position: absolute; top: 0; bottom: 0; right: max(0px, calc((100vw - var(--max)) / 2 - 3rem)); width: 9rem;
  background: url("../img/brand/jyl-mark.png") center / cover no-repeat; pointer-events: none; }
.cta-row { position: relative; z-index: 1; }
@media (max-width: 700px) { .cta-band::after { width: 5.5rem; opacity: .7; } }

.site-footer { position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: max(-1rem, calc((100vw - var(--max)) / 2 - 7rem)); top: -2rem; width: 13rem; height: 26rem;
  background: url("../img/brand/jyl-mark.png") left top / contain no-repeat; opacity: .8; pointer-events: none; }
.site-footer .wrap { position: relative; }
.brand-logo-footer img { height: 58px; }
.ca-label { margin: .55rem 0 0; font: 600 .8rem/1.2 var(--font-head); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--gold); }
.site-footer a:hover { text-decoration-color: var(--gold); }

/* Flip cards: navy shade and the JYL watermark on the back */
:root { --flip-rgb: 38, 50, 90; }
.flip-back { background-image: url("../img/brand/jyl-mark.png"); background-position: right -2.5rem bottom -3rem; background-size: 6.5rem auto; background-repeat: no-repeat; }

/* Fees: gold-square bullets and the JYL watermark on the navy "Included" panel */
.fee-included .ticks li::before { background-color: var(--gold); }
.fee-included { background-image: url("../img/brand/jyl-mark.png"); background-position: right -2.5rem bottom -3rem; background-size: 6.5rem auto; background-repeat: no-repeat; }
.fee-included > * { position: relative; }

/* Footer: the tagline from the printed name card, under "Chartered Accountants" */
.footer-brand .ca-tagline { margin: .7rem 0 0; font: 600 .72rem/1.7 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
