:root {
    --navy: #0a2342;
    --gold: #c59a53;
    --bluecf: #173f6b;
    --gold-light: #dfc88b;
    --paper: #f4f7f6;
    --soft: #fcf9f2;
    --hero-ground: #ffffff;
    --hero-ink: #ffffff;
    --contact-field: #f4f5f5;
    --contact-muted: #536172;
    --contact-border: #aeb8c2;
}

[x-cloak] {
    display: none !important;
}


html {
    scroll-behavior: smooth;
}


::selection {
    background: var(--gold);
    color: var(--navy);
}

/* =========================
   CONTENT MANAGEMENT
========================= */
.workspace-main h1,
.workspace-main h2,
.workspace-main h3,
.workspace-brand,
.login-form-container h1,
.login-brand-copy p,
.article-heading h1,
.article-body h2,
.article-body h3,
.blog-row h2 {
    font-family: "Segoe UI", Arial, sans-serif;
}

.workspace-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-bottom: 40px;
    font-size: 16px;
}

.workspace-navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.workspace-navigation a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.workspace-messages {
    margin-bottom: 24px;
    padding: 20px 24px;
    border-left: 6px solid var(--gold);
    background: var(--navy);
    color: var(--hero-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

.workspace-messages p {
    margin: 0;
}

.workspace-search {
    max-width: 600px;
    margin: 0 0 32px;
}

.workspace-search label {
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
}

.workspace-search > div {
    display: flex;
    gap: 12px;
}

.workspace-search input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    background: var(--hero-ground);
    color: var(--navy);
    font-size: 16px;
}

.workspace-list {
    background: var(--hero-ground);
    padding: 8px 32px;
}

.workspace-list-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
}

.workspace-list-text {
    flex: 1;
    min-width: 0;
}

.workspace-list-text h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.workspace-list-text p {
    margin: 8px 0 0;
    color: var(--contact-muted);
    font-size: 14px;
    line-height: 1.6;
}

.workspace-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 16px;
}

.workspace-row-actions a {
    padding: 12px 0;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.workspace-list-empty {
    padding: 24px 0;
    font-size: 17px;
    line-height: 1.7;
}

.workspace-thumbnail {
    width: 88px;
    height: 72px;
    object-fit: cover;
}

.workspace-own-form {
    display: grid;
    gap: 24px;
    max-width: 720px;
    padding: 32px;
    background: var(--hero-ground);
    font-size: 16px;
    line-height: 1.7;
}

.workspace-own-form > .workspace-button {
    justify-self: start;
}

.workspace-field textarea,
.workspace-field select {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--contact-border);
    border-radius: 0;
    background: var(--hero-ground);
    color: var(--navy);
    font: inherit;
    font-size: 16px;
    line-height: 1.7;
}

.workspace-field textarea {
    resize: vertical;
}

.workspace-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    font-size: 16px;
    line-height: 1.5;
}

.workspace-checkbox input {
    width: 18px;
    height: 18px;
    min-height: 0;
    accent-color: var(--navy);
}

.article-editor-form {
    font-size: 16px;
}

.article-editor-form textarea[name="summary"] {
    resize: none;
}

.article-editor-form > .workspace-error {
    margin-bottom: 24px;
}

.editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: stretch;
    gap: 28px;
}

.editor-main {
    display: grid;
    align-content: start;
    gap: 28px;
    min-width: 0;
    padding: 32px;
    background: var(--hero-ground);
}

.editor-main > .workspace-field {
    min-width: 0;
}

.editor-help {
    margin: 0;
    color: var(--contact-muted);
    font-size: 14px;
    line-height: 1.7;
}

.editor-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--contact-border);
    background: var(--contact-field);
}

.editor-toolbar[hidden] {
    display: none;
}

.editor-toolbar > label {
    font-size: 14px;
    font-weight: 400;
}

