/* Tidewater: airy and coastal, Gilda Display over Work Sans (design A, chosen 2026-10-21). */
:root {
  --bg: #f7f9f9;
  --ink: #1e2b31;
  --soft: #5f6f75;
  --mist: #e4ecec;
  --sea: #4f7f7b;
  --sea-pale: #b8d3d0;
  --line: #cfdcdc;
  --danger: #a33a2c;
  --disp: "Gilda Display", Georgia, serif;
  --body: "Work Sans", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 16px/1.7 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--disp); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.narrow { max-width: 640px; }
.sec { padding-block: clamp(56px, 9vw, 110px); }
.sec.tight { padding-top: 0; }
/* The menu already gives breathing room, so pages start close beneath it. */
main > .sec:first-of-type { padding-top: 9px; } /* + the menu's 26px = a 35px gap */
.eyebrow { display: block; font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--sea); margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--soft); max-width: 62ch; line-height: 1.8; }
.muted { color: var(--soft); }
.small { font-size: 13px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Section and page headings: centered, eyebrow over a serif title. */
.sec-head { text-align: center; display: grid; justify-items: center; gap: 4px; margin-bottom: 44px; }
.sec-head h1, .sec-head h2 { margin: 0; }
.sec-head .lead { margin: 10px auto 0; }

/* Header */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 26px; }
.logo { font-family: var(--disp); font-size: 22px; letter-spacing: .02em; text-decoration: none; line-height: 1.1; }
.logo span { display: block; font-family: var(--body); font-size: 10px; letter-spacing: .35em; text-transform: uppercase; color: var(--soft); margin-top: 2px; }
.links { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.links a { text-decoration: none; padding-block: 4px; border-bottom: 1px solid transparent; }
.links a:hover, .links a.active { border-color: var(--sea); }

.btn { display: inline-block; font: 500 12px var(--body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 15px 28px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.fill { background: var(--ink); color: var(--bg); }
.btn.fill:hover { background: var(--sea); border-color: var(--sea); }
.btn.small { padding: 9px 14px; font-size: 11px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sec-head .actions, .hero-card .actions { justify-content: center; }

/* Home hero: full-width photo with a card overlapping its bottom edge. */
.hero img { width: 100%; height: clamp(340px, 62vw, 680px); object-fit: cover; object-position: 50% 60%; }
.hero-card { position: relative; margin: -110px auto 0; max-width: 640px; background: var(--bg); padding: 40px clamp(20px, 5vw, 56px) 34px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.hero-card h1 { margin: 0; line-height: 1.1; }
.hero-card p { margin: 0; color: var(--soft); line-height: 1.7; }
.hero-card .eyebrow { margin: 0; }

.quote { background: var(--mist); text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 760px; font-family: var(--disp); font-size: clamp(22px, 3.2vw, 32px); line-height: 1.4; }
.quote cite { display: block; margin-top: 18px; font: normal 12px var(--body); letter-spacing: .25em; text-transform: uppercase; color: var(--sea); }

/* Photo + text split, used for the about teaser. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.split img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split p { color: var(--soft); line-height: 1.8; max-width: 60ch; }

/* Gallery cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { text-decoration: none; display: grid; gap: 12px; align-content: start; }
.card .frame { overflow: hidden; aspect-ratio: 4 / 5; background: var(--mist); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover img { transform: scale(1.04); }
.card h3 { margin: 0; font-size: 20px; }
.card .eyebrow { margin: 0; color: var(--soft); letter-spacing: .2em; }

/* Session packages */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border: 1px solid var(--line); }
.package { padding: 34px 28px; display: grid; gap: 14px; align-content: start; border-right: 1px solid var(--line); }
.package:last-child { border-right: 0; }
.package.featured { background: var(--ink); color: var(--bg); }
.package.featured .btn { border-color: var(--bg); color: var(--bg); }
.package.featured .btn:hover { background: var(--bg); color: var(--ink); }
.package.featured .muted, .package.featured .eyebrow, .package.featured li { color: var(--sea-pale); }
.package h3 { margin: 0; font-size: 24px; }
.package .eyebrow { margin: 0; }
.package .price { font-family: var(--disp); font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.package p { margin: 0; }
.package ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; color: var(--soft); }
.package li::before { content: "—  "; color: var(--sea); }
.package.featured li::before { color: var(--sea-pale); }
.package .btn { justify-self: start; margin-top: 8px; }
.note { text-align: center; color: var(--soft); font-size: 14px; margin-top: 22px; }

.prose { max-width: 720px; }
.prose h2 { margin-top: 1.4em; font-size: 28px; }
.prose p { color: var(--soft); line-height: 1.8; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 72px); }
.two-col > * { min-width: 0; }
.faq dt { font-family: var(--disp); font-size: 19px; margin-top: 16px; }
.faq dd { margin: 2px 0 0; color: var(--soft); }

/* Forms */
.form { display: grid; gap: 18px; margin-top: 24px; }
.form .btn { justify-self: start; }
.field { display: grid; gap: 6px; }
.field label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
input, select, textarea { font: inherit; font-weight: 300; color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 12px 14px; width: 100%; border-radius: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--sea); outline: none; }
.error { color: var(--danger); font-size: 14px; margin: 0; }
.error-box { border: 1px solid var(--danger); color: var(--danger); padding: 12px 16px; margin-bottom: 20px; }
.error-box p { margin: 0; }
.flash { margin-top: 20px; padding: 12px 16px; background: var(--mist); border-left: 3px solid var(--sea); }
.flash-error { border-left-color: var(--danger); }
.hp { position: absolute; left: -9999px; }

/* Portfolio gallery */
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry a { display: block; margin-bottom: 14px; break-inside: avoid; }

/* Client gallery */
.select-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-block: 32px 140px; }
.select-grid.free { margin-bottom: 40px; }
.download-all { justify-content: center; margin-top: 28px; }
.download-all + .small { margin-top: 10px; }
.pick { position: relative; display: block; background: var(--mist); }
label.pick { cursor: pointer; }
.pick img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pick input { position: absolute; top: 10px; left: 10px; width: 22px; height: 22px; z-index: 1; accent-color: var(--sea); }
.pick:has(input:checked) { outline: 3px solid var(--sea); outline-offset: -3px; }
.pick .tools { position: absolute; inset: auto 8px 8px; display: flex; justify-content: flex-end; gap: 6px; }
.pick .tools a { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: rgba(247, 249, 249, .92); color: var(--ink); padding: 5px 9px; text-decoration: none; }
.pick .tools a:hover { background: var(--ink); color: var(--bg); }
.buy-bar { position: sticky; bottom: 0; background: var(--bg); border-top: 1px solid var(--line); padding-block: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.buy-fields { display: flex; gap: 8px; flex: 1 1 360px; min-width: 0; }
.buy-fields input { min-width: 0; }

.receipt { width: 100%; border-collapse: collapse; margin-block: 24px; }
.receipt td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.receipt .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 16px; }
.receipt .total td { font-weight: 500; border-bottom: 0; }
.downloads { list-style: none; padding: 0; display: grid; gap: 12px; }
.downloads li { display: flex; align-items: center; gap: 16px; }
.downloads img { width: 72px; height: 72px; object-fit: cover; }

.foot { border-top: 1px solid var(--line); padding-block: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--soft); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--sea); }

@media (max-width: 860px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split, .two-col { grid-template-columns: 1fr; }
  .package { border-right: 0; border-bottom: 1px solid var(--line); }
  .package:last-child { border-bottom: 0; }
  .buy-fields { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-card { margin-top: -60px; }
  .cards { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
