:root {
    --cream: #f7f2ea;
    --paper: #fffdf8;
    --linen: #e9dfd1;
    --sage: #747c63;
    --sage-dark: #59614c;
    --brown: #7b4f3b;
    --ink: #3f3a35;
    --muted: #756d65;
    --line: #d8cbbd;
    --shadow: 0 22px 60px rgba(63, 58, 53, .13);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Inter", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
}

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

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 10;
    padding: .75rem 1rem;
    background: var(--sage-dark);
    color: white;
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.narrow {
    width: min(800px, calc(100% - 40px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 253, 248, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 120px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: min(360px, 32vw);
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.site-nav a {
    color: var(--ink);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a[aria-current="page"] {
    color: var(--brown);
}

.site-nav .button {
    color: white;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    padding: .7rem .85rem;
    font: inherit;
}

.button,
.button-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .85rem 1.25rem;
    border: 1px solid var(--sage-dark);
    background: var(--sage-dark);
    color: white;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.button-small {
    min-height: 42px;
    padding: .72rem 1rem;
    font-size: .68rem;
}

.button-secondary {
    background: transparent;
    color: var(--sage-dark);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.centered {
    justify-content: center;
}

.hero {
    background:
        linear-gradient(90deg, rgba(247, 242, 234, .96) 0%, rgba(247, 242, 234, .86) 28%, rgba(247, 242, 234, .24) 52%, rgba(247, 242, 234, 0) 100%),
        url("../images/home-hero-background.png") center center / cover no-repeat;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(380px, 1.15fr);
    align-items: center;
    gap: 3rem;
    min-height: 600px;
    padding: 4rem 0;
}

.concept-hero {
    display: flex;
    align-items: center;
    min-height: 400px;
    padding: 0;
}

.hero-copy {
    max-width: 570px;
}

.concept-hero .hero-copy {
    max-width: 575px;
    padding: 3.2rem 0 3.2rem 2.8rem;
}

.eyebrow {
    margin: 0 0 .8rem;
    color: var(--brown);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.05;
}

h1 {
    font-size: clamp(2.85rem, 5vw, 4.25rem);
}

h1 em {
    display: block;
    font-style: italic;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
    font-size: 1.65rem;
}

p {
    margin: 1rem 0 0;
}

.lede {
    color: var(--muted);
    font-size: 1.13rem;
}

.section {
    padding: 5rem 0;
}

.intro-band,
.muted {
    background: var(--cream);
}

.home-intro {
    padding: 1.35rem 0 1.7rem;
    background: var(--paper);
    text-align: center;
}

.home-intro .eyebrow {
    margin-bottom: .4rem;
}

.home-intro h2 {
    font-size: clamp(1.9rem, 2.8vw, 2.6rem);
}

.home-services {
    padding: 0 0 2.75rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.service-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    max-width: 980px;
    background: transparent;
}

.service-tile {
    min-height: 0;
    border: 1px solid var(--line);
    background: var(--cream);
}

.service-tile.text-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    text-align: left;
}

.service-tile.text-tile::before {
    color: var(--sage);
    font-family: var(--serif);
    font-size: 1.7rem;
    font-style: italic;
    line-height: 1;
    margin-bottom: .9rem;
}

.service-tile.text-tile:nth-child(1)::before {
    content: "01";
}

.service-tile.text-tile:nth-child(2)::before {
    content: "02";
}

.service-tile.text-tile:nth-child(3)::before {
    content: "03";
}

.service-tile.text-tile:nth-child(4)::before {
    content: "04";
}

.service-tile h2 {
    font-family: var(--sans);
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.service-tile p {
    margin-top: 1rem;
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.65;
}

.home-proof {
    padding: 1.55rem 0 1.8rem;
    background:
        linear-gradient(rgba(255, 253, 248, .86), rgba(255, 253, 248, .86)),
        url("../images/home-hero-horse.png") center bottom / cover;
    border-bottom: 1px solid var(--line);
}

.proof-grid {
    display: grid;
    grid-template-columns: 3fr 5fr;
    gap: 4rem;
    align-items: center;
}

.trust-statement,
.soft-cta {
    max-width: 560px;
}

.trust-statement h2,
.soft-cta h2 {
    color: var(--sage-dark);
    font-size: clamp(1.9rem, 3vw, 2.65rem);
    font-style: italic;
    text-align: center;
}

.trust-statement p,
.soft-cta p {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.45rem;
    line-height: 1.4;
}

.soft-cta {
    justify-self: end;
}

.soft-cta p {
    text-align: center;
}

.soft-cta .button {
    margin-top: 1.4rem;
    width: 100%;
}

.service-preview,
.package-grid,
.portfolio-grid,
.resource-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.service-preview article,
.package-grid > div,
.portfolio-card,
.resource-grid article,
.contact-card,
.contact-grid > div {
    background: var(--paper);
    padding: 2.2rem;
}

.icon-circle {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1.2rem;
    border-radius: 50%;
    background: var(--sage);
    color: white;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.text-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--brown);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-decoration: none;
    text-transform: uppercase;
}

.split-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.split-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 4rem;
}

.about-intro-grid {
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 4.5rem;
}

.about-intro {
    padding-bottom: 2.75rem;
}

.about-portrait {
    padding: .85rem;
    background: var(--cream);
    border: 1px solid var(--line);
}

.about-portrait img {
    width: 100%;
    max-height: 620px;
    object-fit: contain;
}

.about-intro-copy h2 {
    margin-bottom: 1.4rem;
}

.cta-panel,
.package,
.process {
    padding: 3rem;
    background: var(--cream);
    border: 1px solid var(--line);
    text-align: center;
}

.page-hero {
    padding: 5.5rem 0 4rem;
    background: var(--cream);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2.75rem, 5.5vw, 4.6rem);
}

.page-hero p {
    color: var(--muted);
    font-size: 1.12rem;
}

.approach {
    background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
    padding: 3.75rem 0 5.25rem;
    border-top: 1px solid var(--line);
}

.approach .container {
    max-width: 1040px;
}

.approach-intro {
    max-width: 780px;
    margin: 0 0 3.75rem;
    text-align: left;
}

.approach-intro p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.75;
}

.approach-list {
    max-width: 920px;
    margin: 0;
    border-top: 1px solid var(--line);
}

.approach-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 3rem;
    padding: 2.75rem 0;
    border-bottom: 1px solid var(--line);
}

