/*
Theme Name: Kim Goes Somewhere
Theme URI: https://example.com/
Author: Kim Harrison
Description: A quirky vintage travel-journal WordPress theme in cream, navy, and coral, designed for Kim Goes Somewhere.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kim-goes-somewhere
*/


/* =========================================================
   GLOBAL VARIABLES
   ========================================================= */

:root {
    --kgs-cream: #f7f0e3;
    --kgs-paper: #fffaf0;
    --kgs-navy: #07345d;
    --kgs-coral: #ef523f;
    --kgs-ink: #182331;
    --kgs-muted: #736b61;
    --kgs-line: #d8c9b2;
    --kgs-green: #4a7968;
    --kgs-shadow: 0 8px 24px rgba(7, 52, 93, .08);
    --kgs-max: 1440px;
}


/* =========================================================
   GLOBAL STYLES
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--kgs-cream);
    color: var(--kgs-ink);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.62;
}

a {
    color: var(--kgs-navy);
    text-decoration: none;
}

a:hover {
    color: var(--kgs-coral);
}

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

.kgs-wrap {
    width: min(calc(100% - 40px), var(--kgs-max));
    margin-inline: auto;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}


/* =========================================================
   UTILITY STRIP
   ========================================================= */

.kgs-topbar {
    background: var(--kgs-navy);
    color: #fff;
    font-size: .88rem;
    letter-spacing: .04em;
}

.kgs-topbar .kgs-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 8px 0;
}

.kgs-topbar .tagline {
    font-style: italic;
}

.kgs-topbar .star {
    color: var(--kgs-coral);
    padding: 0 .35rem;
}


/* =========================================================
   HEADER
   ========================================================= */

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

.kgs-brand-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    padding: 22px 0 16px;
}

.kgs-brand img {
    width: min(100%, 980px);
    max-height: 190px;
    object-fit: contain;
    object-position: left center;
}

.kgs-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.kgs-social a {
    width: 36px;
    height: 36px;
    border: 2px solid var(--kgs-navy);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font: 700 13px/1 Arial, sans-serif;
}

.kgs-social a:hover {
    background: var(--kgs-navy);
    color: #fff;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.kgs-nav {
    background: var(--kgs-navy);
}

.kgs-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.kgs-nav li {
    display: flex;
    align-items: center;
}

.kgs-nav li + li:before {
    content: "★";
    color: var(--kgs-coral);
    font-size: .65rem;
    margin: 0 18px;
}

.kgs-nav a {
    display: block;
    color: #fff;
    padding: 13px 5px;
    font: 700 .82rem/1.2 "Courier New", monospace;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.kgs-nav a:hover {
    color: var(--kgs-coral);
}


/* =========================================================
   ROUTE MOTIF
   ========================================================= */

.kgs-route {
    height: 30px;
    position: relative;
    overflow: hidden;
}

.kgs-route:before {
    content: "";
    position: absolute;
    left: 0;
    right: 50px;
    top: 14px;
    border-top: 3px dashed var(--kgs-navy);
    opacity: .9;
    transform: rotate(.15deg);
}

.kgs-route:after {
    content: "●";
    position: absolute;
    right: 8px;
    top: -5px;
    color: var(--kgs-coral);
    font-size: 2rem;
}


/* =========================================================
   MAIN
   ========================================================= */

.site-main {
    padding: 28px 0 50px;
}


/* =========================================================
   HERO
   ========================================================= */

.kgs-hero {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(320px, .75fr)
        310px;
    gap: 28px;
    align-items: stretch;
}

.kgs-hero-media {
    position: relative;
    min-height: 460px;
    background: #dccfbf;
    border: 1px solid var(--kgs-line);
    overflow: hidden;
    box-shadow: var(--kgs-shadow);
}

.kgs-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kgs-placeholder {
    height: 100%;
    min-height: 460px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #ead9bd, #cdb48f);
    color: var(--kgs-navy);
    font: 700 1.3rem/1.3 "Courier New", monospace;
}
.kgs-stamp {
    position: absolute;
    top: 22px;
    left: -10px;

    background: rgba(255, 250, 240, .96);

    border: 4px solid var(--kgs-coral);
    color: var(--kgs-coral);

    padding: 15px 22px;

    transform: rotate(-5deg);

    font: 700 1.3rem/1.15 "Courier New", monospace;

    text-transform: uppercase;
    letter-spacing: .07em;

    box-shadow: 0 4px 0 rgba(239, 82, 63, .18);

    z-index: 5;
}

.kgs-hero-copy {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kgs-eyebrow {
    font: 700 .78rem/1.2 "Courier New", monospace;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--kgs-navy);
}

.kgs-pin {
    color: var(--kgs-coral);
    font-size: 1.15rem;
    margin-right: .35rem;
}

.kgs-hero h1 {
    font: 700 clamp(2rem, 3.1vw, 3.55rem)/1.04 "Courier New", monospace;
    color: var(--kgs-navy);
    margin: .55rem 0 1rem;
}

.kgs-hero p {
    margin: .4rem 0 1.2rem;
    font-size: 1.04rem;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.kgs-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--kgs-navy);
    padding: 11px 16px;
    width: max-content;
    max-width: 100%;
    font: 700 .88rem/1.1 "Courier New", monospace;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: transparent;
}

