@font-face {
    font-family: Magnirum;
    src: url(fonts/MagnirumSerif.otf) format('opentype');
    font-display: swap;
}
:root {
    --ink: #27382b;
    --muted: #687064;
    --cream: #f3f0e6;
    --paper: #fcfbf7;
    --line: #d8ddd0;
    --accent: #9c5737;
    --serif: Magnirum, Georgia, serif;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font:
        16px/1.65 Arial,
        sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
textarea {
    font: inherit;
}
button,
a,
input,
textarea,
summary {
    touch-action: manipulation;
}
a,
button {
    transition:
        background 0.2s,
        color 0.2s;
}
a:hover {
    color: var(--accent);
}
button {
    cursor: pointer;
}
img {
    max-width: 100%;
    display: block;
}
figure {
    margin: 0;
}
h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.13;
    margin: 0 0 24px;
    overflow-wrap: anywhere;
}
h1 {
    font-size: clamp(56px, 6.8vw, 108px);
    letter-spacing: -4px;
}
h2 {
    font-size: clamp(36px, 4vw, 62px);
    letter-spacing: -1px;
}
h3 {
    font-size: 32px;
}
h4 {
    font-size: 25px;
}
p {
    margin: 0 0 22px;
    white-space: normal;
    overflow-wrap: anywhere;
}
.site-header {
    height: 104px;
    padding: 0 4.4%;
    display: flex;
    align-items: center;
    gap: 40px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    position: relative;
    z-index: 10;
}
.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    white-space: nowrap;
}
.brand img {
    width: 53px;
    height: 53px;
    object-fit: contain;
    border-radius: 50%;
}
.brand span {
    font-family: Georgia, serif;
    font-size: 22px;
    letter-spacing: 2px;
}
.brand i {
    font-size: 18px;
    font-weight: 400;
}
.brand small {
    display: block;
    font:
        8px/2 Arial,
        sans-serif;
    letter-spacing: 2.3px;
}
.site-header nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
    font-size: 13px;
}
.site-header nav a[aria-current] {
    border-bottom: 1px solid var(--ink);
}
.header-cta {
    font-size: 13px;
    border: 1px solid var(--ink);
    border-radius: 30px;
    padding: 11px 18px;
    white-space: nowrap;
}
.header-cta span {
    margin-left: 16px;
}
.menu-toggle {
    display: none;
}
.eyebrow {
    display: block;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1600px;
    margin: auto;
    min-height: 660px;
}
.hero-copy {
    padding: 83px 9% 26px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}
