:root {
    --paper: #f4eadf;
    --surface: #fff9f1;
    --linen: #ead9c7;
    --clay: #b7745c;
    --moss: #7a8a72;
    --ink: #4d4038;
    --muted: #74665d;
    --line: rgba(77, 64, 56, 0.16);
    --shadow: 0 18px 44px rgba(77, 64, 56, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

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

a {
    color: inherit;
}

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

.brand {
    display: grid;
    place-items: center;
    padding: 18px 18px 12px;
}

.brand img {
    width: min(900px, 92vw);
    max-height: 390px;
    object-fit: contain;
}

.top-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 16px 18px;
}

.top-nav a {
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
    padding: 10px 14px;
    text-decoration: none;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
    background: var(--linen);
    color: var(--ink);
}

.intro,
.page-hero,
.section {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.intro {
    padding: 64px 0 46px;
    text-align: center;
}

.home-intro {
    padding-bottom: 30px;
}

.intro h1,
.page-hero h1,
.section-heading h2,
.feature-band h2 {
    line-height: 1.08;
}

.intro h1 {
    font-size: clamp(2rem, 5vw, 4.4rem);
    margin: 10px auto 18px;
    max-width: 900px;
}

.intro p,
.page-hero p,
.feature-band p,
.card p,
.text-panel p,
.form-help {
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.7;
}

.intro > p:not(.eyebrow) {
    max-width: 760px;
    margin: 0 auto;
}

.eyebrow {
    color: var(--clay);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.button {
    align-items: center;
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 999px;
    color: white;
    display: inline-flex;
    font-weight: 700;
    min-height: 44px;
    padding: 12px 18px;
    text-decoration: none;
}

.button-soft {
    background: transparent;
    color: var(--ink);
}

.feature-band {
    align-items: center;
    background: var(--linen);
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(280px, 0.95fr) minmax(260px, 1fr);
    margin: 20px 0 28px;
    padding: 34px max(24px, calc((100vw - 1120px) / 2));
}

.feature-band img {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.feature-band h2 {
    font-size: clamp(1.8rem, 3.4vw, 3.2rem);
    margin: 8px 0 14px;
}

.home-showcase {
    display: grid;
    gap: 14px;
    grid-auto-flow: dense;
    grid-auto-rows: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto 24px;
    width: min(1180px, calc(100% - 32px));
}

.showcase-item {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    padding: 10px;
}

.showcase-item img {
    height: auto;
    max-height: none;
    object-fit: contain;
    width: 100%;
}

.showcase-wide {
    grid-column: span 2;
}

.showcase-tall {
    grid-row: span 2;
}

.home-band {
    margin-top: 44px;
}

.compact-section {
    padding-top: 38px;
}

.section {
    padding: 54px 0 72px;
}

.section-heading {
    margin-bottom: 24px;
    text-align: center;
}

.section-heading h2,
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-top: 8px;
}

.card-grid,
.gallery-grid,
.content-grid {
    display: grid;
    gap: 22px;
}

.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.card-body {
    padding: 20px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.card a {
    color: var(--clay);
    display: inline-block;
    font-weight: 800;
    margin-top: 14px;
    text-decoration: none;
}

.page-hero {
    padding: 56px 0 28px;
    text-align: center;
}

.page-hero p {
    margin: 14px auto 0;
    max-width: 720px;
}

.gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editable-gallery {
    align-items: start;
}

.editable-gallery > .gallery-item,
.editable-gallery > .gallery-placeholder,
.editable-gallery > .gallery-note {
    aspect-ratio: 4 / 5;
    width: 100%;
}

.editable-gallery > .gallery-item {
    align-self: start;
    min-height: 0;
}

.editable-gallery > .gallery-item img {
    height: 100%;
    max-height: none;
    object-fit: contain;
    width: 100%;
}

.product-gallery .gallery-item,
.textile-gallery .gallery-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 10px;
}

.gallery-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    width: 100%;
}

.product-gallery .gallery-item img,
.textile-gallery .gallery-item img {
    aspect-ratio: auto;
    max-height: 560px;
}

.gallery-note {
    align-content: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    min-height: 280px;
    padding: 30px;
    text-align: center;
}

.gallery-note h2 {
    font-size: clamp(1.45rem, 2.4vw, 2.25rem);
    line-height: 1.15;
    margin: 10px 0 12px;
}

.gallery-note p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.65;
}

.gallery-item figcaption {
    color: var(--muted);
    font-size: 0.96rem;
    padding: 12px 14px 14px;
}

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

.text-panel,
.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 26px;
}

.text-panel h2,
.contact-form h2 {
    margin-bottom: 12px;
}

.placeholder-list {
    color: var(--muted);
    line-height: 1.8;
    list-style-position: inside;
    margin-top: 16px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
}

.field label {
    font-weight: 800;
}

.field input,
.field textarea {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    min-height: 46px;
    padding: 12px 14px;
    width: 100%;
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-status {
    color: var(--moss);
    font-weight: 700;
    min-height: 1.3em;
}

.soon-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 72px;
    padding: 40px;
    text-align: center;
}

.soon-panel p {
    color: var(--muted);
    font-size: clamp(1.2rem, 2.6vw, 2rem);
    line-height: 1.55;
    margin: 0 auto;
    max-width: 850px;
}

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

.product-story-list {
    display: grid;
    gap: 30px;
}