.kgs-button:after {
    content: "→";
    color: var(--kgs-coral);
    font-size: 1.2rem;
}

.kgs-button:hover {
    background: var(--kgs-navy);
    color: #fff;
}


/* =========================================================
   ABOUT CARD
   ========================================================= */

.kgs-about-card {
    background: var(--kgs-paper);
    border: 1px solid var(--kgs-line);
    padding: 24px 22px;
    box-shadow: var(--kgs-shadow);
    position: relative;
    align-self: stretch;
}

.kgs-about-card:before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px dashed #cfb99d;
    pointer-events: none;
}

.kgs-about-card > * {
    position: relative;
}

.kgs-script {
    color: var(--kgs-coral);
    font-size: 2rem;
    font-style: italic;
    margin: 0 0 10px;
}

.kgs-about-card p {
    font-size: .95rem;
}

.kgs-signoff {
    text-align: right;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--kgs-navy);
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.kgs-section {
    margin-top: 34px;
}

.kgs-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--kgs-navy);
    font: 700 1.25rem/1.2 "Courier New", monospace;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: .04em;
    margin: 0 0 18px;
}

.kgs-section-title:before,
.kgs-section-title:after {
    content: "";
    height: 1px;
    border-top: 2px dashed var(--kgs-navy);
    flex: 1;
    opacity: .75;
}

.kgs-section-title .star {
    color: var(--kgs-coral);
}


/* =========================================================
   CATEGORY CARDS
   ========================================================= */

.kgs-cards {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.kgs-card {
    background: var(--kgs-paper);
    border: 1px solid var(--kgs-line);
    padding: 16px 14px;
    min-height: 245px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 12px rgba(7, 52, 93, .04);
}

.kgs-card-icon {
    width: 50px;
    height: 50px;
    border: 2px solid var(--kgs-coral);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--kgs-coral);
    font: 700 1.35rem/1 "Courier New", monospace;
    margin-bottom: 10px;
}

.kgs-card h3 {
    font: 700 .92rem/1.2 "Courier New", monospace;
    text-transform: uppercase;
    color: var(--kgs-navy);
    margin: .2rem 0 .55rem;
}

.kgs-card p {
    font-size: .85rem;
    line-height: 1.45;
    margin: .3rem 0 .9rem;
}

.kgs-card .kgs-card-link {
    margin-top: auto;
    color: var(--kgs-coral);
    font: 700 .76rem/1.2 "Courier New", monospace;
    text-transform: uppercase;
}

.kgs-card .kgs-card-link:hover {
    color: var(--kgs-navy);
    text-decoration: underline;
}


/* =========================================================
   POST GRID / CATEGORY ARCHIVES
   ========================================================= */

.kgs-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.kgs-post-card {
    background: var(--kgs-paper);
    border: 1px solid var(--kgs-line);
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(7, 52, 93, .05);
    display: flex;
    flex-direction: column;
    height: 100%;
}


/* Smaller consistent archive images */

.kgs-post-card .thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #dfd1bb;
}

.kgs-post-card .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Text underneath archive image */

.kgs-post-card .body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 20px;
}


/* Date */

.kgs-post-card .kgs-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--kgs-muted);
    font: 700 .72rem/1.3 "Courier New", monospace;
    letter-spacing: .05em;
    text-transform: uppercase;
}


/* Post title */

.kgs-post-card h3 {
    display: block;
    margin: 0 0 10px;
    font: 700 1.08rem/1.3 "Courier New", monospace;
    color: var(--kgs-navy);
}

.kgs-post-card h3 a {
    color: var(--kgs-navy);
}

.kgs-post-card h3 a:hover {
    color: var(--kgs-coral);
}


/* Excerpt */

.kgs-post-card p {
    display: block;
    margin: 0 0 15px;
    font-size: .9rem;
    line-height: 1.55;
}


/* Read story link */

.kgs-post-card .kgs-card-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 6px;
    color: var(--kgs-coral);
    font: 700 .76rem/1.2 "Courier New", monospace;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.kgs-post-card .kgs-card-link:hover {
    color: var(--kgs-navy);
    text-decoration: underline;
}


/* =========================================================
   ARCHIVE HEADER
   ========================================================= */

.kgs-archive-header {
    margin-bottom: 28px;
    text-align: center;
}

.kgs-archive-header h1 {
    margin: 0;
    font: 700 clamp(2rem, 4vw, 3.4rem)/1.05 "Courier New", monospace;
    color: var(--kgs-navy);
}

.kgs-archive-header {
    max-width: 820px;
    margin: 0 auto 38px;
    text-align: center;
}

.kgs-archive-header .kgs-eyebrow {
    margin-bottom: 10px;
    color: var(--kgs-coral);
}

.kgs-archive-header h1 {
    margin: 0 0 14px;
}

.kgs-archive-intro {
    margin: 0 auto 8px;
    max-width: 720px;
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--kgs-ink);
}

.kgs-archive-subintro {
    margin: 0 auto;
    max-width: 700px;
    font-size: .95rem;
    line-height: 1.6;
    color: var(--kgs-muted);
}