.hero-copy p {
    font-size: 18px;
    max-width: 400px;
    line-height: 1.7;
    color: var(--muted);
}
.hero-copy .text-link {
    margin-top: 14px;
    border: 1px solid var(--ink);
    border-radius: 30px;
    padding: 13px 27px;
    font-size: 12px;
    letter-spacing: 1px;
}
.hero-copy .text-link span {
    margin-left: 24px;
}
.hero-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 20px;
    margin-top: auto;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero-foot a {
    font-size: 25px;
}
.hero-art {
    position: relative;
    min-height: 660px;
    background: #253d32;
    overflow: hidden;
}
.hero-photo {
    position: absolute;
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-photo figure {
    height: 100%;
}
.photo-1 {
    inset: 0;
}
.photo-1:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #122d2699, transparent 70%);
    pointer-events: none;
}
.photo-2,
.photo-3 {
    width: 88px;
    height: 108px;
    bottom: 32px;
    border: 2px solid #fff9;
    border-radius: 50px 50px 0 0;
    overflow: hidden;
}
.photo-2 {
    right: 132px;
}
.photo-3 {
    right: 28px;
}
.image-caption {
    position: absolute;
    bottom: 42px;
    left: 38px;
    color: white;
    font:
        italic 23px/1.35 Georgia,
        serif;
    max-width: 45%;
}
.theme-cream {
    background: var(--cream);
}
.theme-light {
    background: var(--paper);
}
.theme-dark {
    background: #273c30;
    color: #f7f5ed;
}
.section-inner {
    max-width: 1320px;
    padding: 92px 5.2%;
    margin: auto;
}
.section-intro {
    margin-bottom: 42px;
}
.section-intro > p {
    max-width: 690px;
    color: var(--muted);
}
.theme-dark .section-intro > p {
    color: #c7d0c5;
}
.section-intro > .text-link {
    margin-right: 20px;
}
.section-intro > figure {
    margin: 24px 0;
}
.section-intro > figure img {
    max-height: 480px;
    object-fit: cover;
}
.content-layout {
    display: grid;
    gap: 28px;
}
.layout-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.layout-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px;
}
.layout-stack {
    grid-template-columns: 1fr;
}
.content-card {
    min-width: 0;
}
.content-card figure {
    overflow: hidden;
    margin-bottom: 22px;
    border-radius: 3px;
}
.content-card img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    transition: transform 0.5s;
}
.content-card:hover img {
    transform: scale(1.025);
}
.content-card h2,
.content-card h3 {
    font-size: 29px;
}
.content-card p {
    font-size: 14px;
    color: var(--muted);
}
.theme-dark .content-card p {
    color: #c7d0c5;
}
.content-card .text-link {
    font-size: 14px;
    display: inline-block;
    margin: 6px 15px 12px 0;
}
.text-link span {
    margin-left: 10px;
}
.content-card .text-link:hover {
    text-decoration: underline;
}
#ingredients .layout-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
}
#ingredients .content-card {
    text-align: center;
}
#ingredients .content-card img {
    object-fit: contain;
    height: 170px;
    mix-blend-mode: multiply;
}
#ingredients .content-card h3 {
    font-size: 21px;
}
#features .layout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
#features figure img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}
#features .content-card {
    border-top: 1px solid var(--line);
    padding-top: 25px;
}
#gallery .layout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
#comfort .content-card img {
    height: 500px;
}
#portfolio .content-card img {
    object-fit: contain;
}
#newsletter .section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
#newsletter h2 {
    font-size: 43px;
}
#newsletter .section-intro {
    margin: 0;
}
.public-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    max-width: 850px;
    margin-top: 25px;
}
.public-form label {
    font-size: 12px;
    display: block;
}
.public-form input,
.public-form textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--line);
    background: transparent;
    color: inherit;
    padding: 12px;
    border-radius: 4px;
    margin-top: 5px;
}
.full {
    grid-column: 1/-1;
}
.button {
    border: 1px solid var(--ink);
    border-radius: 30px;
    padding: 13px 25px;
    color: var(--paper);
    background: var(--ink);
    display: inline-flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}
