:root {
    --ink: #111111;
    --muted: #5b5b5b;
    --soft: #f5f5f2;
    --paper: #ffffff;
    --line: #d9d9d4;
    --sand: #e7dcc9;
    --green: #0f5b4d;
    --red: #c73c2f;
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

img,
svg {
    display: block;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 4px;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgb(255 255 255 / 94%);
    backdrop-filter: blur(14px);
}

.utility-bar,
.primary-header,
.site-footer {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
}

.utility-bar {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
}

.utility-bar a,
.main-nav a,
.site-footer a,
.brand,
.text-cta,
.button,
.rail-links a,
.guide-card a,
.category-tile {
    text-decoration: none;
}

.utility-bar a:hover,
.main-nav a:hover,
.site-footer a:hover,
.text-cta:hover,
.rail-links a:hover,
.guide-card h3 a:hover,
.article-body a:hover {
    color: var(--red);
}

.primary-header {
    display: grid;
    grid-template-areas:
        "brand main search"
        "brand secondary search";
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 24px;
    min-height: 92px;
}

.brand {
    grid-area: brand;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    flex: 0 0 auto;
    border: 2px solid var(--ink);
    border-radius: 0;
    background: var(--ink);
    color: white;
    font-size: 16px;
    font-weight: 900;
}

.main-nav {
    grid-area: main;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-width: 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.secondary-nav {
    grid-area: secondary;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.search-link,
.menu-link {
    grid-area: search;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--ink);
}

.search-link svg,
.menu-link svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.menu-link {
    display: none;
}

main {
    overflow: hidden;
}

.portal-hero {
    width: min(1380px, calc(100% - 48px));
    margin: 28px auto 72px;
}

.portal-hero__image {
    min-height: 620px;
    background-color: var(--soft);
    background-position: center;
    background-size: cover;
}

.portal-hero__panel {
    position: relative;
    z-index: 1;
    width: min(610px, calc(100% - 48px));
    margin: -156px 0 0 64px;
    padding: 42px 46px 46px;
    border: 1px solid var(--line);
    background: white;
    box-shadow: 0 24px 64px rgb(17 17 17 / 16%);
}

.portal-hero__kicker,
.content-tag {
    display: inline-flex;
    align-items: center;
    margin: 0 0 16px;
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.portal-hero__panel h1,
.article-heading h1,
.section-title,
.feature-band__copy h2,
.rail-box h2,
.empty-state h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: 0;
}

.portal-hero__panel h1 {
    max-width: 12ch;
    font-size: 64px;
    line-height: 0.96;
}

.portal-hero__panel p {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.62;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    margin-top: 28px;
    padding: 0 22px;
    border: 2px solid var(--ink);
    border-radius: 0;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
}

.button--dark {
    background: var(--ink);
    color: white;
}

.button--dark:hover {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

.button--light {
    background: white;
    color: var(--ink);
}

.button--light:hover {
    background: var(--sand);
    color: var(--ink);
}

.portal-section,
.article-heading,
.article-lead,
.article-shell {
    width: min(var(--max), calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.portal-section {
    margin-top: 74px;
    margin-bottom: 74px;
}

.intro-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.82fr);
    gap: 70px;
    align-items: start;
}

.section-title {
    font-size: 44px;
    line-height: 1.05;
}

.intro-copy {
    color: var(--muted);
    font-size: 20px;
    line-height: 1.6;
}

.intro-copy p {
    margin: 0;
}

.category-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.quick-entry-grid,
.request-grid,
.decision-grid,
.marketplace-grid {
    display: grid;
    gap: 18px;
}

.quick-entry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-entry,
.request-card,
.decision-card,
.marketplace-card {
    min-width: 0;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    text-decoration: none;
}

.quick-entry {
    display: grid;
    min-height: 132px;
    align-content: space-between;
    padding: 22px;
}

.quick-entry:hover,
.request-card:hover,
.decision-card:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: white;
}

.quick-entry span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.08;
}

.quick-entry small,
.decision-card small {
    color: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.request-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.request-card {
    display: grid;
    min-height: 172px;
    align-content: space-between;
    padding: 22px;
}

.request-card span {
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
}

.request-card strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.08;
}

.decision-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decision-card {
    display: flex;
    min-height: 292px;
    flex-direction: column;
    padding: 26px;
}

.decision-card h3,
.marketplace-card h3,
.form-intro h2,
.concierge-band h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: 0;
}

