/* ==========================================================================
   Morgane Smeesters — one-page portfolio
   Hand-written CSS, no frameworks.
   Design reference canvas: 1024 x 2748 (fluid values scale from that)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Palette (sampled / taken from the design's vector fills) */
    --cream: #fff9f5;
    --sand: #f9e2be;
    --beige: #f4e9dc;
    --brown: #613d29;
    --ink: #261d17;
    --green: #044644;
    --offwhite: #f4f1e8;
    --coral: #ee836a;
    --gold: #bd8f53;
    --frame: #623e2a;

    /* Type */
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    /* stand-in for TAN Angleton */
    --font-body: 'Jost', system-ui, -apple-system, sans-serif;
    /* stand-in for Garet */
    --font-quote: 'Radley', Georgia, serif;
    --font-small: 'Carlito', system-ui, -apple-system, sans-serif;
    /* signature script for the About title */
    --font-script: 'Corinthia', 'Radley', cursive;

    /* Layout */
    --shell: 1180px;
    --gut: clamp(20px, 5vw, 72px);
    --section-y: clamp(56px, 8vw, 120px);

    /* Type scale — role-based sizes, shared across pages */
    --fs-body: clamp(1rem, 1.5vw, 1.125rem);
    /* 16 → 18px */
    --fs-label: clamp(0.625rem, 1vw, 0.75rem);
    /* 10 → 12px */
    --fs-subhead: clamp(1.125rem, 2vw, 1.5rem);
    /* 18 → 24px */

    /* Misc */
    --radius: clamp(12px, 1.8vw, 22px);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

button {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* Anchor offset for the fixed-ish header */
section[id],
[id] {
    scroll-margin-top: 3rem;
}

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gut);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(15px, 2.05vw, 23px);
    line-height: 1.1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brown);
}

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

.pill {
    display: block;
    background: var(--beige);
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: var(--fs-label);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.85em 1em 0.75em;
    border-radius: 0;
}

.badge {
    display: inline-block;
    background: var(--coral);
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: var(--fs-label);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    padding: 0.85em 1.5em 0.75em;
    border-radius: 0;
}

.btn {
    display: inline-block;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(11px, 1.1vw, 13px);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    padding: 1.1em 2.4em 1em;
    border-radius: 0;
    transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
    background: #fff;
}

/* coral button — used on the About page ("Let's talk") */
.btn--coral {
    background: var(--coral);
}

.btn--coral:hover {
    background: #f2977f;
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 50;
    color: var(--sand);
}

.header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: clamp(14px, 2vw, 26px);
    margin: 0px 6%;
}

/* Nav */
.nav {
    flex: 1 1 0;
    min-width: 0;
}

.nav__list {
    display: flex;
    gap: clamp(10px, 1.5vw, 20px);
}

.nav__list a {
    font-family: var(--font-serif);
    font-size: clamp(12px, 1.2vw, 15px);
    letter-spacing: clamp(2px, 0.25vw, 4.2px);
    text-transform: uppercase;
    color: var(--sand);
    padding-block: 0.4em;
    position: relative;
}

.nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.nav__list a:hover::after {
    transform: scaleX(1);
}

/* Hamburger */
.nav__toggle {
    display: none;
    position: relative;
    z-index: 60;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 9px;
    background: none;
    border: 0;
    cursor: pointer;
}

.nav__toggle-bar {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--sand);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Brand */
.brand {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.05;
    text-align: center;
}

.brand span {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(14px, 1.95vw, 24px);
    letter-spacing: 0.42em;
    text-indent: 0.42em;
    /* optically re-center letterspaced text */
    text-transform: uppercase;
    color: var(--sand);
    text-shadow:
        0 3px 10px rgba(0, 0, 0, 0.3),
        0 0 38px rgba(0, 0, 0, 0.9);
}

