@font-face {
    font-family:General Sans;
    src:url('../fonts/GeneralSans-Variable.woff2') format('woff2');
    font-weight:200 700;
    font-display:swap;
}

:root {
    --paper:#f6f5f0;
    --ink:#232621;
    --muted:#676b61;
    --line:#d8d9d0;
    --accent:#b7ad90;
    --dark:#171916;
}

* {
    box-sizing:border-box;
}

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

body {
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:General Sans,Arial,sans-serif;
    font-size:15px;
    line-height:1.7;
}

button,input,textarea {
    font:inherit;
}

a {
    color:inherit;
    text-decoration:none;
}

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

button,summary {
    cursor:pointer;
}

button {
    border:0;
}

a,button,summary,input,textarea {
    outline-offset:6px;
}

a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible {
    outline:2px solid #9a7941;
}

::selection {
    background:#c8b996;
    color:#171916;
}

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

h2 {
    font-size:clamp(36px,4.1vw,62px);
    font-weight:450;
    line-height:1.12;
    letter-spacing:-.045em;
}

h3 {
    font-weight:500;
}

p {
    overflow-wrap:break-word;
}

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

.section {
    padding-block:112px;
}

.section-label {
    display:flex;
    align-items:center;
    gap:26px;
    text-transform:uppercase;
    font-size:11px;
    font-weight:550;
    letter-spacing:.16em;
    margin-bottom:58px;
}

.section-line {
    height:1px;
    background:var(--line);
    flex:1;
}

.eyebrow {
    text-transform:uppercase;
    font-size:11px;
    font-weight:500;
    letter-spacing:.16em;
}

.skip-link {
    position:fixed;
    top:-100px;
    left:20px;
    z-index:100;
    background:white;
    padding:12px;
}

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

.site-header {
    height:94px;
    padding:0 48px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    background:var(--dark);
    color:#f9f8f2;
    position:sticky;
    top:0;
    z-index:20;
    border-bottom:1px solid #ffffff20;
}

.brand {
    flex-shrink:0;
}

.brand img {
    width:187px;
    height:auto;
}

.site-header nav {
    display:flex;
    align-items:center;
    gap:26px;
    font-size:12px;
}

.site-header nav>a {
    padding-block:12px;
}

.site-header nav>a:hover {
    color:#d6c9a9;
}

.nav-contact {
    display:flex;
    gap:18px;
    border-bottom:1px solid #b7ad90;
}

.login-link {
    font-size:11px;
    color:#c8c9be;
    border-inline-start:1px solid #ffffff30;
    padding-inline-start:22px;
}

.language-picker {
    position:relative;
}

.language-picker summary {
    list-style:none;
    white-space:nowrap;
}

.language-picker summary::-webkit-details-marker {
    display:none;
}

.language-options {
    position:absolute;
    top:40px;
    inset-inline-end:0;
    min-width:150px;
    padding:12px 18px;
    background:var(--paper);
    color:var(--ink);
    box-shadow:0 12px 30px #0003;
}

.language-options a {
    display:block;
    padding:6px 0;
}

.language-options a:hover {
    text-decoration:underline;
}

.menu-toggle {
    display:none;
    color:inherit;
    background:none;
    padding:10px 0;
    gap:16px;
    align-items:center;
}

.hero {
    position:relative;
    min-height:690px;
    height:calc(100svh - 94px);
    max-height:950px;
    color:white;
    background:#20231f;
    display:flex;
    flex-direction:column;
    justify-content:center;
    isolation:isolate;
}

.hero-image,.hero-shade {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    z-index:-1;
}

.hero-image {
    object-fit:cover;
    object-position:60% 48%;
}

