@import url('fonts.css');

:root {
  --granite: #EDEFF1;      /* Aberdeen granite, light */
  --granite-mid: #C9CED4;
  --slate: #48525E;
  --ink: #1A2430;          /* deep navy ink */
  --tape: #A8324F;         /* legal "red tape" ribbon */
  --tape-soft: #F4E3E8;
  --paper: #FFFFFF;
  --gold: #C9962E;         /* deep award gold, for lines on white */
  --award: #EBC66B;        /* Excellence Awards yellow */
  --award-soft: #F8EBC8;
  --silk-blue: #D7E6F2; --silk-blue-ink: #2B5A80;
  --silk-navy: #1F3A5F;
  --silk-red: #F2D9DD; --silk-red-ink: #962D39;
  --serif: 'Spectral', Georgia, serif;
  --sans: 'Work Sans', system-ui, sans-serif;
  --measure: 66ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
}

a { color: var(--tape); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 1rem; }
h3 { font-size: 1.3rem; margin: 0 0 .5rem; }
p { margin: 0 0 1.1rem; max-width: var(--measure); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Utility bar: language switcher */
.utility { background: var(--granite); border-bottom: 1px solid var(--granite-mid); }
.utility .wrap { display: flex; justify-content: flex-end; align-items: center; min-height: 34px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; font-family: var(--sans); font-size: .82rem; color: var(--ink); background: none; border: 0; cursor: pointer; padding: 7px 2px; }
.lang-btn:hover { color: var(--tape); }
.lang-globe { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang-menu { position: absolute; right: 0; top: 100%; z-index: 30; margin: 4px 0 0; padding: 6px; list-style: none;
  background: var(--paper); border: 1px solid var(--granite-mid); border-radius: 4px;
  box-shadow: 0 8px 24px rgba(26, 36, 48, .14); min-width: 190px; max-height: 70vh; overflow-y: auto; }
.lang-menu button { display: block; width: 100%; text-align: left; font-family: var(--sans); font-size: .92rem;
  color: var(--ink); background: none; border: 0; cursor: pointer; padding: 8px 10px; border-radius: 3px; }
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--granite); color: var(--tape); }
@media (max-width: 600px) { .lang-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .lang-btn::after { content: 'Translate'; } }

/* Header */
.site-header { border-bottom: 1px solid var(--granite-mid); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--tape); display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--tape);
}
/* Animated logo: draws itself on load; spins the gold ring and rewrites the pen stroke on hover */
.logo-mark { width: 60px; height: 60px; flex: none; overflow: visible; }
.lm-ring { fill: none; stroke: var(--tape); stroke-width: 2.5; stroke-dasharray: 183; stroke-dashoffset: 183;
  transform-origin: 32px 32px; transform: rotate(-90deg); animation: lm-draw 1.2s ease-out .1s forwards; }
.lm-gold { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 2 4; opacity: 0;
  transform-origin: 32px 32px; animation: lm-fade .6s ease-out 1s forwards; }
.lm-text { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 10px; letter-spacing: 0; fill: var(--ink);
  opacity: 0; animation: lm-fade .7s ease-out .6s forwards; }
.lm-pen { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 26; stroke-dashoffset: 26;
  animation: lm-write .7s ease-in-out 1.2s forwards; }