.approach-number {
    color: var(--sage);
    font-family: var(--serif);
    font-size: 1.9rem;
    font-style: italic;
    line-height: 1;
    padding-top: .25rem;
}

.approach-row > div {
    max-width: 760px;
}

.approach-row h3 {
    font-size: clamp(2rem, 3vw, 2.65rem);
}

.approach-row p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.package {
    text-align: left;
}

.package .lede {
    max-width: 760px;
}

.package-grid {
    margin-top: 2rem;
}

.primary-offer {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 4rem;
    align-items: start;
}

.primary-offer-copy {
    max-width: 680px;
}

.primary-offer-copy .button {
    margin-top: 2rem;
}

.best-for {
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.best-for strong {
    color: var(--brown);
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.included-panel {
    padding: 2.2rem;
    background: var(--cream);
    border: 1px solid var(--line);
}

.included-panel h3 {
    margin-bottom: 1.3rem;
}

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

.included-panel li {
    position: relative;
    padding: .95rem 0 .95rem 1.8rem;
    color: var(--muted);
    line-height: 1.55;
    border-top: 1px solid var(--line);
}

.included-panel li::before {
    content: "";
    position: absolute;
    top: 1.55rem;
    left: 0;
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: var(--sage);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.service-list article {
    padding: 1.6rem;
    background: var(--paper);
    border: 1px solid var(--line);
}

.process {
    text-align: center;
}

.process-intro {
    max-width: 820px;
    margin: 0 auto;
}

.process-intro > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.08rem;
}

.process ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    margin: 3rem 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.process li {
    padding: 1.8rem;
    background: var(--paper);
    border: 1px solid var(--line);
}

.process li span {
    display: block;
    margin-bottom: 1rem;
    color: var(--sage);
    font-family: var(--serif);
    font-size: 1.7rem;
    font-style: italic;
    line-height: 1;
}

.process li h3 {
    font-size: 1.75rem;
}

.process li p {
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.65;
}

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

.case-study {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.case-study-gallery {
    display: grid;
    gap: 1rem;
}

.case-study-media {
    margin: 0;
    padding: .75rem;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.case-study-main {
    padding: .85rem;
}

.case-study-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: top center;
}

.case-study-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.case-study-thumb {
    height: 220px;
    margin: 0;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(63, 58, 53, .08);
}

.case-study-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.case-study-content > p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.case-study-details {
    margin: 2rem 0;
    padding: 1.7rem;
    background: rgba(255, 255, 255, .58);
    border: 1px solid var(--line);
}

.case-study-details h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.case-study-details ul {
    display: grid;
    gap: .7rem;
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.case-study-cta {
    grid-column: 1 / -1;
    width: min(80%, 920px);
    margin: 1rem auto 0;
    padding: 2.35rem;
    background: var(--cream);
    border: 1px solid var(--line);
    text-align: center;
}

.case-study-cta h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.case-study-cta p {
    max-width: 620px;
    margin: 1rem auto 0;
    color: var(--muted);
}

.case-study-cta .button {
    margin-top: 1.6rem;
}

.portfolio-section-intro {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.portfolio-section-intro h2 {
    margin-bottom: 1rem;
}

.portfolio-section-intro p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

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

.portfolio-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    gap: 2rem;
    align-items: center;
}

.portfolio-card img {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
}

.portfolio-card.featured img {
    object-position: top center;
}

.portfolio-card:not(.featured) img {
    aspect-ratio: 4 / 3;
    margin: -2.2rem -2.2rem 1.6rem;
    max-width: calc(100% + 4.4rem);
    width: calc(100% + 4.4rem);
}

.portfolio-card h2 {
    font-size: 1.65rem;
}

.portfolio-card p {
    color: var(--muted);
}

.range-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.range-grid article {
    padding: 2.2rem;
    background: var(--paper);
}

.range-grid h3 {
    margin-bottom: .85rem;
}

.range-grid p {
    color: var(--muted);
    line-height: 1.65;
}

.category-grid {
    margin-top: 0;
}

.category-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.category-card h3 {
    max-width: 360px;
}

.category-card p {
    max-width: 520px;
}

.category-card .text-link {
    margin-top: auto;
    padding-top: 1.5rem;
}

.portfolio-starter-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.portfolio-starter-grid article {
    min-height: 220px;
    padding: 2.2rem;
    background: var(--paper);
}

.portfolio-starter-grid h3 {
    margin-bottom: .85rem;
}

.portfolio-starter-grid p {
    color: var(--muted);
    line-height: 1.65;
}

.article-hero {
    padding: 5.5rem 0 4.25rem;
    background: var(--cream);
    text-align: center;
}

.article-hero h1 {
    font-size: clamp(2.65rem, 5vw, 4.4rem);
}

.article-hero p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.12rem;
}

.article-section {
    background: var(--paper);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(280px, 360px);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

.article-content {
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-content > *:first-child {
    margin-top: 0;
}

.article-content h2 {
    margin-top: 2.5rem;
    font-size: clamp(2rem, 3vw, 2.65rem);
}

.article-content p,
.article-content li {
    color: var(--muted);
}

.article-content ul,
.article-content ol {
    margin: 1.1rem 0 0;
    padding-left: 1.35rem;
}

.article-sidebar {
    position: sticky;
    top: 150px;
    padding: 2rem;
    background: var(--cream);
    border: 1px solid var(--line);
}

.article-sidebar h2 {
    font-size: 2rem;
}

.article-sidebar p:not(.eyebrow) {
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.7;
}

.packaging-intro {
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.packaging-intro .portfolio-section-intro {
    margin-bottom: 0;
}

.packaging-project {
    padding: clamp(4rem, 8vw, 7rem) 0;
    border-top: 1px solid var(--line);
}

.packaging-project-saddle {
    background: var(--cream);
}

.packaging-project-layout {
    display: grid;
    grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}

.packaging-project-layout-reverse {
    grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
}

.packaging-project-layout-reverse .packaging-project-copy {
    grid-column: 2;
}

.packaging-project-layout-reverse .packaging-coffee-image {
    grid-column: 1;
    grid-row: 1;
}

.packaging-project-copy h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.4rem, 4vw, 3.5rem);
}

.packaging-project-copy > p {
    color: var(--muted);
    line-height: 1.75;
}

.packaging-project-copy .packaging-project-lede {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.35;
}

.packaging-services {
    margin-top: 2rem;
    padding-top: 1.7rem;
    border-top: 1px solid var(--line);
}

.packaging-services h3 {
    font-size: 1.35rem;
}

.packaging-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.packaging-gallery figure,
.packaging-coffee-image {
    margin: 0;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.packaging-gallery-feature {
    grid-column: 1 / -1;
}

.packaging-gallery img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.packaging-gallery-feature img {
    min-height: 0;
    aspect-ratio: 16 / 10;
}

.packaging-coffee-image {
    padding: clamp(.7rem, 1.5vw, 1rem);
}

.packaging-coffee-image img {
    width: 100%;
    height: auto;
}

.page-hero .hero-note {
    max-width: 700px;
    margin: 1.1rem auto 0;
    color: var(--sage-dark);
    font-size: .98rem;
}

.website-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.website-project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
}

.website-project-image {
    display: block;
    height: 330px;
    overflow: hidden;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

.website-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.website-project-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 2rem;
}

.website-project-content .eyebrow {
    line-height: 1.5;
}

.website-project-content h2 {
    font-size: 2rem;
}

.website-project-content p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.65;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: .38rem .62rem;
    background: var(--cream);
    border: 1px solid var(--line);
    color: var(--sage-dark);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.website-project-content .text-link {
    margin-top: auto;
    padding-top: 1.5rem;
}

.branding-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.branding-project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
}

.branding-logo-frame {
    display: grid;
    place-items: center;
    min-height: 250px;
    padding: 2rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

.branding-logo-frame img {
    width: auto;
    height: auto;
    max-width: min(100%, 420px);
    max-height: 190px;
    object-fit: contain;
}

.branding-project-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 2rem;
}

.branding-project-content .eyebrow {
    line-height: 1.5;
}

.branding-project-content h2 {
    font-size: 2rem;
    margin-bottom: .2rem;
}

.branding-project-content p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.65;
}

.branding-project-content .text-link {
    margin-top: auto;
    padding-top: 1.5rem;
}

.featured-branding {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    gap: 0;
}

.featured-branding .branding-project-content {
    justify-content: center;
}

.branding-logo-showcase {
    display: grid;
    gap: 1px;
    background: var(--line);
}

.branding-logo-showcase .main-logo {
    min-height: 360px;
}

.branding-logo-showcase .main-logo img {
    max-width: min(100%, 520px);
    max-height: 320px;
}

.branding-logo-variations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.branding-logo-variations .branding-logo-frame {
    min-height: 180px;
    padding: 1rem;
    border-bottom: 0;
}

.branding-logo-variations .branding-logo-frame img {
    max-width: min(100%, 220px);
    max-height: 150px;
}

.illustration-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.illustration-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
}

.illustration-card-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    align-items: stretch;
}

