/* ==========================================================================
   Wedlisse — design system
   Palette: cream canvas, deep forest-green sections, aqua + lime accents.
   Display type: Sora. Body type: Plus Jakarta Sans.
   Signature motif: stepped (staircase) image frames via clip-path.
   ========================================================================== */

:root {
    --cream: #F2F1EC;
    --cream-soft: #EDECE5;
    --white: #FFFFFF;
    --ink: #0C2B2A;
    --ink-2: #123734;
    --ink-3: #17453F;
    --aqua: #31E0D2;
    --aqua-ink: #06302B;
    --lime: #C3D95E;
    --sky: #D8F0FA;
    --text: #152B29;
    --muted: #6B7876;
    --on-dark: rgba(255, 255, 255, 0.76);
    --line: rgba(12, 43, 42, 0.14);
    --line-dark: rgba(255, 255, 255, 0.18);
    --display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
    --body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --step: 22px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --radius: 4px;
    --shadow: 0 28px 64px -36px rgba(12, 43, 42, 0.45);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.72;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin: 0;
    color: inherit;
}

p {
    margin: 0;
}

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

button {
    font: inherit;
}

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

/* ---------------------------------------------------------------- layout */

.container {
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: clamp(20px, 5.2vw, 80px);
}

.section {
    padding-block: clamp(56px, 7.5vw, 110px);
}

.section--tight {
    padding-block: clamp(40px, 4.5vw, 64px);
}

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

.section--white {
    background: var(--white);
}

.section--cream-soft {
    background: var(--cream-soft);
}

.section--flush-bottom {
    padding-bottom: 0;
}

.section-note {
    font-size: 14px;
    color: var(--muted);
}

.section--dark .section-note {
    color: var(--on-dark);
}

/* ------------------------------------------------------------ typography */