.kgs-archive-header:after {
    content: "★  ★  ★";
    display: block;
    margin-top: 22px;
    color: var(--kgs-coral);
    font-size: .75rem;
    letter-spacing: .5rem;
}
/* =========================================================
   PAGINATION
   ========================================================= */

.navigation.pagination {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 14px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.nav-links .page-numbers {
    display: inline-block;
    padding: 7px 11px;
    border: 1px solid var(--kgs-line);
    background: var(--kgs-paper);
    color: var(--kgs-navy);
    font: 700 .8rem/1.2 "Courier New", monospace;
}

.nav-links .page-numbers:hover {
    border-color: var(--kgs-coral);
    color: var(--kgs-coral);
}

.nav-links .current {
    background: var(--kgs-navy);
    color: #fff;
    border-color: var(--kgs-navy);
}


/* =========================================================
   SINGLE POSTS / PAGES
   ========================================================= */

.kgs-content-shell {
    width: min(calc(100% - 40px), 920px);
    margin: 0 auto;
    background: var(--kgs-paper);
    padding: clamp(24px, 5vw, 64px);
    border: 1px solid var(--kgs-line);
    box-shadow: var(--kgs-shadow);
}

.kgs-content-shell h1 {
    font: 700 clamp(2rem, 4vw, 4rem)/1.05 "Courier New", monospace;
    color: var(--kgs-navy);
}

.kgs-content-shell h2,
.kgs-content-shell h3 {
    font-family: "Courier New", monospace;
    color: var(--kgs-navy);
}

.entry-meta {
    font: 700 .78rem/1.4 "Courier New", monospace;
    color: var(--kgs-muted);
    text-transform: uppercase;
}

.entry-content img {
    margin: 24px auto;
}

.entry-content blockquote {
    border-left: 5px solid var(--kgs-coral);
    margin: 28px 0;
    padding: 12px 22px;
    background: #fff4ec;
}

.entry-content a {
    text-decoration: underline;
    text-decoration-color: var(--kgs-coral);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--kgs-navy);
    color: #fff;
    padding: 34px 0 22px;
    position: relative;
    overflow: hidden;
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover {
    color: var(--kgs-coral);
}

.kgs-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 36px;
}

.kgs-footer-brand {
    font: 700 1.4rem/1.2 "Courier New", monospace;
    text-transform: uppercase;
}

.kgs-footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.kgs-footer-nav li {
    margin: 5px 0;
}

.kgs-copyright {
    border-top: 1px dashed rgba(255, 255, 255, .35);
    margin-top: 26px;
    padding-top: 14px;
    font-size: .8rem;
    color: #dce7ef;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .kgs-hero {
        grid-template-columns: 1.25fr .75fr;
    }

    .kgs-about-card {
        grid-column: 1 / -1;
    }

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


/* =========================================================
   SMALL TABLET / POST GRID
   ========================================================= */

@media (max-width: 900px) {

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


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .kgs-wrap {
        width: min(calc(100% - 24px), var(--kgs-max));
    }

    .kgs-topbar .kgs-wrap {
        justify-content: center;
        text-align: center;
    }

    .kgs-top-links {
        display: none;
    }

    .kgs-brand-row {
        grid-template-columns: 1fr;
        padding: 14px 0;
    }

    .kgs-social {
        display: none;
    }

    .kgs-nav ul {
        display: block;
        padding: 8px 0;
    }

    .kgs-nav li {
        display: block;
        text-align: center;
    }

    .kgs-nav li + li:before {
        display: none;
    }

    .kgs-nav a {
        padding: 9px 5px;
    }

    .kgs-hero {
        grid-template-columns: 1fr;
    }

    .kgs-hero-media,
    .kgs-placeholder {
        min-height: 330px;
    }

    .kgs-hero-copy {
        padding: 6px 4px 14px;
    }

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

    .kgs-footer-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 600px) {

    .kgs-post-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .kgs-post-card .thumb {
        aspect-ratio: 16 / 10;
    }
}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 480px) {

    .kgs-cards {
        grid-template-columns: 1fr;
    }

    .kgs-card {
        min-height: 0;
    }

    .kgs-content-shell {
        width: min(calc(100% - 24px), 920px);
        padding: 24px 20px;
    }
}
/* =========================================================
   WORK WITH KIM
   Kim Goes Somewhere
========================================================= */

.kgs-work-page {
    --kgs-ink: #26231f;
    --kgs-paper: #f7f2e8;
    --kgs-paper-dark: #ece3d3;
    --kgs-accent: #b75c3d;
    --kgs-deep: #284f4d;
    --kgs-white: #fffdf8;

    background: var(--kgs-paper);
    color: var(--kgs-ink);
    overflow: hidden;
}

.kgs-work-page *,
.kgs-work-page *::before,
.kgs-work-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.kgs-work-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, #315b58, #203f3e);
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
}

.kgs-work-hero-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 100px 0;
    max-width: 760px;
    margin-left: max(24px, calc((100vw - 1180px) / 2));
}

.kgs-work-eyebrow,
.kgs-work-kicker {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.19em;
    margin: 0 0 18px;
}

.kgs-work-hero h1 {
    font-size: clamp(4.2rem, 9vw, 8rem);
    line-height: 0.83;
    margin: 0 0 42px;
    letter-spacing: -0.05em;
    color: inherit;
}