.lm-dot { fill: var(--tape); opacity: 0; animation: lm-fade .3s ease-out 1.8s forwards; }
@keyframes lm-draw { to { stroke-dashoffset: 0; } }
@keyframes lm-fade { to { opacity: 1; } }
@keyframes lm-write { to { stroke-dashoffset: 0; } }
@keyframes lm-spin { to { transform: rotate(360deg); } }
@keyframes lm-rewrite { 0% { stroke-dashoffset: 26; } 100% { stroke-dashoffset: 0; } }
.brand:hover .lm-gold, .brand:focus-visible .lm-gold { animation: lm-fade .6s ease-out 1s forwards, lm-spin 6s linear infinite; }
.brand:hover .lm-pen, .brand:focus-visible .lm-pen { animation: lm-write .7s ease-in-out 1.2s forwards, lm-rewrite .7s ease-in-out forwards; }
.brand:hover .lm-text { fill: var(--tape); transition: fill .3s; }
@media (prefers-reduced-motion: reduce) {
  .lm-ring, .lm-gold, .lm-text, .lm-pen, .lm-dot { animation: none !important; opacity: 1; stroke-dashoffset: 0; }
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.brand-name { font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; white-space: nowrap; }
.brand-name small { display: block; font-family: var(--sans); font-size: .78rem; color: var(--slate); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.nav a { font-family: var(--sans); font-size: .95rem; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--tape); color: var(--ink); }
.nav .nav-cta a { background: var(--tape); color: #fff; padding: 7px 16px; border-radius: 4px; border-bottom: none; }
.nav .nav-cta a:hover, .nav .nav-cta a[aria-current="page"] { background: var(--ink); color: #fff; border-bottom-color: transparent; }
.nav-toggle { display: none; font-family: var(--sans); background: none; border: 1px solid var(--slate); border-radius: 4px; padding: 6px 12px; font-size: .9rem; color: var(--ink); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--granite-mid); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .nav a { display: block; padding: 10px 0; white-space: normal; }
  .nav .nav-cta { margin-top: 10px; }
  .nav .nav-cta a { display: inline-block; padding: 9px 18px; }
}

/* Hero with footnote motif */
.hero { background: var(--award); padding: 72px 0 56px; }
.hero h1 sup { font-size: .45em; color: var(--tape); font-family: var(--sans); font-weight: 600; margin-left: 2px; }
.hero .lede { font-size: 1.3rem; color: var(--ink); max-width: 52ch; }
.footnote-rule { width: 160px; border: 0; border-top: 1px solid var(--slate); margin: 56px 0 12px; }
.footnote { font-size: .95rem; color: var(--slate); max-width: 60ch; }
.footnote sup { color: var(--tape); font-family: var(--sans); font-weight: 600; margin-right: 4px; }

.btn {
  display: inline-block; font-family: var(--sans); font-weight: 500; font-size: 1rem;
  background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 12px 22px; border-radius: 3px; border: 2px solid var(--ink); cursor: pointer;
}
.btn:hover { background: var(--tape); border-color: var(--tape); color: var(--paper); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--granite-mid); }
.page-head { background: var(--granite); padding: 64px 0 40px; }
.page-head p { color: var(--slate); font-size: 1.2rem; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.item { border-left: 3px solid var(--tape); padding-left: 20px; }
.item p { font-size: 1.02rem; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border: 1px solid var(--granite-mid); }
.price { padding: 28px; border-right: 1px solid var(--granite-mid); }
.price:last-child { border-right: 0; }
@media (max-width: 760px) { .price { border-right: 0; border-bottom: 1px solid var(--granite-mid); } .price:last-child { border-bottom: 0; } }
.price .amount { font-size: 2.4rem; font-family: var(--serif); color: var(--tape); line-height: 1; margin-bottom: 4px; }
.price .unit { font-family: var(--sans); font-size: .9rem; color: var(--slate); display: block; margin-bottom: 16px; }
.price p { font-size: 1rem; }

.table-wrap { overflow-x: auto; margin: 20px 0 8px; }
.price-table { width: 100%; max-width: 780px; border-collapse: collapse; font-family: var(--sans); font-size: .98rem; }
.price-table th, .price-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--granite-mid); vertical-align: top; }
.price-table th { font-weight: 600; font-size: .85rem; color: var(--slate); background: var(--granite); }
.price-table td:last-child { color: var(--tape); font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) { .price-table th, .price-table td { padding: 10px 8px; font-size: .9rem; } }

.about-lede { font-size: 1.45rem; font-style: italic; color: var(--tape); }
.quals { padding-left: 1.2rem; max-width: var(--measure); }
.quals li { margin-bottom: .5rem; }

/* Booking */
.booking-frame { border: 1px solid var(--granite-mid); background: var(--paper); margin-top: 24px; min-height: 240px; }
.booking-frame iframe { width: 100%; height: 720px; border: 0; display: block; }
.booking-placeholder { background: var(--granite); padding: 40px 28px; text-align: center; }
.booking-placeholder p { margin-left: auto; margin-right: auto; }
.price-table .row-best td { background: var(--tape-soft); }
.calc { margin-top: 40px; border: 1px solid var(--granite-mid); border-top: 3px solid var(--tape); padding: 28px; max-width: 780px; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 20px; }
input[type=date] { width: 100%; font: inherit; font-family: var(--sans); font-size: 1rem; padding: 10px 12px; border: 1px solid var(--slate); border-radius: 3px; background: var(--paper); color: var(--ink); }
.calc-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; padding-top: 8px; border-top: 1px solid var(--granite-mid); }
.calc-total { font-size: 2.6rem; color: var(--tape); line-height: 1.1; }
.calc-result p { margin: 0; font-family: var(--sans); font-size: .95rem; color: var(--slate); }