.display-xl {
    font-size: clamp(36px, 5.4vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.display-lg {
    font-size: clamp(32px, 4.6vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.display-md {
    font-size: clamp(28px, 3.2vw, 48px);
    line-height: 1.1;
}

.display-sm {
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.2;
}

.lead {
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.7;
    color: var(--muted);
    max-width: 54ch;
}

.section--dark .lead {
    color: var(--on-dark);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
}

.eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    background: var(--aqua);
}

.section--dark .eyebrow,
.on-dark .eyebrow {
    color: var(--white);
}

.section--dark .eyebrow::before,
.eyebrow--lime::before {
    background: var(--lime);
}

.eyebrow--aqua::before {
    background: var(--aqua);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(24px, 4vw, 72px);
    align-items: end;
}

.section-head__stack {
    display: grid;
    gap: 18px;
}

.section-head__aside {
    display: grid;
    gap: 20px;
    justify-items: start;
}

/* --------------------------------------------------------------- buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 28px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

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

.btn--dark:hover {
    background: var(--ink-3);
}

.btn--aqua {
    background: var(--aqua);
    color: var(--aqua-ink);
}

.btn--aqua:hover {
    background: #6cebe1;
}

.btn--outline {
    background: transparent;
    border-color: rgba(12, 43, 42, 0.34);
    color: var(--text);
}

.btn--outline:hover {
    background: rgba(12, 43, 42, 0.06);
}

.btn--light {
    background: var(--cream);
    border-color: rgba(12, 43, 42, 0.12);
    color: var(--text);
}

.btn--block {
    width: 100%;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------------------------------------------------------------- header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--cream);
    border-bottom: 1px solid transparent;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    height: 92px;
}

.brand {
    justify-self: start;
    font-family: var(--display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.6vw, 38px);
}

.site-nav a {
    position: relative;
    padding-block: 6px;
    font-size: 14px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.site-nav a:hover {
    opacity: 0.65;
}

.site-nav a.is-active {
    border-bottom-color: var(--aqua);
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-cta {
    padding: 15px 26px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: var(--ink);
    cursor: pointer;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 13px;
    width: 20px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span:nth-child(1) {
    top: 17px;
}

.nav-toggle span:nth-child(2) {
    top: 22px;
}

.nav-toggle span:nth-child(3) {
    top: 27px;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
    border-top: 1px solid var(--line);
    background: var(--cream);
    padding: 18px clamp(20px, 5.2vw, 80px) 26px;
    display: grid;
    gap: 4px;
}

.mobile-nav a {
    padding-block: 12px;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
    display: none;
}

/* ------------------------------------------------------------------ hero */

.hero {
    padding-block: clamp(16px, 2vw, 28px) clamp(40px, 5vw, 72px);
}

.hero-shell {
    position: relative;
}

.hero-frame {
    position: relative;
    min-height: clamp(430px, 46vw, 620px);
    overflow: hidden;
    isolation: isolate;
}

.hero-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(92deg, rgba(8, 26, 24, 0.72) 8%, rgba(8, 26, 24, 0.28) 52%, rgba(8, 26, 24, 0.18) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 22px;
    align-content: end;
    max-width: 720px;
    padding: clamp(28px, 4.4vw, 64px) clamp(24px, 4vw, 72px);
    min-height: clamp(430px, 46vw, 620px);
    color: var(--white);
}

.hero-content .eyebrow {
    color: var(--white);
}

.hero-title {
    color: var(--white);
}

.hero-copy {
    font-size: clamp(15px, 1.3vw, 19px);
    line-height: 1.66;
    color: rgba(255, 255, 255, 0.86);
    max-width: 42ch;
}

.save-card {
    position: absolute;
    right: clamp(16px, 3vw, 44px);
    bottom: clamp(16px, 3vw, 40px);
    z-index: 3;
    width: min(330px, 84%);
    background: var(--white);
    padding: 26px 28px 24px;
    box-shadow: var(--shadow);
}

.save-card__chip {
    display: inline-block;
    padding: 7px 11px;
    background: var(--lime);
    color: var(--aqua-ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.save-card__date {
    margin-top: 16px;
    font-family: var(--display);
    font-size: 26px;
    color: var(--text);
}

.save-card__place {
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
}

.save-card__meta {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.save-card__meta dt {
    font-size: 11px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted);
}

.save-card__meta dd {
    margin: 2px 0 0;
    font-family: var(--display);
    font-size: 19px;
    color: var(--text);
}

/* --------------------------------------------------------- stepped media */

.stepped {
    --step: 22px;
    clip-path: polygon(0 0,
        calc(100% - var(--step)) 0,
        calc(100% - var(--step)) var(--step),
        calc(100% - var(--step) / 2) var(--step),
        calc(100% - var(--step) / 2) calc(var(--step) * 1.5),
        100% calc(var(--step) * 1.5),
        100% 100%,
        var(--step) 100%,
        var(--step) calc(100% - var(--step)),
        calc(var(--step) / 2) calc(100% - var(--step)),
        calc(var(--step) / 2) calc(100% - var(--step) * 1.5),
        0 calc(100% - var(--step) * 1.5));
}

.stepped--soft {
    --step: 14px;
}

.media {
    position: relative;
    overflow: hidden;
    background: var(--cream-soft);
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.media--16-9 {
    aspect-ratio: 16 / 9;
}

.media--4-3 {
    aspect-ratio: 4 / 3;
}

.media--3-4 {
    aspect-ratio: 3 / 4;
}

.media--square {
    aspect-ratio: 1 / 1;
}

.media--wide {
    aspect-ratio: 21 / 9;
}

.media--tall {
    aspect-ratio: 4 / 5;
}

/* --------------------------------------------------------------- layouts */

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
}

.split--media-left {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split--media-right {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.split__body {
    display: grid;
    gap: 20px;
    align-content: center;
}

.grid {
    display: grid;
    gap: clamp(18px, 2.2vw, 30px);
}

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

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

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

.stack {
    display: grid;
    gap: 18px;
}

.stack--lg {
    gap: clamp(28px, 4vw, 52px);
}

/* ----------------------------------------------------------------- cards */

.card {
    background: var(--white);
    padding: clamp(22px, 2.4vw, 34px);
    border-radius: var(--radius);
}

.section--dark .card {
    background: var(--ink-2);
}

.icon-tile {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: var(--sky);
    color: var(--ink);
}

.icon-tile svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-tile--lime {
    background: rgba(195, 217, 94, 0.2);
    color: var(--lime);
}

.info-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--white);
    padding: 24px 26px;
    border-radius: var(--radius);
}

.info-card h3 {
    font-family: var(--display);
    font-size: 21px;
    letter-spacing: -0.01em;
}

.info-card p {
    margin-top: 4px;
    font-size: 14px;
    color: var(--muted);
}

.info-card__row {
    display: grid;
    gap: 12px;
}

.info-card__row .info-card:nth-child(2) {
    margin-left: 8%;
}

.info-card__row .info-card:nth-child(3) {
    margin-left: 16%;
}

.info-card__row .info-card:nth-child(4) {
    margin-left: 24%;
}

/* ----------------------------------------------------------------- stats */

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 6vw, 110px);
    margin-top: clamp(24px, 3vw, 40px);
}

.stat__value {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(32px, 3.6vw, 55px);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat__label {
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
}

/* -------------------------------------------------- story tiles (masonry) */

.story-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 32px);
    align-items: start;
}

.story-tile {
    position: relative;
    display: block;
    color: var(--white);
    text-decoration: none;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.story-tile--offset {
    margin-top: clamp(24px, 5vw, 72px);
}

.story-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 26, 24, 0) 42%, rgba(8, 26, 24, 0.78) 100%);
}

