@font-face {
    font-family: Northline Sans;
    src: url('../fonts/dm-sans-regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Northline Sans;
    src: url('../fonts/dm-sans-medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: Northline Sans;
    src: url('../fonts/dm-sans-bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: Northline Serif;
    src: url('../fonts/dm-serif-display-italic.ttf') format('truetype');
    font-style: italic;
    font-display: swap;
}

:root {
    --np-ink: #17251f;
    --np-paper: #fbfaf7;
    --np-gold: #dbc8a9;
    --np-line: #dcded6;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--np-paper);
    color: var(--np-ink);
    font: 17px/1.7 'Northline Sans', sans-serif;
}

[hidden] {
    display: none !important;
}

a {
    color: inherit;
    text-underline-offset: 5px;
}

button, input, select {
    font: inherit;
}

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

button {
    cursor: pointer;
}

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

h1, h2, h3, p, figure {
    margin-top: 0;
}

h1, h2, h3 {
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.04em;
}

h1 {
    font-size: clamp(44px, 5.5vw, 84px);
    margin-bottom: 28px;
}

h2 {
    font-size: clamp(34px, 3.65vw, 56px);
    margin-bottom: 26px;
}

h3 {
    font-size: 27px;
    letter-spacing: -.025em;
    line-height: 1.2;
}

em {
    font-family: 'Northline Serif', Georgia, serif;
    font-weight: 400;
}

p {
    margin-bottom: 22px;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
    outline: 3px solid #a37e3d;
    outline-offset: 5px;
}

.np-wrap {
    width: min(1320px, calc(100% - 100px));
    margin-inline: auto;
}

.np-section {
    padding-block: 105px;
}

.np-eyebrow {
    font-size: 12px;
    line-height: 1.55;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.np-note, .np-source {
    font-size: 14px;
    line-height: 1.6;
    color: #526158;
}

.np-source {
    padding-block: 28px;
}

.np-dark {
    background: var(--np-ink);
    color: var(--np-paper);
}

.np-stone {
    background: #eeeee7;
}

.np-skip {
    position: fixed;
    left: 20px;
    top: -90px;
    z-index: 100;
    padding: 12px 20px;
    background: white;
    color: var(--np-ink);
}

.np-skip:focus {
    top: 10px;
}

.np-demo {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 34px;
    background: #0e1914;
    color: #d8dfd8;
    font-size: 11px;
}

.np-demo a {
    color: var(--np-gold);
}

.np-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--np-ink);
    color: white;
    border-bottom: 1px solid #ffffff20;
}

.np-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    min-height: 96px;
}

.np-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: .15em;
    text-decoration: none;
}

.np-brand small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .19em;
    margin-top: 7px;
}

.np-header nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.np-header nav > a {
    font-size: 14px;
    text-decoration: none;
}

.np-header nav > a:not(.np-button):hover, .np-header nav > a[aria-current='page'] {
    color: var(--np-gold);
}

.np-menu {
    display: none;
    color: white;
    background: transparent;
    border: 1px solid #ffffff50;
    padding: 9px 12px;
    font-size: 14px;
}

.np-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 17px 25px;
    min-height: 56px;
    background: var(--np-ink);
    border: 1px solid var(--np-ink);
    color: white;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background .18s, transform .18s;
}

.np-button:hover {
    background: #2b4437;
    transform: translateY(-2px);
}

.np-gold {
    background: var(--np-gold);
    border-color: var(--np-gold);
    color: var(--np-ink);
}

.np-gold:hover {
    background: #eadcc4;
}

.np-text-link {
    background: transparent;
    border: 0;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    color: inherit;
    padding: 0 0 5px;
    font-size: 15px;
    text-decoration: none;
    line-height: 1.5;
    display: inline-block;
}

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

.np-hero {
    position: relative;
    isolation: isolate;
    background: var(--np-ink);
    color: white;
    min-height: 700px;
}

.np-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #0f201cf0 0%, #10201cc2 37%, #10201c18 75%), linear-gradient(0deg, #10201cbd, transparent 40%);
}

.np-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: center 45%;
    z-index: -2;
}

.np-hero-content {
    padding-top: 98px;
    padding-bottom: 28px;
}

.np-hero h1 {
    max-width: 810px;
}

.np-hero h1 em {
    color: #ece1ce;
}

.np-hero-description {
    font-size: 19px;
    max-width: 510px;
    color: #e6ebe5;
}

.np-hero-caption {
    margin-top: 88px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #ffffff3b;
    font-size: 11px;
}

.np-hero-caption span:first-child {
    letter-spacing: .15em;
}

.np-quicklinks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--np-line);
}

.np-quicklinks a {
    padding: 30px 22px;
    text-decoration: none;
    font-size: 15px;
    border-right: 1px solid var(--np-line);
}