.illustration-card-reverse {
    grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
}

.illustration-card-reverse .illustration-image {
    order: 2;
}

.illustration-card-reverse .illustration-content {
    order: 1;
}

.illustration-image {
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 1.4rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

.illustration-card-wide .illustration-image {
    min-height: 380px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
}

.illustration-card-reverse .illustration-image {
    border-right: 0;
    border-left: 1px solid var(--line);
}

.illustration-image img {
    width: 100%;
    height: 100%;
    max-height: 330px;
    object-fit: contain;
    object-position: center;
}

.illustration-card-wide .illustration-image img {
    max-height: 360px;
}

.illustration-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.illustration-content .eyebrow {
    line-height: 1.5;
}

.illustration-content h2 {
    font-size: 2rem;
    margin-bottom: .2rem;
}

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

.illustration-cta {
    margin-inline: auto;
}

.portfolio-cta {
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.resource-grid article {
    min-height: 280px;
}

.contact-grid {
    grid-template-columns: .9fr 1.1fr;
}

.check-list {
    margin: 1.2rem 0 0;
    padding-left: 1.1rem;
}

.check-list li + li {
    margin-top: .7rem;
}

.site-footer {
    padding: 4rem 0 2rem;
    background: #3f4438;
    color: rgba(255, 255, 255, .82);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr 1fr;
    gap: 3rem;
}

.site-footer h2 {
    color: white;
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.site-footer a {
    display: block;
    margin-top: .55rem;
    color: white;
    text-decoration: none;
}

.footer-brand {
    color: white;
}

.footer-logo-link {
    display: inline-block;
    margin: 0 0 1.2rem;
}

.footer-logo {
    width: min(360px, 100%);
    height: auto;
}

.footer-mark {
    display: none;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: .88rem;
}

@media (min-width: 981px) and (max-width: 1280px) {
    .header-inner {
        gap: 1.2rem;
    }

    .brand-logo {
        width: min(320px, 27vw);
    }

    .site-nav {
        gap: 1rem;
    }

    .site-nav a {
        font-size: .72rem;
        letter-spacing: .11em;
    }

    .button-small {
        max-width: 190px;
        padding-left: .9rem;
        padding-right: .9rem;
    }

    .hero {
        background:
            linear-gradient(90deg, rgba(247, 242, 234, .99) 0%, rgba(247, 242, 234, .97) 42%, rgba(247, 242, 234, .86) 58%, rgba(247, 242, 234, .4) 76%, rgba(247, 242, 234, .08) 100%),
            url("../images/home-hero-background.png") 70% center / cover no-repeat;
    }

    .concept-hero .hero-copy {
        max-width: 575px;
        padding-left: 1.8rem;
    }

    .concept-hero .lede {
        max-width: 500px;
    }
}

@media (max-width: 980px) {
    .header-inner {
        align-items: flex-start;
        padding: 1rem 0;
        min-height: 88px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 88px;
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem;
        background: var(--paper);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero-grid,
    .split-grid,
    .case-study,
    .article-layout,
    .portfolio-card.featured,
    .contact-grid,
    .primary-offer,
    .packaging-project-layout,
    .packaging-project-layout-reverse,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .packaging-project-layout-reverse .packaging-project-copy,
    .packaging-project-layout-reverse .packaging-coffee-image {
        grid-column: auto;
        grid-row: auto;
    }

    .packaging-project-layout-reverse .packaging-project-copy {
        order: 1;
    }

    .packaging-project-layout-reverse .packaging-coffee-image {
        order: 2;
    }

    .primary-offer {
        gap: 2.5rem;
    }

    .case-study {
        gap: 2.25rem;
    }

    .article-layout {
        gap: 2.5rem;
    }

    .article-sidebar {
        position: static;
    }

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

    .portfolio-section-intro {
        margin-bottom: 2.25rem;
    }

    .about-intro-grid {
        gap: 2.5rem;
    }

    .about-intro {
        padding-bottom: 2.25rem;
    }

    .about-portrait {
        max-width: 460px;
        margin: 0 auto;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero {
        background:
            linear-gradient(90deg, rgba(247, 242, 234, .99) 0%, rgba(247, 242, 234, .96) 50%, rgba(247, 242, 234, .55) 72%, rgba(247, 242, 234, .16) 100%),
            url("../images/home-hero-background.png") 56% center / cover no-repeat;
    }

    .concept-hero {
        min-height: 500px;
    }

    .concept-hero .hero-copy {
        max-width: 470px;
        padding: 3rem 0;
    }

    .service-preview,
    .package-grid,
    .portfolio-grid,
    .resource-grid,
    .website-project-grid,
    .branding-project-grid,
    .illustration-grid,
    .process ol {
        grid-template-columns: 1fr 1fr;
    }

    .featured-branding,
    .illustration-card-wide,
    .illustration-card-reverse {
        grid-template-columns: 1fr;
    }

    .illustration-card-reverse .illustration-image,
    .illustration-card-reverse .illustration-content {
        order: initial;
    }

    .illustration-card-wide .illustration-image,
    .illustration-card-reverse .illustration-image {
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }

    .branding-logo-frame {
        min-height: 230px;
    }

    .branding-logo-frame img {
        max-width: min(100%, 380px);
        max-height: 180px;
    }

    .branding-logo-showcase .main-logo {
        min-height: 320px;
    }

    .branding-logo-showcase .main-logo img {
        max-width: min(100%, 480px);
        max-height: 280px;
    }

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

    .proof-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
        text-align: center;
    }

    .trust-statement,
    .soft-cta {
        justify-self: center;
        max-width: 620px;
    }
}

@media (max-width: 680px) {
    .container,
    .narrow {
        width: min(100% - 28px, 1160px);
    }

    .brand-logo {
        width: min(270px, 62vw);
    }

    .hero-grid {
        padding: 3rem 0;
    }

    .hero {
        background:
            linear-gradient(180deg, rgba(247, 242, 234, .98) 0%, rgba(247, 242, 234, .96) 52%, rgba(247, 242, 234, .42) 100%),
            url("../images/home-hero-background.png") 59% bottom / auto 58% no-repeat;
    }

    .concept-hero {
        min-height: 720px;
    }

    .concept-hero .hero-copy {
        padding: 3rem 0 16rem;
    }

    h1 {
        font-size: 2.75rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .service-preview,
    .package-grid,
    .portfolio-grid,
    .resource-grid,
    .service-list,
    .range-grid,
    .portfolio-starter-grid,
    .website-project-grid,
    .branding-project-grid,
    .illustration-grid,
    .service-strip,
    .process ol {
        grid-template-columns: 1fr;
    }

    .service-preview article,
    .package-grid > div,
    .portfolio-card,
    .resource-grid article,
    .contact-card,
    .contact-grid > div,
    .article-sidebar,
    .cta-panel,
    .package,
    .process {
        padding: 1.45rem;
    }

    .included-panel {
        padding: 1.6rem;
    }

    .process ol {
        gap: 1rem;
    }

    .process li {
        padding: 1.5rem;
    }

    .case-study-media {
        padding: .5rem;
    }

    .case-study-main {
        padding: .5rem;
    }

    .case-study-thumbs {
        gap: .75rem;
    }

    .case-study-thumb {
        height: 180px;
    }

    .case-study-cta {
        width: 100%;
        padding: 1.6rem;
    }

    .case-study-cta .button {
        width: 100%;
    }

    .packaging-project {
        padding: 3.75rem 0;
    }

    .packaging-gallery {
        gap: .7rem;
    }

    .packaging-gallery img {
        min-height: 145px;
    }

    .case-study-details,
    .range-grid article,
    .portfolio-starter-grid article {
        padding: 1.45rem;
    }

    .website-project-image {
        height: 260px;
    }

    .website-project-content {
        padding: 1.45rem;
    }

    .branding-logo-frame {
        min-height: 210px;
        padding: 1.45rem;
    }

    .branding-logo-frame img {
        max-width: min(100%, 320px);
        max-height: 150px;
    }

    .branding-project-content {
        padding: 1.45rem;
    }

    .branding-logo-showcase .main-logo {
        min-height: 260px;
    }

    .branding-logo-showcase .main-logo img {
        max-width: min(100%, 360px);
        max-height: 220px;
    }

    .branding-logo-variations {
        grid-template-columns: 1fr;
    }

    .branding-logo-variations .branding-logo-frame {
        min-height: 150px;
    }

    .branding-logo-variations .branding-logo-frame img {
        max-width: min(100%, 240px);
        max-height: 120px;
    }

    .illustration-image,
    .illustration-card-wide .illustration-image {
        min-height: 240px;
        padding: 1rem;
    }

    .illustration-image img,
    .illustration-card-wide .illustration-image img {
        max-height: 230px;
    }

    .illustration-content {
        padding: 1.45rem;
    }

    .approach-intro {
        margin-bottom: 2.5rem;
        text-align: left;
    }

    .approach {
        padding: 3rem 0 4rem;
    }

    .approach-row {
        grid-template-columns: 1fr;
        gap: .85rem;
        padding: 2rem 0;
    }

    .approach-number {
        font-size: 1.55rem;
        padding-top: 0;
    }

    .approach-row h3 {
        font-size: 2rem;
    }
}

.cta-panel a.button {
    margin-top: 40px;
}