.story-tile__body {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    padding: 26px 24px;
    display: grid;
    gap: 6px;
}

.story-tile__title {
    font-family: var(--display);
    font-size: clamp(19px, 1.6vw, 24px);
    color: var(--white);
}

.story-tile__meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.story-tile:hover img {
    transform: scale(1.04);
}

/* ---------------------------------------------------------- gallery grid */

.gallery-card {
    position: relative;
    display: block;
    color: var(--white);
    text-decoration: none;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.gallery-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 26, 24, 0.05) 40%, rgba(8, 26, 24, 0.8) 100%);
}

.gallery-card__body {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: 24px 22px;
    display: grid;
    gap: 6px;
}

.gallery-card__title {
    font-family: var(--display);
    font-size: clamp(18px, 1.5vw, 22px);
    color: var(--white);
}

.gallery-card__text {
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.84);
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-block: clamp(24px, 3vw, 44px);
}

.filter-btn {
    padding: 13px 20px;
    border: 0;
    border-radius: 2px;
    background: var(--white);
    color: var(--text);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.filter-btn:hover {
    background: rgba(12, 43, 42, 0.08);
}

.filter-btn.is-active {
    background: var(--ink);
    color: var(--white);
}

/* -------------------------------------------------- composite (rsvp band) */

.composite {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.composite__media {
    position: relative;
    min-height: clamp(280px, 34vw, 430px);
    overflow: hidden;
}

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

.composite__panel {
    background: var(--ink);
    color: var(--white);
    display: grid;
    gap: 20px;
    align-content: center;
    padding: clamp(30px, 4vw, 64px);
}

/* ------------------------------------------------------------- page hero */

.page-hero {
    padding-block: clamp(36px, 4.6vw, 72px) clamp(24px, 3vw, 44px);
}

.page-hero__inner {
    display: grid;
    gap: 22px;
    max-width: 900px;
}

.page-hero--tight .page-hero__inner {
    max-width: 760px;
}

/* ---------------------------------------------------------- pricing cards */

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 1.6vw, 24px);
    align-items: stretch;
}

.price-card {
    background: var(--white);
    padding: clamp(24px, 2.4vw, 34px);
    border-radius: var(--radius);
    display: grid;
    gap: 18px;
    align-content: start;
}

.price-card--featured {
    background: var(--ink);
    color: var(--white);
    padding-block: clamp(34px, 3.4vw, 48px);
    margin-block: calc(clamp(24px, 2.4vw, 34px) * -0.6);
}

.price-card__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.price-card--featured .price-card__label {
    color: var(--lime);
}

.price-card__name {
    font-family: var(--display);
    font-size: clamp(22px, 2vw, 28px);
}

.price-card__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--display);
    font-size: clamp(34px, 3.4vw, 48px);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.price-card__price span {
    font-family: var(--body);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted);
}

.price-card--featured .price-card__price span {
    color: var(--on-dark);
}

.price-card__for {
    font-size: 14.5px;
    color: var(--muted);
}

.price-card--featured .price-card__for {
    color: var(--on-dark);
}