/* Header CTA */
.header__cta-wrap {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.header__cta {
    font-family: var(--font-sans);
    font-size: clamp(11px, 1.3vw, 15px);
    letter-spacing: 0.08em;
    color: var(--sand);
    border-radius: 999px;
    padding: 0.8em 1.85em;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px currentColor;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.header__cta:hover {
    background: var(--sand);
    color: var(--green);
}

/* Light pages (no photo hero) — the transparent header sits on cream, so the
   sand-on-dark palette would vanish. Scoped variant, same markup. */
.site-header--light {
    color: var(--ink);
}

.site-header--light .nav__list a,
.site-header--light .brand span {
    color: var(--ink);
    text-shadow: none;
}

/* the mobile overlay is dark green: links must go back to sand when it opens,
   and the 3% transparency of the site overlay ghosts the cream page beneath */
.site-header--light .nav__list.is-open {
    background: #041e1c;
}

.site-header--light .nav__list.is-open a {
    color: var(--sand);
}

.site-header--light .header__cta {
    color: var(--ink);
    background: transparent;
    box-shadow: inset 0 0 0 1px currentColor;
}

.site-header--light .header__cta:hover {
    background: var(--ink);
    color: var(--cream);
}

.site-header--light .nav__toggle-bar {
    background: var(--ink);
}

/* the mobile overlay is dark green: restore the sand treatment while open */
.site-header--light:has(.nav__list.is-open) .brand span {
    color: var(--sand);
}

.site-header--light .nav__toggle[aria-expanded="true"] .nav__toggle-bar {
    background: var(--sand);
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    display: grid;
    place-items: center;
    height: clamp(420px, 62vh, 720px);
    overflow: hidden;
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__media img,
.cta__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Darkening + top scrim so the nav stays legible over the photo */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(38, 29, 23, 0.62) 0%, rgba(38, 29, 23, 0.12) 26%),
        linear-gradient(180deg, rgba(38, 29, 23, 0.15) 40%, rgba(38, 29, 23, 0.45) 100%);
}

/* Decorative photo cards in the top-left corner */
.hero__card {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 26px 60px rgba(20, 14, 10, 0.45);
}

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

.hero__card--a {
    left: 1%;
    top: -7%;
    width: clamp(150px, 25vw, 310px);
    aspect-ratio: 0.71;
    z-index: -1;
}

.hero__card--b {
    left: -6%;
    top: 8%;
    width: clamp(100px, 16vw, 200px);
    aspect-ratio: 0.71;
    z-index: -1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: clamp(70px, 8vw, 130px) var(--gut) 0;
}

.hero__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(30px, 4.69vw, 58px);
    line-height: 1.14;
    letter-spacing: 0.01em;
    color: var(--cream);
    /* the "slight brownish shadow" from the design */
    text-shadow:
        0 2px 6px rgba(38, 29, 23, 0.32),
        2px 10px 30px rgba(97, 61, 41, 0.6);
}

.hero__title-line {
    display: block;
}

/* --------------------------------------------------------------------------
   6. Value proposition
   -------------------------------------------------------------------------- */
.value {
    /* padding: clamp(56px, 10vw, 150px) 0 clamp(40px, 6vw, 90px); */
    text-align: center;
    padding: 40px;
}

.value__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(24px, 3.52vw, 32px);
    line-height: 1.22;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--brown);
    max-width: 40ch;
    margin-inline: auto;
}

.value__title span {
    display: block;
}

/* --------------------------------------------------------------------------
   7. Content creation
   -------------------------------------------------------------------------- */
.content {
    /* padding: 0 0 var(--section-y); */
    padding: 0px 0px 90px 0px;
}

.eyebrow--left {
    margin-bottom: clamp(28px, 4vw, 56px);
}

.content__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 3.4vw, 46px);
}

.content-card {
    display: block;
    color: inherit;
    text-align: center;
}

.content-card__frame {
    border: 2px solid var(--frame);
    padding: clamp(9px, 1.3vw, 13px);
    margin-bottom: clamp(14px, 1.6vw, 22px);
    overflow: hidden;
}

.content-card__frame img {
    display: block;
    width: 100%;
    aspect-ratio: 0.786;
    object-fit: cover;
    transition: transform 0.45s var(--ease);
}

.content-card:hover .content-card__frame img,
.content-card:focus-visible .content-card__frame img {
    transform: scale(1.035);
}

.content-card:focus-visible {
    outline: 2px solid var(--frame);
    outline-offset: 5px;
}

/* --------------------------------------------------------------------------
   8. Digital marketing
   -------------------------------------------------------------------------- */
.digital {
    background: var(--beige);
    padding: 80px;
}

.digital__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: clamp(34px, 6vw, 96px);
    align-items: center;
}

.digital__media {
    position: relative;
}

.digital__media img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    aspect-ratio: 0.7;
    object-fit: cover;
    /* "old door" silhouette: fully rounded top, square bottom */
    border-radius: 50% 50% 0 0 / 35% 35% 0 0;
}

/* offset arch frame sitting behind the photo (design: ~12.7px left, ~11px up) */
.digital__media::before {
    content: "";
    position: absolute;
    left: -5.44%;
    top: -3.31%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--frame);
    border-radius: 50% 50% 0 0 / 35% 35% 0 0;
    z-index: 1;
}

