/* MJ Imagine / Blue & platinum — no framework or font dependency */
:root {
    --navy: #031b40;
    --blue: #073676;
    --royal: #155ad0;
    --ice: #b8dcff;
    --ink: #142844;
    --muted: #627085;
    --paper: #f6f8fc;
    --line: #dbe3ef;
    --ease: cubic-bezier(.22, .68, 0, 1.12);
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Arial, Helvetica, sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px
}

body {
    margin: 0;
    font: 15px/1.65 var(--sans);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased
}

a {
    color: inherit;
    text-decoration: none
}

button,
summary,
a {
    -webkit-tap-highlight-color: transparent
}

button {
    font: inherit;
    cursor: pointer
}

button,
a,
summary {
    touch-action: manipulation
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid #5d9eff;
    outline-offset: 6px
}

::selection {
    background: #b8d5ff;
    color: #061d43
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2,
h3 {
    font-weight: 400;
    line-height: 1.1
}

h1,
h2,
.quote {
    font-family: var(--serif);
    letter-spacing: -.045em
}

h2 {
    font-size: clamp(38px, 4.6vw, 65px)
}

h3 {
    font-size: 26px;
    letter-spacing: -.025em
}

p {
    color: var(--muted)
}

em {
    font-weight: 400;
    font-style: normal
}

img {
    max-width: 100%;
    display: block
}

.wrap {
    width: min(1280px, calc(100% - 112px));
    margin: auto
}

.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 {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    background: white;
    padding: 15px
}

.skip:focus {
    top: 15px
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #174a99, #76baff);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 100;
    pointer-events: none
}

/* The supplied logo remains unmodified; its surrounding whitespace is framed in CSS. */
.site-header {
    position: relative;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #e7edf7
}

.nav {
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.logo {
    display: block;
    flex-shrink: 0
}

.logo-image {
    position: relative;
    display: block;
    width: 176px;
    height: 83px;
    overflow: hidden;
    background: white
}

.logo-image img {
    position: absolute;
    width: 190px;
    max-width: none;
    height: auto;
    left: -7px;
    top: -11px
}

.links {
    display: flex;
    gap: 29px;
    align-items: center;
    font-size: 13px
}

.links>a {
    position: relative;
    padding: 12px 0
}

.links>a:after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--royal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s
}

.links>a:hover:after {
    transform: scaleX(1)
}

.nav-cta {
    display: flex;
    gap: 22px;
    align-items: center;
    font-size: 12px;
    border: 1px solid #c6d2e5;
    padding: 12px 19px;
    border-radius: 40px;
    color: var(--blue);
    transition: .3s
}

.nav-cta:hover {
    background: var(--blue);
    color: white;
    box-shadow: 0 8px 22px #07367626
}

.nav-cta span {
    font-size: 18px
}

.menu-toggle {
    display: none
}

.nav-group {
    position: relative
}

.nav-group summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 0
}

.nav-group summary::-webkit-details-marker {
    display: none
}

.nav-group summary span {
    margin-left: 7px
}

.dropdown {
    position: absolute;
    top: 46px;
    left: -24px;
    width: 310px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 20px 45px #041c3e22;
    border-radius: 12px
}

.dropdown a {
    display: block;
    font-size: 13px;
    padding: 9px 12px;
    border-radius: 6px;
    line-height: 1.4
}

.dropdown a:hover {
    background: #edf4ff;
    color: var(--royal)
}

/* Hero: live, illuminated 3D geometry; real content above the canvas. */
body:not(.inner-page) #main>.wrap:first-child {
    position: relative;
    width: 100%;
    isolation: isolate;
    background: radial-gradient(ellipse at 80% 45%, #103c79 0%, #061e43 43%, #020f26 85%);
    overflow: hidden;
    color: white
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: center;
    width: min(1280px, calc(100% - 112px));
    min-height: 710px;
    margin: auto;
    padding: 80px 0 90px
}

.hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -30vw;
    width: 160vw;
    height: 150px;
    background: linear-gradient(0deg, #03132988, transparent);
    z-index: -1
}

.hero>div:first-of-type {
    position: relative;
    z-index: 2
}

.eyebrow {
    display: block;
    font-size: 10px;
    line-height: 1.6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .2em;
    margin-bottom: 25px
}

.hero .eyebrow {
    color: #a4c8ef
}

.hero h1 {
    font-size: clamp(66px, 7.5vw, 108px);
    line-height: .99;
    letter-spacing: -.055em;
    margin-bottom: 31px
}