.price-card__list {
    display: grid;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 14.5px;
}

.price-card--featured .price-card__list {
    border-top-color: var(--line-dark);
}

.price-card__list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.5;
}

.price-card__list li::before {
    content: "\2713";
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.price-card--featured .price-card__list li::before {
    color: var(--lime);
}

/* ------------------------------------------------------------------- faq */

.faq {
    display: grid;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    border: 0;
    background: none;
    text-align: left;
    font-family: var(--display);
    font-size: clamp(16px, 1.4vw, 20px);
    color: var(--text);
    cursor: pointer;
}

.faq-sign {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: rgba(12, 43, 42, 0.06);
    font-size: 16px;
    line-height: 1;
    transition: background 0.2s var(--ease);
}

.faq-item.is-open .faq-sign {
    background: var(--lime);
}

.faq-answer {
    display: none;
    padding: 0 0 24px;
    font-size: 15px;
    color: var(--muted);
    max-width: 62ch;
}

.faq-item.is-open .faq-answer {
    display: block;
}

/* ------------------------------------------------------------------ team */

.person {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    display: grid;
}

.person .media {
    aspect-ratio: 4 / 5;
}

.person__body {
    padding: 24px 24px 30px;
    display: grid;
    gap: 8px;
}

.person__role {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.person__name {
    font-family: var(--display);
    font-size: 24px;
}

.person__bio {
    font-size: 14.5px;
    line-height: 1.62;
    color: var(--muted);
}

.value-card {
    background: rgba(255, 255, 255, 0.06);
    padding: 26px 24px;
    border-radius: var(--radius);
    display: grid;
    gap: 12px;
}

.value-card h3 {
    font-family: var(--display);
    font-size: 17px;
    line-height: 1.3;
}

.value-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--on-dark);
}

.process-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 26px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border-radius: var(--radius);
}

.process-card h3 {
    font-family: var(--display);
    font-size: 17px;
    line-height: 1.35;
}

.process-card p {
    margin-top: 6px;
    font-size: 14px;
    color: var(--on-dark);
}

/* ---------------------------------------------------------------- journal */

.feature-post {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
}

.feature-post__media {
    position: relative;
    min-height: clamp(260px, 30vw, 420px);
    overflow: hidden;
}

.feature-post__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-post__body {
    padding: clamp(28px, 3.6vw, 56px);
    display: grid;
    gap: 16px;
    align-content: center;
    justify-items: start;
}

.tag {
    display: inline-block;
    padding: 7px 11px;
    background: var(--sky);
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tag--lime {
    background: var(--lime);
    color: var(--aqua-ink);
}

.post-card {
    display: grid;
    gap: 16px;
    align-content: start;
    text-decoration: none;
    color: var(--text);
}

.post-card .media {
    aspect-ratio: 16 / 11;
}

.post-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--muted);
}

.post-card__title {
    font-family: var(--display);
    font-size: clamp(19px, 1.8vw, 24px);
    line-height: 1.25;
}

.post-card__text {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
}

.post-card:hover .post-card__title {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ---------------------------------------------------------------- article */

.article {
    max-width: 880px;
}

.article__head {
    display: grid;
    gap: 18px;
    padding-block: clamp(28px, 4vw, 56px) clamp(20px, 2vw, 32px);
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--muted);
}

.crumbs a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 13.5px;
    color: var(--muted);
}

.article__meta span + span::before {
    content: "\00B7";
    margin-right: 8px;
}

.article__media {
    margin-block: clamp(24px, 3vw, 44px);
}

.prose {
    max-width: 66ch;
    display: grid;
    gap: 18px;
}

.prose h2 {
    font-family: var(--display);
    font-size: clamp(21px, 2vw, 27px);
    margin-top: 14px;
}

.prose p {
    font-size: 16.5px;
    line-height: 1.78;
    color: #2c403d;
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: clamp(28px, 3vw, 44px);
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.share-row a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ forms */

.form-panel {
    background: var(--white);
    padding: clamp(24px, 2.8vw, 40px);
    border-radius: var(--radius);
    display: grid;
    gap: 18px;
}

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

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

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--text);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid rgba(12, 43, 42, 0.22);
    border-radius: 3px;
    font-family: var(--body);
    font-size: 15px;
    color: var(--text);
}

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