.digital__body .eyebrow {
    margin-bottom: clamp(20px, 4.5vw, 64px);
}

/* service accordion — hairline rules between rows (design: 1px #623E2A, ~57px pitch) */
.digital__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--frame);
}

.digital__item {
    border-bottom: 1px solid var(--frame);
}

.digital__toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding-block: clamp(11px, 1.5vw, 18px);
    font-family: var(--font-serif);
    font-size: var(--fs-subhead);
    line-height: 1.25;
    color: var(--ink);
    text-align: left;
    background: none;
    border: 0;
    cursor: pointer;
    transition: color 0.25s var(--ease);
}

.digital__toggle:hover {
    color: var(--frame);
}

.digital__arrow {
    flex: 0 0 auto;
    width: 0.7em;
    height: 0.7em;
    margin-right: 0.1em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    /* closed: points right */
    transition: transform 0.35s var(--ease);
}

.digital__toggle[aria-expanded="true"] .digital__arrow {
    transform: rotate(45deg);
}

/* open: points down */

/* smooth reveal — 0fr -> 1fr needs no fixed height */
.digital__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s var(--ease);
}

.digital__toggle[aria-expanded="true"]+.digital__panel {
    grid-template-rows: 1fr;
}

.digital__panel-inner {
    min-height: 0;
    overflow: hidden;
}

.digital__panel-title {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: var(--fs-label);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--frame);
    margin: 0 0 0.55em;
}

.digital__panel-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--ink);
    margin: 0 0 clamp(14px, 1.8vw, 20px);
}

/* --------------------------------------------------------------------------
   9. Why work with me
   -------------------------------------------------------------------------- */
.why {
    padding-block: 90px;
}

.why__inner {
    display: flex;
    align-items: center;
    gap: clamp(36px, 6vw, 88px);
}

.why__copy {
    flex: 1.05 1 0;
    min-width: 0;
}

.why__title {
    margin-bottom: clamp(22px, 3vw, 38px);
}

.why__list {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2.2vw, 30px);
}

.why__item-title {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--fs-body);
    line-height: 1.4;
    color: var(--ink);
    margin: 0 0 0.3em;
}

.why__item-text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--ink);
    max-width: 52ch;
    margin: 0;
}

.why__gallery {
    flex: 0.95 1 0;
    width: 100%;
    max-width: 560px;
}

.why__icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    padding-block: clamp(10px, 1.4vw, 16px);
    background: #fff;
    color: var(--ink);
}

.why__icons svg {
    width: clamp(20px, 2.2vw, 28px);
    height: auto;
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(3px, 0.5vw, 6px);
}

.why__grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

/* centre tile — plain wall photo with a cut-out photographer layered on top,
   overlapping the image in the row above (design reference: PDF page 1) */
.why__center {
    position: relative;
    z-index: 2;
}

.why__center .why__wall {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.why__center .why__cutout {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 103%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   10. About
   -------------------------------------------------------------------------- */
.about {
    display: grid;
    grid-template-columns: clamp(240px, 32vw, 430px) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 76px);
    align-items: center;
    padding-block: 90px;
    padding-right: var(--gut);
    max-width: 1560px;
    margin-inline: auto;
}

.about__media img {
    width: 100%;
    aspect-ratio: 0.71;
    object-fit: cover;
    /* only the top-right is rounded (design: rx=74.9 ry=105.3 -> 22.86% both axes) */
    border-radius: 0 22.86% 0 0;
    box-shadow: 0 24px 54px rgba(38, 29, 23, 0.16);
}

.about__title {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: 0.02em;
    margin-bottom: clamp(16px, 2vw, 28px);
}

.about__title-small {
    display: block;
    font-size: clamp(22px, 3.9vw, 48px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-left: -105px;
}

.about__title-big {
    display: block;
    font-size: clamp(56px, 8.2vw, 108px);
    text-transform: uppercase;
    margin-left: -90px;
    color: var(--coral);
    font-style: italic;
}


.about__bio {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--ink);
    max-width: 60ch;
}

.about__bio+.about__bio {
    margin-top: 1.1em;
}

.about .badge {
    margin-top: clamp(22px, 3vw, 40px);
}

/* "Read more" link next to the badge, pointing at about.html */
.about__more {
    display: inline-block;
    margin-top: clamp(22px, 3vw, 40px);
    margin-left: clamp(14px, 2vw, 24px);
    padding-bottom: 2px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: var(--fs-label);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 1px solid var(--coral);
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.about__more:hover {
    color: var(--brown);
    border-color: var(--brown);
}

/* --------------------------------------------------------------------------
   11. CTA
   -------------------------------------------------------------------------- */
.cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: var(--sand);
}

.cta__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

/* Light scrim: 20% of the original overlay strength */
.cta__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 30, 28, 0.18) 0%, rgba(4, 30, 28, 0.14) 55%, rgba(4, 30, 28, 0.12) 100%);
}

.cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 3vw, 40px);
    padding-block: 40px;
}

.cta__text .eyebrow {
    margin-bottom: clamp(14px, 1.8vw, 24px);
}

.cta__headline {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(34px, 6.25vw, 46px);
    line-height: 1.06;
    color: var(--sand);
}

/* --------------------------------------------------------------------------
   12. Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
    background: var(--green);
    color: var(--offwhite);
    padding: clamp(64px, 8vw, 118px) 0 clamp(80px, 11vw, 160px);
}

.testimonials__title {
    font-family: var(--font-quote);
    font-weight: 400;
    font-size: clamp(20px, 2.05vw, 28px);
    text-align: center;
    letter-spacing: 0.02em;
    margin-bottom: clamp(40px, 6vw, 80px);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(30px, 5vw, 70px);
    text-align: center;
}

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

.testimonial__quote {
    font-family: var(--font-quote);
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.3;
    max-width: 16ch;
}

.testimonial__rule {
    display: block;
    width: clamp(60px, 9vw, 110px);
    height: 2px;
    background: var(--gold);
    margin: clamp(14px, 1.6vw, 22px) 0;
}

.testimonial__body {
    font-family: var(--font-small);
    font-size: clamp(12px, 0.95vw, 14px);
    line-height: 1.75;
    color: rgba(244, 241, 232, 0.85);
    max-width: 34ch;
}

.testimonial__cite {
    margin-top: clamp(16px, 2vw, 26px);
    font-family: var(--font-small);
    font-style: normal;
    font-size: clamp(9px, 0.72vw, 11px);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--offwhite);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--green);
    color: var(--offwhite);
    border-top: 1px solid rgba(244, 241, 232, 0.14);
    padding-block: clamp(24px, 3vw, 40px);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-small);
    font-size: clamp(11px, 0.9vw, 13px);
    letter-spacing: 0.08em;
    color: rgba(244, 241, 232, 0.7);
}

.site-footer__brand {
    font-family: var(--font-serif);
    font-size: clamp(15px, 1.4vw, 20px);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--offwhite);
}

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
    .digital__media {
        width: 70%;
        justify-self: start;
    }
}

@media (max-width: 900px) {
    .why__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .why__gallery {
        align-self: flex-start;
        max-width: 560px;
    }
}

@media (max-width: 860px) {
    .header__inner {
        gap: 0.5rem;
    }

    .nav {
        flex: 0 0 auto;
    }

    .brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 45;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__list {
        position: fixed;
        inset: 0 0 auto 0;
        flex-direction: column;
        gap: 0;
        padding: clamp(80px, 22vw, 120px) var(--gut) 2rem;
        background: rgba(4, 30, 28, 0.97);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), visibility 0.4s;
        z-index: 40;
    }

    .nav__list.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__list a {
        display: block;
        font-size: 1.5rem;
        padding-block: 0.6em;
        border-bottom: 1px solid rgba(249, 226, 190, 0.15);
    }

    .nav__list a::after {
        display: none;
    }

    .header__cta-wrap {
        display: none;
    }

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

    .content-card:last-child {
        grid-column: 1 / -1;
        max-width: 60%;
        margin-inline: auto;
    }

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

    .digital__media {
        max-width: 420px;
    }

    .about {
        grid-template-columns: 1fr;
        padding-right: 0;
    }

    /* the photo may stay full-bleed, the copy needs the page gutter */
    .about__body {
        padding-inline: var(--gut);
    }

    .about__media {
        max-width: 380px;
    }

    .about__media img {
        border-radius: 0 22.86% 0 0;
    }

    .cta__inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
        gap: clamp(40px, 8vw, 56px);
    }
}

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

    .content-card:last-child {
        max-width: none;
    }

    .hero__card--b {
        display: none;
    }

    .hero__card--a {
        width: clamp(120px, 34vw, 190px);
        top: -5%;
    }

    .about__more {
        display: block;
        width: max-content;
        margin-left: 0;
        margin-top: 14px;
    }

    .site-footer__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}
