@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;700&display=swap');

:root {
  --ink: #1f1724;
  --ink-soft: #5d5263;
  --paper: #f7f3ed;
  --white: #fffdf9;
  --purple: #4c164f;
  --purple-deep: #2a0c2f;
  --purple-soft: #6f3674;
  --gold: #c8a15d;
  --gold-light: #e8d2a9;
  --line: rgba(76,22,79,.16);
  --shadow: 0 24px 70px rgba(42,12,47,.12);
  --radius: 1.4rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", Arial, sans-serif; letter-spacing: -.045em; line-height: 1.08; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--ink-soft); }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 8rem 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: var(--gold); color: var(--purple-deep); padding: .8rem 1rem; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.eyebrow { margin-bottom: 1.25rem; color: var(--purple-soft); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,243,237,.9); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px rgba(42,12,47,.05); }
.nav-wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { position: relative; display: block; flex: 0 0 336px; width: 336px; height: 59px; overflow: hidden; }
.brand img { position: absolute; top: -35px; left: 0; width: 336px; max-width: none; height: auto; mix-blend-mode: multiply; }
.site-nav { display: flex; align-items: center; gap: 2rem; font-size: .9rem; font-weight: 500; }
.site-nav a { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 1px; background: var(--purple); transition: right .2s; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.nav-cta { padding: .75rem 1.15rem; border: 1px solid var(--purple); border-radius: 999px; transition: background .2s, color .2s; }
.nav-cta:hover { color: var(--white); background: var(--purple); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); background: transparent; border-radius: 50%; }
.menu-toggle span:not(.sr-only) { display: block; width: 18px; height: 1px; margin: 5px auto; background: var(--ink); transition: transform .2s; }

.hero { position: relative; min-height: calc(100vh - 88px); display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, #fbf8f3 0%, #f3ece8 100%); }
main > section, .site-footer { position: relative; overflow: hidden; }
main > .hero::before, main > .surface-section::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: url("honeycomb-fixed.svg") center / 635px auto repeat fixed; opacity: .65; }
main > section > .shell, .site-footer > .shell { position: relative; z-index: 2; }
.hero-grid { position: relative; z-index: 2; width: min(1180px, calc(100% - 40px)); padding: 7rem 0; }
.hero-copy { max-width: 800px; padding: clamp(1.5rem, 3.4vw, 3rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.hero h1 { max-width: 780px; margin-bottom: 2rem; font-size: clamp(3rem, 5.2vw, 5rem); }
.hero h1 em { color: var(--purple); font-style: normal; }
.lede { max-width: 700px; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.6; }
.hero-copy .lede { max-width: 650px; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; margin: 2.5rem 0 3rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .85rem 1.3rem; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-weight: 600; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--white); background: var(--purple); }
.button.primary:hover { background: var(--purple-deep); }
.button.secondary { color: var(--purple); border-color: var(--purple); background: transparent; }
.button.secondary:hover { color: var(--white); background: var(--purple); }
.button.light { color: var(--purple-deep); background: var(--white); }
.button.wide { width: 100%; }
.text-link, .service-card a { color: var(--purple); font-weight: 600; }
.text-link:hover, .service-card a:hover { color: var(--purple-soft); }
.trust-list { display: flex; flex-wrap: wrap; gap: .8rem 1.7rem; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .82rem; }
.trust-list li::before { content: "◆"; margin-right: .6rem; color: var(--gold); font-size: .55rem; vertical-align: .12rem; }
.hex-tile { display: block; flex: 0 0 auto; width: 53px; height: 61px; background: url("hex-tile-gold.svg") center / contain no-repeat; }

.intro-section { background: var(--white); }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: start; }
.split-heading h2 { max-width: 520px; }
.body-copy { padding-top: 3rem; }
.body-copy p { font-size: 1.05rem; }
.surface-section { background: #eee7df; }
.section-head { max-width: 690px; margin-bottom: 3.5rem; }
.surface-section .section-head { padding: 1.5rem 2rem; background: #eee7df; border-radius: var(--radius); }
.section-head.narrow { max-width: 760px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { min-height: 390px; display: flex; flex-direction: column; align-items: flex-start; padding: 2rem; background: var(--white); border: 1px solid rgba(76,22,79,.08); border-radius: var(--radius); }
.service-card h3 { margin-top: auto; font-size: 1.6rem; }
.service-card p { margin-bottom: 2rem; }
.service-card a { margin-top: auto; }
.accent-card { color: var(--white); background: var(--purple); }
.accent-card p, .accent-card a { color: #eadfeb; }
.why-section { background: var(--white); }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7rem; align-items: start; }
.why-panel { position: sticky; top: 130px; }
.why-panel .button { margin-top: 1.5rem; }
.reason { display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.reason:last-child { border-bottom: 1px solid var(--line); }
.reason h3 { margin-bottom: .75rem; font-size: 1.4rem; }
.reason p { margin: 0; }
.testimonial-section { background: var(--white); padding-top: 0; }
.testimonial-inner { border-top: 1px solid var(--line); padding-top: 7rem; }
.testimonial-section .section-head { margin-bottom: 2.5rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.testimonial-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; margin: 0; padding: clamp(1.75rem, 3.2vw, 3rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.quote-mark { height: 2.8rem; color: var(--gold); font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
.testimonial-card blockquote { margin: 1.3rem 0 2.5rem; color: var(--ink); font-size: clamp(1.12rem, 1.55vw, 1.36rem); line-height: 1.58; letter-spacing: -.015em; }
.testimonial-card figcaption { display: flex; flex-direction: column; gap: .15rem; width: 100%; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.4; }
.testimonial-card figcaption strong { color: var(--purple); font-weight: 600; }
.testimonial-card figcaption span { color: var(--ink-soft); }
.cta-band { padding: 6rem 0; color: var(--white); background: var(--purple-deep); }
.cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 3rem; }
.cta-band .eyebrow { color: var(--gold-light); }
.cta-band h2 { max-width: 750px; margin: 0; }

.page-hero { padding: 8rem 0 7rem; color: var(--white); background: var(--purple-deep); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 7rem; align-items: end; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.5rem); }
.page-hero .lede { margin: 0; color: #d6c8d7; }
.service-detail { background: var(--white); }
.detail-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7rem; align-items: start; }
.detail-grid.reverse { grid-template-columns: 1fr 1fr; }
.detail-intro { position: sticky; top: 130px; }
.detail-intro > .hex-tile { margin-bottom: 2rem; }
.capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.capability { min-height: 220px; padding: 1.7rem; background: var(--paper); border: 1px solid rgba(76,22,79,.08); border-radius: 1rem; }
.capability h3 { margin-bottom: 1rem; }
.capability p { margin: 0; }
.recruitment-section { background: #eee7df; }
.process-list { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.process { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.6rem 2rem; border-bottom: 1px solid var(--line); }
.process:last-child { border-bottom: 0; }
.process h3 { margin-bottom: .5rem; }
.process p { margin: 0; }
.engagement-section { background: var(--white); }
.engagement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.engagement-card { min-height: 290px; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.engagement-card h3 { margin-top: 5rem; font-size: 1.5rem; }
.engagement-card.featured { color: var(--white); background: var(--purple); border-color: var(--purple); }
.engagement-card.featured p { color: #dfd2e0; }
.engagement-card.featured .eyebrow { color: var(--gold-light); }

.contact-hero { min-height: calc(100vh - 88px); padding: 7rem 0; background: linear-gradient(120deg, #f8f3ed, #eee4de); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7rem; align-items: start; }
.contact-copy h1 { font-size: clamp(3.4rem, 6vw, 5.8rem); }
.contact-notes { margin-top: 4rem; }
.contact-notes article { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.contact-notes article:last-child { border-bottom: 1px solid var(--line); }
.contact-notes h2 { margin-bottom: .35rem; font-size: 1.1rem; }
.contact-notes p { margin: 0; font-size: .9rem; }
.form-card { padding: 2.3rem; background: var(--white); border: 1px solid rgba(76,22,79,.1); border-radius: var(--radius); box-shadow: var(--shadow); }
.preview-notice { display: flex; gap: .75rem; margin-bottom: 2rem; padding: 1rem; color: var(--purple-deep); background: #f2e9f1; border-radius: .75rem; font-size: .78rem; line-height: 1.4; }
.preview-notice strong { white-space: nowrap; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .5rem; color: var(--ink); font-size: .82rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: .85rem .95rem; color: var(--ink); background: #fbf9f6; border: 1px solid rgba(76,22,79,.22); border-radius: .65rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(76,22,79,.1); }
.field [aria-invalid="true"] { border-color: #a52d42; }
.field-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-soft); font-size: .7rem; }
.error { min-height: 1.1em; margin: .35rem 0 0; color: #9d2338; font-size: .72rem; }
.check-field { display: flex; align-items: flex-start; gap: .7rem; margin: .3rem 0 0; color: var(--ink-soft); font-size: .78rem; }
.check-field input { width: 17px; height: 17px; margin-top: .2rem; accent-color: var(--purple); }
.form-card .wide { margin-top: 1.1rem; }
.form-footnote { margin: .8rem 0 0; text-align: center; font-size: .7rem; }
.form-guidance { margin: -.25rem 0 1.25rem; color: var(--ink-soft); font-size: .84rem; line-height: 1.5; }
.form-footnote { font-size: .8rem; line-height: 1.5; }
.form-footnote a { color: var(--purple); text-decoration: underline; }
.form-submit-error { margin: 1rem 0 0; padding: 1rem; color: #842437; background: #faedef; border-radius: .65rem; font-size: .9rem; line-height: 1.5; }
.form-submit-error a { color: inherit; text-decoration: underline; }
.form-success h2 { margin-bottom: .6rem; color: var(--purple); font-size: 1.8rem; }
.form-success p { margin: 0; line-height: 1.6; }
.form-submit-error[hidden], .form-success[hidden] { display: none; }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.notice-page { min-height: calc(100vh - 88px); padding: 6rem 0; background: linear-gradient(120deg, #f8f3ed, #eee4de); }
.notice-page .notice-card { max-width: 760px; padding: clamp(1.5rem, 5vw, 3rem); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.notice-card h1 { margin: 0 0 1.5rem; }
.notice-card h2 { margin: 2rem 0 .5rem; color: var(--purple); font-size: 1.25rem; }
.notice-card p { line-height: 1.65; }
.notice-card a { color: var(--purple); text-decoration: underline; }
.enquiry-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.enquiry-dialog::backdrop { background: rgba(31,23,36,.65); backdrop-filter: blur(5px); }
.dialog-top { display: flex; justify-content: space-between; gap: 1rem; }
.dialog-top h2 { font-size: 2rem; }
.dialog-close { width: 40px; height: 40px; padding: 0; color: var(--ink); background: var(--paper); border: 0; border-radius: 50%; cursor: pointer; font-size: 1.6rem; }
.dialog-status { padding: .8rem 1rem; color: var(--purple); background: #f2e9f1; border-radius: .6rem; font-size: .8rem; }
.enquiry-dialog dl { display: grid; grid-template-columns: 120px 1fr; gap: .8rem 1rem; margin: 1.5rem 0; font-size: .9rem; }
.enquiry-dialog dt { color: var(--ink-soft); }
.enquiry-dialog dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; }
.copy-status { min-height: 1.5em; margin: .8rem 0 0; color: var(--purple); text-align: right; font-size: .75rem; }

.site-footer { padding: 5rem 0 1.5rem; color: #ddd0de; background: #17061a; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .6fr 1fr; gap: 5rem; padding-bottom: 4rem; }
.footer-grid p { color: #aa9cac; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.footer-brand p { margin: 0; }
.footer-brand-name { display: inline-flex; align-items: center; gap: .55rem; color: var(--white); font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.02em; }
.footer-brand-name span { display: inline-block; width: 2px; height: 1.35em; background: var(--gold); }
.footer-grid > div:not(.footer-brand) a { display: block; width: max-content; margin-bottom: .65rem; color: #c6b7c8; font-size: .88rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-label { color: var(--white) !important; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid .footer-enquiry { width: auto; margin: 0; }
.footer-enquiry p { margin-bottom: .5rem; transition: color .2s; }
.footer-enquiry > span { color: var(--gold-light); font-size: 1.2rem; }
.footer-enquiry:hover p, .footer-enquiry:focus-visible p { color: var(--gold-light) !important; }
.footer-enquiry:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 2px; }
.footer-base { display: flex; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid rgba(232,210,169,.14); color: #8f8191; font-size: .72rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .button { transition: none; } }

@media (max-width: 900px) {
  .section { padding: 6rem 0; }
  body.home-page::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: url("honeycomb-fixed.svg") center / 635px auto repeat; opacity: .8; }
  body.home-page main { position: relative; z-index: 1; }
  body.home-page main > .hero::before, body.home-page main > .surface-section::before { content: none; }
  body.home-page .hero { background: linear-gradient(135deg, rgba(251,248,243,.5), rgba(243,236,232,.5)); }
  body.home-page .surface-section { background: rgba(238,231,223,.5); }
  .menu-toggle { display: block; position: relative; z-index: 61; }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(2) { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(3) { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; z-index: 60; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; max-height: calc(100dvh - 88px); overflow-y: auto; padding: 1.5rem max(2rem, calc((100vw - 1180px) / 2)) 2rem; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-8px); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); font-family: "Manrope", sans-serif; font-size: 1.25rem; transition: opacity .2s, visibility .2s, transform .2s; }
  .site-nav.open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
  .site-nav a:not(.nav-cta) { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { align-self: flex-start; margin-top: 1rem; font-family: "DM Sans", sans-serif; font-size: 1rem; }
  .hero { min-height: auto; }
  .hero-grid, .page-hero-grid, .split-heading, .why-grid, .detail-grid, .detail-grid.reverse, .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .hero-grid { padding: 6rem 0; }
  .body-copy { padding-top: 0; }
  .service-grid, .engagement-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-inner { padding-top: 5rem; }
  .service-card:last-child, .engagement-card:last-child { grid-column: 1 / -1; }
  .why-panel, .detail-intro { position: static; }
  .page-hero { padding: 6rem 0; }
  .contact-hero { padding: 5rem 0; }
  .contact-copy { max-width: 650px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav-wrap { height: 76px; }
  .brand { flex-basis: 270px; width: 270px; height: 49px; }
  .brand img { top: -28px; width: 270px; }
  .section { padding: 4.5rem 0; }
  .hero-grid { padding: 4.5rem 0; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .site-nav { max-height: calc(100dvh - 76px); }
  .surface-section .section-head { padding: 1.5rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .service-grid, .engagement-grid, .capability-grid, .field-row { grid-template-columns: 1fr; }
  .testimonial-inner { padding-top: 4rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .service-card:last-child, .engagement-card:last-child { grid-column: auto; }
  .service-card { min-height: 330px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 4.5rem 0; }
  .page-hero h1 { font-size: 3rem; }
  .form-card { padding: 1.25rem; }
  .preview-notice { flex-direction: column; }
  .enquiry-dialog { padding: 1.3rem; }
  .enquiry-dialog dl { grid-template-columns: 1fr; gap: .25rem; }
  .enquiry-dialog dd { margin-bottom: .75rem; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-base { flex-direction: column; gap: .5rem; }
}

@media (max-width: 360px) {
  .brand { flex-basis: 220px; width: 220px; height: 41px; }
  .brand img { top: -23px; width: 220px; }
}