.hero h1 em {
    background: linear-gradient(110deg, #fff 15%, #9ecbff 55%, #6c9adb 90%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent
}

.hero p {
    font-size: 16px;
    line-height: 1.9;
    max-width: 470px;
    color: #b7c7dd
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 17px;
    margin-top: 32px
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 15px 24px;
    border-radius: 32px;
    background: linear-gradient(130deg, #f4f9ff, #a9cfff);
    color: #082b5e;
    font-size: 12px;
    font-weight: 600;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s
}

.btn span {
    font-size: 20px;
    line-height: 1;
    transition: transform .3s
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px #6eacff40
}

.btn:hover span {
    transform: translate(3px, -3px)
}

.btn:before {
    content: '';
    position: absolute;
    inset: -100%;
    background: linear-gradient(100deg, transparent 40%, #ffffff75, transparent 60%);
    transform: translateX(-80%) rotate(15deg);
    transition: transform .7s
}

.btn:hover:before {
    transform: translateX(80%) rotate(15deg)
}

.btn.alt {
    background: transparent;
    border: 1px solid #607a9a;
    color: #eff6ff;
    box-shadow: none
}

.hero canvas {
    position: absolute;
    right: -100px;
    top: 0;
    width: 760px;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: .86
}

.ecosystem {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 22px 12px 0;
    perspective: 1000px;
    will-change: transform
}

.ecosystem>.eyebrow {
    font-size: 9px;
    text-align: center;
    color: #c0d7f6;
    letter-spacing: .12em;
    margin-bottom: 20px
}

.orbit {
    position: relative;
    width: min(100%, 430px);
    height: 350px;
    margin: auto
}

.orbit:before {
    content: '';
    position: absolute;
    inset: 23px 57px;
    border: 1px solid #9bc6ff38;
    border-radius: 50%;
    transform: rotate(-25deg)
}

.orbit-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 1px solid #b9d6ff36;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font: 29px/1.15 var(--serif);
    text-align: center;
    background: radial-gradient(circle at 30% 15%, #19569d80, #051b37d9 75%);
    box-shadow: inset 0 1px 15px #badfff20, 0 20px 70px #0003;
    backdrop-filter: blur(7px)
}

.orbit-center small {
    font: 10px/1.5 var(--sans);
    color: #bacfe7;
    margin-top: 16px
}

.orbit-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    padding: 9px 13px;
    border-radius: 26px;
    border: 1px solid #aacfff45;
    background: #09274adb;
    box-shadow: 0 5px 20px #0002;
    backdrop-filter: blur(6px)
}

.orbit-label:nth-of-type(1) {
    top: 4%;
    left: 6%
}

.orbit-label:nth-of-type(2) {
    right: 1%;
    top: 24%
}

.orbit-label:nth-of-type(3) {
    bottom: 12%;
    left: 0
}

.orbit-label:nth-of-type(4) {
    bottom: 2%;
    right: 7%
}

.orbit-label .icon {
    width: 23px;
    height: 23px;
    color: #b3d7ff
}

.eco-bottom {
    text-align: center;
    color: #dbeaff;
    margin-top: 20px;
    font: 18px/1.5 var(--serif)
}

.eco-bottom>span {
    font: 9px var(--sans);
    letter-spacing: .28em;
    color: #9fbce3;
    display: block;
    margin-bottom: 6px
}

.ticker {
    background: #06214b;
    color: #c4d6ef;
    border-top: 1px solid #395475;
    border-bottom: 1px solid #1b3c67
}

.ticker .wrap {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding-block: 22px
}

.ticker a {
    font-size: 11px;
    letter-spacing: .04em;
    transition: color .3s;
    display: flex;
    gap: 20px;
    align-items: center;
    white-space: nowrap
}

.ticker a:hover {
    color: white
}

.ticker b {
    font-size: 16px;
    color: #91bcf3;
    font-weight: 400
}

/* Editorial chapters */
.section {
    padding: 110px 0
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 70px;
    margin-bottom: 54px
}

.section-head>p {
    max-width: 405px;
    line-height: 1.85;
    font-size: 14px
}

.section-head h2 em {
    color: #6b7e98
}

.section-head .eyebrow {
    color: #496893;
    margin-bottom: 19px
}

.rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px
}

.rail-card {
    position: relative;
    background: linear-gradient(130deg, #fff, #edf2fa);
    border: 1px solid #dce5f2;
    border-radius: 4px;
    padding: 36px 38px;
    overflow: hidden;
    min-height: 332px;
    transform-style: preserve-3d;
    transition: box-shadow .4s, border-color .4s
}

.num {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .14em;
    color: #71809a
}

.rail-card .num {
    margin-bottom: 54px
}

.rail-card h3 {
    font-family: var(--serif);
    font-size: 31px;
    position: relative;
    z-index: 2;
    max-width: 70%
}

.rail-card p {
    max-width: 330px;
    font-size: 13px;
    line-height: 1.75;
    margin-top: 17px;
    position: relative;
    z-index: 2
}

.rail-card .actions {
    margin-top: 24px
}

.text-link {
    display: inline-block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 0;
    border-bottom: 1px solid #9cacbf;
    transition: color .3s, border-color .3s, transform .3s
}

.text-link:hover {
    color: var(--royal);
    border-color: var(--royal);
    transform: translateX(4px)
}

.rail-card:hover {
    box-shadow: 0 25px 50px #0c315b12;
    border-color: #b4c9e5
}

.rail-art {
    position: absolute;
    right: 10px;
    top: 32px;
    width: 190px;
    height: 210px;
    pointer-events: none;
    perspective: 700px;
    opacity: .8
}

.rail-art i {
    position: absolute;
    display: block;
    border-radius: 50%;
    box-shadow: inset 4px 5px 10px #fff, inset -7px -5px 13px #1b3c6e69, 6px 12px 20px #0d37613b;
    border: 19px solid #b9cce5;
    background: transparent;
    transition: transform .7s var(--ease)
}

.art-relationship i {
    width: 120px;
    height: 120px;
    top: 40px;
    left: 10px;
    transform: rotateY(30deg) rotateX(20deg) rotateZ(-30deg)
}

.art-relationship i+i {
    left: 70px;
    top: 73px;
    transform: rotateY(-30deg) rotateX(-20deg) rotateZ(30deg);
    border-color: #164e9a;
    box-shadow: inset 4px 5px 10px #8dc0ff, inset -7px -5px 13px #06245b, 6px 12px 20px #0d37613b
}

.rail-card:hover .art-relationship i {
    transform: rotateY(50deg) rotateX(30deg) rotateZ(0)
}

.rail-card:hover .art-relationship i+i {
    transform: rotateY(-50deg) rotateX(-30deg) rotateZ(0)
}

.art-clarity i {
    inset: 0;
    transform: rotateY(-35deg) rotateX(15deg);
    border-width: 13px
}

.art-clarity i:nth-child(2) {
    inset: 28px;
    border-color: #507db5
}

.art-clarity i:nth-child(3) {
    inset: 55px;
    border-color: #d2dfef
}

.rail-card:hover .art-clarity i {
    transform: rotateY(0deg) rotateX(0deg)
}

/* Service collection */
.section.dark:has(.service-grid) {
    background: #edf2f9;
    padding-top: 100px
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #d2deef;
    border: 1px solid #d2deef;
    border-radius: 5px;
    overflow: hidden
}

.service-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: #f9fbfe;
    padding: 28px 26px 27px;
    min-height: 292px;
    isolation: isolate;
    overflow: hidden;
    transition: background .4s, color .4s;
    transform-style: preserve-3d
}

.service-card:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), #3067a9, #082b60 75%);
    transition: opacity .4s
}

.service-card:hover:before,
.service-card:focus-visible:before {
    opacity: 1
}

.service-card:hover,
.service-card:focus-visible {
    color: white
}

.service-card h3 {
    font-size: 19px;
    line-height: 1.3;
    font-family: var(--serif);
    margin-top: 22px
}

.service-card p {
    font-size: 12px;
    line-height: 1.65;
    margin-top: 9px;
    margin-bottom: 22px;
    transition: color .3s
}

.service-card:hover p,
.service-card:focus-visible p {
    color: #c1d5ef
}

.service-card:hover .num,
.service-card:focus-visible .num {
    color: #a9c4e8
}

.card-arrow {
    margin-top: auto;
    border: 1px solid #c7d5e7;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    font-size: 17px;
    transition: transform .4s, background .4s
}

.service-card:hover .card-arrow {
    transform: rotate(45deg);
    background: #ffffff15
}

.service-icon {
    position: relative;
    display: block;
    align-self: flex-end;
    margin-top: -5px;
    width: 64px;
    height: 64px;
    border-radius: 15px;
    background: linear-gradient(135deg, #fff, #d2e1f7);
    box-shadow: inset 1px 1px 1px #fff, 5px 7px 0 #afc4e480, 8px 12px 20px #163b6324;
    transform: perspective(400px) rotateY(-18deg) rotateX(12deg);
    transition: transform .6s var(--ease), box-shadow .5s;
    display: grid;
    place-items: center;
    color: #1c528f
}

.service-icon .icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(1px 2px 0 #fff)
}

.service-card:hover .service-icon {
    transform: perspective(400px) rotateY(0) rotateX(0) translateY(-7px);
    box-shadow: inset 1px 1px 1px #fff, 3px 7px 0 #7c9bca, 0 15px 30px #0004
}

.icon {
    flex-shrink: 0
}

/* Dimensional digital product */
.redeck-section {
    background: radial-gradient(ellipse at 85% 55%, #1a4a84, #071d3b 58%, #03142c);
    color: white;
    overflow: hidden;
    position: relative
}

.split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 90px;
    align-items: center
}

.split h2 {
    margin-bottom: 27px
}

.split h2 em {
    color: #a9cfff
}

.split>div>p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 26px;
    max-width: 390px;
    color: #adbfd7
}