.theme-dark .button {
    background: var(--cream);
    color: var(--ink);
}
.button:disabled {
    opacity: 0.6;
    cursor: wait;
}
.public-form[data-action='newsletter'] {
    grid-template-columns: 1fr auto;
}
.public-form[data-action='newsletter'] .button {
    align-self: end;
}
.form-result {
    font-size: 14px;
    margin: 0;
}
.honeypot {
    position: absolute;
    left: -9999px;
}
.site-footer {
    padding: 60px 5.2% 24px;
    border-top: 1px solid var(--line);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 44px;
}
.footer-top p {
    font-size: 13px;
    margin: 0;
}
.site-footer details {
    margin: 28px 0;
    font-size: 13px;
}
.site-footer details nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 20px;
}
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    font-size: 10px;
    color: var(--muted);
}
.preview-banner {
    background: #efce77;
    color: #352a15;
    text-align: center;
    font-size: 12px;
    padding: 9px;
}
.skip-link {
    position: absolute;
    left: 15px;
    top: -100px;
    background: var(--ink);
    color: white;
    padding: 12px;
    z-index: 100;
}
.skip-link:focus {
    top: 5px;
}
:focus-visible {
    outline: 3px solid #bc7b36;
    outline-offset: 4px;
}
.editing [data-element]:hover {
    outline: 2px dashed #ba792d;
    outline-offset: 5px;
    cursor: pointer;
}
.editing [data-block]:hover {
    box-shadow: inset 0 0 0 2px #ba792d44;
}
@media (min-width: 1500px) {
    .hero-copy {
        padding-top: 110px;
    }
    .hero-inner,
    .hero-art {
        min-height: 770px;
    }
}
@media (max-width: 1050px) {
    .site-header {
        gap: 20px;
    }
    .brand span {
        font-size: 18px;
    }
    .site-header nav {
        gap: 16px;
    }
    .header-cta {
        display: none;
    }
    .hero-copy {
        padding: 60px 8% 28px;
    }
    .hero-inner,
    .hero-art {
        min-height: 590px;
    }
    .hero-foot {
        margin-top: 55px;
    }
    .photo-2,
    .photo-3 {
        display: none;
    }
    .image-caption {
        max-width: 80%;
    }
}
@media (max-width: 900px) {
    .site-header {
        height: 82px;
        padding: 0 6%;
        justify-content: space-between;
    }
    .brand img {
        width: 42px;
        height: 42px;
    }
    .menu-toggle {
        display: block;
        background: none;
        border: 1px solid var(--line);
        border-radius: 50%;
        width: 43px;
        height: 43px;
        font-size: 20px;
        color: var(--ink);
    }
    .site-header nav {
        display: none;
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: var(--paper);
        padding: 24px;
        box-shadow: 0 8px 14px #0001;
    }
    .site-header nav.open {
        display: flex;
        flex-direction: column;
    }
    .hero-inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    .hero-copy {
        padding: 50px 7% 25px;
    }
    .hero-copy h1 {
        font-size: 65px;
        letter-spacing: -2px;
        max-width: 360px;
    }
    .hero-copy p {
        font-size: 16px;
    }
    .hero-foot {
        margin-top: 38px;
    }
    .hero-art {
        min-height: 380px;
    }
    .photo-2,
    .photo-3 {
        display: block;
        width: 64px;
        height: 78px;
        bottom: 25px;
    }
    .photo-2 {
        right: 100px;
    }
    .photo-3 {
        right: 22px;
    }
    .image-caption {
        font-size: 19px;
        left: 24px;
        max-width: 45%;
        bottom: 25px;
    }
    .section-inner {
        padding: 55px 7%;
    }
    .section-intro {
        margin-bottom: 30px;
    }
    h2 {
        font-size: 38px;
    }
    .layout-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .layout-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 16px;
    }
    .content-card img {
        height: 210px;
    }
    .content-card h2,
    .content-card h3 {
        font-size: 23px;
    }
    .content-card p {
        font-size: 13px;
    }
    #ingredients .layout-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }
    #ingredients .content-card img {
        height: 130px;
    }
    #gallery .layout-grid,
    #features .layout-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #comfort .content-card img {
        height: auto;
    }
    #newsletter .section-inner {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    #newsletter h2 {
        font-size: 36px;
    }
    .public-form {
        grid-template-columns: 1fr;
    }
    .public-form[data-action='newsletter'] {
        grid-template-columns: 1fr;
    }
    .footer-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }
    .footer-bottom {
        flex-direction: column;
    }
    .site-footer {
        padding: 40px 7% 24px;
    }
    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.6px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        transition: none !important;
    }
}
@media (max-width: 900px) {
    .hero-copy h1 {
        font-size: clamp(42px, 13.5vw, 57px);
        letter-spacing: -1.8px;
    }
}

/* Login stays reachable when the desktop action is hidden. */
.site-header nav .nav-login { display: none; }
@media (max-width: 1050px) { .site-header nav .nav-login { display: block; } }
