/* ============================================
   1. SELF-HOSTED TYPE
============================================ */
@font-face {
    font-family: "Sora";
    src: url("../fonts/sora-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Sora";
    src: url("../fonts/sora-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================
   2. TOKENS / HERO BACKGROUND IMAGE
   This cover works best without a photograph.
   Optional asset: ../img/hero-background.webp
   Suggested optional crop: 2400 x 1400, under 240 KB.
   Keep image detail away from the title and lower text.
============================================ */
:root {
    --hero-image: none;
    --paper: #fff8f6;
    --blush: #f5e9e7;
    --ink: #282328;
    --red: #bd233d;
    --soft-red: #ead6d7;
    --stone: #e8e8e3;
    --muted: #68575e;
    --gutter: clamp(20px, 4.4vw, 84px);
    --section-space: clamp(72px, 8.5vw, 144px);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ============================================
   3. RESET / BASE / ACCESSIBILITY
============================================ */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
    scrollbar-color: var(--red) var(--blush);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Sora", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--red);
    color: var(--paper);
}

a {
    color: inherit;
    text-underline-offset: 0.25em;
    text-decoration-thickness: 1px;
}

a:focus-visible,
input:focus-visible + span {
    outline: 3px solid var(--red);
    outline-offset: 6px;
}

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

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

h1,
h2,
h3 {
    font-weight: 500;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

h2 {
    font-size: clamp(32px, 4.2vw, 64px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h3 {
    font-size: clamp(25px, 3vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-gutter {
    padding-inline: var(--gutter);
}

.skip-link {
    position: fixed;
    inset: 12px auto auto 12px;
    z-index: 10;
    padding: 12px 20px;
    background: var(--paper);
    color: var(--red);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* ============================================
   4. MASTHEAD / PERMANENT NAVIGATION
============================================ */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-block: 27px;
    background: var(--blush);
}

.site-logo {
    flex: 0 0 auto;
}

.site-logo img {
    width: 220px;
    height: 44px;
    object-fit: contain;
}

.navigation {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 56px);
    font-size: 14px;
}

.navigation a {
    display: flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
}

.navigation .nav-contact {
    color: var(--red);
    text-decoration: underline;
}

/* ============================================
   5. HERO / TYPOGRAPHIC COVER
============================================ */
.hero {
    padding-top: clamp(55px, 6.5vw, 110px);
    padding-bottom: 28px;
    background-color: var(--blush);
    background-image: linear-gradient(rgba(245, 233, 231, 0.92), rgba(245, 233, 231, 0.92)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

.hero h1 {
    color: var(--red);
    font-size: clamp(44px, 8.5vw, 164px);
    line-height: 1.13;
    letter-spacing: -0.04em;
    font-weight: 500;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
    margin-top: clamp(40px, 5vw, 80px);
}

.hero-description {
    max-width: 550px;
    font-size: clamp(18px, 1.6vw, 24px);
    line-height: 1.55;
    letter-spacing: -0.02em;
}

.primary-action {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex: 0 0 auto;
    min-height: 64px;
    padding: 18px 26px;
    background: var(--red);
    color: var(--paper);
    font-size: 15px;
    text-decoration: none;
}

.primary-action:focus-visible {
    outline-color: var(--ink);
}

.primary-action svg {
    flex-shrink: 0;
    transition: transform 160ms var(--ease-out);
}

.primary-action:active svg {
    transform: translateX(4px);
}

.cover-caption {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: clamp(64px, 7vw, 112px);
    color: var(--muted);
    font-size: 13px;
}

/* ============================================
   6. CONVERSATION / NATIVE TOPIC CONTROL
============================================ */
.conversation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(48px, 8vw, 140px);
    padding-block: var(--section-space);
    background: var(--ink);
    color: var(--paper);
}

.conversation h2 {
    max-width: 10ch;
}

.conversation-intro p {
    max-width: 42ch;
    margin-top: 32px;
}

.topic-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}

.topic-picker legend {
    margin-bottom: 18px;
    font-size: 15px;
}

.topic-picker label {
    position: relative;
    cursor: pointer;
}

.topic-picker input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.topic-picker span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 12px 17px;
    border: 1px solid var(--paper);
    border-radius: 32px;
    font-size: 13px;
}

.topic-picker span::before {
    width: 10px;
    height: 10px;
    border: 1px solid currentColor;
    border-radius: 50%;
    content: "";
}

.topic-picker input:checked + span {
    background: var(--paper);
    color: var(--ink);
}

.topic-picker input:checked + span::before {
    background: var(--red);
    border-color: var(--red);
}

.topic-picker input:focus-visible + span {
    outline-color: var(--paper);
}

.email-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding-block: 18px;
    margin-top: 26px;
    border-bottom: 2px solid var(--paper);
    font-size: 26px;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.email-action:focus-visible,
.conversation a:focus-visible {
    outline-color: var(--paper);
}

.email-address {
    display: inline-block;
    margin-top: 20px;
    overflow-wrap: anywhere;
    font-size: 15px;
}

.tool-note {
    margin-top: 15px;
    font-size: 13px;
}

/* ============================================
   7. CAPABILITIES / COMPLEMENTARY SPREAD
============================================ */
.work {
    padding-block: var(--section-space);
}

.section-opening {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: end;
    gap: 60px;
    margin-bottom: 64px;
}

.section-opening p {
    max-width: 38ch;
}

.disciplines {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
}

.development,
.consultancy {
    padding: clamp(28px, 4vw, 64px);
}

.development {
    background: var(--red);
    color: var(--paper);
}

.consultancy {
    margin-top: 100px;
    background: var(--stone);
}

.discipline-heading {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-bottom: 32px;
}


.discipline-note {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid currentColor;
    font-size: 14px;
}

/* ============================================
   8. APPROACH / ESSAY AND QUESTIONS
============================================ */
.approach {
    padding-block: var(--section-space);
    background: var(--blush);
}

.approach h2 {
    max-width: 13ch;
}

.approach-essay {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 140px);
    margin-top: 56px;
}

.statement {
    max-width: 24ch;
    color: var(--red);
    font-size: clamp(24px, 2.6vw, 36px);
    line-height: 1.4;
    letter-spacing: -0.03em;
}

.essay-body p + p {
    margin-top: 24px;
}

.context-questions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 32px;
    padding-top: 56px;
    margin-top: 64px;
    border-top: 1px solid var(--muted);
    font-size: 15px;
}

/* ============================================
   9. PRINCIPLES AND CLOSE
============================================ */
.principles {
    padding-block: var(--section-space);
}

.principles h2 {
    max-width: 15ch;
}

.principle-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 140px);
    margin-top: 64px;
}

.principle-pair h3 {
    max-width: 24ch;
    margin-bottom: 24px;
    font-size: 25px;
}

.principle-pair p {
    max-width: 47ch;
}

.closing-link {
    display: inline-block;
    padding-block: 12px;
    margin-top: 56px;
    color: var(--red);
    font-size: 18px;
}

/* ============================================
   10. FOOTER
============================================ */
.footer {
    padding-top: 64px;
    padding-bottom: 32px;
    background: var(--red);
    color: var(--paper);
}

.footer-brand {
    display: block;
    width: fit-content;
    font-size: clamp(42px, 9.5vw, 176px);
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
    margin-top: 52px;
    font-size: 14px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    overflow-wrap: anywhere;
}

.footer a:focus-visible {
    outline-color: var(--paper);
}

.copyright {
    margin-top: 28px;
    font-size: 13px;
}

/* ============================================
   11. LEGAL DOCUMENTS / 404
============================================ */
.document {
    max-width: 1100px;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 112px;
}

.document h1 {
    color: var(--red);
    font-size: clamp(40px, 5.5vw, 76px);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.document h2 {
    margin-bottom: 20px;
    font-size: clamp(27px, 3vw, 38px);
}

.document section {
    margin-top: 56px;
}

.document p + p {
    margin-top: 20px;
}

.document-date {
    margin-top: 20px;
    font-size: 14px;
}

.document-lead {
    margin-top: 32px;
    font-size: 21px;
}

.document p,
.document dd {
    max-width: 70ch;
    overflow-wrap: anywhere;
}

.legal-data {
    margin-top: 48px;
}

.legal-data dt {
    margin-top: 24px;
    font-weight: 600;
}

.legal-data dd {
    margin: 6px 0 0;
}

.not-found {
    min-height: 45vh;
}

.not-found h1 {
    margin-block: 24px;
}

.not-found .primary-action {
    margin-top: 40px;
}

/* ============================================
   12. MOTION — OCCASIONAL POINTER FEEDBACK ONLY
   No entrances or ambient loops: the typography stays still.
============================================ */
@media (hover: hover) and (pointer: fine) {
    .primary-action:hover svg {
        transform: translateX(4px);
    }

    .navigation a:hover,
    .footer a:hover,
    .email-address:hover {
        text-decoration: underline;
        text-decoration-thickness: 2px;
    }

    .email-action:hover {
        border-bottom-width: 3px;
        padding-bottom: 17px;
    }
}

/* ============================================
   13. RESPONSIVE COMPOSITION
============================================ */
@media (min-width: 1921px) {
    body {
        max-width: 1920px;
        margin-inline: auto;
    }
}

@media (max-width: 1050px) {
    .hero-bottom {
        align-items: flex-start;
    }

    .hero-description {
        max-width: 30ch;
        font-size: 19px;
    }

    .primary-action {
        gap: 20px;
        padding-inline: 20px;
        font-size: 14px;
    }

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

    .section-opening p {
        max-width: 55ch;
    }

    .conversation {
        gap: 44px;
    }

    .topic-picker {
        flex-direction: column;
        align-items: flex-start;
    }

    .consultancy {
        margin-top: 64px;
    }
}

@media (max-width: 700px) {
    body {
        font-size: 16px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-block: 20px 8px;
    }

    .site-logo img {
        width: 200px;
        height: 40px;
    }

    .navigation {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        font-size: 12px;
    }

    .hero {
        padding-top: 44px;
        padding-bottom: 22px;
    }

    .hero h1 {
        font-size: clamp(31px, 8.8vw, 61px);
        line-height: 1.2;
    }

    .hero-bottom {
        flex-direction: column;
        gap: 28px;
        margin-top: 28px;
    }

    .hero-description {
        max-width: 32ch;
        font-size: 17px;
    }

    .primary-action {
        min-height: 58px;
    }

    .cover-caption {
        flex-direction: column;
        gap: 5px;
        margin-top: 48px;
        font-size: 12px;
    }

    .conversation,
    .approach-essay,
    .principle-pair {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .conversation h2 {
        max-width: 15ch;
    }

    .conversation-intro p {
        margin-top: 24px;
    }

    .topic-picker {
        flex-direction: row;
        align-items: stretch;
    }

    .section-opening {
        margin-bottom: 40px;
    }

    .section-opening h2 br {
        display: none;
    }

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

    .consultancy {
        margin-top: 0;
    }

    .discipline-heading {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: flex-start;
        gap: 24px;
    }


    .discipline-note {
        margin-top: 28px;
    }

    .approach-essay {
        margin-top: 32px;
    }

    .context-questions {
        flex-direction: column;
        padding-top: 32px;
        margin-top: 40px;
    }

    .principle-pair {
        margin-top: 40px;
    }

    .closing-link {
        margin-top: 36px;
    }

    .footer {
        padding-top: 48px;
    }

    .footer-links {
        flex-direction: column;
        gap: 4px;
        margin-top: 32px;
    }

    .document-header {
        padding-bottom: 20px;
    }

    .document-header > a:last-child {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .document {
        padding-top: 48px;
        padding-bottom: 72px;
    }

    .document-lead {
        font-size: 18px;
    }
}

/* ============================================
   14. REDUCED MOTION
============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .primary-action svg {
        transition: none;
    }

    .primary-action:hover svg,
    .primary-action:active svg {
        transform: none;
    }
}