.np-quicklinks a:first-child {
    padding-left: 0;
}

.np-quicklinks a:last-child {
    border: 0;
}

.np-quicklinks span {
    display: block;
    font-size: 11px;
    color: #5d695e;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 7px;
}

.np-quicklinks a:hover {
    background: #eeeee7;
}

.np-introduction h2 {
    font-size: clamp(40px, 4.8vw, 70px);
}

.np-intro-bottom {
    display: grid;
    grid-template-columns: .35fr 1fr .6fr;
    align-items: end;
    gap: 60px;
    margin-top: 45px;
}

.np-intro-bottom p {
    margin: 0;
}

.np-intro-bottom a {
    justify-self: end;
}

.np-cross {
    font-size: 80px;
    line-height: 1;
    font-weight: 400;
    color: #8d9c89;
}

.np-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 40px;
}

.np-section-heading h2 {
    margin: 0;
}

.np-service-list {
    margin-top: 60px;
}

.np-service-list a {
    display: grid;
    grid-template-columns: 50px 1fr 1fr 20px;
    align-items: center;
    gap: 35px;
    padding: 32px 0;
    border-top: 1px solid #ffffff36;
    text-decoration: none;
}

.np-service-list a:hover h3 {
    color: var(--np-gold);
}

.np-service-list h3, .np-service-list p {
    margin: 0;
}

.np-service-list p {
    color: #cbd4cc;
    font-size: 16px;
}

.np-service-list a > span {
    color: var(--np-gold);
    font-size: 13px;
}

.np-service-list a > span:last-child {
    font-size: 24px;
}

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

.np-split > *, .np-book-layout > * {
    min-width: 0;
}

.np-photo {
    margin: 0;
}

.np-photo img {
    width: 100%;
    aspect-ratio: .92;
    object-position: 45% center;
}

figcaption {
    font-size: 11px;
    margin-top: 11px;
    color: #59695d;
}

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

.np-checks li {
    padding: 13px 0 13px 26px;
    position: relative;
    border-bottom: 1px solid #88968940;
}

.np-checks li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: #7b886d;
}

.np-page-hero {
    padding-block: 92px 66px;
}

.np-page-hero h1 {
    max-width: 1050px;
    font-size: clamp(43px, 4.8vw, 72px);
}

.np-page-hero > p:last-child {
    max-width: 720px;
    font-size: 20px;
    color: #526158;
}

.np-topic-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    padding-block: 18px;
    border-block: 1px solid var(--np-line);
}

.np-topic-nav a {
    font-size: 15px;
    text-decoration: none;
}

.np-care-block {
    display: grid;
    grid-template-columns: .35fr 1fr;
    gap: 65px;
}

.np-care-block > div {
    max-width: 800px;
}

.np-index {
    font-size: 13px;
    color: #667865;
    letter-spacing: .09em;
}

.np-dark .np-index {
    color: var(--np-gold);
}

.np-notice {
    padding: 25px;
    background: #eeeee7;
    border-left: 2px solid #8b9a82;
    margin-block: 28px;
    font-size: 15px;
}

.np-notice p:last-child {
    margin-bottom: 0;
}

.np-wide-photo img {
    width: 100%;
    max-height: 600px;
    object-position: center 40%;
}

.np-three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.np-three-columns h3 {
    margin-top: 24px;
}

.np-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #bdc4b7;
}

.np-tabs button {
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #526158;
    padding: 15px 0;
    font-size: 16px;
}

.np-tabs button[aria-selected='true'] {
    color: var(--np-ink);
    border-bottom-color: var(--np-ink);
    font-weight: 700;
}

.np-tab-panel {
    max-width: 780px;
    padding-top: 50px;
    min-height: 420px;
}

.np-tab-panel h2 {
    margin-top: 24px;
}

.np-tool {
    border: 1px solid #cdd4c8;
    padding: 40px;
    background: #f4f3ed;
}

.np-tool h3 {
    margin-bottom: 24px;
}

label, .np-label {
    display: block;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 9px;
}

input:not([type='radio']):not([type='checkbox']), select {
    width: 100%;
    background: #fffefa;
    border: 1px solid #a6b2a4;
    border-radius: 0;
    padding: 13px;
    color: var(--np-ink);
    min-height: 53px;
    font-size: 16px;
    margin-bottom: 22px;
}

input[readonly] {
    background: #e8ebe2 !important;
}

input[type='checkbox'], input[type='radio'] {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    accent-color: var(--np-ink);
    margin: 0;
}

.np-estimate {
    border-top: 1px solid #bdc4b7;
    padding-top: 25px;
}

.np-estimate > span {
    font-size: 14px;
}

.np-estimate strong {
    display: block;
    font-size: 50px;
    line-height: 1.3;
    letter-spacing: -.04em;
    font-weight: 400;
}