.hero-shade {
    /* Keep a dark reading area behind the copy, even over bright windows. */
    background:linear-gradient(90deg,rgba(12,18,14,.96) 0%,rgba(12,18,14,.88) 38%,rgba(12,18,14,.35) 70%,rgba(12,18,14,.12) 100%),linear-gradient(0deg,#111810c9,transparent 45%);
}

.hero-content {
    padding-block:55px 105px;
}

.hero .eyebrow {
    display:flex;
    align-items:center;
    gap:16px;
    color:#e2dfd2;
}

.small-rule {
    width:34px;
    height:1px;
    background:#c6bc9e;
}

.hero h1 {
    font-weight:400;
    font-size:clamp(80px,8.6vw,134px);
    line-height:.99;
    letter-spacing:-.055em;
    margin:30px 0;
}

.hero h1 em {
    font-family:Georgia,serif;
    font-weight:400;
    color:#dfd8c3;
    letter-spacing:-.065em;
}

.hero-intro {
    max-width:410px;
    font-size:16px;
    line-height:1.8;
    color:#f6f5f0;
    margin-bottom:32px;
}

.button {
    display:inline-flex;
    align-items:center;
    justify-content:space-between;
    gap:45px;
    min-height:53px;
    padding:14px 24px;
    font-size:12px;
    font-weight:550;
    transition:background .2s,color .2s;
}

.button span {
    font-size:20px;
    line-height:1;
}

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

.button-light:hover {
    background:#d9d1bb;
}

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

.button-dark:hover {
    background:#42483e;
}

.button:disabled {
    opacity:.6;
    cursor:wait;
}

.hero-bottom {
    position:absolute;
    bottom:30px;
    inset-inline:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-top:1px solid #ffffff40;
    padding-top:22px;
    font-size:10px;
    letter-spacing:.15em;
}

.hero-bottom p span {
    margin-inline:14px;
    color:#bfb69e;
}

.hero-bottom a {
    display:flex;
    gap:24px;
    align-items:center;
}

.hero-bottom a span {
    font-size:22px;
}

.about-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:100px;
}

.about-grid h2 {
    max-width:460px;
}

.about-copy {
    max-width:560px;
}

.lead {
    font-size:21px;
    line-height:1.55;
    color:var(--ink);
    margin-bottom:20px;
}

.about-copy>p:not(.lead) {
    color:var(--muted);
}

.text-link {
    display:inline-flex;
    gap:40px;
    align-items:center;
    border-bottom:1px solid currentColor;
    padding:8px 0;
    font-size:12px;
    font-weight:550;
}

.text-link span {
    font-size:22px;
    transition:transform .2s;
}

.text-link:hover span {
    transform:translate(3px,-3px);
}

.about-copy .text-link {
    margin-top:24px;
}

.facts {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    margin-top:70px;
    padding-top:32px;
    border-top:1px solid var(--line);
}

.facts>div {
    display:flex;
    gap:24px;
    align-items:center;
    padding-inline:34px;
    border-inline-start:1px solid var(--line);
}

.facts>div:first-child {
    padding-inline-start:0;
    border:0;
}

.facts strong {
    font-size:53px;
    font-weight:400;
    letter-spacing:-.055em;
    line-height:1.2;
}

.facts span {
    font-size:12px;
    color:var(--muted);
    max-width:140px;
}

.projects {
    background:#eaece5;
}

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

.section-heading h2 {
    max-width:650px;
}

.section-heading>p {
    max-width:310px;
    color:var(--muted);
}

.project-layout {
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:65px;
    align-items:start;
}

.project-image {
    position:relative;
    min-height:500px;
    height:100%;
    max-height:650px;
    overflow:hidden;
}

.project-image>img {
    width:100%;
    height:100%;
    position:absolute;
    inset:0;
    object-fit:cover;
}

.project-image:after {
    content:'';
    position:absolute;
    inset:50% 0 0;
    background:linear-gradient(transparent,#101810b3);
}

.project-image figcaption {
    position:absolute;
    bottom:28px;
    inset-inline:28px;
    z-index:1;
    color:#fff;
    display:flex;
    justify-content:space-between;
    gap:20px;
    font-size:12px;
    letter-spacing:.02em;
}

.project {
    border-top:1px solid #c4c8bd;
}

.project:last-child {
    border-bottom:1px solid #c4c8bd;
}

.project summary {
    display:flex;
    gap:20px;
    align-items:center;
    list-style:none;
    padding:27px 0;
}

.project summary::-webkit-details-marker {
    display:none;
}

.project-number {
    align-self:start;
    font-size:11px;
    color:var(--muted);
    padding-top:4px;
}

.project-title {
    flex:1;
}

.project-title small {
    display:block;
    font-size:10px;
    letter-spacing:.1em;
    text-transform:uppercase;
    color:var(--muted);
    margin-bottom:7px;
}

.project-name {
    display:block;
    font-weight:500;
    font-size:clamp(19px,2vw,29px);
    letter-spacing:-.03em;
    line-height:1.3;
}

.project-plus {
    font-size:26px;
    font-weight:300;
}

.project[open] .project-plus {
    transform:rotate(45deg);
}

.project-body {
    padding:0 24px 28px 35px;
    color:var(--muted);
    font-size:14px;
}

.project-body .text-link {
    color:var(--ink);
    margin-top:15px;
}

.project-body cite {
    display:block;
    font-size:12px;
    margin-top:12px;
}

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

.vision .section-line {
    background:#ffffff30;
}

.vision-grid {
    display:grid;
    grid-template-columns:260px 1fr;
    gap:100px;
    align-items:center;
}

.portrait img {
    width:240px;
    height:280px;
    object-fit:cover;
    filter:grayscale(1);
}

.portrait p {
    font-size:14px;
    margin-top:20px;
}

.portrait p span {
    display:block;
    color:#b7bdad;
    font-size:11px;
    letter-spacing:.1em;
    margin-top:4px;
}

.quote-mark {
    font-family:Georgia,serif;
    color:#b7ad90;
    font-size:90px;
    line-height:.8;
}

.vision blockquote {
    font-size:clamp(24px,2.5vw,38px);
    font-weight:350;
    letter-spacing:-.025em;
    line-height:1.5;
}

.vision-copy .eyebrow {
    color:#b7ad90;
    margin-top:32px;
}

.location-grid {
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:22px;
}

.location-photo {
    position:relative;
    overflow:hidden;
}

.location-photo img {
    width:100%;
    height:210px;
    object-fit:cover;
    filter:saturate(.55);
    transition:filter .3s,transform .5s;
}

.location:hover img {
    filter:saturate(1);
    transform:scale(1.035);
}

.location-photo>span {
    position:absolute;
    top:12px;
    left:12px;
    background:var(--paper);
    padding:3px 9px;
    font-size:10px;
}

.location h3 {
    font-size:19px;
    letter-spacing:-.03em;
    margin:18px 0 5px;
}

.location p {
    font-size:12px;
    color:var(--muted);
    line-height:1.6;
}

.contact {
    background:#eaece5;
}

.contact-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:100px;
}