.split .eyebrow {
    color: #8db7ea
}

.split .text-link {
    color: #d1e5ff;
    border-color: #6884a8
}

.preview {
    position: relative;
    background: linear-gradient(125deg, #fff, #e7eef8);
    color: #122d52;
    border: 9px solid #1e2b3f;
    outline: 1px solid #7c95b6;
    border-radius: 20px;
    padding: 28px 28px 34px;
    transform: perspective(1200px) rotateY(-12deg) rotateX(6deg);
    box-shadow: 18px 28px 0 -8px #020c1a, 0 50px 65px #0005;
    transform-style: preserve-3d
}

.preview:after {
    content: '';
    position: absolute;
    left: -7%;
    width: 114%;
    height: 14px;
    bottom: -24px;
    border-radius: 2px 2px 35% 35%;
    background: linear-gradient(#becce0, #63758f 40%, #172d4c);
    box-shadow: 0 20px 25px #0004
}

.preview-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 39px
}

.preview-label {
    font-size: 8px;
    letter-spacing: 0;
    font-weight: 400;
    color: #61758c;
    border: 1px solid #c8d4e5;
    padding: 4px 8px;
    border-radius: 20px
}

.preview h3 {
    font: 32px/1.15 var(--serif)
}

.preview>p {
    font-size: 11px;
    margin-top: 12px
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 32px
}

.preview-item {
    padding: 18px 7px;
    background: #dce6f34f;
    border: 1px solid #d2deee;
    border-radius: 9px;
    text-align: center;
    transition: transform .3s, background .3s
}

.preview-item:hover {
    transform: translateY(-5px);
    background: white
}

.preview-item .icon {
    width: 31px;
    height: 31px;
    color: #507eb1;
    margin-bottom: 11px
}

.preview-item small,
.preview-item strong {
    display: block
}

.preview-item small {
    font-size: 9px;
    white-space: nowrap
}

.preview-item strong {
    font-size: 10px;
    font-weight: 400;
    margin-top: 5px;
    color: #72829a
}

.preview-glow {
    position: absolute;
    inset: -50%;
    z-index: -1;
    background: radial-gradient(ellipse, #3685ec22, transparent 65%);
    pointer-events: none
}

/* Process, statement, close */
.light {
    background: #fff
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px
}

.step {
    border-top: 1px solid #cdd9e9;
    padding-top: 25px;
    position: relative
}

.step:before {
    content: '';
    height: 2px;
    width: 35px;
    background: #1b599f;
    position: absolute;
    top: -1px;
    left: 0;
    transition: width .5s
}

.step:hover:before {
    width: 100%
}

.step h3 {
    font: 26px/1.2 var(--serif);
    margin-top: 28px
}

.step p {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 16px;
    max-width: 310px
}

.legacy {
    position: relative;
    background: linear-gradient(115deg, #dce7f4, #f7f9fd 55%, #b8cce6);
    overflow: hidden;
    isolation: isolate;
    padding: 130px 0
}

.quote {
    font-size: clamp(35px, 4.5vw, 64px);
    line-height: 1.25;
    color: #153354;
    max-width: 960px;
    position: relative;
    z-index: 1
}

.quote em {
    color: #396b9f
}

.legacy-art {
    position: absolute;
    right: -200px;
    top: -150px;
    width: 750px;
    height: 750px;
    z-index: -1;
    opacity: .35;
    transform: rotate(-25deg)
}

.legacy-art i {
    position: absolute;
    inset: 40px;
    border: 60px solid #b3c4d9;
    border-radius: 50%;
    box-shadow: inset 20px 14px 35px #fff, 10px 20px 25px #37598360;
    transform: rotateY(50deg)
}

.legacy-art i:nth-child(2) {
    inset: 160px;
    border-width: 40px
}

.legacy-art i:nth-child(3) {
    inset: 260px;
    border-width: 30px
}

.contact-band {
    position: relative;
    background: #06234c;
    color: white;
    padding: 76px 0;
    overflow: hidden
}

.contact-band:after {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    border: 1px solid #749ed32b;
    border-radius: 50%;
    right: 6%;
    top: -220px;
    box-shadow: 0 0 0 60px #749ed30b, 0 0 0 120px #749ed309;
    pointer-events: none
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1
}

.contact-inner .eyebrow {
    color: #92b9eb;
    margin-bottom: 17px
}

.contact-inner h2 {
    font-size: clamp(38px, 4.4vw, 62px)
}

.contact-inner p {
    color: #b7cbe6;
    max-width: 540px;
    font-size: 13px;
    margin-top: 20px
}

.contact-inner>.btn {
    flex-shrink: 0
}

.site-footer {
    background: #fff;
    padding: 65px 0 24px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr .7fr;
    gap: 40px
}

.footer-grid .logo-image {
    width: 176px;
    height: 83px;
    margin-left: -12px
}

.footer-grid>div>p {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 20px
}

.footer-grid h3 {
    font: 12px var(--sans);
    font-weight: 600;
    margin: 12px 0 23px
}

.footer-grid>div>a:not(.logo) {
    display: block;
    font-size: 11px;
    color: #6d7d92;
    margin-bottom: 10px;
    transition: color .25s, transform .25s
}

.footer-grid>div>a:not(.logo):hover {
    color: var(--royal);
    transform: translateX(3px)
}

.footer-note {
    border-top: 1px solid #d9e2ef;
    margin-top: 50px;
    padding-top: 24px
}

.footer-note p {
    font-size: 9px;
    line-height: 1.9;
    max-width: 1120px
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    color: #7d8b9e;
    margin-top: 24px;
    align-items: center
}

.footer-bottom a:hover {
    color: var(--blue)
}

.back-top {
    background: transparent;
    border: 0;
    color: var(--blue);
    font-size: 10px;
    padding: 10px 0
}

.back-top:hover {
    transform: translateY(-2px)
}

@media(min-width:901px) {
    [data-tilt] {
        transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
        transition: transform .28s ease-out
    }

    .preview[data-tilt] {
        transform: perspective(1200px) rotateX(calc(6deg + var(--rx, 0deg))) rotateY(calc(-12deg + var(--ry, 0deg)))
    }
}

@media(max-width:1150px) {

    .wrap,
    .hero {
        width: calc(100% - 64px)
    }

    .nav {
        gap: 18px
    }

    .links {
        gap: 18px
    }

    .nav-cta {
        font-size: 11px;
        padding: 11px 14px;
        gap: 12px
    }

    .logo-image {
        width: 145px
    }

    .logo-image img {
        left: -22px
    }

    .hero {
        gap: 20px;
        min-height: 660px
    }

    .hero h1 {
        font-size: 84px
    }

    .hero canvas {
        right: -150px;
        width: 680px
    }

    .split {
        gap: 50px
    }

    .service-card {
        padding: 23px 20px
    }

    .rail-card {
        padding: 30px
    }

    .rail-art {
        right: -20px;
        opacity: .5
    }

    .preview {
        padding: 23px 18px 27px
    }

    .ticker a {
        gap: 10px
    }

    .section-head {
        gap: 40px
    }
}

@media(max-width:900px) {
    .nav {
        min-height: 90px;
        flex-wrap: wrap;
        gap: 16px
    }

    .logo-image {
        height: 83px
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        border: 1px solid #cbd7e8;
        border-radius: 25px;
        padding: 8px 16px;
        background: white;
        font-size: 12px;
        color: var(--blue)
    }

    .nav-cta {
        display: none
    }

    .links {
        display: none;
        order: 3;
        flex-basis: 100%;
        padding: 10px 0 24px
    }

    .links.is-open {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0
    }

    .links>a,
    .nav-group summary {
        padding: 10px
    }

    .dropdown {
        position: static;
        box-shadow: none;
        width: 100%;
        margin: 5px 0 10px;
        border: 0;
        border-left: 1px solid #cbd7e8;
        border-radius: 0
    }

    .hero {
        grid-template-columns: 1fr .85fr;
        min-height: 610px;
        padding-block: 70px;
        gap: 12px
    }

    .hero h1 {
        font-size: clamp(54px, 8.4vw, 76px)
    }

    .hero p {
        font-size: 14px
    }

    .hero .actions {
        gap: 12px
    }

    .btn {
        font-size: 11px;
        padding: 13px 19px;
        gap: 15px
    }

    .ecosystem {
        padding-inline: 0
    }

    .orbit {
        height: 300px
    }

    .orbit-center {
        width: 160px;
        height: 160px;
        font-size: 25px
    }

    .orbit-label {
        padding: 6px 9px;
        font-size: 9px;
        gap: 6px
    }

    .orbit-label .icon {
        width: 19px;
        height: 19px
    }

    .ecosystem>.eyebrow {
        font-size: 8px
    }

    .hero canvas {
        right: -130px;
        width: 570px
    }

    .ticker .wrap {
        gap: 15px;
        overflow-x: auto;
        scrollbar-width: none
    }

    .ticker .wrap::-webkit-scrollbar {
        display: none
    }

    .ticker a {
        font-size: 10px;
        gap: 8px
    }

    .section {
        padding: 80px 0
    }

    .section-head {
        gap: 35px
    }

    .section-head>p {
        max-width: 330px;
        font-size: 13px
    }

    .rail-card h3 {
        max-width: 100%;
        font-size: 28px
    }

    .rail-art {
        width: 140px;
        right: -40px;
        top: 30px;
        opacity: .25
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .service-card {
        padding: 28px;
        min-height: 275px
    }

    .split {
        grid-template-columns: 1fr;
        gap: 65px
    }

    .split>div:first-child {
        max-width: 650px
    }

    .split>div>p {
        max-width: 520px
    }

    .preview {
        width: min(580px, 93%);
        margin: auto;
        transform: perspective(1200px) rotateY(-9deg) rotateX(4deg);
        padding: 30px
    }

    .preview-grid {
        gap: 12px
    }

    .preview-item {
        padding: 23px 10px
    }

    .steps {
        gap: 26px
    }

    .step h3 {
        font-size: 23px
    }

    .step p {
        font-size: 12px
    }

    .legacy {
        padding-block: 95px
    }

    .contact-inner {
        gap: 30px
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 35px 50px
    }
}

@media(max-width:600px) {

    .wrap,
    .hero {
        width: calc(100% - 40px)
    }

    .nav {
        min-height: 86px
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 54px 0 42px;
        gap: 36px;
        min-height: 0
    }

    .hero h1 {
        font-size: 68px;
        line-height: 1.01;
        margin-bottom: 24px
    }

    .hero .eyebrow {
        font-size: 8px;
        letter-spacing: .17em;
        margin-bottom: 21px
    }

    .hero p {
        max-width: 440px;
        font-size: 13px;
        line-height: 1.85
    }

    .hero .actions {
        margin-top: 25px;
        gap: 10px
    }

    .btn {
        padding: 13px 17px;
        font-size: 10px
    }

    .hero canvas {
        top: auto;
        bottom: 0;
        right: -70px;
        width: calc(100% + 140px);
        height: 430px
    }

    .ecosystem {
        max-width: 400px;
        margin: auto;
        padding-top: 0
    }

    .ecosystem>.eyebrow {
        font-size: 8px
    }

    .orbit {
        height: 280px;
        max-width: 340px
    }

    .orbit-center {
        width: 160px;
        height: 160px;
        font-size: 25px
    }

    .eco-bottom {
        margin-top: 10px;
        font-size: 16px
    }

    .eco-bottom>span {
        font-size: 8px
    }

    .ticker .wrap {
        padding-block: 18px;
        gap: 24px
    }

    .ticker a {
        font-size: 10px
    }

    .section {
        padding: 65px 0
    }

    .section-head {
        display: block;
        margin-bottom: 34px
    }

    .section-head h2 {
        font-size: 39px
    }

    .section-head>p {
        margin-top: 25px;
        max-width: 100%;
        font-size: 13px
    }

    .section-head .eyebrow {
        font-size: 9px;
        margin-bottom: 16px
    }

    .rail {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .rail-card {
        padding: 28px;
        min-height: 310px
    }

    .rail-card .num {
        margin-bottom: 46px
    }

    .rail-card h3 {
        font-size: 31px;
        max-width: 80%
    }

    .rail-art {
        right: 4px;
        opacity: .6;
        top: 40px
    }

    .rail-card p {
        font-size: 12px;
        max-width: 270px
    }

    .section.dark:has(.service-grid) {
        padding-top: 65px
    }

    .service-card {
        padding: 22px 18px;
        min-height: 286px
    }

    .service-card h3 {
        font-size: 20px;
        margin-top: 27px
    }

    .service-card p {
        font-size: 11px
    }

    .service-card .num {
        font-size: 9px
    }

    .service-icon {
        width: 49px;
        height: 49px;
        margin-top: 7px;
        border-radius: 11px
    }

    .service-icon .icon {
        width: 31px;
        height: 31px
    }

    .service-grid {
        border-radius: 3px
    }

    .split {
        gap: 49px
    }

    .split h2 {
        font-size: 42px
    }

    .split>div>p {
        font-size: 13px
    }

    .split .eyebrow {
        font-size: 8px
    }

    .preview {
        width: 97%;
        padding: 21px 15px 24px;
        border-width: 6px;
        border-radius: 13px;
        transform: perspective(1200px) rotateY(-5deg) rotateX(4deg)
    }

    .preview-head {
        font-size: 9px;
        margin-bottom: 25px;
        gap: 9px
    }

    .preview-label {
        font-size: 7px;
        padding: 3px 6px
    }

    .preview h3 {
        font-size: 28px
    }

    .preview>p {
        font-size: 10px
    }

    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 24px
    }

    .preview-item {
        padding: 13px 6px
    }

    .preview-item small {
        font-size: 9px
    }

    .preview-item .icon {
        width: 25px;
        height: 25px;
        margin-bottom: 6px
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .step {
        padding-top: 20px
    }

    .step h3 {
        font-size: 26px;
        margin-top: 18px
    }

    .step p {
        font-size: 13px;
        max-width: 100%
    }

    .legacy {
        padding-block: 75px
    }

    .quote {
        font-size: 36px
    }

    .legacy-art {
        right: -450px
    }

    .contact-inner {
        display: block
    }

    .contact-inner h2 {
        font-size: 41px
    }

    .contact-inner p {
        font-size: 12px
    }

    .contact-inner>.btn {
        margin-top: 28px
    }

    .contact-band {
        padding-block: 58px
    }

    .contact-inner .eyebrow {
        font-size: 8px
    }

    .site-footer {
        padding-top: 45px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px
    }

    .footer-grid>div:first-child {
        grid-column: 1/-1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px
    }

    .footer-grid>div:first-child p {
        font-size: 10px;
        margin: 0;
        max-width: 150px
    }

    .footer-grid .logo-image {
        width: 145px
    }

    .footer-grid h3 {
        font-size: 11px
    }

    .footer-grid>div>a:not(.logo) {
        font-size: 10px
    }

    .footer-note {
        margin-top: 30px
    }

    .footer-bottom {
        flex-wrap: wrap;
        font-size: 9px;
        gap: 12px
    }

    .footer-note p {
        font-size: 8px
    }

    .back-top {
        font-size: 9px
    }

    .nav .logo-image {
        margin-left: -12px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important
    }

    [data-tilt] {
        transform: none !important
    }

    .reading-progress {
        display: none
    }

    .btn:hover,
    .service-card:hover .service-icon,
    .preview-item:hover {
        transform: none
    }
}

/* Complete site — shared interior design system */
:root {
    --sans: Manrope, Arial, Helvetica, sans-serif
}

.links>a[aria-current="page"] {
    color: var(--royal)
}

.links>a[aria-current="page"]:after {
    transform: scaleX(1)
}

[hidden] {
    display: none !important
}

.inner-page main {
    overflow: clip
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-block: 25px;
    font-size: 10px;
    color: #71839b
}

.breadcrumb a {
    color: #2a5689
}

.breadcrumb a:hover {
    text-decoration: underline
}

.breadcrumb [aria-current] {
    color: #163c6d
}

.page-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 80px;
    align-items: center;
    padding-block: 35px 80px;
    min-height: 520px
}

.page-hero:before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 20px;
    right: -170px;
    width: 630px;
    height: 520px;
    background: radial-gradient(ellipse, #d8e7fb88, transparent 69%);
    pointer-events: none
}

.page-hero h1,
.inner-page .prose h1,
.inner-page .sitemap-grid~h1,
.page-sitemap main h1,
.page-404 main h1 {
    font: clamp(50px, 5.9vw, 82px)/1.04 var(--serif);
    letter-spacing: -.05em;
    overflow-wrap: break-word
}

.page-hero h1 em {
    color: #426c9e
}

.page-hero .eyebrow {
    color: #48678e;
    font-size: 9px;
    margin-bottom: 22px
}

.page-hero .lead {
    font-size: 15px;
    line-height: 1.85;
    margin-top: 27px;
    max-width: 570px
}

.page-hero .btn {
    margin-top: 30px;
    background: linear-gradient(135deg, #174d91, #082c62);
    color: white;
    border: 1px solid #3b6197;
    box-shadow: 0 9px 22px #093d7d16
}

.page-hero .btn:hover {
    box-shadow: 0 16px 28px #093d7d32
}

.hero-note {
    position: relative;
    isolation: isolate;
    min-height: 335px;
    padding: 200px 32px 30px;
    border-radius: 8px;
    background: radial-gradient(ellipse at 65% 15%, #1b4a84, #09254f 70%);
    color: #fff;
    box-shadow: 0 30px 55px -25px #12386780, inset 0 0 0 1px #ffffff18;
    transform-style: preserve-3d;
    overflow: hidden
}

.hero-note:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, #c2deff0d, transparent 60%);
    pointer-events: none
}

.hero-note h3 {
    font: 29px/1.2 var(--serif);
    position: relative
}

.hero-note p {
    font-size: 12px;
    line-height: 1.85;
    margin-top: 16px;
    color: #b9cee8;
    position: relative
}

.hero-note .small {
    font-size: 10px;
    color: #a8c1e1
}

.hero-note .chapter {
    position: absolute;
    top: 25px;
    left: 28px;
    font: 12px var(--sans);
    color: #95b7df;
    letter-spacing: .2em
}

.hero-note .btn {
    margin-top: 20px;
    background: #d4e6fd;
    color: #0a2e5b;
    border-color: #b2cdef;
    box-shadow: none
}

.page-sculpture {
    position: absolute;
    width: 260px;
    height: 210px;
    top: -6px;
    right: calc(50% - 130px);
    perspective: 900px;
    pointer-events: none;
    transform-style: preserve-3d
}

.page-sculpture>i {
    position: absolute;
    left: 43px;
    top: 20px;
    width: 170px;
    height: 170px;
    border: 13px solid #9fbbdc;
    border-radius: 50%;
    box-shadow: inset 5px 6px 8px #edf6ff, inset -5px -5px 7px #305b8f, 8px 10px 18px #0004;
    transform: rotateX(58deg) rotateY(-22deg) rotateZ(-30deg);
    animation: orbit-breathe 12s ease-in-out infinite alternate
}

.page-sculpture>i:nth-child(2) {
    border-width: 4px;
    border-color: #3771bd;
    transform: rotateX(-24deg) rotateY(50deg) rotateZ(25deg);
    animation-direction: alternate-reverse;
    animation-delay: -4s;
    box-shadow: 0 0 20px #5ba6ff40
}

.sculpture-icon {
    position: absolute;
    left: 92px;
    top: 60px;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    color: #b6d8ff;
    background: linear-gradient(135deg, #3d6fa5aa, #0c2d59);
    border: 1px solid #9dbde966;
    border-radius: 19px;
    box-shadow: 5px 8px 0 #031d43, 0 12px 25px #0005;
    transform: rotateY(-16deg) rotateX(10deg);
    animation: float-symbol 7s ease-in-out infinite
}

.sculpture-icon svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 0 #021936)
}

@keyframes orbit-breathe {
    from {
        transform: rotateX(58deg) rotateY(-22deg) rotateZ(-30deg)
    }

    to {
        transform: rotateX(35deg) rotateY(20deg) rotateZ(15deg)
    }
}

@keyframes float-symbol {

    0%,
    100% {
        transform: rotateY(-16deg) rotateX(10deg) translateY(0)
    }

    50% {
        transform: rotateY(8deg) rotateX(5deg) translateY(-7px)
    }
}

.body-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 80px;
    align-items: start
}

.body-copy>section {
    margin-bottom: 64px
}

.body-copy>section:last-child {
    margin-bottom: 0
}

.body-copy h2 {
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -.035em;
    margin-bottom: 25px
}

.body-copy p {
    font-size: 14px;
    line-height: 1.95
}

.body-copy .eyebrow {
    color: #587394;
    font-size: 9px;
    margin-bottom: 18px
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px
}

.feature {
    position: relative;
    padding: 28px;
    background: linear-gradient(135deg, #f8fbff, #eef3fa);
    border: 1px solid #dce6f3;
    border-radius: 5px;
    transition: box-shadow .3s, border-color .3s;
    transform-style: preserve-3d
}

.feature:hover {
    border-color: #a6bddb;
    box-shadow: 0 17px 32px #173d6912
}

.feature-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    color: #315f98;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #fff, #d9e6f8);
    border: 1px solid #c9d9ef;
    border-radius: 11px;
    box-shadow: 3px 4px 0 #b7cae470;
    transition: transform .4s
}

.feature-icon svg {
    width: 27px;
    height: 27px
}

.feature:hover .feature-icon {
    transform: translateY(-4px) rotate(-5deg)
}

.feature h3 {
    font: 24px/1.2 var(--serif);
    margin-bottom: 15px
}

.feature p,
.body-copy .feature p {
    font-size: 12px;
    line-height: 1.9
}

.feature .text-link {
    margin-top: 20px
}

.aside {
    position: sticky;
    top: 35px;
    padding: 29px;
    background: #f2f6fc;
    border: 1px solid #d7e2f1;
    border-top: 3px solid #2c5b98;
    border-radius: 3px
}

.aside .eyebrow {
    font-size: 9px;
    color: #60789a;
    margin-bottom: 17px
}

.aside h3 {
    font: 27px/1.2 var(--serif);
    margin-bottom: 25px
}

.aside>a:not(.btn) {
    display: block;
    font-size: 11px;
    padding: 15px 0;
    border-bottom: 1px solid #dce5f2;
    line-height: 1.65;
    color: #47658a;
    transition: color .3s, padding .3s
}

.aside>a:not(.btn):hover {
    padding-left: 5px;
    color: #0d4ea0
}

.aside .btn {
    font-size: 10px;
    padding: 12px 16px;
    margin-top: 26px;
    width: 100%;
    gap: 10px;
    background: #0d356d;
    color: #fff
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 28px 0
}

.checklist li {
    position: relative;
    padding: 16px 12px 16px 32px;
    border-bottom: 1px solid #dbe5f1;
    font-size: 13px;
    line-height: 1.8;
    color: #496482
}

.checklist li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 16px;
    color: #2260a5;
    font-size: 14px
}

.note,
.body-copy p.note {
    font-size: 11px;
    line-height: 1.85;
    padding: 20px 22px;
    background: #eff4fa;
    border-left: 2px solid #9bb6db;
    color: #657b98
}

.faq {
    border-top: 1px solid #cfdbed
}

.faq details {
    border-bottom: 1px solid #cfdbed;
    padding: 0 3px
}

.faq summary {
    position: relative;
    padding: 23px 40px 23px 0;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
    color: #23466f
}

.faq summary::-webkit-details-marker {
    display: none
}

.faq summary:after {
    content: '+';
    position: absolute;
    right: 9px;
    top: 19px;
    font: 25px var(--sans);
    font-weight: 400;
    color: #5377a4
}

.faq details[open] summary:after {
    content: '−'
}

.faq details[open] summary {
    color: #1457a6
}

.faq details>p {
    padding: 0 28px 25px 0;
    font-size: 13px;
    max-width: 680px
}

.inner-page .section.dark {
    background: #07234a;
    color: white
}

.inner-page .section.dark p {
    color: #bdcee5
}

.inner-page .section.dark .section-head {
    margin-bottom: 0
}

.inner-page .section.dark .section-head>div {
    max-width: 520px;
    font-size: 14px;
    line-height: 1.9
}

.inner-page .section-head h2 em {
    color: #7187a5
}

.inner-page .split>div>p {
    color: var(--muted)
}

.inner-page .split h2 em {
    color: #416b9d
}

.inner-page .split .text-link {
    color: var(--blue);
    border-color: #8ba5c6
}

.inner-page .split .eyebrow {
    color: #51729a
}

.inner-page .section .split>.preview {
    color: #122d52
}

.inner-page .preview>p {
    color: #627085
}

.inner-page .preview {
    padding-bottom: 28px
}

.inner-page .preview .preview-grid {
    gap: 6px
}

.inner-page .preview .preview-item {
    padding: 16px 5px
}

.inner-page .preview-item small {
    white-space: normal
}

.preview-links {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    border-bottom: 1px solid #b8cce5;
    margin-top: 30px
}

.preview-links button {
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 12px 9px;
    color: #627b9a;
    font-size: 10px
}

.preview-links button[aria-selected="true"] {
    color: #124982;
    border-color: #2c70be
}

.preview-panel {
    padding-top: 14px;
    min-height: 115px
}

.preview-panel h4 {
    font: 20px var(--serif);
    margin: 10px 0
}

.preview-panel p {
    font-size: 11px;
    line-height: 1.8
}

.service-directory {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px
}

.directory-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 37px;
    border: 1px solid #d9e3f0;
    background: linear-gradient(135deg, #fff, #f3f7fd);
    border-radius: 5px;
    transition: box-shadow .3s, border-color .3s;
    overflow: hidden
}

.directory-item:hover {
    border-color: #9bb9dd;
    box-shadow: 0 20px 45px #153f6d12
}

.directory-icon {
    align-self: flex-end;
    display: block;
    width: 60px;
    height: 60px;
    color: #356ca6;
    margin-bottom: 28px;
    transform: perspective(350px) rotateY(-14deg) rotateX(10deg);
    filter: drop-shadow(3px 6px 1px #b5cbe7);
    transition: transform .4s
}

.directory-icon svg {
    width: 100%;
    height: 100%
}

.directory-item:hover .directory-icon {
    transform: translateY(-4px) rotateY(0)
}

.directory-top .num {
    font-size: 9px;
    line-height: 1.8;
    letter-spacing: .08em;
    margin-bottom: 20px
}

.directory-item h2 {
    font-size: 35px;
    margin-bottom: 20px;
    line-height: 1.15
}

.directory-item p {
    font-size: 13px;
    line-height: 1.85;
    margin-bottom: 24px
}

.directory-item>.text-link {
    margin-top: auto
}

.sub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px
}

.sub-links a {
    font-size: 10px;
    line-height: 1.6;
    border: 1px solid #cbd9ec;
    border-radius: 20px;
    padding: 7px 13px;
    color: #4b6b92;
    transition: background .3s, color .3s
}

.sub-links a:hover {
    background: #123c73;
    color: white
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start
}

.contact-layout h2 {
    font-size: 42px;
    margin-bottom: 26px
}

.contact-layout>div>p {
    font-size: 13px;
    line-height: 1.9
}

.contact-layout .eyebrow {
    font-size: 9px;
    color: #55779d
}

.contact-details {
    border-block: 1px solid #dae5f3;
    margin: 32px 0;
    padding: 28px 0
}

.contact-details h3 {
    font: 21px var(--serif);
    margin-bottom: 14px
}

.contact-details a {
    display: inline-block;
    color: #28588e;
    font-size: 15px;
    overflow-wrap: anywhere
}

.contact-details h3:not(:first-child) {
    margin-top: 28px
}

.contact-details p {
    font-size: 12px;
    line-height: 1.9
}

.contact-layout form {
    padding: 35px;
    background: #f5f8fc;
    border: 1px solid #d8e3f1;
    border-radius: 7px;
    box-shadow: 0 25px 60px #173c6210
}

.field {
    margin-bottom: 23px
}

.field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 9px;
    color: #304d71
}

.field .required {
    font-size: 9px;
    font-weight: 400;
    color: #7189a4
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

input,
select,
textarea {
    font: 13px/1.65 var(--sans);
    color: #1a375d;
    max-width: 100%
}

input:not([type="checkbox"]),
select,
textarea {
    width: 100%;
    border: 1px solid #cddbee;
    border-radius: 4px;
    padding: 12px 13px;
    background: #fff;
    outline-offset: 3px;
    transition: border-color .3s, box-shadow .3s
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #77a6e3;
    border-color: #3f73b8;
    box-shadow: 0 0 0 4px #7aace916
}

textarea {
    min-height: 135px;
    resize: vertical
}

textarea::placeholder {
    font-size: 11px;
    color: #8998ad
}

.field .consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-weight: 400;
    font-size: 10px;
    line-height: 1.9
}

.consent input {
    width: 16px;
    height: 16px;
    accent-color: #1b518c;
    margin: 3px 0 0;
    flex-shrink: 0
}

.consent a {
    text-decoration: underline;
    color: #205a9d
}

form>.btn {
    border: 0;
    background: #103a70;
    color: white;
    font-size: 11px
}

.status {
    margin-top: 26px;
    padding: 22px;
    border: 1px solid #bad0ec;
    background: #eaf2fc;
    border-radius: 5px
}

.status h3 {
    font: 26px var(--serif);
    margin-bottom: 14px
}

.status>p {
    font-size: 11px;
    margin-bottom: 17px
}

.status>label {
    font-size: 10px;
    display: block;
    margin: 14px 0 8px
}

.status textarea {
    font-size: 11px;
    min-height: 190px
}

.status .actions {
    gap: 10px;
    margin-top: 18px
}

.status .btn {
    padding: 11px 15px;
    font-size: 10px
}

.status .btn.alt {
    color: #184d89;
    border-color: #9ab4d5
}

.status p:last-child {
    margin: 15px 0 0
}

.prose {
    max-width: 870px
}

.prose h1 {
    margin-bottom: 30px
}

.prose h2 {
    font-size: 32px;
    margin: 42px 0 19px
}

.prose p {
    font-size: 14px;
    line-height: 1.95
}

.prose p+p {
    margin-top: 18px
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    margin-top: 55px
}

.sitemap-grid>section {
    padding: 28px;
    background: white;
    border: 1px solid #d9e4f2;
    border-top: 3px solid #2c568c;
    border-radius: 4px
}

.sitemap-grid h3 {
    font: 26px var(--serif);
    margin-bottom: 25px
}

.sitemap-grid a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #e2eaf5;
    font-size: 12px;
    line-height: 1.7;
    color: #526f91;
    transition: padding .3s, color .3s
}

.sitemap-grid a:hover {
    color: #15559e;
    padding-left: 5px
}

.page-404 main>section {
    min-height: 65vh;
    display: flex;
    align-items: center
}

.page-404 main h1 {
    margin-bottom: 25px
}

.page-404 .btn.alt {
    color: #214e85;
    border-color: #9bb4d5
}

@media(max-width:1100px) {
    .page-hero {
        gap: 45px;
        grid-template-columns: 1.25fr 1fr
    }

    .page-hero h1 {
        font-size: 65px
    }

    .body-grid {
        gap: 40px;
        grid-template-columns: minmax(0, 1fr) 250px
    }

    .body-copy h2 {
        font-size: 34px
    }

    .feature {
        padding: 23px
    }

    .feature h3 {
        font-size: 22px
    }

    .contact-layout {
        gap: 40px
    }

    .contact-layout h2 {
        font-size: 37px
    }

    .contact-layout form {
        padding: 26px
    }

    .page-redeck .split {
        gap: 45px
    }

    .page-redeck .preview {
        padding-inline: 18px
    }

    .directory-item {
        padding: 30px
    }

    .directory-item h2 {
        font-size: 31px
    }
}

@media(max-width:900px) {
    .page-hero {
        gap: 35px;
        padding-bottom: 65px;
        min-height: 460px
    }

    .page-hero h1 {
        font-size: 53px
    }

    .page-hero .lead {
        font-size: 13px
    }

    .hero-note {
        padding: 185px 23px 25px
    }

    .hero-note h3 {
        font-size: 25px
    }

    .hero-note p {
        font-size: 11px
    }

    .body-grid {
        grid-template-columns: 1fr
    }

    .aside {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 30px
    }

    .aside>.eyebrow,
    .aside>h3 {
        grid-column: 1/-1
    }

    .aside>.btn {
        width: auto;
        justify-self: start
    }

    .feature-grid {
        gap: 17px
    }

    .inner-page .section.dark .section-head {
        display: block
    }

    .inner-page .section.dark .section-head>div {
        margin-top: 30px;
        max-width: 100%
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .contact-layout>div {
        max-width: 620px
    }

    .contact-layout form {
        padding: 32px
    }

    .contact-layout .note {
        font-size: 11px
    }

    .sitemap-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }

    .sitemap-grid>section:last-child {
        grid-column: 1/-1
    }

    .page-redeck .split {
        gap: 80px
    }

    .page-redeck .preview {
        width: min(600px, 100%);
        padding: 30px
    }

    .inner-page .split>h2 {
        margin-bottom: 0
    }

    .inner-page .split {
        gap: 30px
    }

    .page-redeck .split {
        gap: 70px
    }

    .directory-item h2 {
        font-size: 29px
    }

    .directory-top .num {
        font-size: 8px
    }

    .directory-item p {
        font-size: 12px
    }
}

@media(max-width:600px) {
    .breadcrumb {
        padding-block: 19px;
        font-size: 9px;
        gap: 10px
    }

    .page-hero {
        display: block;
        padding-top: 24px;
        padding-bottom: 45px;
        min-height: 0
    }

    .page-hero h1 {
        font-size: 48px;
        line-height: 1.08
    }

    .page-hero .eyebrow {
        font-size: 8px;
        margin-bottom: 18px
    }

    .page-hero .lead {
        font-size: 13px;
        margin-top: 23px
    }

    .page-hero .btn {
        font-size: 10px;
        margin-top: 25px;
        white-space: normal;
        text-align: center;
        line-height: 1.6
    }

    .hero-note {
        margin-top: 38px;
        min-height: 0;
        padding: 195px 25px 27px
    }

    .hero-note h3 {
        font-size: 29px
    }

    .hero-note p {
        font-size: 12px
    }

    .page-sculpture {
        top: 0
    }

    .page-hero:before {
        width: 440px;
        right: -240px;
        top: 150px
    }

    .body-grid {
        gap: 40px
    }

    .body-copy>section {
        margin-bottom: 45px
    }

    .body-copy h2 {
        font-size: 32px;
        margin-bottom: 22px
    }

    .body-copy p {
        font-size: 13px
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .feature {
        padding: 25px
    }

    .feature h3 {
        font-size: 25px
    }

    .feature-icon {
        margin-bottom: 23px
    }

    .body-copy .feature p {
        font-size: 12px
    }

    .checklist li {
        font-size: 12px;
        padding-block: 14px
    }

    .note,
    .body-copy p.note {
        font-size: 10px;
        padding: 18px
    }

    .faq summary {
        font-size: 12px;
        padding-block: 21px
    }

    .faq summary:after {
        top: 17px;
        font-size: 23px
    }

    .faq details>p {
        font-size: 12px;
        padding-right: 15px
    }

    .aside {
        display: block;
        padding: 26px
    }

    .aside h3 {
        font-size: 28px
    }

    .aside>.btn {
        width: 100%
    }

    .service-directory {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .directory-item {
        padding: 28px
    }

    .directory-item h2 {
        font-size: 34px
    }

    .directory-icon {
        width: 57px;
        height: 57px;
        margin-bottom: 20px
    }

    .directory-top .num {
        font-size: 9px
    }

    .directory-item p {
        font-size: 12px
    }

    .sub-links a {
        font-size: 9px
    }

    .contact-layout h2 {
        font-size: 36px
    }

    .contact-layout form {
        padding: 24px 19px
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0
    }

    .field {
        margin-bottom: 21px
    }

    .field label {
        font-size: 11px
    }

    input,
    select,
    textarea {
        font-size: 16px
    }

    .field .consent {
        font-size: 10px
    }

    .status {
        padding: 18px 13px
    }

    .status .actions {
        align-items: stretch;
        flex-direction: column
    }

    .page-redeck .preview {
        padding: 23px 18px;
        width: 97%
    }

    .page-redeck .preview-links button {
        font-size: 9px;
        padding: 10px 7px
    }

    .preview-panel h4 {
        font-size: 19px
    }

    .preview-panel p {
        font-size: 10px
    }

    .prose h1 {
        font-size: 44px !important
    }

    .prose h2 {
        font-size: 29px;
        margin-top: 34px
    }

    .prose p {
        font-size: 12px
    }

    .page-sitemap main h1 {
        font-size: 48px
    }

    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 35px
    }

    .sitemap-grid>section {
        padding: 25px
    }

    .sitemap-grid>section:last-child {
        grid-column: auto
    }

    .page-404 main h1 {
        font-size: 48px
    }

    .inner-page .section.dark .section-head>div {
        font-size: 13px
    }
}

@media(prefers-reduced-motion:reduce) {
    .page-sculpture * {
        animation: none !important
    }

    .feature:hover .feature-icon,
    .directory-item:hover .directory-icon {
        transform: none !important
    }
}

/* MJ Foundation — community chapter */
.foundation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px
}

.foundation-grid .feature {
    padding: 33px
}

.foundation-grid .feature h3 {
    font-size: 27px
}

.foundation-grid .feature p {
    font-size: 13px
}

.foundation-grid .feature-icon {
    width: 58px;
    height: 58px
}

.foundation-grid .feature-icon svg {
    width: 35px;
    height: 35px
}

.foundation-since {
    display: block;
    font-size: 9px;
    letter-spacing: .15em;
    color: #a2c4ed;
    margin-bottom: 15px
}

.foundation-home {
    background: #f0f5fc;
    border-top: 1px solid #d8e4f2
}

.foundation-home-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 95px;
    align-items: center
}