.kgs-work-hero h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    margin: 0 0 26px;
    max-width: 700px;
    color: inherit;
}

.kgs-work-hero-copy {
    font-size: 1.12rem;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 0 12px;
}

.kgs-work-button {
    display: inline-block;
    margin-top: 28px;
    background: var(--kgs-accent);
    color: #fff !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 17px 27px;
    border: 2px solid var(--kgs-accent);
    transform: rotate(-1deg);
    transition: transform 0.2s ease, background 0.2s ease;
}

.kgs-work-button:hover {
    transform: rotate(0deg) translateY(-2px);
    background: transparent;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.kgs-work-section {
    padding: 100px 24px;
}

.kgs-work-wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.kgs-work-narrow {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.kgs-work-section h2 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 18px 0 32px;
}

.kgs-work-lead,
.kgs-work-section-intro {
    font-size: 1.25rem;
    line-height: 1.75;
}


/* =========================================================
   STAMPS
========================================================= */

.kgs-stamp {
    display: inline-block;
    padding: 8px 14px 6px;
    border: 3px solid currentColor;
    color: var(--kgs-accent);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transform: rotate(-3deg);
}


/* =========================================================
   INTRO / PARTNER TAGS
========================================================= */

.kgs-work-intro {
    background: var(--kgs-paper);
}

.kgs-work-partners {
    margin: 42px auto 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
}

.kgs-work-partners span {
    border: 1px solid rgba(38, 35, 31, 0.25);
    background: rgba(255, 255, 255, 0.38);
    padding: 9px 13px;
    font-size: 0.83rem;
    font-weight: 700;
}

.kgs-work-bottom-note {
    font-size: 1.08rem;
    margin-top: 36px;
}


/* =========================================================
   WHAT I CAN CREATE
========================================================= */

.kgs-work-services {
    background: var(--kgs-white);
}

.kgs-work-services > .kgs-work-wrap > h2,
.kgs-work-services > .kgs-work-wrap > .kgs-work-kicker,
.kgs-work-section-intro {
    text-align: center;
}

.kgs-work-section-intro {
    max-width: 730px;
    margin: 0 auto 55px;
}

.kgs-work-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.kgs-work-card {
    position: relative;
    border: 1px solid rgba(38, 35, 31, 0.18);
    padding: 36px 32px 38px;
    min-height: 285px;
    background: var(--kgs-paper);
}

.kgs-work-card:nth-child(2),
.kgs-work-card:nth-child(5) {
    transform: rotate(0.6deg);
}

.kgs-work-card:nth-child(3) {
    transform: rotate(-0.5deg);
}

.kgs-card-number {
    display: block;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: var(--kgs-accent);
    margin-bottom: 28px;
}

.kgs-work-card h3 {
    font-size: 1.45rem;
    line-height: 1.1;
    margin: 0 0 18px;
}

.kgs-work-card p {
    margin: 0;
    line-height: 1.65;
}

.kgs-work-card-odd {
    background: var(--kgs-deep);
    color: #fff;
    transform: rotate(-0.8deg);
}

.kgs-work-card-odd h3 {
    color: inherit;
}


/* =========================================================
   FIELD NOTES CHECKLIST
========================================================= */

.kgs-work-checklist-section {
    background: var(--kgs-paper-dark);
}

.kgs-work-checklist {
    max-width: 900px;
    margin: 0 auto;
    background: #fffdf7;
    padding: clamp(35px, 7vw, 75px);
    border: 1px solid rgba(38, 35, 31, 0.22);
    box-shadow: 12px 14px 0 rgba(38, 35, 31, 0.07);
    transform: rotate(-0.5deg);
    position: relative;
}

.kgs-work-checklist::before {
    content: "";
    position: absolute;
    left: 58px;
    top: 0;
    bottom: 0;
    border-left: 1px solid rgba(183, 92, 61, 0.25);
}

.kgs-checklist-heading,
.kgs-checklist-items,
.kgs-checklist-footer {
    position: relative;
    z-index: 1;
}

.kgs-checklist-heading h2 {
    font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.kgs-checklist-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 35px;
    font-size: 1.08rem;
    line-height: 1.5;
}

.kgs-checklist-big {
    grid-column: 1 / -1;
    font-size: 1.35rem;
    margin-top: 18px;
    padding-top: 20px;
    border-top: 1px solid rgba(38, 35, 31, 0.15);
}

.kgs-checklist-big strong {
    color: var(--kgs-accent);
}

.kgs-checklist-footer {
    font-weight: 800;
    margin-top: 35px;
}


/* =========================================================
   STORY FIRST
========================================================= */

.kgs-work-story {
    background: var(--kgs-deep);
    color: #fff;
}

.kgs-work-story-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.kgs-work-story h2 {
    color: #fff;
}

.kgs-work-story .kgs-stamp {
    color: #fff;
}

.kgs-work-story-copy {
    font-size: 1.13rem;
    line-height: 1.75;
}

.kgs-work-story-copy p {
    margin: 0 0 22px;
}

.kgs-work-story-final {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1.25rem;
}


/* =========================================================
   THIS MIGHT SOUND WEIRD...
========================================================= */

.kgs-work-weird {
    background: var(--kgs-accent);
    color: #fff;
    text-align: center;
    padding: 115px 24px;
}

.kgs-work-weird-inner {
    max-width: 900px;
    margin: auto;
}

.kgs-work-weird p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 800;
    margin-bottom: 25px;
}