.np-estimate p {
    font-size: 16px;
}

.np-topic-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-block: 30px;
}

.np-topic-options label, .np-choice {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #bac5b4;
    padding: 15px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
}

.np-topic-options label:has(:checked), .np-choice:has(:checked) {
    background: #e8ecdf;
    border-color: #476047;
}

.np-reading {
    max-width: 850px;
    padding-top: 30px;
}

.np-reading h2 {
    font-size: 32px;
    margin-top: 50px;
}

details {
    border-bottom: 1px solid var(--np-line);
    padding-block: 24px;
}

summary {
    font-size: 21px;
    cursor: pointer;
    line-height: 1.4;
}

details p {
    margin: 20px 0 0;
}

.np-reading > .np-button {
    margin-top: 35px;
}

.np-book-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 85px;
    align-items: start;
    padding-top: 15px;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

legend {
    font-size: 29px;
    letter-spacing: -.035em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.np-progress {
    height: 3px;
    background: #d2d8cc;
    margin: 0 0 40px;
}

.np-progress span {
    width: 33.333%;
    height: 100%;
    display: block;
    background: #3e5a3b;
    transition: width .2s;
}

.np-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
}

.np-form-actions .np-button {
    margin-left: auto;
}

.np-error {
    color: #972e26;
    font-size: 15px;
}

.np-summary {
    margin: 22px 0;
}

.np-summary div {
    padding-block: 12px;
    border-bottom: 1px solid #bdc4b7;
}

.np-summary dt {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: #586750;
}

.np-summary dd {
    margin: 5px 0 0;
    overflow-wrap: anywhere;
}

.np-success-mark {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid #8b9a82;
    border-radius: 50%;
    margin-bottom: 25px;
}

[data-np-done] .np-text-link {
    margin-top: 25px;
}

.np-footer {
    background: var(--np-ink);
    color: #eef1e8;
    padding-block: 90px 25px;
}

.np-footer-invite {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid #ffffff30;
}

.np-footer-invite h2 {
    margin-bottom: 0;
}

.np-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 45px;
    padding-block: 60px 30px;
}

.np-footer .np-brand {
    display: block;
    font-size: 24px;
}

.np-footer-grid p {
    font-size: 15px;
    margin-top: 20px;
}

.np-footer-grid h3 {
    font: 12px/1.5 'Northline Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--np-gold);
}

.np-footer-grid a:not(.np-brand) {
    display: block;
    text-decoration: none;
    font-size: 14px;
    margin-block: 11px;
}

.np-footer-grid a:hover {
    color: var(--np-gold);
}

.np-disclosure {
    font-size: 12px;
    line-height: 1.8;
    color: #bdc9bf;
    padding-bottom: 20px;
    border-bottom: 1px solid #ffffff30;
}

.np-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
    color: #bdc9bf;
}

.np-mobile-cta {
    display: none;
}

@media (max-width: 1150px) {
    .np-wrap {
        width: calc(100% - 60px);
    }
    .np-header nav {
        gap: 18px;
    }
    .np-header nav > a {
        font-size: 13px;
    }
    .np-header .np-button {
        padding-inline: 16px;
    }
    .np-brand {
        font-size: 21px;
    }
    .np-split, .np-book-layout {
        gap: 45px;
    }
}