/* Booking calendar */
.cal { max-width: 620px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-head h2, .cal-head .cal-title { margin: 0; font-size: 1.6rem; }
.cal-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--slate); background: var(--paper); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.cal-nav:hover:not(:disabled) { border-color: var(--tape); color: var(--tape); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-week span { font-family: var(--sans); font-size: .8rem; color: var(--slate); text-align: center; padding-bottom: 6px; }
.cal-cell {
  aspect-ratio: 1 / 0.9; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 1px solid var(--granite-mid); border-radius: 10px; background: var(--paper); color: var(--ink);
  font-family: var(--sans); cursor: pointer; padding: 4px; min-width: 0; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.cal-blank { border: 0; background: none; cursor: default; }
.cal-day { font-size: 1.05rem; font-weight: 600; }
.cal-price { font-size: .72rem; font-weight: 500; white-space: nowrap; }
.cal-cell.tier-std .cal-price { color: #2F6B4F; }
.cal-cell.tier-mid .cal-price { color: var(--slate); }
.cal-cell.tier-high .cal-price { color: var(--tape); }
.cal-cell:not(:disabled):hover { border-color: var(--ink); box-shadow: 0 2px 8px rgba(26,36,48,.12); transform: translateY(-1px); }
.cal-cell.selected { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cal-cell.selected .cal-price { color: var(--paper); }
.cal-off { background: var(--granite); color: var(--granite-mid); cursor: not-allowed; }
.cal-off .cal-day { text-decoration: line-through; font-weight: 400; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 8px; font-family: var(--sans); font-size: .85rem; color: var(--slate); }
.cal-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.dot.tier-std { background: #2F6B4F; } .dot.tier-mid { background: var(--slate); } .dot.tier-high { background: var(--tape); }
.dot.cal-off { background: var(--granite-mid); }
@media (max-width: 600px) {
  .cal-week, .cal-grid { gap: 3px; }
  .cal-cell { min-height: 48px; border-radius: 6px; padding: 2px; }
  .cal-day { font-size: .9rem; }
  .cal-price { font-size: .54rem; letter-spacing: -.03em; }
}
[hidden] { display: none !important; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 20px 0 0; background: var(--ink); border-radius: 6px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--paper);
  border: 0; cursor: pointer; font-family: var(--sans); padding: 16px; }
.video-play:hover .video-play-icon { background: var(--tape); transform: scale(1.06); }
.video-play-icon { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center; transition: background .15s, transform .15s; }
.video-play-icon::after { content: ''; border-style: solid; border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fff; margin-left: 4px; }
.video-play-label { font-size: .98rem; font-weight: 600; }
.video-play-note { font-size: .78rem; opacity: .72; }
.chosen { display: flex; flex-direction: column; gap: 2px; background: var(--tape-soft); border-left: 3px solid var(--tape); padding: 16px 20px; margin-bottom: 28px; max-width: 640px; }
.chosen-label { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--tape); font-weight: 600; }
.chosen strong { font-size: 1.3rem; font-weight: 500; }
.chosen span:last-child { font-family: var(--sans); font-size: .92rem; color: var(--slate); }

/* Offer */
.offer-badge {
  display: inline-block; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; background: var(--tape); color: var(--paper); padding: 4px 10px; border-radius: 3px;
  vertical-align: middle; margin-right: 8px;
}
.offer-banner { background: var(--tape-soft); border-bottom: 1px solid var(--granite-mid); padding: 22px 0; }
.offer-banner .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.offer-banner p { margin: 0; font-size: 1.12rem; max-width: none; }
.offer-banner strong { color: var(--tape); font-size: 1.3rem; }
.offer-banner s, .price .was { color: var(--slate); font-size: .9rem; }
.price .was { font-size: 1.1rem; margin-left: 6px; }
.price-offer { background: var(--tape-soft); }
.price-offer .offer-badge { margin-bottom: 12px; }
.offer-banner + section { border-top: 0; }

/* Reviews */
.reviews-empty { background: var(--granite); border-left: 3px solid var(--tape); padding: 24px 28px; margin: 8px 0 40px; max-width: 640px; }
.reviews-empty p:last-child { margin-bottom: 0; }
.reviews-empty-title { font-size: 1.25rem; font-weight: 500; margin-bottom: .6rem; }
.stars-display { font-size: 1.6rem; letter-spacing: .15em; color: var(--granite-mid); line-height: 1; margin-bottom: 12px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2.2rem; line-height: 1; color: var(--granite-mid); cursor: pointer; margin: 0; padding: 2px; font-family: var(--sans); transition: color .15s; }
.star-input label:hover, .star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--tape); }
.star-input input:focus-visible + label { outline: 3px solid var(--tape); outline-offset: 2px; border-radius: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* FAQ */
details { border-bottom: 1px solid var(--granite-mid); padding: 16px 0; max-width: 780px; }
summary { cursor: pointer; font-size: 1.15rem; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); color: var(--tape); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; font-size: 1.02rem; }

/* Forms */
form { max-width: 640px; }
.field { margin-bottom: 22px; }
label, legend { display: block; font-family: var(--sans); font-weight: 500; font-size: .95rem; margin-bottom: 6px; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.choice { display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 400; margin-bottom: 4px; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-family: var(--sans); font-size: 1rem;
  padding: 11px 12px; border: 1px solid var(--slate); border-radius: 3px; background: var(--paper); color: var(--ink);
}
textarea { min-height: 150px; resize: vertical; }
.hint { font-family: var(--sans); font-size: .85rem; color: var(--slate); margin-top: 4px; }
.captcha-code {
  display: inline-block; font-family: var(--serif); font-size: 1.6rem; letter-spacing: .3em;
  background: var(--granite); padding: 6px 16px; border-radius: 3px; margin-bottom: 8px; user-select: none;
}
.error { font-family: var(--sans); font-size: .9rem; color: var(--tape); margin-top: 6px; display: none; }
.error.show { display: block; }
.hidden { position: absolute; left: -9999px; }

/* Blog */
.post { max-width: 760px; }
.post-meta { font-family: var(--sans); font-size: .9rem; color: var(--slate); }
.post + .post { margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--granite-mid); }
.post h3 { margin-top: 1.6rem; }
.post-source { font-size: .95rem; color: var(--slate); border-top: 1px solid var(--granite-mid); padding-top: 12px; margin-top: 28px; }
.tag-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 48px; }
.tag-filter-label { font-family: var(--sans); font-size: .9rem; color: var(--slate); margin-right: 4px; }
.tag-btn {
  font-family: var(--sans); font-size: .92rem; font-weight: 500; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 1px solid var(--slate);
  border-radius: 999px; padding: 7px 16px; min-height: 40px;
}
.tag-btn:hover { border-color: var(--tape); color: var(--tape); }
.tag-btn[aria-pressed="true"] { background: var(--tape); border-color: var(--tape); color: var(--paper); }
.filter-empty { font-family: var(--sans); color: var(--slate); }
.post-tags { list-style: none; padding: 0; margin: 0 0 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-block; font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; color: var(--tape); background: var(--tape-soft);
  padding: 3px 10px; border-radius: 3px;
}
.tag:hover { color: var(--paper); background: var(--tape); }
/* graduation gown silks: LLB dark blue, LLM pale blue, PhD pale red */
.tag-llb { color: var(--paper); background: var(--silk-navy); }
.tag-llb:hover { color: var(--silk-navy); background: var(--silk-blue); }
.tag-llm { color: var(--silk-blue-ink); background: var(--silk-blue); }
.tag-llm:hover { color: var(--paper); background: var(--silk-blue-ink); }
.tag-phd { color: var(--silk-red-ink); background: var(--silk-red); }
.tag-phd:hover { color: var(--paper); background: var(--silk-red-ink); }
.video { position: relative; aspect-ratio: 16/9; background: var(--granite); margin: 24px 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Footer */
.motto { background: var(--ink); color: var(--paper); text-align: center; padding: 48px 0; }
.motto p { margin: 0 auto; font-size: 1.5rem; font-style: italic; max-width: 40ch; }
.site-footer { background: var(--granite); padding: 36px 0; font-family: var(--sans); font-size: .9rem; color: var(--slate); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--ink); margin-right: 18px; }