.kgs-work-weird h2 {
    color: inherit;
    font-size: clamp(4rem, 11vw, 9rem);
    letter-spacing: -0.06em;
    line-height: 0.8;
    margin: 0 0 38px;
}

.kgs-work-weird span {
    font-size: 1.2rem;
    font-weight: 700;
}


/* =========================================================
   CONTACT
========================================================= */

.kgs-work-contact {
    background: var(--kgs-paper);
    padding: 110px 24px 120px;
}

.kgs-work-contact-inner {
    max-width: 760px;
    margin: auto;
}

.kgs-work-contact h2 {
    font-size: clamp(3.3rem, 7vw, 6rem);
    line-height: 0.9;
    margin: 15px 0 30px;
}

.kgs-work-contact-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 650px;
}

.kgs-work-form {
    margin-top: 45px;
    background: var(--kgs-white);
    border: 1px solid rgba(38, 35, 31, 0.18);
    padding: clamp(25px, 5vw, 45px);
}

.kgs-work-form input:not([type="submit"]),
.kgs-work-form textarea,
.kgs-work-form select {
    width: 100%;
    border: 1px solid rgba(38, 35, 31, 0.35);
    background: #fff;
    padding: 13px;
}

.kgs-work-form textarea {
    min-height: 150px;
}

.kgs-work-form button,
.kgs-work-form input[type="submit"] {
    background: var(--kgs-accent);
    color: #fff;
    border: 0;
    padding: 14px 24px;
    font-weight: 800;
    cursor: pointer;
}

.kgs-work-signoff {
    margin-top: 70px;
    padding-top: 28px;
    border-top: 1px solid rgba(38, 35, 31, 0.2);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .kgs-work-hero {
        min-height: 650px;
    }

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

    .kgs-work-story-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .kgs-work-section {
        padding: 70px 20px;
    }

    .kgs-work-hero-inner {
        width: calc(100% - 40px);
        margin: 0 20px;
        padding: 75px 0;
    }

    .kgs-work-hero h1 {
        font-size: clamp(3.7rem, 20vw, 6rem);
    }

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

    .kgs-work-card {
        min-height: 0;
        transform: none !important;
    }

    .kgs-checklist-items {
        grid-template-columns: 1fr;
    }

    .kgs-checklist-big {
        grid-column: auto;
    }

    .kgs-work-checklist {
        transform: none;
    }

    .kgs-work-checklist::before {
        display: none;
    }

    .kgs-work-weird {
        padding: 85px 20px;
    }

    .kgs-work-weird h2 {
        font-size: clamp(3.5rem, 19vw, 6.5rem);
    }

}/* =========================================================
   WORK WITH KIM - LAYOUT FIX
   Prevent theme styles from clipping custom page sections
========================================================= */

body.page .kgs-work-page {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
}

body.page .kgs-work-page > section {
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 0;
    max-height: none !important;
    overflow: visible !important;
}

/* Hero keeps its intended height */
body.page .kgs-work-page > .kgs-work-hero {
    display: flex !important;
    min-height: 720px !important;
}

/* Make sure sections below the hero stack normally */
.kgs-work-intro,
.kgs-work-services,
.kgs-work-checklist-section,
.kgs-work-story,
.kgs-work-weird,
.kgs-work-contact {
    display: block !important;
    clear: both !important;
    width: 100% !important;
}

/* Prevent inherited theme transforms/floats from hiding sections */
.kgs-work-page::after {
    content: "";
    display: table;
    clear: both;
}
/* =========================================================
   WORK WITH KIM - CONFLICT RESET
   Keeps existing theme styles from hijacking this page
========================================================= */

