@font-face {
    font-family: "Nunito";
    src: url("../fonts/Nunito-VariableFont_wght.ttf") format("truetype");
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f5f5f5;
    --text: #111;
    --footer: #000;
    --brand-height: 120px;
    --page-padding: 10px;
    --gap: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Nunito", sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================
   HEADER
========================================== */
header {
    width: 100%;
    padding: 8px var(--page-padding);
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

/* LOGO */
.logo {
    justify-self: start;
    height: var(--brand-height);
    display: flex;
    align-items: center;
}

.logo svg {
    height: 100%;
    width: auto;
    display: block;
    color: var(--text);
}

/* NAV */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
}

.main-nav a {
    text-decoration: none;
    color: inherit;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.03em;
    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 0.55;
}

/* BRAND */
.brand {
    justify-self: end;
    height: var(--brand-height);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    text-align: right;
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 300;
    letter-spacing: -0.04em;
    text-decoration: none;
    color: inherit;
}

.brand span {
    display: block;
}

/* ==========================================
   MAIN
========================================== */
main {
    flex: 1;
    padding: 20px var(--page-padding) 100px;
}

/* ==========================================
   MASONRY GALLERY
========================================== */
.gallery {
    column-count: 3;
    column-gap: var(--gap);
}

.project {
    display: block;
    break-inside: avoid;
    margin-bottom: var(--gap);
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.project a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.project img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.project:hover img {
    transform: scale(1.015);
}

.project-info {
    position: absolute;
    left: 20px;
    bottom: 20px;
    color: white;
    /*mix-blend-mode: difference;*/
    font-size: 2rem;
    font-weight: 400;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.project:hover .project-info {
    opacity: 1;
}

/* ==========================================
   FOOTER
========================================== */
footer {
    background: var(--footer);
    color: #fff;
    padding: 32px var(--page-padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    width: 100%;
}

/* LEFT */
.footer-left {
    justify-self: start;
    font-size: 0.75rem;
    opacity: 0.75;
    line-height: 1;
}

/* CENTER MENU */
.footer-nav {
    grid-column: 2;
    justify-self: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    line-height: 1;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    opacity: 0.6;
}

/* RIGHT SOCIAL ICONS */
.footer-social {
    grid-column: 3;
    justify-self: end;
    display: flex;
    gap: 18px;
    align-items: center;
}

/* ICONS */
.social-link {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.social-link svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* ==========================================
   TABLET
========================================== */
@media (max-width: 1200px) {
    :root {
        --brand-height: 90px;
    }

    .main-nav {
        gap: 32px;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .brand {
        font-size: 1.8rem;
    }

    .gallery {
        column-count: 2;
    }

    .footer-nav {
        gap: 18px;
    }
}

/* ==========================================
   MOBILE
========================================== */
@media (max-width: 768px) {
    :root {
        --brand-height: 72px;
        --page-padding: 12px;
        --gap: 12px;
    }

    .header-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .brand {
        display: none;
    }

    .logo {
        justify-content: center;
    }

    .main-nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }

    .main-nav a {
        font-size: 1.8rem;
        text-align: center;
    }

    .gallery {
        column-count: 1;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        text-align: center;
    }

    .footer-nav {
        grid-column: auto;
        align-items: center;
        justify-self: center;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    .footer-social {
        grid-column: auto;
        justify-self: center;
    }
}

/* ==========================================
   PROJECT PAGE
========================================== */
.project-page {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* ==========================================
   PROJECT HEADER
========================================== */
.project-header {
    width: 100%;
    text-align: left;
    margin-bottom: 40px;
    margin-left: calc(var(--page-padding) * -1);
}

.project-header h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.04em;
}

.project-meta {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.6;
}

/* ==========================================
   DESKTOP PROJECT LAYOUT
========================================== */
@media (min-width: 1001px) {
    .project-page {
        display: grid;
        grid-template-columns: 55% 1fr;
        column-gap: 60px;
        align-items: start;
    }

    /* PROJECT HEADER - FULL WIDTH */
    .project-header {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        margin-bottom: 40px;
        text-align: left;
    }

    /* PROJECT GALLERY */
    .project-gallery {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
    }

    /* PROJECT CONTENT */
    .project-content {
        grid-column: 2;
        grid-row: 2;
        width: 100%;
        max-width: 650px;
        margin-top: 0;
    }
}

/* ==========================================
   PROJECT GALLERY
========================================== */
.project-gallery {
    width: 100%;
}

/* FIXED FEATURE IMAGE BOX */
.project-feature {
    width: 95%;
    overflow: hidden;
    border-radius: 12px;
}

.project-feature img#featured-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* ==========================================
   THUMBNAILS
========================================== */
.project-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.thumbnail {
    flex: 0 0 110px;
    width: 110px;
    height: 80px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    opacity: 0.55;
    transition: opacity 0.2s ease;
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    opacity: 1;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   PROJECT CONTENT
========================================== */
.project-content {
    max-width: 800px;
    margin-top: 0px;
}

.project-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.project-content p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ==========================================
   LINKS & DOWNLOADS
========================================== */
.project-links {
    margin-top: 50px;
}

.project-links a {
    display: block;
    width: fit-content;
    color: inherit;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    margin-bottom: 10px;
    transition: opacity 0.2s ease;
}

.project-links a:hover {
    opacity: 0.55;
}

/* ==========================================
   NARROW PROJECT LAYOUT
========================================== */
@media (max-width: 1000px) {
    .project-header {
        margin-bottom: 30px;
    }

    .project-content {
        margin-top: 60px;
        max-width: 800px;
    }
}

/* ==========================================
   MOBILE
========================================== */
@media (max-width: 768px) {
    .project-header {
        margin-left: 0;
        text-align: center;
    }

    .project-header h1 {
        font-size: 2.2rem;
    }

    .project-meta {
        text-align: center;
    }

    .project-gallery {
        text-align: center;
    }

    .project-feature {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .project-thumbnails {
        justify-content: center;
    }

    .project-content {
        margin-top: 40px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .project-content h2 {
        text-align: center;
    }

    .project-content p {
        text-align: center;
    }

    .project-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .project-links a {
        text-align: center;
    }

    .thumbnail {
        flex-basis: 90px;
        width: 90px;
        height: 65px;
    }
}

/* ==========================================
   LEGAL PAGE
========================================== */
.legal-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.legal-header {
    width: 100%;
    text-align: left;
    margin-bottom: 50px;
    margin-left: calc(var(--page-padding) * -1);
}

.legal-header h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.04em;
}

.legal-meta {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.6;
}

.legal-content {
    width: 100%;
    max-width: 850px;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    margin: 0 0 18px;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.legal-section h3 {
    margin: 28px 0 12px;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.3;
}

.legal-section p,
        .legal-section li {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
}

.legal-section p {
    margin: 0 0 20px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul,
        .legal-section ol {
    margin: 0 0 20px 1.4rem;
    padding: 0;
}

.legal-section li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.legal-section a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.legal-section a:hover {
    opacity: 0.55;
}

.legal-note {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.6;
}

.legal-placeholder {
    opacity: 0.55;
}

.legal-placeholder a {
    text-decoration: none;
}

.legal-bullet {
    opacity: 0.55;
    padding-left: 50px;
}

.legal-bullet-title {
    text-indent: 50px;
}

.legal-bullet-title a {
    text-decoration: none;
}

@media (max-width: 768px) {
    .legal-header {
        margin-bottom: 36px;
    }

    .legal-header h1 {
        font-size: 2.2rem;
    }

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

/* ==========================================
           ABOUT / GUIDES PAGE
        ========================================== */
.about-page,
        .guides-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-header,
        .guides-header {
    width: 100%;
    text-align: left;
    margin-bottom: 50px;
    margin-left: calc(var(--page-padding) * -1);
}

.about-header h1,
        .guides-header h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.04em;
}

.about-meta,
        .guides-meta {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.6;
}

/* ABOUT */
.about-layout {
    display: grid;
    grid-template-columns: 32% 1fr;
    gap: 70px;
    align-items: start;
}

.about-intro {
    position: sticky;
    top: 30px;
}

.about-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 24px;
    background: #e9e9e9;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.about-lead p,
        .about-section p,
        .about-section li,
        .guides-intro p,
        .guide-category p,
        .guides-note p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
}

.about-lead p {
    margin: 0 0 20px;
}

.about-content {
    max-width: 800px;
}

.about-section {
    margin-bottom: 48px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section h2,
        .guide-category h2,
        .guides-note h2 {
    margin: 0 0 18px;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-section p {
    margin: 0 0 20px;
}

.about-section p:last-child {
    margin-bottom: 0;
}

.about-section a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-weight: bold;
}

.about-section a:hover {
    opacity: 0.55;
}

.about-links {
    margin-top: 32px;
}

.about-links a {
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    font-weight: 400;
    text-decoration: none;
}

.values-bullet {
    margin-left: 60px;
    /* Moves the entire element to the right */
}

/* GUIDES */
.guides-intro {
    max-width: 800px;
    margin-bottom: 56px;
}

.guides-intro p {
    margin: 0 0 20px;
}

.guides-intro p:last-child {
    margin-bottom: 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: rgba(17, 17, 17, 0.12);
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 12px;
    overflow: hidden
}

.guide-category {
    background: var(--bg);
    padding: 34px;
    min-height: 290px;
}

.guide-category p {
    margin: 0 0 28px;
    max-width: 550px;
}

.guide-links {
    display: flex;
    flex-direction: column;
}

.guide-links a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 13px 0;
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.guide-links a:last-child {
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.guide-links a:hover {
    opacity: 0.55;
}

.guide-links span {
    font-size: 1rem;
    font-weight: 400;
}

.guide-links small {
    font-size: 0.72rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.55;
}

.guides-note {
    max-width: 800px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.guides-note p {
    margin: 0 0 12px;
}

.guides-note p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-intro {
        position: static;
        max-width: 520px;
    }

    .about-image {
        max-width: 520px;
    }

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

@media (max-width: 768px) {
    .about-header,
            .guides-header {
        margin-bottom: 36px;
    }

    .about-header h1,
            .guides-header h1 {
        font-size: 2.2rem;
    }

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

    .guide-category {
        padding: 24px;
        min-height: auto;
    }
}

/* STORE */
.shop-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.shop-header {
    width: 100%;
    text-align: left;
    margin-bottom: 48px;
    margin-left: calc(var(--page-padding) * -1);
}

.shop-header h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.04em;
}

.shop-meta {
    margin-top: 10px;
    font-size: .9rem;
    font-weight: 300;
    opacity: .6;
}

.shop-intro {
    max-width: 760px;
    margin-bottom: 58px;
}

.shop-intro p {
    margin: 0 0 18px;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
}

.shop-intro p:last-child {
    margin-bottom: 0;
}

.shop-category {
    margin-bottom: 72px;
      /* Apply the blur (adjust pixels to change intensity) */
    filter: blur(5px);
}

.shop-category-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.shop-category-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.shop-category-header span {
    font-size: .72rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .5;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 24px;
}

.product-card {
    min-width: 0;
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 12px;
    background: #e9e9e9;
    margin-bottom: 18px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.02);
}

.product-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35;
}

.product-price {
    margin-top: 5px;
    font-size: .9rem;
    font-weight: 300;
    opacity: .7;
}

.product-swatches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.swatch {
    width: 16px;
    height: 16px;
    padding: 0;
    border: 1px solid rgba(17, 17, 17, 0.28);
    border-radius: 50%;
    appearance: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.swatch:hover {
    transform: scale(1.08);
}

.swatch.active {
    border-color: #111;
    box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px #111;
}

.swatch-black {
    background: #111;
}

.swatch-white {
    background: #fff;
}

.swatch-grey {
    background: #9a9a9a;
}

.swatch-blue {
    background: #5d7f9f;
}

.swatch-green {
    background: #6d856d;
}

.swatch-red {
    background: #a85e5e;
}

.swatch-yellow {
    background: #d0bb65;
}

.swatch-brown {
    background: #8a6c55;
}

.swatch-label {
    margin-left: 3px;
    font-size: .72rem;
    font-weight: 300;
    opacity: .52;
}

.product-link {
    display: inline-block;
    margin-top: 15px;
    color: inherit;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 400;
    transition: opacity 0.2s ease;
}

.product-link:hover {
    opacity: .55;
}

.shop-note {
    max-width: 800px;
    margin-top: 72px;
    padding-top: 24px;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.shop-note h2 {
    margin: 0 0 16px;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.shop-note p {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
}

@media (max-width: 1000px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .shop-header {
        margin-bottom: 36px;
    }

    .shop-header h1 {
        font-size: 2.2rem;
    }

    .shop-intro {
        margin-bottom: 46px;
    }

    .shop-category {
        margin-bottom: 56px;
    }

    .shop-category-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }
}

/* ==========================================
   PINNED DESIGN PROJECTS
========================================== */
.pinned-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    margin-bottom: var(--gap);
}

.pinned-gallery .project {
    display: block;
    break-inside: avoid;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.pinned-gallery .project img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s ease;
}

.pinned-gallery .project:hover img {
    transform: scale(1.015);
}

/* Keep the regular masonry gallery spaced and rounded. */
.gallery .project {
    display: block;
    break-inside: avoid;
    margin-bottom: var(--gap);
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

@media (max-width:1200px) {
    .pinned-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:768px) {
    .pinned-gallery {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   NEWS PAGE
========================================== */
.news-page {
    width:100%;
    max-width:1100px;
    margin:0 auto;
}

.news-header {
    width:100%;
    text-align:left;
    margin-bottom:50px;
    margin-left:calc(var(--page-padding) * -1);
}

.news-header h1 {
    margin:0;
    font-size:3rem;
    font-weight:300;
    line-height:1;
    letter-spacing:-0.04em;
}

.news-header p {
    margin:10px 0 0;
    font-size:.9rem;
    font-weight:300;
    opacity:.6;
}

.news-list {
    width:100%;
}

.news-article {
    display:grid;
    grid-template-columns:minmax(280px,42%) 1fr;
    gap:40px;
    padding:0 0 50px;
    margin:0 0 50px;
    border-bottom:1px solid rgba(17,17,17,.12);
}

.news-article:last-child {
    margin-bottom:0;
}

.news-image {
    display:block;
    width:100%;
    aspect-ratio:16/10;
    overflow:hidden;
    border-radius:12px;
    background:#e9e9e9;
    color:inherit;
    text-decoration:none;
}

.news-image img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.news-image-placeholder {
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:.8rem;
    font-weight:300;
    opacity:.4;
    letter-spacing:.02em;
}

.news-article-content {
    max-width:720px;
}

.news-meta {
    margin:0 0 12px;
    font-size:.8rem;
    font-weight:300;
    opacity:.55;
}

.news-article h2 {
    margin:0 0 16px;
    font-size:1.65rem;
    font-weight:400;
    line-height:1.15;
    letter-spacing:-.025em;
}

.news-article p {
    margin:0 0 22px;
    font-size:1rem;
    font-weight:300;
    line-height:1.7;
}

.news-read-more {
    display:inline-block;
    color:inherit;
    font-size:.95rem;
    font-weight:400;
    text-decoration:none;
    transition:opacity .2s ease;
}

.news-read-more:hover {
    opacity:.55;
}

/* ==========================================
   ARTICLE PAGE
========================================== */
.news-story {
    width:100%;
    max-width:1000px;
    margin:0 auto;
}

.news-story-header {
    width:100%;
    text-align: center;
    margin-bottom:42px;
    margin-left:calc(var(--page-padding) * -1);
}

.news-story-meta {
    margin:0 0 12px;
    font-size:.8rem;
    font-weight:300;
    opacity:.55;
}

.news-story-header h1 {
    margin:0;
    max-width:1000px;
    font-size:3rem;
    font-weight:300;
    line-height:1.02;
    letter-spacing:-.04em;
}

.news-story-image {
    width:100%;
    max-width:1000px;
    margin-bottom:42px;
    overflow:hidden;
    border-radius:12px;
    background:#e9e9e9;
}

.news-story-image img {
    width:100%;
    height:auto;
    display:block;
}

.news-story-image-placeholder {
    aspect-ratio:16/10;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:.8rem;
    font-weight:300;
    opacity:.4;
}

.news-story-content {
    max-width:1000px;
}

.news-story-content p {
    margin:0 0 22px;
    font-size:1rem;
    font-weight:300;
    line-height:1.75;
    text-indent: 2em; 
    text-align: justify;
}

.news-story-content h2 {
    margin:44px 0 18px;
    font-size:1.4rem;
    font-weight:400;
    line-height:1.2;
    letter-spacing:-.02em;
}

.news-story-content a {
    color:inherit;
    text-decoration:underline;
    text-underline-offset:3px;
}

.news-story-links {
    margin-top:50px;
    padding-top:24px;
    border-top:1px solid rgba(17,17,17,.12);
}

.news-story-links a {
    display:block;
    width:fit-content;
    margin-bottom:10px;
    color:inherit;
    text-decoration:none;
    font-size:1rem;
    font-weight:400;
}

.news-back {
    display:inline-block;
    margin-top:50px;
    color:inherit;
    font-size:.9rem;
    font-weight:400;
    text-decoration:none;
    transition:opacity .2s ease;
}

.news-back:hover, .news-story-links a:hover {
    opacity:.55;
}

@media (max-width:768px) {
    .news-header {
        margin-bottom:36px;
    }

    .news-header h1 {
        font-size:2.2rem;
    }

    .news-article {
        grid-template-columns:1fr;
        gap:24px;
        padding-bottom:40px;
        margin-bottom:40px;
    }

    .news-story-header {
        margin-bottom:32px;
    }

    .news-story-header h1 {
        font-size:2.2rem;
    }

    .news-story-image {
        margin-bottom:32px;
    }
}

.project-links[hidden] {
    display: none;
}

#project-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#project-links a {
    color: inherit;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: opacity 0.2s ease;
}

#project-links a:hover {
    opacity: 0.55;
}

.project-section {
    margin-top: 50px;
}

.project-section h2 {
    margin-bottom: 18px;
}

.project-section dl {
    display: grid;
    grid-template-columns: minmax(120px, 0.35fr) 1fr;
    gap: 10px 24px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-section dt {
    font-weight: 400;
}

.project-section dd {
    margin: 0;
    font-weight: 300;
    opacity: 0.78;
}

@media (max-width: 768px) {
    .project-section dl {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .project-section dt {
        margin-top: 10px;
    }
}

/* ==========================================
   PROJECT QR CODE
========================================== */

.project-qr {
    margin-top: 50px;
}

.project-qr h2 {
    margin-bottom: 18px;
}

#project-qr-code {
    width: 160px;
    height: 160px;
}

@media (max-width: 768px) {
    .project-qr {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