/* Package prices and enquiry buttons */
.pkg-price { font-family: var(--sans); font-size: .95rem; color: var(--slate); margin: .4rem 0 .9rem; }
.pkg-price strong { color: var(--tape); font-size: 1.2rem; }
.pkg-price s { font-size: .85rem; }
.btn-small { font-size: .9rem; padding: 8px 16px; }
.btn-link { font-family: var(--sans); font-size: .92rem; font-weight: 500; }
.btn-link::after { content: " →"; }

.offer-terms { display: block; font-family: var(--sans); font-size: .82rem; color: var(--slate); line-height: 1.45; margin-top: 6px; }
.offer-banner .offer-terms { font-size: .85rem; }

.early-tip { background: var(--granite); border-left: 3px solid #2F6B4F; padding: 14px 18px; font-family: var(--sans); font-size: .98rem; max-width: 780px; }

/* Award yellow: hero, photos, accents */
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero .footnote, .hero .footnote-rule { color: var(--ink); border-top-color: var(--ink); }
.hero .btn.secondary { border-color: var(--ink); }
.hero-photo { margin: 0; justify-self: center; }
.hero-photo img { display: block; width: min(320px, 100%); height: auto; aspect-ratio: 372 / 404; object-fit: cover;
  border-radius: 50% 50% 12px 12px; border: 6px solid var(--paper); box-shadow: 0 18px 40px rgba(26,36,48,.22); }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { order: -1; justify-self: start; }
  .hero-photo img { width: 180px; }
}
.about-photo { float: right; width: min(280px, 40%); margin: 0 0 24px 40px; }
.about-photo img { display: block; width: 100%; height: auto; border-radius: 10px; border-bottom: 6px solid var(--award); }
.about-photo figcaption { font-family: var(--sans); font-size: .82rem; color: var(--slate); margin-top: 8px; }
@media (max-width: 640px) { .about-photo { float: none; width: 220px; margin: 0 0 24px; } }
.page-head { border-bottom: 6px solid var(--award); }
.offer-badge { background: var(--ink); color: var(--award); }
.price-offer { background: var(--award-soft); }
.offer-banner { background: var(--award-soft); }
.item { border-left-color: var(--award); }
.motto { border-top: 6px solid var(--award); }