.decision-card h3 {
    font-size: 30px;
    line-height: 1.06;
}

.decision-card p {
    margin: 18px 0 24px;
    color: var(--muted);
    line-height: 1.58;
}

.decision-card:hover p {
    color: rgb(255 255 255 / 76%);
}

.decision-card small {
    margin-top: auto;
}

.concierge-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px;
    background: var(--ink);
    color: white;
}

.concierge-band h2 {
    max-width: 780px;
    font-size: 48px;
    line-height: 1.02;
}

.concierge-band p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgb(255 255 255 / 76%);
    font-size: 18px;
    line-height: 1.6;
}

.marketplace-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketplace-card {
    padding: 28px;
}

.marketplace-card h3 {
    font-size: 29px;
    line-height: 1.08;
}

.marketplace-card p {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.58;
}

.form-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(420px, 1fr);
    gap: 56px;
    align-items: start;
}

.form-intro h2 {
    font-size: 48px;
    line-height: 1.02;
}

.form-intro p {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.concierge-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 30px;
    border: 1px solid var(--line);
    background: var(--soft);
}

.concierge-form label {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.concierge-form label span {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
}

.concierge-form input,
.concierge-form select,
.concierge-form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: white;
    color: var(--ink);
    font: inherit;
    padding: 12px 14px;
}

.concierge-form textarea {
    min-height: 160px;
    resize: vertical;
}

.concierge-form small {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
}

.form-wide,
.form-status,
.concierge-form .button {
    grid-column: 1 / -1;
}

.form-status {
    padding: 14px 16px;
    border: 1px solid rgb(15 91 77 / 28%);
    background: rgb(15 91 77 / 9%);
    color: var(--green);
    font-weight: 800;
}

.category-tile {
    display: grid;
    align-content: space-between;
    min-height: 198px;
    padding: 24px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: white;
    color: var(--ink);
}

.category-tile:hover {
    background: var(--ink);
    color: white;
}

.category-tile span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.08;
}

.category-tile small {
    display: block;
    margin-top: 28px;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.text-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
}

.guide-grid {
    display: grid;
    gap: 28px;
}

.guide-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--line);
    background: white;
}

.guide-card__image {
    display: block;
    aspect-ratio: 4 / 3;
    background-color: var(--soft);
    background-position: center;
    background-size: cover;
}

.guide-card__body {
    display: flex;
    min-height: 270px;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px;
}

.guide-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
}

.guide-card p {
    margin: 18px 0 24px;
    color: var(--muted);
    line-height: 1.58;
}

.guide-card .text-cta {
    margin-top: auto;
}

.feature-band {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.74fr);
    min-height: 520px;
    background: var(--ink);
    color: white;
}

.feature-band__image {
    min-height: 520px;
    background-color: var(--soft);
    background-position: center;
    background-size: cover;
}

.feature-band__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 54px;
}

.feature-band__copy .content-tag {
    color: #f1b2aa;
}

.feature-band__copy h2 {
    font-size: 48px;
    line-height: 1.02;
}

.feature-band__copy p {
    margin: 22px 0 0;
    color: rgb(255 255 255 / 78%);
    font-size: 18px;
    line-height: 1.62;
}

.feature-band .text-cta {
    margin-top: 28px;
    color: white;
}

.preserved-home-content {
    padding-top: 46px;
    border-top: 1px solid var(--line);
}

.article-heading {
    margin-top: 52px;
}

.article-heading__inner {
    width: min(900px, 100%);
}