/* Let the Work With Kim page grow normally */
body.page .kgs-work-page {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Every section must remain in normal page flow */
body.page .kgs-work-page section {
    float: none !important;
    height: auto;
    max-height: none !important;
    overflow: visible !important;
}

/* Reset the old theme's global stamp positioning */
body.page .kgs-work-page .kgs-stamp {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    display: inline-block !important;
    width: auto !important;

    background: transparent;
    border: 3px solid currentColor;
    color: var(--kgs-accent);

    padding: 8px 14px 6px;
    margin: 0 0 15px;

    transform: rotate(-3deg);
    box-shadow: none;

    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Explicitly stack each major section */
body.page .kgs-work-hero,
body.page .kgs-work-intro,
body.page .kgs-work-services,
body.page .kgs-work-checklist-section,
body.page .kgs-work-story,
body.page .kgs-work-weird,
body.page .kgs-work-contact {
    display: block;
    position: relative;
    width: 100%;
    clear: both;
}

/* Hero is the only flex section */
body.page .kgs-work-hero {
    display: flex !important;
    min-height: 720px;
    align-items: center;
}

/* Make sure content below hero is visible */
body.page .kgs-work-intro {
    min-height: 400px;
    padding-top: 100px;
    padding-bottom: 100px;
    z-index: 2;
}

body.page .kgs-work-services {
    min-height: 500px;
    z-index: 2;
}

body.page .kgs-work-checklist-section,
body.page .kgs-work-story,
body.page .kgs-work-weird,
body.page .kgs-work-contact {
    z-index: 2;
}

/* Prevent an old hero rule from covering following content */
body.page .kgs-work-hero::after {
    content: "";
    display: block;
    clear: both;
}

/* Work With Kim uses its own stamp colors */
body.page .kgs-work-story .kgs-stamp {
    color: #fff;
    border-color: #fff;
}
/* =========================================================
   WORK WITH KIM
   KIM GOES SOMEWHERE THEME CORRECTION
========================================================= */

.kgs-work-page {
    --kgs-ink: #182331;
    --kgs-paper: #fffaf0;
    --kgs-paper-dark: #f0e4d2;
    --kgs-accent: #ef523f;
    --kgs-deep: #07345d;
    --kgs-white: #fffdf8;

    background: var(--kgs-cream);
    color: var(--kgs-ink);
}


/* =========================================================
   HERO
========================================================= */

.kgs-work-hero {
    background:
        linear-gradient(
            135deg,
            #07345d 0%,
            #0b416f 55%,
            #07345d 100%
        ) !important;

    color: #fffaf0;
}

.kgs-work-hero h1 {
    color: #fffaf0 !important;
    font-family: "Courier New", monospace;
    text-transform: uppercase;
    letter-spacing: -0.055em;
}

.kgs-work-hero h2 {
    color: #fffaf0 !important;
}

.kgs-work-eyebrow {
    color: #ef523f;
    font-family: "Courier New", monospace;
    letter-spacing: .16em;
}

.kgs-work-hero-copy {
    color: #fffaf0;
}


/* =========================================================
   BUTTON
========================================================= */

.kgs-work-button {
    background: #ef523f !important;
    border-color: #ef523f !important;
    color: #fffaf0 !important;

    font-family: "Courier New", monospace;

    box-shadow:
        4px 5px 0 rgba(255, 250, 240, .15);
}

.kgs-work-button:hover {
    background: #fffaf0 !important;
    color: #07345d !important;
    border-color: #fffaf0 !important;
}


/* =========================================================
   INTRO
========================================================= */

.kgs-work-intro {
    background: #f7f0e3 !important;
}

.kgs-work-intro h2 {
    color: #07345d;
}

.kgs-work-lead {
    color: #182331;
}

.kgs-work-partners span {
    background: #fffaf0;
    border: 1px solid #d8c9b2;

    color: #07345d;

    font-family: "Courier New", monospace;
    font-size: .8rem;

    box-shadow: 2px 2px 0 rgba(7, 52, 93, .06);
}

.kgs-work-partners span:nth-child(3n+1) {
    transform: rotate(-1deg);
}

.kgs-work-partners span:nth-child(3n+2) {
    transform: rotate(.8deg);
}


/* =========================================================
   STAMPS
========================================================= */

body.page .kgs-work-page .kgs-stamp {
    color: #ef523f !important;
    border-color: #ef523f !important;
    background: #fffaf0 !important;

    font-family: "Courier New", monospace;

    box-shadow: 3px 3px 0 rgba(239, 82, 63, .12);
}


/* =========================================================
   WHAT I CAN CREATE
========================================================= */

.kgs-work-services {
    background: #fffaf0 !important;
}

.kgs-work-services h2 {
    color: #07345d;
}

.kgs-work-kicker {
    color: #ef523f;
    font-family: "Courier New", monospace;
}

.kgs-work-card {
    background: #f7f0e3 !important;

    border: 1px solid #d8c9b2;

    box-shadow:
        5px 6px 0 rgba(7, 52, 93, .06);
}

.kgs-work-card h3 {
    color: #07345d;
}

.kgs-card-number {
    color: #ef523f !important;
    font-family: "Courier New", monospace;
}

.kgs-work-card-odd {
    background: #07345d !important;
    color: #fffaf0 !important;
}

.kgs-work-card-odd h3 {
    color: #fffaf0 !important;
}

.kgs-work-card-odd .kgs-card-number {
    color: #ef523f !important;
}


/* =========================================================
   FIELD NOTES
========================================================= */

.kgs-work-checklist-section {
    background: #eadcc7 !important;
}

.kgs-work-checklist {
    background: #fffaf0 !important;

    border: 1px solid #d8c9b2;

    box-shadow:
        12px 14px 0 rgba(7, 52, 93, .08);
}

.kgs-work-checklist::before {
    border-left-color: rgba(239, 82, 63, .25);
}

.kgs-checklist-heading h2 {
    color: #07345d;
}

.kgs-checklist-big strong {
    color: #ef523f;
}


/* =========================================================
   STORY FIRST
========================================================= */

.kgs-work-story {
    background: #07345d !important;
    color: #fffaf0 !important;
}

.kgs-work-story h2 {
    color: #fffaf0 !important;
}

.kgs-work-story-copy {
    color: #fffaf0;
}

body.page .kgs-work-story .kgs-stamp {
    color: #fffaf0 !important;
    border-color: #fffaf0 !important;
    background: transparent !important;
}


/* =========================================================
   THIS MIGHT SOUND WEIRD...
========================================================= */

.kgs-work-weird {
    background: #ef523f !important;
    color: #fffaf0;
}

.kgs-work-weird h2 {
    color: #fffaf0 !important;
    font-family: "Courier New", monospace;
}

.kgs-work-weird p {
    font-family: "Courier New", monospace;
}


/* =========================================================
   CONTACT
========================================================= */

.kgs-work-contact {
    background: #f7f0e3 !important;
}

.kgs-work-contact h2 {
    color: #07345d;
}

.kgs-work-form {
    background: #fffaf0 !important;

    border: 1px solid #d8c9b2;

    box-shadow:
        7px 8px 0 rgba(7, 52, 93, .06);
}

.kgs-work-form input:not([type="submit"]),
.kgs-work-form textarea,
.kgs-work-form select {
    background: #fffdf8;
    border: 1px solid #d8c9b2;
    color: #182331;
}

.kgs-work-form button,
.kgs-work-form input[type="submit"] {
    background: #ef523f !important;
    color: #fffaf0 !important;

    font-family: "Courier New", monospace;
    text-transform: uppercase;
    letter-spacing: .06em;
}


/* =========================================================
   TYPOGRAPHY PERSONALITY
========================================================= */

.kgs-work-page h2,
.kgs-work-page h3 {
    font-family: Georgia, "Times New Roman", serif;
}

.kgs-work-page .kgs-work-kicker,
.kgs-work-page .kgs-work-eyebrow,
.kgs-work-page .kgs-card-number {
    font-family: "Courier New", monospace;
}

.kgs-work-bottom-note,
.kgs-checklist-footer {
    color: #07345d;
}


/* =========================================================
   SMALL TRAVEL-JOURNAL DETAILS
========================================================= */

.kgs-work-card::after {
    content: "";
    position: absolute;
    width: 32px;
    height: 10px;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);

    background: rgba(216, 201, 178, .65);
}

.kgs-work-card-odd::after {
    background: rgba(255, 250, 240, .28);
}
/* =========================================================
   WORK WITH KIM - EMAIL CONTACT
========================================================= */

.kgs-work-email-area {
    margin: 42px 0 25px;
}

.kgs-work-email-button {
    display: inline-block;

    background: #ef523f;
    color: #fffaf0 !important;

    padding: 17px 30px;

    border: 2px solid #ef523f;

    font-family: "Courier New", monospace;
    font-size: .9rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .09em;

    text-decoration: none;

    box-shadow: 4px 5px 0 rgba(7, 52, 93, .12);

    transform: rotate(-1deg);

    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease;
}

.kgs-work-email-button:hover {
    background: #07345d;
    border-color: #07345d;
    color: #fffaf0 !important;

    transform: rotate(0deg) translateY(-2px);
}

.kgs-work-email-address {
    margin-top: 18px;

    font-family: "Courier New", monospace;
    font-size: .9rem;
}

.kgs-work-email-address a {
    color: #07345d;
    text-decoration: underline;
    text-decoration-color: #ef523f;
    text-underline-offset: 4px;
}

.kgs-work-email-address a:hover {
    color: #ef523f;
}
.kgs-hero .kgs-stamp {
    font: 700 1.6rem/1.1 "Courier New", monospace !important;
    padding: 18px 26px !important;
    border-width: 4px !important;
    top: 22px !important;
    left: -10px !important;
    z-index: 10 !important;
}/* KIM WENT SOMEWHERE PHOTO STAMP */

.kgs-hero .kgs-stamp {
    font: 700 1.6rem/1.1 "Courier New", monospace !important;
    padding: 18px 26px !important;

    background: rgba(255, 250, 240, .94) !important;

    color: #c62828 !important;
    border: 4px solid #c62828 !important;

    top: 22px !important;
    left: -10px !important;

    transform: rotate(-5deg);

    box-shadow: 0 4px 0 rgba(198, 40, 40, .18);

    z-index: 10 !important;
}/* =========================================================
   KIM GOES SOMEWHERE - TRAVEL EVIDENCE GALLERY
========================================================= */

/* Overall gallery spacing */
.wp-block-gallery {
    gap: 22px !important;
    margin: 42px 0 55px;
    align-items: start;
}

/* Each gallery image becomes a little travel-journal print */
.wp-block-gallery .wp-block-image {
    position: relative;
    background: #fffaf0;
    padding: 10px 10px 18px;
    border: 1px solid #d8c9b2;
    box-shadow: 5px 7px 0 rgba(7, 52, 93, .08);
    overflow: visible !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

/* Slightly imperfect rotations */
.wp-block-gallery .wp-block-image:nth-child(4n+1) {
    transform: rotate(-1.2deg);
}

.wp-block-gallery .wp-block-image:nth-child(4n+2) {
    transform: rotate(.8deg);
}

.wp-block-gallery .wp-block-image:nth-child(4n+3) {
    transform: rotate(-.5deg);
}

.wp-block-gallery .wp-block-image:nth-child(4n+4) {
    transform: rotate(1.1deg);
}

/* Gentle hover */
.wp-block-gallery .wp-block-image:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 7px 10px 0 rgba(7, 52, 93, .12);
    z-index: 3;
}

/* Photos */
.wp-block-gallery .wp-block-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Captions */
.wp-block-gallery .wp-block-image figcaption {
    position: static !important;
    background: transparent !important;
    color: #182331 !important;

    padding: 12px 4px 0 !important;
    margin: 0 !important;

    font-family: "Courier New", monospace;
    font-size: .78rem;
    line-height: 1.4;
    text-align: left;

    text-transform: none;
}

/* Remove WordPress caption gradients */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    background: none !important;
}