.post code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: var(--granite); padding: 1px 6px; border-radius: 3px; }

.post ul:not(.post-tags) { max-width: var(--measure); padding-left: 1.2rem; }
.post ul:not(.post-tags) li { margin-bottom: .4rem; }

/* Blog subscribe */
.subscribe { background: var(--award-soft); }
.sub-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.sub-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; font-weight: 500;
  border: 1px solid var(--slate); border-radius: 999px; padding: 8px 16px; background: var(--paper); }
.sub-chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.sub-chip input { accent-color: var(--award); }

/* Guides */
.crumbs { font-family: var(--sans); font-size: .85rem; margin-bottom: 14px; }
.page-head .post-meta { font-size: .9rem; }
.page-head h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 22ch; }
.post h2.post-sub { font-size: 1.3rem; margin: 1.6rem 0 .5rem; }
.cite { border-left: 3px solid var(--award); background: var(--granite); padding: 14px 18px; margin: 22px 0; border-radius: 0 4px 4px 0; }
.cite-pattern { font-family: var(--sans); font-size: .8rem; letter-spacing: .02em; color: var(--slate); margin: 0 0 12px; }
.cite-row { display: grid; grid-template-columns: 104px 1fr; gap: 14px; margin: 0 0 9px; align-items: baseline; }
.cite-row:last-child { margin-bottom: 0; }
.cite-label { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--slate); }
.cite-eg { font-family: var(--serif); font-size: .98rem; line-height: 1.5; }
@media (max-width: 600px) { .cite-row { grid-template-columns: 1fr; gap: 2px; } }
.post-card h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--tape); text-decoration: underline; }
.post + .post.post-card { margin-top: 36px; padding-top: 32px; }
.guide-list { padding-left: 1.2rem; max-width: var(--measure); }
.guide-list li { margin-bottom: .5rem; }
.more-guides { background: var(--granite); }

/* Prices page */
.price .price-title { font-size: 1.15rem; margin: 0 0 8px; }

/* Package detail lists */
.price ul.pkg-list { margin: 0 0 1rem; padding-left: 1.1rem; font-family: var(--sans); font-size: .95rem; }
.price ul.pkg-list li { margin-bottom: .35rem; }
.price .hint { margin-bottom: 1rem; }

/* Hero secondary link */
.hero-alt { font-family: var(--sans); font-size: .98rem; color: var(--ink); align-self: center; text-underline-offset: 4px; }
.hero-alt:hover { color: var(--tape); }

/* Numbered plan */
ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0 0; max-width: 760px; }
ol.steps li { counter-increment: step; position: relative; padding-left: 56px; margin-bottom: 22px; font-size: 1.05rem; }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 38px; height: 38px;
  border-radius: 50%; background: var(--ink); color: var(--award); font-family: var(--sans); font-weight: 600;
  display: grid; place-items: center; font-size: 1rem; }

/* Credentials strip */
.trust { background: var(--granite); border-top: 4px solid var(--award); padding: 40px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.trust-grid div { border-left: 3px solid var(--tape); padding-left: 16px; }
.trust-grid strong { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; margin-bottom: 4px; }
.trust-grid span { font-family: var(--sans); font-size: .9rem; color: var(--slate); line-height: 1.5; }