.editor-toolbar select,
.editor-toolbar button {
    width: auto;
    min-height: 40px;
    padding: 8px 12px;
    border: 0;
    background: var(--hero-ground);
    color: var(--navy);
    font-size: 14px;
    line-height: 1.5;
}

.editor-toolbar button[aria-pressed="true"] {
    background: var(--navy);
    color: var(--hero-ink);
}

#article-editor.ql-container {
    min-width: 0;
    border: 1px solid var(--contact-border);
    color: var(--navy);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 18px;
}

#article-editor .ql-editor {
    min-height: 420px;
    padding: 28px;
    font-size: 18px;
    line-height: 1.8;
}

#article-editor .ql-editor p {
    margin-bottom: 20px;
}

#article-editor .ql-editor h2,
.article-body h2 {
    margin: 32px 0 20px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
}

#article-editor .ql-editor h3,
.article-body h3 {
    margin: 28px 0 16px;
    font-size: 23px;
    font-weight: 600;
    line-height: 1.4;
}

#article-editor .ql-editor img,
.article-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
}

.editor-sidebar {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 24px;
}

.editor-settings {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 24px;
    background: var(--hero-ground);
}

.editor-settings h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.editor-cover-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--contact-field);
    color: var(--contact-muted);
    text-align: center;
    font-size: 14px;
}

.editor-cover-preview span {
    padding: 24px;
}

.editor-cover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editor-upload-label {
    font-size: 16px;
    font-weight: 600;
}

.editor-settings input[type="file"] {
    width: 100%;
    font-size: 14px;
}

.editor-settings input[type="file"]::file-selector-button {
    padding: 10px 12px;
    margin-right: 8px;
    border: 0;
    background: var(--contact-field);
    color: var(--navy);
}

.editor-address summary {
    padding: 12px 0;
    cursor: pointer;
    font-size: 14px;
}

.editor-settings .workspace-button {
    justify-content: center;
}

.editor-preview-button {
    min-height: 44px;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.editor-status {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.editor-image-dialog {
    width: min(520px, calc(100vw - 32px));
    max-height: calc(100svh - 32px);
    padding: 32px;
    border: 0;
    background: var(--hero-ground);
    color: var(--navy);
}

.editor-image-dialog::backdrop {
    background: rgba(10, 35, 66, 0.7);
}

.editor-image-dialog form {
    display: grid;
    gap: 20px;
}

.editor-image-dialog h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.editor-dialog-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 12px;
}

.article-cover {
    margin: 40px 0;
}

.article-cover img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.blog-row-cover {
    display: block;
    max-width: 760px;
    margin-bottom: 24px;
}

.blog-row-cover img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-preview-note {
    padding: 16px;
    background: var(--contact-field);
    font-size: 16px;
}

.article-preview-note a {
    text-decoration: underline;
}

@media (max-width: 1000px) {
    .editor-layout {
        grid-template-columns: 1fr;
    }

    .editor-sidebar {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
}

@media (max-width: 640px) {
    .workspace-list,
    .workspace-own-form,
    .editor-main {
        padding: 24px;
    }

    .workspace-list-row {
        flex-wrap: wrap;
    }

    .workspace-row-actions {
        width: 100%;
    }

    .editor-sidebar {
        grid-template-columns: 1fr;
    }

    #article-editor .ql-editor {
        padding: 20px;
        font-size: 17px;
    }

    .editor-toolbar {
        padding: 8px;
    }
}

/* =========================
   LOGIN AND WORKSPACE
========================= */
.login-page {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 100svh;
    background: var(--hero-ground);
    color: var(--navy);
}

.login-brand {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background: var(--navy);
    color: var(--hero-ink);
}

.workspace-brand {
    display: block;
    width: fit-content;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 36px;
    line-height: 1;
    color: var(--gold);
}

.workspace-brand span {
    display: block;
    margin-top: 10px;
    font-family: "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--hero-ink);
}

.login-brand > .workspace-brand {
    margin: 48px;
}

.login-brand-copy {
    padding: 32px 48px 64px;
}

.login-brand-copy p {
    max-width: 390px;
    margin: 0 0 24px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 38px;
    line-height: 1.2;
}

.login-brand-copy span {
    display: block;
    max-width: 320px;
    font-size: 17px;
    line-height: 1.7;
}

.login-image {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center 65%;
}

.login-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 40px;
}