.contact h2 {
    max-width:420px;
}

.contact-email {
    display:inline-flex;
    align-items:center;
    gap:25px;
    font-size:18px;
    margin:32px 0 26px;
    border-bottom:1px solid #a8ad9e;
}

.contact address {
    font-style:normal;
    color:var(--muted);
    font-size:12px;
    line-height:1.9;
}

.field {
    margin-bottom:23px;
}

.field label {
    display:block;
    font-size:11px;
    margin-bottom:6px;
}

.field input,.field textarea {
    display:block;
    width:100%;
    border:0;
    border-bottom:1px solid #aeb5a5;
    border-radius:0;
    background:transparent;
    color:var(--ink);
    padding:8px 0;
    min-height:43px;
    resize:vertical;
}

.field input:focus,.field textarea:focus {
    border-color:var(--ink);
}

.form-row {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:26px;
}

.form-bottom {
    display:flex;
    justify-content:space-between;
    gap:24px;
    align-items:center;
}

.form-bottom p {
    font-size:11px;
    color:var(--muted);
    max-width:190px;
}

.form-bottom button {
    flex-shrink:0;
    gap:24px;
}

.form-status {
    margin-top:20px;
    padding:14px;
    border-inline-start:3px solid #5e7150;
    background:#ffffff80;
    font-size:14px;
}

.form-status[data-state="error"] {
    border-color:#9c3939;
}

.newsletter {
    border-top:1px solid #c4c8bd;
    margin-top:75px;
    padding-top:30px;
    display:flex;
    justify-content:space-between;
    gap:30px;
    align-items:center;
}

.newsletter p {
    font-size:25px;
    letter-spacing:-.03em;
    margin-top:8px;
}

.newsletter .eyebrow {
    color:var(--muted);
}

.footer {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding-block:40px;
}

.footer .brand img {
    filter:invert(1);
    width:160px;
}

.footer p,.footer>a:last-child {
    font-size:10px;
    letter-spacing:.04em;
}

.footer>a:last-child {
    display:flex;
    gap:24px;
}

@media(min-width:1600px) {
    .hero-content {
        padding-top:80px;
    }
    .hero-intro {
        max-width:450px;
        font-size:18px;
    }
}

@media(max-width:1150px) {
    .site-header {
        padding-inline:30px;
        gap:24px;
    }
    .site-header nav {
        gap:16px;
    }
    .site-header .brand img {
        width:155px;
    }
    .login-link {
        padding-inline-start:14px;
    }
    .wrap {
        width:calc(100% - 72px);
    }
    .about-grid,.contact-grid {
        gap:55px;
    }
    .vision-grid {
        gap:65px;
    }
    .project-layout {
        gap:35px;
    }
    .facts>div {
        gap:15px;
        padding-inline:20px;
    }
    .location-grid {
        gap:16px;
    }
    .location-photo img {
        height:180px;
    }
}