@media (max-width: 960px) {
    .np-menu {
        display: block;
    }
    .np-header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--np-ink);
        padding: 20px 30px 30px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 75dvh;
        overflow-y: auto;
        box-shadow: 0 18px 30px #0003;
    }
    .np-header nav.is-open {
        display: flex;
    }
    .np-header nav > a {
        font-size: 17px;
        padding: 13px 0;
        border-bottom: 1px solid #ffffff25;
    }
    .np-header nav > .np-button {
        margin-top: 20px;
        padding: 16px;
    }
    .np-header-inner {
        min-height: 80px;
    }
    .np-hero {
        min-height: 660px;
    }
    .np-intro-bottom {
        gap: 25px;
        grid-template-columns: .2fr 1fr;
    }
    .np-intro-bottom a {
        grid-column: 2;
        justify-self: start;
    }
    .np-three-columns {
        gap: 30px;
    }
    .np-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    html {
        scroll-padding-top: 95px;
    }
    body {
        font-size: 17px;
        padding-bottom: 65px;
    }
    body:has([data-np-book]) {
        padding-bottom: 0;
    }
    .np-wrap {
        width: calc(100% - 40px);
    }
    .np-section {
        padding-block: 65px;
    }
    h1 {
        font-size: clamp(43px, 10.9vw, 62px);
    }
    h2 {
        font-size: 38px;
    }
    h3 {
        font-size: 26px;
    }
    .np-eyebrow {
        font-size: 11px;
        letter-spacing: .11em;
        margin-bottom: 21px;
    }
    .np-demo {
        padding: 7px 15px;
        justify-content: center;
    }
    .np-demo > span {
        display: none;
    }
    .np-brand {
        font-size: 20px;
        gap: 7px;
    }
    .np-brand img {
        width: 34px;
        height: 34px;
    }
    .np-brand small {
        font-size: 11px;
        letter-spacing: .12em;
    }
    .np-header-inner {
        min-height: 77px;
        gap: 12px;
    }
    .np-hero-content {
        padding-top: 225px;
        padding-bottom: 25px;
    }
    .np-hero-image {
        height: 410px;
        object-position: 72% center;
    }
    .np-hero::before {
        background: linear-gradient(0deg, #17251f 25%, #17251ffa 43%, #17251fb8 61%, #17251f05 91%);
    }
    .np-hero h1 {
        letter-spacing: -.045em;
    }
    .np-hero-description {
        font-size: 17px;
    }
    .np-hero .np-actions {
        gap: 24px;
        margin-top: 27px;
    }
    .np-hero-caption {
        margin-top: 40px;
        flex-direction: column;
        gap: 10px;
        font-size: 11px;
    }
    .np-quicklinks {
        display: block;
    }
    .np-quicklinks a {
        display: block;
        border-right: 0;
        border-bottom: 1px solid var(--np-line);
        padding: 22px 0;
    }
    .np-introduction h2 {
        font-size: 42px;
    }
    .np-intro-bottom {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 28px;
    }
    .np-intro-bottom a {
        grid-column: 1;
    }
    .np-cross {
        font-size: 45px;
    }
    .np-section-heading {
        display: block;
        margin-bottom: 25px;
    }
    .np-section-heading > a {
        margin-top: 25px;
    }
    .np-service-list {
        margin-top: 35px;
    }
    .np-service-list a {
        grid-template-columns: 25px 1fr 20px;
        gap: 18px;
        padding-block: 28px;
    }
    .np-service-list p {
        grid-row: 2;
        grid-column: 2 / 4;
    }
    .np-service-list a > span:last-child {
        grid-column: 3;
        grid-row: 1;
    }
    .np-service-list h3 {
        font-size: 24px;
    }
    .np-split, .np-book-layout, .np-three-columns {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .np-photo img {
        aspect-ratio: 1.1;
    }
    .np-page-hero {
        padding-block: 55px 28px;
    }
    .np-page-hero h1 {
        font-size: 43px;
    }
    .np-page-hero > p:last-child {
        font-size: 18px;
    }
    .np-care-block {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .np-topic-nav {
        gap: 12px 24px;
    }
    .np-tabs {
        gap: 13px;
        align-items: stretch;
    }
    .np-tabs button {
        font-size: 13px;
        flex: 1;
        line-height: 1.5;
    }
    .np-tab-panel {
        min-height: 0;
        padding-top: 35px;
    }
    .np-tool {
        padding: 25px;
    }
    .np-topic-options {
        grid-template-columns: 1fr;
    }
    .np-book-layout {
        padding-top: 15px;
    }
    .np-book-card {
        padding: 24px 20px;
    }
    .np-form-actions {
        gap: 12px;
    }
    .np-form-actions .np-button {
        padding-inline: 18px;
    }
    .np-footer {
        padding-top: 65px;
    }
    .np-footer-invite {
        display: block;
    }
    .np-footer-invite .np-button {
        margin-top: 30px;
    }
    .np-footer-grid {
        gap: 25px;
    }
    .np-footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
    .np-footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
    .np-mobile-cta {
        display: grid;
        grid-template-columns: 1fr 1.3fr;
        position: fixed;
        inset: auto 0 0;
        z-index: 25;
        box-shadow: 0 -5px 25px #0002;
    }
    .np-mobile-cta a {
        display: grid;
        place-items: center;
        min-height: 62px;
        padding: 10px;
        font-size: 13px;
        background: var(--np-paper);
        text-decoration: none;
        text-align: center;
    }
    .np-mobile-cta a:last-child {
        background: var(--np-gold);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition: none !important;
    }
}

@media print {
    body {
        background: white;
        font-size: 12pt;
        padding: 0;
    }
    .np-header, .np-demo, .np-footer, .np-mobile-cta, .np-page-hero, .np-source, .np-skip {
        display: none !important;
    }
    body:has([data-np-planner]) main > :not([data-np-planner]), [data-np-planner] > :not(#np-print-guide) {
        display: none !important;
    }
    [data-np-planner] {
        display: block;
        padding: 0;
        width: 100%;
    }
    #np-print-guide {
        border: 0;
        background: white;
    }
    .np-note, .np-eyebrow {
        font-size: 11pt;
    }
}