.login-form-container {
    width: 100%;
    max-width: 420px;
}

.login-form-container h1 {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.login-description {
    margin: 24px 0 32px;
    font-size: 17px;
    line-height: 1.7;
}

.login-form {
    display: grid;
    gap: 24px;
}

.workspace-field {
    display: grid;
    gap: 10px;
}

.workspace-field label {
    font-size: 16px;
    font-weight: 600;
}

.workspace-field input {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid var(--contact-border);
    border-radius: 0;
    background: var(--hero-ground);
    color: var(--navy);
    font-size: 16px;
}

.password-field {
    display: flex;
    border: 1px solid var(--contact-border);
}

.password-field input {
    border: 0;
}

.password-field button {
    padding: 12px 16px;
    color: var(--navy);
    font-size: 14px;
}

.workspace-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 52px;
    padding: 14px 20px;
    border: 0;
    background: var(--gold);
    color: var(--navy);
    font-size: 16px;
    font-weight: 600;
    transition: background 180ms ease;
}

.workspace-button:hover {
    background: var(--gold-light);
}

.workspace-back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 24px;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.workspace-error,
.workspace-field .errorlist {
    padding: 16px;
    border-left: 6px solid #a32b24;
    background: #fff0ee;
    color: #81221c;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.workspace-page {
    min-height: 100svh;
    background: var(--contact-field);
    color: var(--navy);
}

.workspace-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px max(32px, calc((100vw - 1232px) / 2));
    background: var(--navy);
    color: var(--hero-ink);
}

.workspace-header-actions {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 16px;
}

.workspace-header-actions button,
.workspace-header-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.workspace-main {
    max-width: 1296px;
    margin: 0 auto;
    padding: 56px 32px;
}

.workspace-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.workspace-welcome h1 {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.workspace-welcome p {
    margin: 20px 0 0;
    font-size: 17px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.workspace-modules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 24px;
}

.workspace-module {
    min-width: 0;
    padding: 32px;
    background: var(--hero-ground);
}

.workspace-module-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.workspace-module h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.workspace-module-heading > a {
    flex-shrink: 0;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.workspace-stats {
    display: flex;
    gap: 32px;
    margin: 32px 0;
}

.workspace-stats p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 14px;
    line-height: 1.6;
}

.workspace-stats strong {
    display: block;
    color: var(--navy);
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
}

.workspace-module-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.workspace-text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.workspace-module h3 {
    margin: 36px 0 16px;
    font-size: 16px;
    font-weight: 600;
}

.workspace-records {
    margin: 0;
    padding: 0;
    list-style: none;
}

.workspace-records li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
    font-size: 16px;
    line-height: 1.5;
}

.workspace-records a {
    min-width: 0;
    overflow-wrap: anywhere;
}

.workspace-records a:hover {
    text-decoration: underline;
}

.workspace-records span {
    flex-shrink: 0;
    color: var(--contact-muted);
    font-size: 14px;
}

.workspace-empty,
.workspace-note {
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.6;
}

.workspace-note {
    margin: 28px 0 0;
}

.login-page a:focus-visible,
.login-page button:focus-visible,
.login-page input:focus-visible,
.workspace-page a:focus-visible,
.workspace-page button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

@media (max-width: 1000px) {
    .workspace-modules {
        grid-template-columns: 1fr;
    }

    .login-brand > .workspace-brand {
        margin: 32px;
    }

    .login-brand-copy {
        padding: 32px;
    }

    .login-brand-copy p {
        font-size: 30px;
    }
}