.article-heading h1 {
    max-width: 980px;
    font-size: 68px;
    line-height: 0.98;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 26px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.article-lead {
    margin-top: 42px;
}

.article-lead__image {
    min-height: 620px;
    background-color: var(--soft);
    background-position: center;
    background-size: cover;
}

.article-shell {
    display: grid;
    grid-template-columns: minmax(0, 790px) minmax(260px, 340px);
    gap: 74px;
    align-items: start;
    margin-top: 64px;
    margin-bottom: 88px;
}

.article-body {
    min-width: 0;
    color: #222222;
    font-size: 18px;
    line-height: 1.78;
}

.article-body--home {
    width: min(900px, 100%);
}

.article-body > *:first-child {
    margin-top: 0;
}

.article-body > *:last-child {
    margin-bottom: 0;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    margin: 48px 0 16px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
}

.article-body h1 {
    font-size: 44px;
}

.article-body h2 {
    font-size: 36px;
}

.article-body h3 {
    font-size: 28px;
}

.article-body h4,
.article-body h5,
.article-body h6 {
    font-size: 22px;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body figure,
.article-body table,
.article-body blockquote {
    margin: 0 0 25px;
}

.article-body ul,
.article-body ol {
    padding-left: 28px;
}

.article-body li {
    margin: 8px 0;
}

.article-body a {
    color: var(--green);
    text-decoration-color: rgb(15 91 77 / 32%);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.article-body strong {
    color: var(--ink);
}

.article-body blockquote {
    padding: 20px 0 20px 28px;
    border-left: 4px solid var(--red);
    color: var(--muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.4;
}

.article-body img {
    max-width: 100%;
    height: auto;
}

.article-body figure img {
    display: block;
    width: 100%;
}

.article-body figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.article-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 15px;
}

.article-body th,
.article-body td {
    padding: 11px 13px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.article-body th {
    background: var(--soft);
    color: var(--ink);
}

.article-rail {
    position: sticky;
    top: 126px;
    display: grid;
    gap: 20px;
}

.rail-box {
    border: 1px solid var(--line);
    background: white;
    padding: 26px;
}

.rail-box--dark {
    border-color: var(--ink);
    background: var(--ink);
    color: white;
}

.rail-box h2 {
    font-size: 28px;
    line-height: 1.08;
}

.rail-box p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.58;
}

.rail-box--dark p {
    color: rgb(255 255 255 / 76%);
}

.rail-links {
    display: grid;
    gap: 0;
    margin-top: 18px;
}

.rail-links a {
    display: block;
    padding: 15px 0;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.35;
}

.empty-state {
    max-width: 680px;
    padding: 42px;
    border: 1px solid var(--line);
    background: var(--soft);
}

.empty-state p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 42px;
    padding: 46px 0 56px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer strong {
    color: var(--ink);
    font-size: 20px;
}

.site-footer p {
    max-width: 480px;
    margin: 9px 0 0;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .primary-header {
        gap: 18px;
    }

    .main-nav {
        gap: 14px;
        font-size: 13px;
    }

    .secondary-nav {
        display: none;
    }

    .primary-header {
        grid-template-areas: "brand main search";
        min-height: 74px;
    }

    .portal-hero__panel h1,
    .article-heading h1 {
        font-size: 58px;
    }

    .guide-card h3 {
        font-size: 26px;
    }

    .article-shell {
        gap: 46px;
    }

    .request-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .utility-bar,
    .primary-header,
    .site-footer,
    .portal-hero,
    .portal-section,
    .article-heading,
    .article-lead,
    .article-shell {
        width: min(100% - 32px, 760px);
    }

    .utility-bar {
        justify-content: flex-start;
    }

    .primary-header {
        grid-template-areas: "brand spacer search";
        grid-template-columns: auto 1fr auto;
        min-height: 68px;
    }

    .main-nav,
    .secondary-nav,
    .search-link {
        display: none;
    }

    .menu-link {
        display: grid;
    }

    .brand {
        font-size: 18px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .portal-hero {
        margin-top: 18px;
        margin-bottom: 54px;
    }

    .portal-hero__image,
    .article-lead__image {
        min-height: 430px;
    }

    .portal-hero__panel {
        width: min(100% - 24px, 620px);
        margin: -76px auto 0;
        padding: 30px;
    }

    .portal-hero__panel h1,
    .article-heading h1 {
        max-width: none;
        font-size: 50px;
        line-height: 1;
    }

    .portal-hero__panel p {
        font-size: 17px;
    }

    .portal-section {
        margin-top: 56px;
        margin-bottom: 56px;
    }

    .intro-split,
    .feature-band,
    .article-shell {
        grid-template-columns: 1fr;
    }

    .intro-split {
        gap: 22px;
    }

    .section-title {
        font-size: 38px;
    }

    .category-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-grid--three,
    .quick-entry-grid,
    .decision-grid,
    .marketplace-grid {
        grid-template-columns: 1fr 1fr;
    }

    .request-grid {
        grid-template-columns: 1fr;
    }

    .feature-band__image {
        min-height: 360px;
    }

    .feature-band__copy {
        padding: 34px;
    }

    .feature-band__copy h2 {
        font-size: 38px;
    }

    .article-heading {
        margin-top: 34px;
    }

    .article-shell {
        margin-top: 46px;
        margin-bottom: 64px;
    }

    .concierge-band,
    .form-shell {
        grid-template-columns: 1fr;
    }

    .concierge-band {
        align-items: flex-start;
        flex-direction: column;
        padding: 34px;
    }

    .concierge-band h2,
    .form-intro h2 {
        font-size: 38px;
    }

    .concierge-form {
        grid-template-columns: 1fr;
    }

    .article-rail {
        position: static;
    }

    .site-footer {
        flex-direction: column;
    }

    .site-footer nav {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .utility-bar,
    .primary-header,
    .site-footer,
    .portal-hero,
    .portal-section,
    .article-heading,
    .article-lead,
    .article-shell {
        width: calc(100% - 24px);
    }

    .utility-bar {
        gap: 14px;
        overflow-x: auto;
        white-space: nowrap;
    }

    .primary-header {
        gap: 12px;
    }

    .brand span:last-child {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .portal-hero {
        margin-top: 12px;
        margin-bottom: 44px;
    }

    .portal-hero__image,
    .article-lead__image {
        min-height: 310px;
    }

    .portal-hero__panel {
        width: calc(100% - 28px);
        margin-right: auto;
        margin-left: auto;
        margin-top: -44px;
        padding: 24px;
    }

    .portal-hero__panel h1,
    .article-heading h1 {
        overflow-wrap: break-word;
        font-size: 36px;
    }

    .portal-hero__panel p,
    .intro-copy,
    .feature-band__copy p,
    .empty-state p {
        overflow-wrap: anywhere;
        font-size: 16px;
    }

    .button {
        width: 100%;
        min-height: 48px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .section-title {
        font-size: 32px;
    }

    .category-strip,
    .guide-grid--three,
    .quick-entry-grid,
    .decision-grid,
    .marketplace-grid {
        grid-template-columns: 1fr;
    }

    .category-tile {
        min-height: 150px;
        padding: 22px;
    }

    .category-tile span {
        font-size: 24px;
    }

    .guide-card__body {
        min-height: 0;
    }

    .guide-card h3 {
        font-size: 25px;
    }

    .quick-entry,
    .request-card {
        min-height: 130px;
    }

    .quick-entry span,
    .request-card strong,
    .decision-card h3,
    .marketplace-card h3 {
        font-size: 24px;
    }

    .decision-card {
        min-height: 0;
        padding: 22px;
    }

    .feature-band__image {
        min-height: 300px;
    }

    .feature-band__copy {
        padding: 26px;
    }

    .feature-band__copy h2 {
        font-size: 32px;
    }

    .article-meta {
        font-size: 13px;
    }

    .article-body {
        font-size: 17px;
    }

    .article-body h1 {
        font-size: 34px;
    }

    .article-body h2 {
        font-size: 30px;
    }

    .article-body h3 {
        font-size: 25px;
    }

    .rail-box,
    .empty-state,
    .concierge-form {
        padding: 22px;
    }

    .concierge-band {
        padding: 26px;
    }

    .concierge-band h2,
    .form-intro h2 {
        font-size: 32px;
    }
}