.product-story {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    padding: 16px;
}

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

.story-images img {
    align-self: center;
    background: white;
    border-radius: 6px;
    cursor: zoom-in;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    width: 100%;
}

.story-copy {
    padding: 12px;
    text-align: justify;
}

.story-copy h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.45rem);
    line-height: 1.12;
    margin: 8px 0 12px;
}

.story-copy p:not(.eyebrow),
.section-heading p {
    color: var(--muted);
    line-height: 1.7;
}

.story-copy p:not(.eyebrow),
.about-copy p {
    hyphens: auto;
    text-align: justify !important;
    text-align-last: left;
    text-justify: inter-word;
}

.feature-band p:not(.eyebrow),
.text-panel p,
.section-heading p {
    hyphens: auto;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
}

.gallery-note p:not(.eyebrow) {
    text-align: center;
    text-align-last: center;
}

.future-gallery {
    align-items: stretch;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-placeholder {
    align-self: start;
    aspect-ratio: 4 / 5;
    background: rgba(255, 249, 241, 0.55);
    border: 1px dashed rgba(77, 64, 56, 0.25);
    border-radius: 8px;
    min-height: 0;
    width: 100%;
}

.pair-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
}

.pair-card img {
    align-self: center;
    background: white;
    border-radius: 6px;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    width: 100%;
}

.about-layout {
    align-items: start;
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

.about-copy {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 34px;
    text-align: justify;
}

.about-copy p {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.78;
}

.about-copy p + p {
    margin-top: 18px;
}

.about-story::after {
    clear: both;
    content: "";
    display: table;
}

.about-portrait {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    margin-top: 24px;
    max-width: 390px;
    padding: 8px;
    width: 42%;
}

.about-portrait img {
    border-radius: 6px;
    cursor: zoom-in;
    height: auto;
    width: 100%;
}

.about-story > .about-portrait:first-child {
    margin-top: 0;
}

.portrait-right {
    float: right;
    margin-left: 28px;
}

.portrait-left {
    float: left;
    margin-right: 28px;
}

.about-images {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-images img {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: zoom-in;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    width: 100%;
}

.circle-gallery {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
        "a b c"
        "d note e"
        "f g h";
}

.circle-gallery .gallery-item {
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    min-height: 250px;
    overflow: hidden;
    padding: 12px;
}

.circle-gallery .gallery-item img {
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    cursor: zoom-in;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.circle-gallery .gallery-item:nth-child(1) { grid-area: a; }
.circle-gallery .gallery-item:nth-child(2) { grid-area: b; }
.circle-gallery .gallery-item:nth-child(3) { grid-area: c; }
.circle-gallery .gallery-item:nth-child(4) { grid-area: d; }
.circle-gallery .gallery-item:nth-child(6) { grid-area: e; }
.circle-gallery .gallery-item:nth-child(7) { grid-area: f; }
.circle-gallery .gallery-item:nth-child(8) { grid-area: g; }
.circle-gallery .gallery-item:nth-child(9) { grid-area: h; }

.circle-note {
    grid-area: note;
    min-height: 250px;
}

.gallery-item img {
    cursor: zoom-in;
}

.lightbox {
    align-items: center;
    background: rgba(30, 24, 20, 0.82);
    cursor: zoom-out;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 28px;
    position: fixed;
    z-index: 1000;
}

.lightbox img {
    background: var(--surface);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
    max-height: 92vh;
    max-width: 92vw;
    object-fit: contain;
}

.lightbox-close {
    background: var(--surface);
    border: 0;
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    font-size: 2rem;
    height: 44px;
    line-height: 1;
    position: fixed;
    right: 24px;
    top: 20px;
    width: 44px;
}

.site-footer {
    background: var(--linen);
    color: var(--muted);
    padding: 28px 16px;
    text-align: center;
}

@media (max-width: 860px) {
    .feature-band,
    .content-grid,
    .card-grid,
    .gallery-grid,
    .product-pair-grid,
    .product-story,
    .about-layout,
    .about-images {
        grid-template-columns: 1fr;
    }

    .future-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .future-gallery .gallery-note {
        grid-column: 1 / -1;
    }

    .circle-gallery {
        grid-template-areas: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .circle-gallery .gallery-item,
    .circle-note {
        grid-area: auto !important;
    }

    .home-showcase {
        grid-auto-rows: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-band {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand img {
        max-height: 270px;
    }
}

@media (max-width: 560px) {
    .top-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-left: 12px;
        padding-right: 12px;
    }

    .top-nav a {
        flex: 0 0 auto;
    }

    .intro {
        padding-top: 42px;
    }

    .home-showcase {
        grid-auto-rows: auto;
        grid-template-columns: 1fr;
    }

    .showcase-item,
    .showcase-wide,
    .showcase-tall {
        grid-column: auto;
        grid-row: auto;
    }

    .showcase-item img {
        height: auto;
        max-height: none;
    }

    .pair-card {
        grid-template-columns: 1fr;
    }

    .story-images,
    .circle-gallery {
        grid-template-columns: 1fr;
    }

    .future-gallery {
        grid-template-columns: 1fr;
    }

    .about-copy,
    .soon-panel,
    .gallery-note {
        padding: 24px;
    }

    .about-portrait {
        float: none;
        margin: 24px auto;
        max-width: 100%;
        width: 100%;
    }

    .text-panel,
    .contact-form {
        padding: 20px;
    }
}