@media (max-width: 640px) {
    .login-page {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .login-brand > .workspace-brand {
        margin: 24px;
    }

    .login-brand-copy,
    .login-image {
        display: none;
    }

    .login-content {
        align-items: flex-start;
        padding: 40px 24px;
    }

    .login-form-container h1 {
        font-size: 36px;
    }

    .workspace-header {
        align-items: flex-start;
        padding: 24px;
    }

    .workspace-header-actions {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
        font-size: 14px;
    }

    .workspace-main {
        padding: 40px 16px;
    }

    .workspace-welcome {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 8px;
    }

    .workspace-welcome h1 {
        font-size: 40px;
    }

    .workspace-module {
        padding: 24px;
    }

    .workspace-module-heading {
        flex-wrap: wrap;
        gap: 12px;
    }

    .workspace-module h2 {
        font-size: 22px;
    }

    .workspace-records li {
        flex-direction: column;
        gap: 6px;
    }

    .workspace-note {
        padding: 0 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .workspace-button {
        transition: none;
    }
}

/* =========================
   BLOG
========================= */
.blog-page,
.blog-home {
    padding: 88px 40px;
    background: var(--contact-field);
    color: var(--navy);
}

.blog-container {
    max-width: 1232px;
    margin: 0 auto;
}

.blog-home .blog-home-heading h2 {
    font-family: "Segoe UI", Arial, sans-serif;
}

.home-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.home-article-card {
    background: var(--hero-ground);
}

.home-article-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.home-article-cover {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.home-article-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-article-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px;
}

.home-article-content time {
    font-size: 14px;
}

.home-article-content h3 {
    margin: 16px 0;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.02em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.home-article-content p {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.65;
}

.home-article-read {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    font-size: 16px;
    font-weight: 600;
}

.home-article-link:hover .home-article-read {
    text-decoration: underline;
    text-underline-offset: 5px;
}

@media (max-width: 800px) {
    .home-article-grid {
        grid-template-columns: 1fr;
    }
}

.blog-heading,
.blog-home-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.blog-heading h1,
.blog-home-heading h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(40px, 4vw, 60px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.blog-heading p {
    max-width: 540px;
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 1.7;
}

.blog-search {
    flex: 0 0 300px;
}

.blog-search label {
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
}

.blog-search-controls {
    display: flex;
    background: var(--hero-ground);
}

.blog-search input {
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    border: 0;
    border-radius: 0;
    background: var(--hero-ground);
    color: var(--navy);
    font-size: 16px;
}

.blog-search input::placeholder {
    color: var(--contact-muted);
}

.blog-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    min-height: 52px;
    border: 0;
    background: var(--gold);
    color: var(--navy);
    cursor: pointer;
    transition: background 180ms ease;
}

.blog-search button:hover {
    background: var(--gold-light);
}

.blog-search svg {
    width: 24px;
    height: 24px;
}

.blog-list {
    margin-top: 56px;
}

.blog-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 32px;
    padding: 32px 0;
}

.blog-row time {
    padding-top: 6px;
    color: var(--contact-muted);
    font-size: 16px;
}

.blog-row h2 {
    max-width: 760px;
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.025em;
    overflow-wrap: anywhere;
}

.blog-row h2 a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.blog-row h2 a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
}

.blog-title-arrow {
    flex-shrink: 0;
    font-family: "Segoe UI", sans-serif;
    font-size: 24px;
}

.blog-row p {
    max-width: 60ch;
    margin: 18px 0;
    font-size: 18px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.blog-read {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    min-height: 44px;
    font-size: 16px;
}

.blog-read span {
    font-size: 24px;
}

.blog-read:hover,
.blog-empty a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.blog-empty {
    padding: 48px;
    background: var(--hero-ground);
}

.blog-empty h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
}

.blog-empty p,
.blog-home-empty {
    margin: 20px 0;
    font-size: 18px;
    line-height: 1.7;
}

.blog-empty a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
    font-size: 16px;
}