@media(max-width:950px) {
    .site-header {
        height:auto;
        min-height:80px;
        flex-wrap:wrap;
        padding-block:15px;
    }
    .site-header nav {
        flex-wrap:wrap;
        justify-content:flex-start;
        width:100%;
        gap:12px 25px;
    }
    .js .menu-toggle {
        display:flex;
    }
    .js .site-header nav {
        display:none;
    }
    .js .site-header nav.is-open {
        display:flex;
    }
    .js .site-header:has(.is-open) {
        max-height:100svh;
        overflow:auto;
    }
    .hero {
        height:calc(100svh - 80px);
        min-height:650px;
    }
    .section {
        padding-block:80px;
    }
    .hero h1 {
        font-size:100px;
    }
    .hero-shade {
        background:linear-gradient(90deg,rgba(12,18,14,.92),rgba(12,18,14,.78)),linear-gradient(0deg,#111810c9,transparent 45%);
    }
    .facts>div {
        display:block;
    }
    .facts span {
        display:block;
        max-width:none;
        margin-top:10px;
    }
    .section-heading {
        gap:40px;
    }
    .section-heading>p {
        max-width:240px;
    }
    .location-grid {
        grid-template-columns:repeat(3,1fr);
        gap:30px 20px;
    }
    .location-photo img {
        height:210px;
    }
    .vision-grid {
        grid-template-columns:190px 1fr;
        gap:45px;
    }
    .portrait img {
        height:240px;
    }
    .contact-grid {
        gap:40px;
    }
    .form-row {
        grid-template-columns:1fr;
        gap:0;
    }
    .form-bottom {
        flex-direction:column;
        align-items:start;
    }
}

@media(max-width:640px) {
    html {
        scroll-padding-top:95px;
    }
    .wrap {
        width:calc(100% - 40px);
    }
    .site-header {
        padding-inline:20px;
    }
    .site-header nav {
        padding-top:18px;
        display:grid;
        grid-template-columns:1fr 1fr;
    }
    .js .site-header nav.is-open {
        display:grid;
    }
    .site-header nav>a {
        padding-block:8px;
    }
    .login-link {
        border:0;
        padding-inline-start:0;
    }
    .language-options {
        inset-inline-start:0;
        inset-inline-end:auto;
    }
    .hero {
        min-height:660px;
        max-height:820px;
    }
    .hero-image {
        object-position:64% center;
    }
    .hero h1 {
        font-size:clamp(76px,20vw,110px);
        margin:30px 0;
    }
    .hero-content {
        padding-block:50px 115px;
    }
    .hero-intro {
        font-size:14px;
        max-width:310px;
    }
    .hero .eyebrow {
        font-size:9px;
        letter-spacing:.12em;
    }
    .hero-bottom {
        bottom:24px;
        font-size:8px;
        letter-spacing:.06em;
        gap:12px;
        align-items:start;
    }
    .hero-bottom p {
        max-width:220px;
    }
    .hero-bottom p span {
        margin-inline:5px;
    }
    .hero-bottom a {
        gap:10px;
        white-space:nowrap;
    }
    .hero-bottom a span {
        font-size:16px;
    }
    .section {
        padding-block:64px;
    }
    .section-label {
        margin-bottom:34px;
        font-size:10px;
        gap:16px;
    }
    .about-grid,.project-layout,.contact-grid {
        grid-template-columns:1fr;
        gap:30px;
    }
    .about-grid h2 {
        max-width:350px;
    }
    .lead {
        font-size:19px;
    }
    .facts {
        margin-top:38px;
        padding-top:24px;
        gap:10px;
    }
    .facts>div {
        padding-inline:12px;
    }
    .facts strong {
        font-size:38px;
    }
    .facts span {
        font-size:10px;
    }
    .section-heading {
        display:block;
        margin-bottom:30px;
    }
    .section-heading>p {
        max-width:100%;
        margin-top:22px;
    }
    .project-image {
        min-height:320px;
        height:320px;
    }
    .project-image>img {
        object-position:center 35%;
    }
    .project summary {
        padding-block:23px;
    }
    .project-name {
        font-size:23px;
    }
    .vision-grid {
        display:flex;
        flex-direction:column-reverse;
        gap:35px;
        align-items:start;
    }
    .vision blockquote {
        font-size:25px;
    }
    .portrait {
        display:flex;
        gap:20px;
        align-items:center;
    }
    .portrait img {
        width:75px;
        height:85px;
    }
    .portrait p {
        margin:0;
    }
    .vision-copy .eyebrow {
        font-size:9px;
    }
    .location-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:28px 16px;
    }
    .location-photo img {
        height:170px;
    }
    .location h3 {
        font-size:17px;
    }
    .location p {
        font-size:11px;
    }
    .contact h2 {
        max-width:330px;
    }
    .contact-grid {
        gap:40px;
    }
    .form-row {
        grid-template-columns:1fr 1fr;
        gap:16px;
    }
    .form-bottom {
        flex-direction:row;
        gap:16px;
        align-items:center;
    }
    .form-bottom p {
        font-size:10px;
    }
    .form-bottom button {
        padding-inline:16px;
        font-size:11px;
        gap:15px;
    }
    .newsletter {
        margin-top:45px;
        align-items:start;
        flex-direction:column;
        gap:12px;
    }
    .newsletter p {
        font-size:23px;
    }
    .footer {
        flex-wrap:wrap;
        padding-block:30px;
        gap:24px;
    }
    .footer .brand {
        width:100%;
    }
    .footer .brand img {
        width:145px;
    }
    .footer p {
        font-size:9px;
    }
    .footer>a:last-child {
        margin-inline-start:auto;
    }
    .contact-email {
        font-size:17px;
    }
}

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

