@charset "UTF-8";
/* CSS Document */
/* =========================================================
   ROOTS TYPOGRAPHY
========================================================= */

@font-face {
    font-family: "Bagros";
    src: url("https://assets.zyrosite.com/AoPvLWl9QNtBOaQr/BAGROS%20Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("https://assets.zyrosite.com/AoPvLWl9QNtBOaQr/Roboto%20Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("https://assets.zyrosite.com/AoPvLWl9QNtBOaQr/Roboto%20Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   ROOTS DESIGN SYSTEM
========================================================= */
:root {
    /* Typography */
    --font-heading: "Bagros", Georgia, serif;
    --font-body: "Roboto", Arial, sans-serif;

    /* Roots colour palette */
    --teal-deep: #2c7379;
    --teal: #65a9aa;
    --aqua: #abd7d8;
    --blue-grey: #bfd1d3;
    --sand: #ecd0a0;
    --amethyst: #796a8e;

    /* Neutrals */
    --cream: #faf9f6;
    --white: #ffffff;
    --text: #293536;
    --muted: #667577;
    --border: #d9e2e2;

    /* Main site assignments */
    --bg: var(--cream);
    --surface: var(--white);
    --accent: var(--teal-deep);

    /* Layout */
    --radius: 18px;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    color: inherit;
}

.site-container {
    width: min(100% - 32px, var(--content-width));
    margin-inline: auto;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

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

.site-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-decoration: none;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    text-decoration: none;
    font-weight: 500;
}

.nav-toggle {
    display: none;
}

.site-main {
    min-height: calc(100vh - 150px);
}

.site-footer {
    margin-top: 60px;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.15;
}

@media (max-width: 700px) {
    .nav-toggle {
        display: block;
        background: none;
        border: 0;
        font-size: 1.6rem;
        cursor: pointer;
    }

    .main-nav {
        display: none;
    }

    .main-nav.is-open {
        display: flex;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        padding: 20px;
        background: var(--surface);
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--border);
    }
}
/* =========================================================
   PAGE LAYOUT
========================================================= */

.page-section {
    padding: 56px 0 80px;
}

.page-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.page-heading h1 {
    margin: 6px 0 12px;
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    color: var(--teal-deep);
}

.page-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.eyebrow {
    display: block;
    color: var(--amethyst);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* =========================================================
   PERSON FORM
========================================================= */

.person-form {
    display: grid;
    gap: 24px;
}

.form-card {
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.form-card-heading {
    margin-bottom: 24px;
}

.form-card-heading h2 {
    margin: 0 0 6px;
    color: var(--teal-deep);
    font-size: 1.7rem;
}

.form-card-heading p {
    margin: 0;
    color: var(--muted);
}
.form-card-heading p,
.field-help {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--muted);
}

.form-field > span,
.checkbox-field span {
    font-size: 0.88rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    font-size: 0.9rem;
}

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

.form-field {
    display: grid;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field > span,
.checkbox-field span {
    font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 3px solid rgba(101, 169, 170, 0.18);
    border-color: var(--teal);
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    accent-color: var(--teal-deep);
}
.form-field input::placeholder,
.form-field textarea::placeholder {
    font-size: 0.84rem;
    color: #8b9798;
}

/* =========================================================
   PHOTO
========================================================= */

.photo-upload-area {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.photo-preview {
    width: 130px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 50%;
    background: var(--aqua);
    border: 5px solid var(--white);
    box-shadow: 0 0 0 1px var(--border);
    color: var(--teal-deep);
    font-size: 0.9rem;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-button,
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.upload-button {
    padding: 12px 20px;
    background: var(--blue-grey);
    color: var(--text);
}

.primary-button {
    padding: 15px 28px;
    background: var(--teal-deep);
    color: var(--white);
    font-size: 1rem;
}

.upload-button:hover,
.primary-button:hover {
    transform: translateY(-1px);
}

.field-help {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 6px;
}

/* =========================================================
   ROOTS FORM VISUAL POLISH
========================================================= */

.page-heading {
    padding: 28px 32px;
    background: linear-gradient(
        135deg,
        rgba(171, 215, 216, 0.45),
        rgba(236, 208, 160, 0.30)
    );
    border-radius: 24px;
}

.page-heading h1 {
    color: var(--teal-deep);
}

.eyebrow {
    color: var(--amethyst);
}


/* Cards */

.form-card {
    border: 0;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 30px rgba(44, 115, 121, 0.07);
}

.form-card:nth-of-type(1) {
    background: rgba(171, 215, 216, 0.22);
}

.form-card:nth-of-type(2) {
    border-left: 6px solid var(--sand);
}

.form-card:nth-of-type(3) {
    border-left: 6px solid var(--blue-grey);
}

.form-card:nth-of-type(4) {
    border-left: 6px solid var(--amethyst);
}

.form-card-heading h2 {
    color: var(--teal-deep);
}


/* Inputs */

.form-field input,
.form-field select,
.form-field textarea {
    min-height: 48px;
    border: 1px solid rgba(44, 115, 121, 0.22);
    background: rgba(255, 255, 255, 0.95);
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
    border-color: var(--teal);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--teal-deep);
    outline: 3px solid rgba(101, 169, 170, 0.18);
}


/* Photo */

.photo-preview {
    width: 150px;
    background: var(--aqua);
    border: 7px solid var(--white);
    box-shadow:
        0 0 0 3px var(--teal),
        0 10px 28px rgba(44, 115, 121, 0.16);
}


/* Buttons */

.upload-button {
    background: var(--sand);
    color: var(--text);
}

.upload-button:hover {
    background: var(--aqua);
}

.primary-button {
    background: var(--teal-deep);
    box-shadow: 0 8px 20px rgba(44, 115, 121, 0.20);
}

.primary-button:hover {
    background: var(--amethyst);
}


/* Tiny accent details */

.checkbox-field input {
    accent-color: var(--amethyst);
}

.form-card-heading p,
.field-help {
    color: var(--muted);
}
/* =========================================================
   ROOTS PROJECT OVERVIEW PAGE
========================================================= */

.project-overview {
    max-width: 1080px;
}

.project-heading {
    margin-bottom: 28px;
}

.project-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    padding: 30px;
    margin-bottom: 26px;
    background: rgba(171, 215, 216, 0.28);
    border-radius: 24px;
}

.project-intro h2,
.project-section h2,
.project-card h2 {
    font-weight: 400;
}

.project-intro h2 {
    margin: 0 0 8px;
    color: var(--teal-deep);
}

.project-intro p {
    max-width: 720px;
    margin: 0;
}

.project-badge {
    flex: 0 0 auto;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--white);
    color: var(--amethyst);
    font-size: 0.82rem;
    font-weight: 700;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.project-card {
    min-height: 220px;
    padding: 26px;
    border-radius: 22px;
}

.project-card-aqua {
    background: rgba(171, 215, 216, 0.4);
}

.project-card-sand {
    background: rgba(236, 208, 160, 0.45);
}

.project-card-purple {
    background: rgba(121, 106, 142, 0.11);
}

.project-number {
    display: block;
    margin-bottom: 22px;
    color: var(--amethyst);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.project-card h2 {
    margin: 0 0 10px;
    color: var(--teal-deep);
}

.project-card p {
    margin: 0;
    color: var(--text);
    font-size: 0.93rem;
}

.project-section {
    margin-top: 28px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(44, 115, 121, 0.06);
}

.project-section-heading {
    margin-bottom: 22px;
}

.project-section-heading h2 {
    margin: 4px 0 6px;
    color: var(--teal-deep);
}

.project-section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.project-status-list {
    display: grid;
    gap: 10px;
}

.project-status-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: start;
    gap: 10px;
}

.project-status-item span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--aqua);
    color: var(--teal-deep);
    font-weight: 700;
}

.project-status-item p {
    margin: 2px 0 0;
}

.tree-explainer {
    overflow: hidden;
}

.tree-demo {
    max-width: 760px;
    margin: 36px auto 20px;
}

.tree-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tree-row-parents {
    gap: 12px;
}

.tree-row-children {
    gap: 24px;
}

.tree-person {
    min-width: 150px;
    padding: 16px 18px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(44, 115, 121, 0.07);
}

.tree-person-focus {
    background: rgba(171, 215, 216, 0.35);
    border-color: var(--teal);
}

.tree-person strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--teal-deep);
}