.blog-pagination a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.blog-search-note {
    margin: 32px 0 0;
    font-size: 17px;
    overflow-wrap: anywhere;
}

.blog-search-note a {
    margin-left: 8px;
    text-decoration: underline;
}

.article-page {
    padding: 64px 40px 96px;
    background: var(--hero-ground);
    color: var(--navy);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 24px;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.article-heading h1 {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: clamp(40px, 4vw, 60px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
}

.article-summary {
    max-width: 60ch;
    margin: 28px 0;
    font-size: 20px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.article-heading time {
    color: var(--contact-muted);
    font-size: 16px;
}

.article-body {
    max-width: 60ch;
    margin-top: 48px;
    font-size: 18px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.article-body p {
    margin: 0 0 24px;
}

.article-body ol,
.article-body ul {
    margin: 0 0 24px;
    padding-left: 1.5em;
    list-style-position: outside;
}

.article-body ol {
    list-style-type: decimal;
}

.article-body ul {
    list-style-type: disc;
}

.article-body li + li {
    margin-top: 8px;
}

.article-heading h1,
.article-summary,
.article-body,
.blog-row h2,
.blog-row p,
#article-editor .ql-editor {
    overflow-wrap: normal;
    word-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.article-body a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.article-body,
#article-editor .ql-editor {
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

.article-contact {
    margin-top: 64px;
    padding: 32px;
    background: var(--contact-field);
}

.article-contact p {
    margin: 0;
    font-size: 18px;
}

.article-contact .hero-contact {
    margin-top: 20px;
}

.blog-page a:focus-visible,
.blog-home a:focus-visible,
.article-page a:focus-visible,
.blog-search input:focus-visible,
.blog-search button:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}

@media (max-width: 1000px) {
    .blog-heading {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .blog-search {
        flex-basis: auto;
        max-width: 460px;
    }
}

@media (max-width: 640px) {
    .blog-page,
    .blog-home,
    .article-page {
        padding: 48px 24px;
    }

    .blog-heading h1,
    .blog-home-heading h2,
    .article-heading h1 {
        font-size: 38px;
    }

    .blog-home-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .blog-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 0;
    }

    .blog-row h2 {
        font-size: 26px;
    }

    .blog-heading p,
    .blog-row p,
    .blog-empty p,
    .blog-home-empty {
        font-size: 17px;
    }

    .blog-empty {
        padding: 28px 24px;
    }

    .blog-empty h2 {
        font-size: 26px;
    }

    .article-summary {
        font-size: 18px;
    }

    .article-body {
        font-size: 17px;
    }

    .article-contact {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-search button {
        transition: none;
    }
}

/* =========================
   SOCIAL LINKS
========================= */
.social-wall {
    padding: 56px 40px;
    background: var(--hero-ground);
    color: var(--navy);
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px 80px;
    max-width: 1232px;
    margin: 0 auto;
}

.social-intro {
    max-width: 640px;
    margin: 0 auto 24px;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

.hero-faq {
    display: flex;
    align-items: center;
    width: fit-content;
    min-height: 48px;
    margin: 32px auto 0;
    font-size: 16px;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 6px;
}

.hero-faq:focus-visible,
.faq-page a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}

/* =========================
   FAQ
========================= */
.faq-page {
    padding: 96px 40px;
    background: var(--contact-field);
    color: var(--navy);
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 64px;
    max-width: 1232px;
    margin: 0 auto;
}

.faq-intro h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(44px, 4vw, 60px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.faq-intro p {
    max-width: 360px;
    margin: 28px 0 0;
    font-size: 18px;
    line-height: 1.7;
}

.faq-back {
    display: flex;
    align-items: center;
    width: fit-content;
    min-height: 48px;
    margin-top: 12px;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.faq-list {
    min-width: 0;
    padding: 16px 32px;
    background: var(--hero-ground);
}

.faq-list details {
    padding: 20px 0;
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 48px;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    flex-shrink: 0;
    color: var(--navy);
    font-size: 28px;
    font-weight: 400;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}

.faq-answer {
    padding-top: 16px;
    font-size: 17px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.faq-answer p {
    margin: 0;
}

.faq-answer a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 1000px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .faq-page {
        padding: 48px 24px;
    }

    .faq-intro h1 {
        font-size: 42px;
    }

    .faq-intro p {
        font-size: 17px;
    }

    .faq-list {
        padding: 8px 20px;
    }

    .faq-list summary {
        gap: 16px;
        font-size: 18px;
    }

    .social-intro {
        font-size: 17px;
        text-align: left;
    }
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-height: 56px;
    padding: 8px 0;
    color: var(--navy);
    font-size: 28px;
    line-height: 1.3;
    text-decoration: none;
}

.social-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.social-arrow {
    width: 22px;
    height: 22px;
    margin-left: 8px;
    color: var(--gold);
    transition: transform 180ms ease;
}

.social-link[href]:hover span {
    text-decoration: underline;
    text-underline-offset: 7px;
}

.social-link[href]:hover .social-arrow {
    transform: translate(3px, -3px);
}

.social-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 8px;
}

.social-link[aria-disabled="true"] {
    cursor: default;
}

@media (max-width: 640px) {
    .social-wall {
        padding: 36px 24px;
    }

    .social-links {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .social-link {
        font-size: 24px;
    }

    .social-arrow {
        margin-left: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .social-arrow {
        transition: none;
    }
}

/* =========================
   CONTACT
========================= */
.contact-section {
    padding: 96px 40px;
    background: var(--contact-field);
    color: var(--navy);
    scroll-margin-top: 96px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    max-width: 1232px;
    margin: 0 auto;
}

.contact-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    background: var(--navy);
    color: var(--hero-ink);
}

.contact-intro {
    padding: 48px;
}

.contact-copy h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(48px, 4.4vw, 64px);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.contact-copy p {
    max-width: 320px;
    margin: 28px 0 0;
    font-size: 17px;
    line-height: 1.75;
}

.contact-image {
    overflow: hidden;
    height: 220px;
    margin: 0;
}

.contact-details {
    display: grid;
    gap: 12px;
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.6;
}

.contact-details a {
    width: fit-content;
    max-width: 100%;
    padding: 4px 0;
    overflow-wrap: anywhere;
    text-underline-offset: 5px;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.contact-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
    gap: 30px 24px;
    min-width: 0;
    padding: 48px;
    background: var(--hero-ground);
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.contact-field-wide,
.contact-submit {
    grid-column: 1 / -1;
}

.contact-field label {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.contact-field input,
.contact-field textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 50px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--contact-border);
    border-radius: 0;
    background: var(--hero-ground);
    color: var(--navy);
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 180ms ease, background 180ms ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: var(--contact-muted);
    opacity: 1;
}

.contact-field textarea {
    min-height: 144px;
    padding: 16px;
    border: 1px solid var(--contact-border);
    background: var(--contact-field);
    resize: vertical;
}

.contact-field input:hover,
.contact-field textarea:hover {
    border-color: var(--navy);
}

.contact-field input:focus-visible,
.contact-field textarea:focus-visible {
    border-color: var(--gold);
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.contact-submit {
    padding-top: 4px;
}

.contact-submit button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 54px;
    padding: 15px 24px;
    border: 0;
    border-radius: 0;
    background: var(--gold);
    color: var(--navy);
    font-size: 16px;
    font-weight: 600;
}

.contact-submit button svg {
    width: 22px;
    height: 22px;
}

.contact-submit button:disabled {
    cursor: not-allowed;
}

.contact-status {
    max-width: 400px;
    margin: 18px 0 0;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 1000px) {
    .contact-section {
        padding: 72px 32px;
    }

    .contact-intro,
    .contact-form {
        padding: 32px;
    }
}

@media (max-width: 800px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-copy {
        display: grid;
        grid-template-columns: 1fr 0.65fr;
        align-items: stretch;
    }

    .contact-image {
        height: 100%;
        min-height: 280px;
    }

    .contact-copy p {
        max-width: 400px;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding: 48px 16px;
    }

    .contact-copy {
        display: flex;
    }

    .contact-intro,
    .contact-form {
        padding: 32px 24px;
    }

    .contact-copy h2 {
        font-size: 48px;
    }

    .contact-copy p {
        margin-top: 24px;
    }

    .contact-image {
        height: 160px;
        min-height: 0;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .contact-submit button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-field input,
    .contact-field textarea {
        transition: none;
    }
}

/* =========================
   HERO
========================= */
.hero {
    padding: 64px 40px 80px;
    background: var(--hero-ground);
    color: var(--navy);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(48px, 7vw, 112px);
    max-width: 1232px;
    margin: 0 auto;
}

.hero-content {
    padding: 32px 0;
}

.hero h1 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.hero-description {
    max-width: 400px;
    margin: 28px 0 0;
    font-size: 18px;
    line-height: 1.75;
}

.hero-contact {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    min-height: 56px;
    margin-top: 36px;
    padding: 16px 24px;
    background: var(--gold);
    color: var(--navy);
    font-size: 16px;
    font-weight: 600;
    transition: background 180ms ease;
}

.hero-contact svg {
    width: 22px;
    height: 22px;
    transition: transform 180ms ease;
}

.hero-contact:hover {
    background: var(--gold-light);
}

.hero-contact:hover svg {
    transform: translateX(4px);
}

.hero-contact:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 6px;
}

.hero-image {
    overflow: hidden;
    width: 100%;
    height: 580px;
    margin: 0;
    background: var(--paper);
}

.hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-carousel {
    min-width: 0;
    overflow: hidden;
}

.hero-slides {
    display: flex;
}

.hero-slides .hero-image {
    flex: 0 0 100%;
}

.hero-slides [hidden] {
    display: none;
}

.hero-image img.hero-image-business {
    object-position: 65% center;
}

.hero-image img.hero-image-team {
    object-position: center 20%;
}

.contact-image img.contact-photo {
    object-position: center 35%;
}

.office-intro {
    padding: 96px 24px;
    background: var(--hero-ground);
    color: var(--navy);
}

.office-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 64px;
    max-width: 1152px;
    margin: 0 auto;
}

.office-intro h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.office-description p {
    max-width: 520px;
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
}

.office-description p + p {
    margin-top: 18px;
}

@media (max-width: 1000px) {
    .hero {
        padding: 48px 32px 56px;
    }

    .hero-layout {
        gap: 40px;
    }

    .hero h1 {
        font-size: clamp(40px, 5.3vw, 54px);
    }

    .hero-image {
        height: 500px;
    }
}

@media (max-width: 640px) {
    .hero {
        --hero-gutter: 24px;
        padding: 40px var(--hero-gutter) 48px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-content {
        padding: 0;
    }

    .hero h1 {
        font-size: clamp(40px, 10.8vw, 62px);
    }

    .hero-description {
        margin-top: 24px;
        font-size: 17px;
        line-height: 1.7;
    }

    .hero-contact {
        margin-top: 28px;
    }

    .hero-carousel {
        margin-inline: calc(-1 * var(--hero-gutter));
    }

    .hero-image {
        height: 340px;
    }

    .office-intro {
        padding: 64px 24px;
    }

    .office-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .office-intro h2 {
        font-size: clamp(27px, 7.3vw, 36px);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hero h1,
    .hero-description,
    .hero-contact {
        animation: hero-enter 600ms ease both;
    }

    .hero-description {
        animation-delay: 80ms;
    }

    .hero-contact {
        animation-delay: 160ms;
    }

    @keyframes hero-enter {
        from {
            opacity: 0;
            transform: translateY(12px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-contact,
    .hero-contact svg {
        transition: none;
    }
}