/* =========================================================
   OPTIONAL GALLERY TITLE / FIELD NOTE
========================================================= */

.kgs-gallery-heading {
    margin: 55px 0 28px;
}

.kgs-gallery-heading .kgs-gallery-kicker {
    display: inline-block;
    margin-bottom: 10px;

    font-family: "Courier New", monospace;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;

    color: #ef523f;

    text-transform: uppercase;
}

.kgs-gallery-heading h2 {
    margin: 0 0 10px;

    color: #07345d;

    font-family: "Courier New", monospace;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1;
}

.kgs-gallery-heading p {
    margin: 0;
    max-width: 700px;

    color: #736b61;
    font-size: 1rem;
}


/* =========================================================
   OPTIONAL PHOTO STAMP
========================================================= */

/* Add class "kgs-gallery-stamped" to an individual image block */
.wp-block-gallery .wp-block-image.kgs-gallery-stamped::after {
    content: "KIM WENT SOMEWHERE";

    position: absolute;
    top: 16px;
    left: -12px;

    padding: 8px 12px;

    background: rgba(255, 250, 240, .95);

    color: #c62828;
    border: 3px solid #c62828;

    font-family: "Courier New", monospace;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;

    letter-spacing: .06em;
    text-transform: uppercase;

    transform: rotate(-6deg);

    box-shadow: 0 3px 0 rgba(198, 40, 40, .16);

    z-index: 5;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .wp-block-gallery {
        gap: 18px !important;
    }

    .wp-block-gallery .wp-block-image {
        transform: none !important;
    }

    .wp-block-gallery .wp-block-image:hover {
        transform: translateY(-2px) !important;
    }

}/* =========================================================
   KIM GOES SOMEWHERE
   END-OF-POST FIELD REPORT
   ========================================================= */