.foundation-home .eyebrow {
    color: #55789e
}

.foundation-home h2 em {
    color: #547da8
}

.foundation-home p {
    font-size: 13px;
    line-height: 1.9;
    margin-top: 25px;
    max-width: 530px
}

.foundation-home .text-link {
    margin-top: 23px
}

.foundation-highlight {
    display: block;
    background: linear-gradient(130deg, #fff, #e1ebf9);
    padding: 37px;
    border: 1px solid #c7d9ee;
    border-radius: 6px;
    box-shadow: 0 23px 45px #183f6c0d;
    transition: transform .35s, box-shadow .35s
}

.foundation-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px #183f6c1b
}

.foundation-highlight .feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 30px
}

.foundation-highlight h3 {
    font: 31px/1.2 var(--serif)
}

.foundation-highlight .eyebrow {
    font-size: 9px;
    margin-bottom: 14px
}

.foundation-highlight p {
    font-size: 12px;
    margin-top: 17px
}

.foundation-highlight .card-arrow {
    margin-top: 24px
}

.nav .links {
    gap: 22px
}

@media(min-width:901px) and (max-width:1200px) {
    .nav .links {
        gap: 13px;
        font-size: 11px
    }

    .nav {
        gap: 16px
    }

    .nav-cta {
        gap: 8px;
        font-size: 10px;
        padding-inline: 12px
    }
}

@media(max-width:900px) {
    .nav .links {
        gap: 0
    }

    .foundation-home-grid {
        gap: 35px
    }

    .foundation-grid {
        grid-template-columns: 1fr
    }

    .foundation-grid .feature {
        padding: 28px
    }
}

@media(max-width:600px) {
    .foundation-home-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .foundation-highlight {
        padding: 27px
    }

    .foundation-home h2 {
        font-size: 41px
    }

    .foundation-home p {
        font-size: 12px
    }

    .foundation-highlight h3 {
        font-size: 28px
    }

    .foundation-grid .feature h3 {
        font-size: 26px
    }
}