.tree-person small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.76rem;
}

.tree-connector-horizontal {
    width: 62px;
    height: 2px;
    background: var(--sand);
}

.tree-line-down {
    width: 2px;
    height: 42px;
    margin: 0 auto;
    background: var(--sand);
}

.tree-note {
    margin: 18px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.88rem;
}

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

.project-next-grid > div {
    padding: 18px 20px;
    background: var(--cream);
    border-radius: 16px;
}

.project-next-grid strong {
    display: block;
    margin-bottom: 4px;
    color: var(--teal-deep);
}

.project-next-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
}

@media (max-width: 800px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-intro {
        flex-direction: column;
    }

    .project-next-grid {
        grid-template-columns: 1fr;
    }

    .tree-row-children {
        gap: 10px;
    }

    .tree-person {
        min-width: 0;
        flex: 1 1 0;
        padding: 14px 10px;
    }
}

@media (max-width: 560px) {
    .project-section,
    .project-intro {
        padding: 22px 18px;
    }

    .tree-row-parents {
        gap: 8px;
    }

    .tree-connector-horizontal {
        width: 28px;
    }

    .tree-person strong {
        font-size: 1rem;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .page-section {
        padding: 34px 0 60px;
    }

    .form-card {
        padding: 22px 18px;
    }

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

    .form-field-full {
        grid-column: auto;
    }

    .photo-upload-area {
        align-items: flex-start;
    }

    .form-actions {
        justify-content: stretch;
    }

    .primary-button {
        width: 100%;
    }
}