.kgs-field-report {
    position: relative;
    margin: 60px auto 35px;
    padding: 38px 42px;
    max-width: 780px;

    background: #fffaf0;
    color: #182331;

    border: 1px solid #d8c9b2;
    border-radius: 2px;

    box-shadow:
        0 3px 8px rgba(24, 35, 49, 0.08),
        5px 7px 0 rgba(216, 201, 178, 0.25);

    font-family: Georgia, "Times New Roman", serif;
}


/* Slightly imperfect journal border */

.kgs-field-report::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px dashed #d8c9b2;
    pointer-events: none;
}


/* Section headings */

.kgs-field-report h2,
.kgs-field-report h3 {
    color: #07345d;
    font-family: "Courier New", monospace;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 32px;
    margin-bottom: 15px;
}


/* Main Field Report heading */

.kgs-field-report .kgs-report-title {
    display: inline-block;

    color: #ef523f;
    border: 3px solid #ef523f;

    padding: 8px 13px;
    margin-top: 0;

    transform: rotate(-1.5deg);

    font-family: "Courier New", monospace;
    font-weight: 700;
    letter-spacing: 0.06em;

    background: rgba(255, 250, 240, 0.92);
}


/* Journal divider */

.kgs-field-report hr {
    border: 0;
    border-top: 2px dotted #d8c9b2;
    margin: 32px 0;
}


/* Links */

.kgs-field-report a {
    color: #07345d;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.kgs-field-report a:hover {
    color: #ef523f;
}


/* Buttons */

.kgs-field-report .wp-block-button__link {
    background: #07345d;
    color: #fffaf0;

    border-radius: 2px;
    padding: 11px 18px;

    font-family: "Courier New", monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;

    box-shadow: 3px 3px 0 #ef523f;
}

.kgs-field-report .wp-block-button__link:hover {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 #ef523f;
}


/* Somewhere is always next */

.kgs-field-report .kgs-somewhere-next {
    margin-top: 35px;
    text-align: center;

    color: #ef523f;

    font-family: "Courier New", monospace;
    font-weight: 700;
    font-size: 1.05rem;

    transform: rotate(-1deg);
}


/* Mobile */

@media (max-width: 650px) {

    .kgs-field-report {
        margin: 40px 10px 25px;
        padding: 30px 24px;
    }

    .kgs-field-report .kgs-report-title {
        font-size: 1rem;
}/* =========================================================
   KIM GOES SOMEWHERE - FIELD REPORT STAMP
   ========================================================= */

.kgs-field-stamp {
    display: inline-block;
    width: auto;
    margin: 5px 0 25px 0;
    padding: 10px 18px;

    color: #ef523f;
    background: #fffaf0;

    border: 3px double #ef523f;

    font-family: "Courier New", monospace;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;

    transform: rotate(-3deg);

    box-shadow: 2px 2px 0 rgba(239, 82, 63, 0.12);
}