:root {
  --ink: #103f50;
  --muted: #31525a;
  --paper: #fcf7ee;
  --line: #cbbfb0;
  --sea: #075b60;
  --foam: #f5e9d4;
  --coral: #f57756;
  --lagoon: #62b9af;
  --serif: 'DM Serif Text', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #b75030; outline-offset: 4px; }
.container { width: min(1240px, 89%); margin-inline: auto; }
.skip-link { position: absolute; top: -6rem; left: 1rem; z-index: 9; padding: .6rem 1rem; background: white; }
.skip-link:focus { top: .5rem; }
.masthead { border-bottom: 1px solid var(--line); }
.nav-inner, .footer-inner, .footer nav, .nav-links { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.nav-inner { min-height: 82px; }
.logo { width: 174px; height: 52px; object-fit: contain; object-position: left center; }
.logo-link { margin-right: auto; }
.nav-links a, .nav-contact, .footer a { text-decoration: none; font-size: .9rem; font-weight: 600; }
.nav-links a:hover, .nav-links [aria-current], .footer a:hover { text-decoration: underline; }
.nav-contact { border: 1px solid var(--ink); border-radius: 100px; padding: .55rem 1.2rem; }
.nav-contact span { margin-left: .45rem; }
.nav-contact:hover { background: var(--ink); color: var(--paper); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.04; font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(3.8rem, 6.8vw, 7.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.65rem, 4.7vw, 5rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.8rem, 2.6vw, 2.9rem); letter-spacing: -.025em; }
p { max-width: 65ch; }
p + p { margin-top: 1em; }
.section, .page-intro, .closing-section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.eyebrow, .label, .section-kicker, .service-number, .service-meta, dt { font: 700 .74rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .13em; }
.eyebrow, .section-kicker { display: flex; gap: .65rem; align-items: center; margin-bottom: 1.4rem; }
.eyebrow::before, .section-kicker::before { content: ''; width: 1.5rem; height: 2px; background: currentColor; }
.hero-home { padding-block: clamp(2.5rem, 4.5vw, 5rem); }
.hero-grid, .intro-grid, .page-intro-grid, .campaign-grid, .service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.hero-grid { grid-template-columns: .94fr 1.06fr; }
.hero-copy > p:not(.eyebrow), .page-lede { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 43ch; }
.hero-copy h1 { margin-bottom: 1.3rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; }
.btn, #submit-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .85rem 1.25rem; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 100px; font: 600 .95rem/1.3 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover, #submit-btn:hover { background: var(--sea); }
.btn-outline { background: transparent; color: inherit; border-color: currentColor; }
.btn-outline:hover { color: white; }
.text-link { font-weight: 600; font-size: .93rem; }
.hero-art img, .work-art img, .campaign-art img, .campaign-social img { width: 100%; }
figcaption { font-size: .8rem; margin-top: .55rem; color: var(--muted); }
.section-intro { margin-bottom: 2.5rem; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: baseline; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.service-copy p, .process-item p, .principle p, .work-copy p, .service-detail p, .campaign-card p { margin-block: .75em; }
.process-grid, .principles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.process-item, .principle, .campaign-card { border-top: 1px solid var(--line); padding-block: 1.5rem; }
.service-detail { align-items: start; padding-block: 3rem; border-top: 1px solid var(--line); }
.page-intro, .closing-section { background: var(--foam); }
.closing-section .btn { margin-top: 1.5rem; }
.footer { background: var(--ink); color: var(--paper); padding-block: 2.6rem; }
.footer-inner { flex-wrap: wrap; justify-content: space-between; }
.footer small { color: #c2d0c6; }
.form-group { margin-bottom: 1rem; }
input, select, textarea { font: inherit; width: 100%; padding: .65rem .85rem; color: var(--ink); background: #fffefa; border: 1px solid #83948b; border-radius: 5px; }
textarea { resize: vertical; min-height: 9rem; }
label { display: block; margin-bottom: .35rem; font-weight: 600; }
.form-error, .field-error { color: #922d22; }
.form-success { color: #196344; }
@media(max-width: 760px) {
  .nav-inner { flex-wrap: wrap; padding-block: .7rem; gap: .45rem; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; padding-top: .45rem; border-top: 1px solid var(--line); }
  .nav-links a { padding: .45rem 0; }
  .logo { width: 145px; height: 44px; }
  .hero-grid, .intro-grid, .page-intro-grid, .campaign-grid, .service-detail, .process-grid, .principles-grid { grid-template-columns: 1fr; }
  .hero-art { margin-top: .25rem; }
  .section-intro { margin-bottom: 1.5rem; }
  .service-row { gap: .65rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer nav { flex-wrap: wrap; }
}
.section.section-intro { background: var(--foam); margin: 0; }
.intro-grid, .page-intro-grid { grid-template-columns: 1fr 2fr; align-items: start; }
.intro-grid h2 + p, .page-intro-grid h1 + p, .campaign-hero h1 + p, .campaign-grid h2 + p { margin-top: 1.25rem; }
.service-row { text-decoration: none; }
.service-row:hover { color: var(--sea); background: var(--foam); }
.service-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; }
.service-copy strong { font: 400 clamp(1.8rem, 3.2vw, 3.2rem)/1.1 var(--serif); }
.work-feature { display: block; background: var(--ink); color: var(--paper); }
.process-item h3, .principle h3, .service-detail h2 { margin-top: .7rem; }
.campaign-hero, .page-hero-contact { padding-block: 4rem 2rem; }
.campaign-hero h1 { max-width: 15ch; }
.campaign-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 1.5rem; }
.campaign-meta span { padding: .25rem .8rem; border: 1px solid var(--line); border-radius: 2rem; font-size: .85rem; }
.campaign-art { max-width: 850px; margin-inline: auto; }
.campaign-section:nth-of-type(even) { background: var(--foam); }
.campaign-card { padding: 2rem; background: var(--ink); color: var(--paper); }
.campaign-note { color: var(--muted); font-size: .88rem; }
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8%; align-items: start; }
.contact-info { padding: 2rem; background: var(--foam); }
.contact-info h2 { margin-bottom: 1rem; }
.page-hero-contact { background: var(--foam); }
.page-hero-contact p, #form-status:not(:empty) { margin-top: 1rem; }
.honey-wrap { position: absolute; left: -9999px; }
@media(max-width: 760px) {
  .intro-grid, .page-intro-grid, .contact-layout, .service-copy { grid-template-columns: 1fr; }
  .contact-layout { gap: 2rem; }
  .service-copy { gap: .3rem; }
}

/* Shared palette and homepage art direction */

body { background: var(--paper); }
.masthead { background: var(--foam); border: 0; }
.nav-inner { min-height: 88px; }
.logo { width: 220px; height: 64px; }
.nav-links a, .nav-contact { font-size: 1rem; }
.nav-contact { background: var(--ink); color: #fff8ed; border-radius: 7px; padding: .65rem 1.2rem; }
.nav-contact:hover { background: var(--sea); }
.mobile-nav { display: none; }
.btn, #submit-btn { background: var(--coral); color: #082f3d; border-color: var(--coral); border-radius: 8px; padding: 1rem 1.5rem; }
.btn:hover, #submit-btn:hover { background: #ff997d; border-color: #ff997d; }
.eyebrow { color: var(--sea); }
.eyebrow::before { display: none; }
.home-work .eyebrow::after, .home-services .eyebrow::after { content: ''; height: 1px; flex: 1; max-width: 9rem; background: var(--lagoon); }
.hero-home { position: relative; padding: 0; background: var(--ink); color: #fff6e9; overflow: hidden; }
.swell-seam { display: none; }
.swell-edge { position: absolute; z-index: 2; inset: auto 0 -1px; width: 100%; height: clamp(24px, 4.5vw, 80px); fill: var(--foam); pointer-events: none; }
.hero-grid { position: relative; display: block; min-height: clamp(475px, 41vw, 620px); }
.hero-copy { position: relative; z-index: 1; width: min(1240px, 89%); margin: auto; padding: clamp(2.25rem, 3.2vw, 4rem) 0 clamp(4rem, 5vw, 6rem); pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero-copy h1 { max-width: 6.8ch; font-size: clamp(4.4rem, 6.3vw, 7rem); line-height: .94; }
.hero-copy .eyebrow { color: #f7e9d9; }
.hero-copy > p:not(.eyebrow) { max-width: 24ch; color: #fff6e9; font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.35; }
.hero-art { position: absolute; inset: 0 0 0 30%; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(16,63,80,.9) 9%, transparent 35%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-work { background: var(--foam); padding: 1.4rem 0 1.8rem; }
.home-work-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.home-work h2 { max-width: 12ch; }
.home-work p:not(.eyebrow) { margin: 1.1rem 0; max-width: 36ch; font-size: 1.1rem; line-height: 1.4; }
.home-work .work-art img { width: 100%; }
.home-services { background: var(--foam); padding: 2rem 0 4rem; }
.home-services-grid { display: grid; grid-template-columns: .8fr 1.6fr; align-items: start; gap: 3rem; }
.home-services h2 { font-size: clamp(2.5rem, 3.5vw, 4rem); }
.home-service-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.home-service-list a { display: flex; gap: .8rem; padding: .3rem 1rem; text-decoration: none; border-left: 1px solid var(--line); line-height: 1.3; }
.home-service-list a:hover strong { text-decoration: underline; }
.home-service-list strong, .home-service-list small { display: block; }
.home-service-list small { font-size: .85rem; }
.home-service-icon { font: 400 2rem/1 var(--sans); }
.page-intro, .closing-section, .page-hero-contact, .contact-info, .section.section-intro, .campaign-section:nth-of-type(even) { background: var(--foam); }
@media (max-width: 760px) {
  .nav-inner { min-height: 72px; flex-wrap: nowrap; padding-block: .4rem; }
  .logo { width: 165px; height: 52px; }
  .nav-links, .nav-contact { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { list-style: none; display: grid; gap: 5px; cursor: pointer; padding: 12px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: 24px; height: 2px; background: var(--ink); }
  .mobile-nav nav { position: absolute; z-index: 5; right: 0; top: 100%; min-width: 190px; display: grid; background: var(--foam); box-shadow: 0 8px 16px #07354525; }
  .mobile-nav nav a { padding: .8rem 1.2rem; text-decoration: none; font-weight: 600; border-top: 1px solid var(--line); }
  .mobile-nav nav a:hover, .mobile-nav nav a[aria-current] { background: var(--paper); }
  .hero-grid { min-height: 0; }
  .hero-copy { width: 89%; padding: 2.5rem 0 3rem; }
  .hero-copy h1 { font-size: clamp(4.3rem, 15vw, 6rem); }
  .hero-copy > p:not(.eyebrow) { font-size: 1.1rem; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-art { position: relative; inset: auto; height: 250px; }
  .hero-art::after { display: none; }
  .swell-seam { display: block; position: absolute; inset: -1px 0 auto; width: 100%; height: 32px; fill: var(--ink); }
  .home-work { padding-top: 3rem; }
  .home-work-grid, .home-services-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .home-work h2 { font-size: 3rem; }
  .home-service-list { grid-template-columns: 1fr; }
  .home-service-list a { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0; }
  .home-service-icon { width: 2rem; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .home-services-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 400px) {
  h1, .hero-copy h1 { font-size: clamp(2.9rem, 15.5vw, 3.85rem); }
  h2 { font-size: clamp(2.35rem, 10vw, 2.65rem); }
  .page-intro-grid > *, .intro-grid > * { min-width: 0; overflow-wrap: break-word; }
}