.field input::placeholder,
.field textarea::placeholder {
    color: #97a19f;
}

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

.form-note {
    font-size: 13px;
    color: var(--muted);
}

.form-status {
    display: none;
    padding: 14px 16px;
    background: rgba(49, 224, 210, 0.16);
    border-left: 3px solid var(--aqua);
    font-size: 14px;
}

.form-status.is-visible {
    display: block;
}

/* ------------------------------------------------------------- newsletter */

.newsletter {
    background: var(--ink);
    color: var(--white);
    padding: clamp(28px, 3.4vw, 52px);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(20px, 3vw, 48px);
    align-items: center;
}

.newsletter__form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter__form input {
    flex: 1 1 220px;
    padding: 15px 16px;
    background: transparent;
    border: 1px solid var(--line-dark);
    border-radius: 3px;
    color: var(--white);
    font-family: var(--body);
    font-size: 15px;
}

.newsletter__form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.newsletter__form input:focus {
    border-color: var(--aqua);
    outline: none;
}

/* ------------------------------------------------------------ cta banner */

.cta-banner {
    background: var(--ink);
    color: var(--white);
    padding: clamp(30px, 3.6vw, 56px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    border-radius: 2px;
}

.cta-banner__body {
    display: grid;
    gap: 16px;
    justify-items: start;
}

/* ---------------------------------------------------------------- closing */

.closing {
    padding-block: clamp(48px, 6vw, 90px);
    text-align: center;
}

.closing__line {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(26px, 3vw, 42px);
    letter-spacing: -0.02em;
}

.closing__meta {
    margin-top: 14px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ----------------------------------------------------------------- footer */

.site-footer {
    background: var(--ink);
    color: var(--white);
    padding-top: clamp(48px, 6vw, 88px);
    overflow: hidden;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.62fr));
    gap: clamp(24px, 4vw, 60px);
}

.footer-brand {
    display: grid;
    gap: 16px;
    align-content: start;
}

.footer-brand .brand {
    color: var(--white);
    font-size: 18px;
}

.footer-brand p {
    font-size: 14.5px;
    color: var(--on-dark);
    max-width: 32ch;
}

.footer-contact {
    display: grid;
    gap: 4px;
    margin-top: 6px;
    font-size: 15px;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-col h3 {
    font-family: var(--body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lime);
    margin-bottom: 16px;
}

.footer-col ul {
    display: grid;
    gap: 11px;
}

.footer-col a {
    font-size: 15px;
    color: var(--white);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--aqua);
}

.footer-watermark {
    margin-top: clamp(40px, 6vw, 80px);
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(52px, 15vw, 216px);
    line-height: 0.9;
    letter-spacing: 0.04em;
    text-align: center;
    color: rgba(255, 255, 255, 0.055);
    user-select: none;
}

.footer-bottom {
    margin-top: clamp(24px, 3vw, 40px);
    border-top: 1px solid var(--line-dark);
    padding-block: 26px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 13.5px;
    color: var(--on-dark);
}

.socials {
    display: flex;
    gap: 10px;
}

.socials a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: var(--white);
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.socials a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.socials svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

/* ----------------------------------------------------------------- reveal */

/* Entrance animation is animation-based on purpose: if JavaScript or the
   observer never runs, every block stays fully visible (no blank sections). */
[data-reveal] {
    animation: reveal-in 0.7s var(--ease) both;
}

@keyframes reveal-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        animation: none;
    }

    .btn:hover,
    .media img,
    .gallery-card img,
    .story-tile img {
        transform: none;
    }
}

/* -------------------------------------------------------------- utilities */

.is-hidden {
    display: none !important;
}

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

.mt-0 {
    margin-top: 0;
}

.mt-sm {
    margin-top: 16px;
}

.mt-md {
    margin-top: clamp(24px, 3vw, 40px);
}

.mt-lg {
    margin-top: clamp(32px, 4vw, 64px);
}

