/* Inner Ray v2 design system. Kept separate from the existing site's Tailwind CSS. */
:root {
  --paper: #f6f3ed;
  --paper-deep: #ece7dd;
  --white: #fffdf8;
  --ink: #252923;
  --ink-soft: #53584f;
  --muted: #77796f;
  --line: #d8d2c7;
  --sage: #687568;
  --sage-dark: #3d4b40;
  --sage-pale: #dce2d8;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --content: 1160px;
  --gutter: clamp(22px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
::selection { background: #d4ddd1; color: var(--ink); }
.container { width: min(var(--content), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 1000; padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.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; }
.crisis-strip { background: var(--sage-dark); color: #f7f5ef; font-size: 12px; letter-spacing: .025em; }
.crisis-strip p { width: min(var(--content), calc(100% - 2 * var(--gutter))); margin: 0 auto; padding: 7px 0; text-align: center; }
.crisis-strip a { text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(246,243,237,.94); border-bottom: 1px solid rgba(216,210,199,.75); backdrop-filter: blur(14px); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: max-content; }
.brand img { border-radius: 50%; object-fit: cover; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.045em; }
.brand small { margin-top: 5px; font-size: 8px; font-weight: 700; letter-spacing: .24em; color: var(--muted); }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.primary-nav > a { text-decoration: none; font-size: 13px; color: var(--ink-soft); transition: color .2s ease; }
.primary-nav > a:hover { color: var(--sage-dark); }
.primary-nav .nav-cta { padding: 11px 18px; border: 1px solid var(--ink); border-radius: 99px; color: var(--ink); }
.primary-nav .nav-cta span { margin-left: 10px; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.nav-toggle span { display: block; width: 23px; height: 1px; margin: 5px 0; background: var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; }
h1 { font-size: clamp(54px, 7vw, 92px); margin-bottom: 26px; }
h2 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 25px; }
h3 { font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 14px; }
h1 em, h2 em { font-weight: 400; color: var(--sage); }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--sage-dark); font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: .19em; margin-bottom: 25px; }
.eyebrow-line { width: 27px; height: 1px; background: var(--sage); }
.hero { padding: clamp(64px, 8vw, 112px) 0 clamp(68px, 8vw, 105px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr); gap: clamp(36px, 7vw, 90px); align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-lede { max-width: 600px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.75; color: var(--ink-soft); margin-bottom: 31px; }
.hero-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; padding: 15px 22px; border: 1px solid transparent; border-radius: 100px; text-decoration: none; font-size: 13px; font-weight: 600; transition: transform .2s ease, background .2s ease, color .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--sage-dark); }
.button-light { background: var(--paper); color: var(--ink); }
.button-outline { border-color: var(--line); color: var(--ink); }
.button-outline:hover { background: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.hero-note { margin: 28px 0 0; font-size: 11px; letter-spacing: .055em; color: var(--muted); }
.hero-art { min-height: 520px; position: relative; overflow: hidden; background: #e6e3d8; isolation: isolate; }
.art-sun { position: absolute; width: 48%; aspect-ratio: 1; border-radius: 50%; background: #d1bfa1; top: 12%; left: 30%; filter: blur(.2px); }
.art-horizon { position: absolute; inset: 47% 0 0; background: linear-gradient(180deg, #d3d4c7, #b8c0ae); }
.art-ridge { position: absolute; left: -10%; width: 125%; border-radius: 50% 50% 0 0 / 25% 25% 0 0; }
.art-ridge-back { height: 54%; bottom: 7%; transform: rotate(-9deg); background: #aab5a5; }
.art-ridge-front { height: 42%; bottom: -6%; left: -4%; transform: rotate(7deg); background: #798c7d; }
.art-caption { position: absolute; z-index: 2; right: 25px; bottom: 25px; color: white; font-family: var(--serif); font-size: 22px; line-height: 1.1; text-align: right; }
.section-pad { padding: clamp(70px, 9vw, 120px) 0; }
.intro-section { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; }
.intro-grid h2 { font-size: clamp(43px, 5vw, 65px); }
.intro-grid > div { max-width: 720px; }
.intro-grid p:not(.eyebrow) { color: var(--ink-soft); max-width: 680px; }
.body-large { font-size: 20px; line-height: 1.65; color: var(--ink) !important; }
.service-section { background: var(--paper); }
.section-heading { margin-bottom: 55px; }
.section-heading h2 { margin-bottom: 0; }
.service-feature { display: grid; grid-template-columns: 65px 1fr minmax(240px, .55fr); gap: 34px; padding: 35px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-number { font-size: 11px; color: var(--sage); letter-spacing: .1em; padding-top: 9px; }
.service-content { max-width: 570px; }
.service-content p { color: var(--ink-soft); margin-bottom: 24px; }
.service-aside { padding-left: 28px; border-left: 1px solid var(--line); }
.aside-label, .contact-detail span { font-size: 10px; font-weight: 700; letter-spacing: .17em; color: var(--muted); margin-bottom: 9px; }
.price { font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); letter-spacing: -.045em; margin-bottom: 3px; line-height: 1.1; }
.price span { font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--muted); }
.aside-note { color: var(--muted); font-size: 12px; margin: 10px 0 20px; }
.approach-section { background: var(--paper-deep); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 8vw, 100px); align-items: center; }
.approach-art { position: relative; min-height: 440px; overflow: hidden; background: #d9d7ca; display: grid; place-items: center; }
.approach-circle { position: absolute; border-radius: 50%; border: 1px solid rgba(61,75,64,.5); }
.circle-one { width: 75%; aspect-ratio: 1; }
.circle-two { width: 53%; aspect-ratio: 1; background: rgba(246,243,237,.34); }
.circle-three { width: 30%; aspect-ratio: 1; background: #9baa94; border: 0; }
.approach-art > span { position: absolute; bottom: 25px; left: 25px; font-size: 11px; letter-spacing: .08em; color: var(--sage-dark); }
.approach-copy p:not(.eyebrow) { color: var(--ink-soft); }
.approach-copy .text-link { margin-top: 13px; }
.practical-section { background: var(--white); }
.practical-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 120px); }
.practical-grid > div:first-child > p:not(.eyebrow) { max-width: 460px; color: var(--ink-soft); margin-bottom: 28px; }
.practical-list { border-top: 1px solid var(--line); }
.practical-list > div { display: grid; grid-template-columns: 35px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.practical-list > div > span { color: var(--sage); font-size: 11px; padding-top: 4px; }
.practical-list h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.practical-list p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.closing-section { background: var(--sage-dark); color: var(--paper); padding: clamp(75px, 10vw, 130px) 0; }
.closing-inner { text-align: center; }
.closing-inner .eyebrow { justify-content: center; color: #d6dfd3; }
.closing-inner h2 { font-size: clamp(46px, 6.5vw, 80px); margin-bottom: 34px; }
.closing-inner h2 em { color: #d4dfd1; }
.page-hero { padding: clamp(75px, 10vw, 130px) 0 75px; }
.page-hero-short { padding-bottom: 45px; }
.page-hero .narrow { max-width: 820px; }
.page-hero .hero-lede { max-width: 680px; }
.two-col-content { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(45px, 8vw, 100px); }
.two-col-content h2 { font-size: clamp(39px, 4.5vw, 59px); }
.prose { color: var(--ink-soft); }
.prose p { margin-bottom: 21px; }
.prose h2 { color: var(--ink); font-size: 33px; margin: 40px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose a { text-underline-offset: 4px; color: var(--sage-dark); }
.soft-section { background: var(--paper-deep); }
.soft-section > .container > h2 { margin-bottom: 45px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 42px; }
.detail-grid article { border-top: 1px solid #c6c7b9; padding-top: 22px; }
.detail-index { font-size: 11px; color: var(--sage); display: block; margin-bottom: 28px; }
.detail-grid h3 { font-size: 24px; }
.detail-grid p { color: var(--ink-soft); font-size: 14px; }
.split-callout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-callout p:not(.eyebrow) { color: var(--ink-soft); }
.principle-list { border-top: 1px solid #c6c7b9; }
.principle-list article { display: grid; grid-template-columns: 55px 1fr; gap: 25px; padding: 25px 0; border-bottom: 1px solid #c6c7b9; }
.principle-list article > span { font-size: 11px; color: var(--sage); padding-top: 5px; }
.principle-list h3 { margin-bottom: 7px; }
.principle-list p { color: var(--ink-soft); margin-bottom: 0; }
.small-note { font-size: 12px; color: var(--muted); border-left: 2px solid var(--sage); padding-left: 14px; margin-top: 30px; }
.closing-inline { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.closing-inline h2 { margin: 0; }
.fee-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 100px); align-items: start; }
.fee-panel { padding: clamp(28px, 4vw, 46px); background: var(--white); border: 1px solid var(--line); }
.price-large { font-size: clamp(55px, 6vw, 74px); margin: 30px 0 2px; }
.fee-duration { color: var(--muted); font-size: 13px; }
.fee-rule { height: 1px; background: var(--line); margin: 30px 0 22px; }
.fee-panel > p:not(.eyebrow):not(.price):not(.fee-duration) { color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }
.fee-copy h2 { font-family: var(--serif); }
.contact-section { padding-top: 35px; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 8vw, 100px); align-items: start; }
.contact-aside h2 { font-size: clamp(42px, 4.5vw, 58px); }
.contact-aside > p:not(.eyebrow) { color: var(--ink-soft); font-size: 14px; }
.contact-detail { border-top: 1px solid var(--line); padding: 17px 0; }
.contact-detail p, .contact-detail a { margin: 0; font-size: 14px; }
.contact-detail a { text-underline-offset: 4px; }
.contact-detail span { display: block; }
.form-panel { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 42px); }
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field:nth-last-of-type(1), .consent, .form-submit, .form-privacy { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; }
.field label span { color: #9b5c4d; }
.field label small { color: var(--muted); font-weight: 400; margin-left: 5px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); padding: 12px 13px; color: var(--ink); outline-offset: 3px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sage); border-color: transparent; }
.consent { display: flex; align-items: flex-start; gap: 11px; font-size: 12px; color: var(--ink-soft); line-height: 1.6; }
.consent input { margin-top: 4px; accent-color: var(--sage-dark); }
 .form-submit { justify-self: start; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.form-submit:disabled { cursor: wait; opacity: .78; transform: none; }
.form-submit-spinner { display: none; width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: form-submit-spin .7s linear infinite; }
.form-submit.is-submitting .form-submit-spinner { display: inline-block; }
.form-submit.is-submitting .form-submit-arrow { display: none; }
@keyframes form-submit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .form-submit-spinner { animation-duration: 1.5s; } }
.form-privacy { font-size: 11px; color: var(--muted); margin: -5px 0 0; }
.form-privacy a { text-underline-offset: 3px; }
.form-alert { padding: 14px 16px; font-size: 13px; margin-bottom: 22px; }
.form-error { background: #f5e5e1; color: #6b3028; }
.form-success { background: #e5ebdf; color: #334b38; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.site-footer { background: #e8e3d9; padding: 55px 0 20px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 45px; padding-bottom: 45px; }
.brand-footer strong { font-size: 24px; }
.footer-brand > p { color: var(--muted); font-size: 12px; margin: 17px 0 0; }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-main a:not(.brand) { color: var(--ink-soft); font-size: 12px; text-decoration: none; }
.footer-main a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-label { font-size: 10px; letter-spacing: .15em; color: var(--muted); font-weight: 700; margin-bottom: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #d0cabe; padding-top: 17px; font-size: 10px; color: var(--muted); }
.footer-bottom a { text-decoration: none; }
@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 390px; }
  .intro-grid, .service-feature, .approach-grid, .practical-grid, .two-col-content, .fee-layout, .contact-grid, .split-callout { grid-template-columns: 1fr; }
  .intro-grid { gap: 18px; }
  .service-feature { gap: 18px; }
  .service-number { padding: 0; }
  .service-aside { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .approach-art { min-height: 330px; order: 2; }
  .approach-copy { order: 1; }
  .detail-grid { grid-template-columns: 1fr; gap: 18px; }
  .detail-grid article { padding: 18px 0; }
  .detail-index { margin-bottom: 12px; }
  .split-callout { gap: 22px; }
  .closing-inline { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 650px) {
  .crisis-strip p { text-align: left; }
  .header-inner { min-height: 72px; }
  .brand strong { font-size: 23px; }
  .nav-toggle { display: block; cursor: pointer; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 15px var(--gutter) 22px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a { padding: 13px 0; }
  .primary-nav .nav-cta { text-align: center; margin-top: 10px; padding: 11px 18px; }
  h1 { font-size: clamp(48px, 13vw, 68px); }
  h2 { font-size: clamp(39px, 10vw, 53px); }
  .hero { padding-top: 57px; }
  .hero-art { min-height: 340px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .service-feature { padding: 26px 0; }
  .enquiry-form { grid-template-columns: 1fr; }
  .field, .field:nth-last-of-type(1), .consent, .form-submit, .form-privacy { grid-column: 1; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .closing-inline h2 { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
