/* PINNED — warm desk-lamp theme */
:root {
  color-scheme: dark;
  --bg: #15120e;
  --bg-2: #1d1914;
  --bg-3: #26211a;
  --paper: #f7f2e8;
  --paper-2: #efe7d8;
  --ink: #1f1b16;
  --ink-soft: #5c5348;
  --text: #f4eee4;
  --text-soft: #c9bfb1;
  --muted: #9a8f80;
  --line: #ffffff17;
  --red: #c8102e;
  --red-dark: #9e0c24;
  --yellow: #ffc83d;
  --yellow-soft: #ffe48a;
  --lamp: 255, 186, 92;
  --content: 1160px;
  --radius: 14px;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --font-head: "Bricolage Grotesque", "DM Sans", "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;
  --shadow-paper: 0 1px 1px #0000002e, 0 6px 12px -2px #0000004d, 0 22px 40px -12px #00000080;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 700px at 88% -8%, rgba(var(--lamp), .16), transparent 62%),
    radial-gradient(800px 600px at -10% 40%, rgba(var(--lamp), .05), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
.wrap { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 50; top: 8px; left: 8px; padding: 10px 16px; color: #fff; background: var(--red); border-radius: 8px; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
  padding-inline: max(calc((100vw - var(--content)) / 2), 24px);
  background: #15120ecc;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; color: var(--text); font-family: var(--font-head); font-size: 25px; font-weight: 800; letter-spacing: -.03em; line-height: 1; text-decoration: none; }
.brand-pin { display: block; width: 15px; height: 27px; margin: -8px -3px 0 -2px; filter: drop-shadow(0 2px 2px #0007); transform: rotate(12deg); }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 36px); }
.primary-nav a { color: var(--text-soft); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .2s; }
.primary-nav a:hover { color: var(--text); }
.primary-nav .nav-cta { padding: 9px 18px; color: var(--ink); background: var(--yellow); border-radius: 999px; font-weight: 700; transition: transform .2s, background .2s; }
.primary-nav .nav-cta:hover { color: var(--ink); background: var(--yellow-soft); transform: translateY(-1px); }
.menu-toggle { display: none; }

/* Buttons & labels */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; font: 700 16px/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button-red { color: #fff; background: linear-gradient(180deg, #db1c3a, var(--red-dark)); box-shadow: 0 1px 0 #ffffff40 inset, 0 10px 24px -8px #c8102e99; }
.button-red:hover { transform: translateY(-2px); box-shadow: 0 1px 0 #ffffff40 inset, 0 16px 30px -10px #c8102ecc; }
.button-outline { color: var(--text); background: transparent; box-shadow: 0 0 0 1.5px #ffffff40 inset; }
.button-outline:hover { box-shadow: 0 0 0 1.5px var(--yellow) inset; color: var(--yellow); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.red-rule { display: inline-block; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.hand { font-family: var(--font-hand); font-weight: 700; }
h1 em, h2 em { position: relative; color: var(--yellow); font-style: normal; white-space: nowrap; }
h2 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .14em; background: var(--red); border-radius: 99px; transform: rotate(-1deg); opacity: .85; }

/* Push-pin */
.pin { position: absolute; z-index: 3; top: -12px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff8a98 0 12%, #e01836 30%, #8f0a1f 100%); box-shadow: 0 4px 5px -1px #0008, 2px 7px 9px -3px #0006; }
.pin::after { content: ""; position: absolute; top: 18px; left: 13px; width: 8px; height: 6px; background: #0003; border-radius: 50%; filter: blur(2px); }
.pin.yellow { background: radial-gradient(circle at 35% 30%, #fff3c4 0 12%, #ffc83d 32%, #b88400 100%); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(32px, 6vw, 80px); padding-block: clamp(56px, 9vw, 110px) clamp(64px, 9vw, 110px); }
.hero h1 { font-size: clamp(44px, 6.4vw, 82px); font-weight: 800; letter-spacing: -.035em; }
.hero-tagline { margin: 18px 0 14px; color: var(--yellow); font-family: var(--font-hand); font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; line-height: 1; transform: rotate(-2deg); transform-origin: left; }
.hero-description { max-width: 500px; color: var(--text-soft); font-size: clamp(17px, 1.5vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 34px; color: var(--muted); font-size: 14px; }
.hero-meta strong { color: var(--text); font-weight: 700; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.photo { position: relative; padding: 12px 12px 14px; background: var(--paper); border-radius: 4px; box-shadow: var(--shadow-paper); transform: rotate(2.5deg); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: top; border-radius: 2px; }
.photo figcaption { padding-top: 10px; color: var(--ink-soft); font-family: var(--font-hand); font-size: 24px; text-align: center; }
.hero-visual:hover .photo { transform: rotate(0deg) scale(1.01); }
.sticky-note { position: absolute; z-index: 4; left: -36px; bottom: 54px; width: 150px; padding: 18px 14px 16px; color: var(--ink); background: linear-gradient(170deg, #ffe27a, #ffcf45); font-family: var(--font-hand); font-size: 23px; line-height: 1.05; text-align: center; box-shadow: 0 14px 22px -10px #000a; transform: rotate(-6deg); }
.sticky-note b { display: block; font-family: var(--font-head); font-size: 34px; letter-spacing: -.03em; }

/* Sections */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(36px, 4.6vw, 58px); }
.section-head p { max-width: 380px; color: var(--text-soft); }

/* Services — pinned paper cards */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 30px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 34px 28px 26px; color: var(--ink); background: linear-gradient(180deg, var(--paper), var(--paper-2)); border-radius: 6px; box-shadow: var(--shadow-paper); text-decoration: none; transform: rotate(var(--tilt, -1deg)); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.service-card:nth-child(3n+2) { --tilt: .8deg; }
.service-card:nth-child(3n) { --tilt: -.5deg; }
.service-card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 2px 2px #0003, 0 30px 50px -16px #000c; }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; color: var(--red); background: #c8102e14; border-radius: 14px; }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 8px; font-size: 23px; }
.service-card p { color: var(--ink-soft); font-size: 15.5px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 22px; }
.price-tag { padding: 5px 12px; color: var(--ink); background: var(--yellow); border-radius: 6px; font-size: 14px; font-weight: 700; }
.arrow { display: grid; place-items: center; width: 38px; height: 38px; color: var(--paper); background: var(--ink); border-radius: 50%; font-size: 16px; transition: transform .3s, background .3s; }
.service-card:hover .arrow { background: var(--red); transform: rotate(45deg); }
.price-note { margin-top: 48px; color: var(--muted); font-size: 14px; text-align: center; }
.price-note strong { color: var(--yellow); }

/* Steps */
.steps-section { position: relative; background: linear-gradient(180deg, transparent, #0000002a 30%, #0000002a 70%, transparent); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 30px 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: s; }
.steps li::before { content: counter(s); display: block; margin-bottom: 14px; color: var(--yellow); font-family: var(--font-hand); font-size: 46px; font-weight: 700; line-height: 1; }
.steps h3 { margin-bottom: 8px; font-size: 22px; }
.steps p { color: var(--text-soft); font-size: 15.5px; }

/* Contact */
.contact-section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(36px, 6vw, 80px); }
.contact-heading h2 { font-size: clamp(36px, 4.6vw, 58px); margin-bottom: 18px; }
.contact-heading > p { color: var(--text-soft); max-width: 420px; }
.whatsapp-card { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 18px 20px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s; }
.whatsapp-card:hover { border-color: #25d36680; }
.wa-icon { display: grid; flex: none; place-items: center; width: 46px; height: 46px; color: #fff; background: #25d366; border-radius: 50%; }
.wa-icon svg { width: 24px; height: 24px; }
.whatsapp-card small { display: block; color: var(--muted); font-size: 13px; }
.whatsapp-card strong { font-family: var(--font-head); font-size: 22px; letter-spacing: -.01em; }
.enquiry-form { position: relative; display: grid; gap: 6px; padding: clamp(28px, 4vw, 40px); color: var(--ink); background: var(--paper); border-radius: 8px; box-shadow: var(--shadow-paper); }
.enquiry-form label { margin-top: 12px; font-size: 14px; font-weight: 700; }
.enquiry-form label:first-of-type { margin-top: 0; }
.enquiry-form label span { color: var(--ink-soft); font-weight: 400; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: #fff; border: 1.5px solid #d9cfbd; border-radius: 10px; font: 16px/1.4 var(--font-body); transition: border-color .2s, box-shadow .2s; }
.enquiry-form textarea { resize: vertical; min-height: 120px; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px #c8102e1f; }
.form-submit { margin-top: 18px; width: 100%; }
.form-note { margin-top: 8px; color: var(--ink-soft); font-size: 13px; text-align: center; }
.form-status { color: #1a7f3c; font-size: 14px; font-weight: 600; text-align: center; }
.form-status:empty { display: none; }

/* Footer */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-block: 34px 18px; }
.footer-tagline { color: var(--yellow); font-family: var(--font-hand); font-size: 26px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-soft); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px 34px; color: var(--muted); font-size: 13px; }
.footer-bottom a { text-underline-offset: 3px; }

/* Illustrations used on service pages */
.mock-document, .mock-slide, .exam-paper { position: relative; display: flex; flex-direction: column; gap: 9px; padding: 22px 20px; color: var(--ink); background: var(--paper); border-radius: 4px; box-shadow: var(--shadow-paper); }
.mock-document { width: 170px; height: 220px; transform: rotate(-3deg); }
.mock-slide { width: 280px; height: 172px; justify-content: center; transform: rotate(2deg); }
.exam-paper { width: 180px; height: 220px; transform: rotate(-2deg); }
.mock-document b, .mock-slide b, .exam-paper b { font-family: var(--font-head); font-size: 15px; letter-spacing: .02em; }
.mock-document strong { margin-top: 6px; color: var(--red); font-size: 10px; letter-spacing: .12em; }
.mock-document i, .mock-slide i, .exam-paper i { display: block; height: 6px; background: #d8cdb9; border-radius: 4px; }
.mock-document i:nth-of-type(2n), .exam-paper i:nth-of-type(2n) { width: 70%; }
.mock-slide i { width: 60%; }
.mock-slide small { position: absolute; right: 16px; bottom: 12px; color: var(--ink-soft); font-size: 11px; }
.exam-paper strong { position: absolute; right: 18px; bottom: 16px; display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: #1a7f3c; border-radius: 50%; }
.linkedin-mark { display: grid; place-items: center; width: 110px; height: 110px; color: #fff; background: #0a66c2; border-radius: 22px; font: 800 60px/1 var(--font-head); box-shadow: var(--shadow-paper); transform: rotate(-3deg); }

/* Responsive */
@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero, .detail-hero, .detail-columns { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { width: min(100%, 380px); }
  .contact-section { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .site-header { padding-inline: 16px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 8px 4px; color: var(--text); background: none; border: 0; font: 600 15px var(--font-body); cursor: pointer; }
  .menu-icon { display: grid; gap: 5px; }
  .menu-icon i { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .primary-nav .nav-cta { margin-top: 14px; padding: 14px; text-align: center; border: 0; }
  .service-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  h1 em, h2 em { white-space: normal; }
  .hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .service-card { --tilt: 0deg !important; }
  .sticky-note { left: -8px; bottom: 30px; width: 124px; font-size: 20px; }
  .sticky-note b { font-size: 28px; }
  .hero-actions .button { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