.measure {
    max-width: 60ch;
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 1080px) {
    .section-head {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .section-head__aside {
        justify-items: start;
    }

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

    .price-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .price-card--featured {
        margin-block: 0;
        padding-block: clamp(24px, 2.4vw, 34px);
    }

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

@media (max-width: 900px) {
    body {
        font-size: 16px;
    }

    .site-nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
        height: 76px;
    }

    .split,
    .split--media-left,
    .split--media-right,
    .composite,
    .feature-post,
    .newsletter,
    .cta-banner {
        grid-template-columns: minmax(0, 1fr);
    }

    .split--media-right > .media,
    .split--media-left > .media {
        order: -1;
    }

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

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

    .story-tile--offset {
        margin-top: 0;
    }

    .info-card__row .info-card:nth-child(2),
    .info-card__row .info-card:nth-child(3),
    .info-card__row .info-card:nth-child(4) {
        margin-left: 0;
    }

    .save-card {
        position: static;
        width: 100%;
        margin-top: 0;
        box-shadow: none;
    }

    .hero-shell {
        display: grid;
        gap: 0;
    }

    .cta-banner__body {
        justify-items: start;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .grid--2,
    .story-tiles,
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-cta {
        padding: 12px 16px;
        font-size: 11px;
    }

    .hero-content {
        gap: 16px;
    }

    .btn {
        padding: 15px 20px;
    }

    .btn-row .btn {
        flex: 1 1 auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================================
   Page components — timeline, gallery lightbox, staff/journal helpers
   ========================================================================== */

.on-dark .eyebrow::before {
    background: var(--lime);
}

.composite__panel .eyebrow {
    color: var(--white);
}

.composite__panel .eyebrow::before {
    background: var(--lime);
}

.split--top {
    align-items: start;
}

/* -------------------------------------------------------------- timeline */

.timeline {
    display: grid;
    gap: clamp(44px, 6vw, 100px);
}

.timeline__item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 68px);
    align-items: center;
}

.timeline__item--reverse .timeline__media {
    order: 2;
}

.timeline__body {
    display: grid;
    gap: 16px;
    align-content: center;
}

.timeline__body p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
    max-width: 54ch;
}

.year-chip {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.year-chip__num {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--lime);
    color: var(--aqua-ink);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.year-chip__year {
    font-size: 14px;
    color: var(--muted);
}

/* --------------------------------------------------------- gallery extras */

button.gallery-card {
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    cursor: zoom-in;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 56px);
    background: rgba(8, 22, 20, 0.88);
}

.lightbox.is-open {
    display: flex;
}

.lightbox__figure {
    margin: 0;
    display: grid;
    gap: 14px;
    max-width: min(860px, 100%);
}

.lightbox__figure img {
    width: 100%;
    max-height: 74vh;
    object-fit: contain;
    background: #071615;
}

.lightbox__caption {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    color: var(--white);
    font-size: 14px;
}

.lightbox__caption span {
    color: rgba(255, 255, 255, 0.7);
}

.lightbox__close {
    position: absolute;
    top: clamp(12px, 3vw, 28px);
    right: clamp(12px, 3vw, 28px);
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: var(--white);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

/* --------------------------------------------------- small shared helpers */

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

.section--dark .muted {
    color: var(--on-dark);
}

.order-first {
    order: -1;
}

.article--wide {
    max-width: 1000px;
}

@media (max-width: 900px) {
    .timeline__item {
        grid-template-columns: minmax(0, 1fr);
    }

    .timeline__item--reverse .timeline__media {
        order: -1;
    }
}

/* Preserve authored line breaks inside article body fields */
.prose p {
    white-space: pre-line;
}

.prose > :first-child {
    margin-top: 0;
}

/* Dark CTA surfaces (banner, newsletter, composite, featured price card) are
   not .section--dark, so they need their own on-dark eyebrow treatment. */
.cta-banner .eyebrow,
.newsletter .eyebrow,
.composite__panel .eyebrow,
.price-card--featured .eyebrow {
    color: var(--white);
}

.cta-banner .eyebrow::before,
.newsletter .eyebrow::before,
.composite__panel .eyebrow::before,
.price-card--featured .eyebrow::before {
    background: var(--lime);
}

.cta-banner .lead,
.newsletter .lead {
    color: var(--on-dark);
}

/* Tags are content-width chips, never full-row blocks */
.tag {
    width: fit-content;
    justify-self: start;
    align-self: start;
}