.visually-hidden {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip-path:inset(50%);
    white-space:nowrap;
    border:0;
}

html[dir=rtl] .hero-shade {
    background:linear-gradient(270deg,rgba(12,18,14,.96) 0%,rgba(12,18,14,.88) 38%,rgba(12,18,14,.35) 70%,rgba(12,18,14,.12) 100%),linear-gradient(0deg,#111810c9,transparent 45%);
}

/* Featured product: HealthBox */
.hero-product-link {
    display:inline-flex;
    gap:20px;
    align-items:center;
    margin-inline-start:28px;
    padding-block:14px;
    font-size:12px;
    color:#f6f5f0;
    text-decoration:underline;
    text-underline-offset:5px;
}
.healthbox-feature { background:#143f3c; color:#f6f5f0; }
.healthbox-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:80px; align-items:center; }
.healthbox-copy>.eyebrow { color:#c4d6c9; margin-bottom:25px; }
.healthbox-brand { font-size:30px; font-weight:600; letter-spacing:-.03em; margin-bottom:35px; }
.healthbox-brand span { display:block; font-size:9px; letter-spacing:.24em; font-weight:500; }
.healthbox-copy h2 { max-width:550px; }
.healthbox-description { color:#e0e9e2; max-width:510px; margin:25px 0 30px; }
.healthbox-risk { font-size:12px; line-height:1.7; color:#e0e9e2; max-width:480px; margin-top:22px; }
.healthbox-visual img { width:100%; height:520px; object-fit:cover; }
.healthbox-visual figcaption { font-size:10px; color:#d3ded5; margin-top:12px; }
@media(max-width:1150px) {
    .healthbox-grid { gap:40px; }
    .site-header nav { gap:15px; }
}
@media(max-width:950px) {
    .healthbox-grid { grid-template-columns:1fr 1fr; gap:30px; }
    .healthbox-visual img { height:500px; }
}
@media(max-width:640px) {
    .hero-product-link { display:flex; width:fit-content; margin-inline-start:0; margin-top:8px; }
    .healthbox-grid { grid-template-columns:1fr; gap:35px; }
    .healthbox-visual img { height:340px; }
    .healthbox-brand { margin-bottom:25px; }
}

@media(max-width:950px) {
    html[dir=rtl] .hero-shade {
        background:linear-gradient(270deg,rgba(12,18,14,.92),rgba(12,18,14,.78)),linear-gradient(0deg,#111810c9,transparent 45%);
    }
}

html[dir=rtl] .hero h1 {
    direction:ltr;
    text-align:right;
}

html[dir=rtl] .project-body {
    padding-inline:35px 24px;
}

/* Product entries remain visible together on small screens. */
.hero-product-links { display:flex; flex-wrap:wrap; gap:4px 28px; margin-top:14px; }
.hero-product-links .hero-product-link { margin:0; }
.goldbox-feature { background:#302a20; color:#f6f5f0; }
.goldbox-feature .eyebrow { color:#d5c293; }
.goldbox-feature .healthbox-brand { color:#ead6a5; }
.goldbox-feature .healthbox-description,
.goldbox-feature .healthbox-risk,
.goldbox-feature figcaption { color:#e4ddcf; }
.goldbox-visual img { height:auto; aspect-ratio:3 / 2; object-fit:contain; background:#211d17; }
@media(min-width:951px) and (max-width:1150px) {
    .site-header { padding-inline:24px; gap:18px; }
    .site-header nav { gap:12px; font-size:11px; }
    .site-header .brand img { width:140px; }
}
