/* ============================================
   Kristen Sarzaba — Content Strategist
   Palette: beige base + dark aqua + coral pop
   ============================================ */

:root {
  --beige-50: #faf6f0;
  --beige-100: #f3ece0;
  --beige-200: #e8dccb;
  --beige-300: #d8c8b1;
  --ink: #1a2828;
  --ink-soft: #3a4a4a;
  --aqua-900: #0e3b3b;
  --aqua-700: #155454;
  --aqua-500: #1f7373;
  --aqua-300: #6fa8a8;
  --coral: #ef6a5a;
  --coral-soft: #f9a99c;
  --white: #ffffff;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 10px rgba(14, 59, 59, 0.06);
  --shadow-md: 0 10px 30px rgba(14, 59, 59, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 59, 59, 0.12);

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --transition: 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--beige-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

::selection {
  background: var(--coral);
  color: var(--beige-50);
}

a {
  color: var(--aqua-700);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--coral); }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--aqua-900);
  color: var(--white);
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--aqua-900);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.9rem, 2.5vw + 1rem, 2.8rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--aqua-500);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .eyebrow-num {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--coral);
  font-size: 0.95rem;
  font-weight: 500;
}
.eyebrow .eyebrow-num::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--coral);
  vertical-align: middle;
  margin: 0 0 3px 8px;
  opacity: 0.6;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 640px;
}

.accent { color: var(--coral); font-style: italic; }

.inline-link {
  color: var(--coral);
  font-weight: 600;
  position: relative;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  padding-bottom: 2px;
  transition: background-size 0.4s cubic-bezier(0.65, 0, 0.35, 1), color var(--transition);
}
.inline-link:hover { background-size: 100% 1.5px; color: var(--coral); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              background-color 0.35s ease,
              color 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}
.btn:focus-visible { outline-offset: 4px; }

.btn-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn-primary {
  background: var(--aqua-900);
  color: var(--beige-50);
  border-color: var(--aqua-900);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset;
}
.btn-primary:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(239, 106, 90, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--aqua-900);
  border-color: var(--aqua-900);
}
.btn-ghost:hover {
  background: var(--aqua-900);
  color: var(--beige-50);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 59, 59, 0.18);
}

.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background-color var(--transition);
}
.site-header.scrolled {
  border-bottom-color: var(--beige-200);
  background: rgba(250, 246, 240, 0.95);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  color: var(--aqua-900);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--coral); }

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--coral), var(--aqua-700) 80%);
  box-shadow: inset 0 0 0 2px var(--beige-50);
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}
.primary-nav a {
  display: inline-block;
  padding: 9px 14px;
  color: var(--aqua-900);
  font-weight: 500;
  border-radius: 8px;
  transition: background-color var(--transition), color var(--transition);
}
.primary-nav a:hover { background: var(--beige-200); color: var(--aqua-900); }
.primary-nav .nav-cta {
  background: var(--aqua-900);
  color: var(--beige-50);
  padding: 10px 18px;
  border-radius: 8px;
}
.primary-nav .nav-cta:hover { background: var(--coral); color: var(--white); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--aqua-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-title { margin-top: 0; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  background: var(--white);
  border: 1px solid var(--beige-200);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--aqua-900);
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(14, 59, 59, 0.04);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  position: relative;
  flex-shrink: 0;
}
.status-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.35;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.4; }
  100% { transform: scale(2.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .status-dot::before { animation: none; }
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
  min-height: 460px;
  width: 460px;
  max-width: 100%;
  margin-left: auto;
}

.hero-card {
  position: absolute;
  background: var(--white);
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 260px;
  border: 1px solid var(--beige-200);
  z-index: 2;
}
.hero-card p {
  font-family: var(--font-serif);
  color: var(--aqua-900);
  font-size: 1.05rem;
  margin: 8px 0 0;
  line-height: 1.35;
}

.hero-card-1 { top: 10px; left: 0; transform: rotate(-3deg); animation: float 7s ease-in-out infinite; }
.hero-card-2 { top: 160px; right: 0; transform: rotate(2deg); animation: float 8s ease-in-out infinite 1s; }
.hero-card-3 { bottom: -10px; left: 10px; transform: rotate(-1deg); animation: float 9s ease-in-out infinite 0.5s; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* ---------- Hero arcs ---------- */

.hero-arc {
  position: absolute;
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 7 9;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9));
}
.hero-arc .arc-head {
  stroke-dasharray: none;
  stroke-width: 3.5;
}
/* Arc 1: from right edge of Discovery (top-left card) down to top of Strategy (mid-right card) */
.hero-arc-1 {
  top: 50px;
  left: 255px;
  width: 180px;
  height: 120px;
  stroke: var(--coral);
  opacity: 1;
}
/* Arc 2: from left edge of Strategy (mid-right card) down to above Execution (bottom-left card) */
.hero-arc-2 {
  top: 195px;
  left: 80px;
  width: 140px;
  height: 175px;
  stroke: var(--coral);
  opacity: 1;
}

.tag {
  display: inline-block;
  background: var(--aqua-900);
  color: var(--beige-50);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.tag-coral { background: var(--coral); }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: -1;
}
.blob-1 {
  width: 320px; height: 320px;
  background: var(--coral-soft);
  top: -60px; right: -40px;
}
.blob-2 {
  width: 280px; height: 280px;
  background: var(--aqua-300);
  bottom: -40px; left: -40px;
}

/* ---------- Section base ---------- */

.section { padding: 100px 0; position: relative; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .eyebrow,
.about-copy .eyebrow,
.contact-intro .eyebrow {
  font-size: 1rem;
  letter-spacing: 0.22em;
  margin-bottom: 1.4rem;
}

/* ---------- Services ---------- */

.services { background: var(--beige-100); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--beige-200);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.5s ease,
              border-color 0.5s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px rgba(14, 59, 59, 0.10);
  border-color: rgba(31, 115, 115, 0.35);
}

.service-card-feature {
  background: var(--aqua-900);
  color: var(--beige-100);
  border-color: var(--aqua-900);
}
.service-card-feature h3 { color: var(--beige-50); }
.service-card-feature .service-num { color: var(--coral-soft); }
.service-card-feature .service-list li { color: var(--beige-200); }
.service-card-feature .service-list li::before { background: var(--coral); }

.service-num {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--coral);
  margin-bottom: 14px;
  font-weight: 600;
}

.service-tagline {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  color: var(--coral);
  line-height: 1.3;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.service-card-feature .service-tagline { color: var(--coral-soft); }

.service-bestfor {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--beige-200);
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.service-bestfor strong {
  color: var(--aqua-900);
  font-weight: 600;
}
.service-card-feature .service-bestfor {
  border-top-color: rgba(243, 236, 224, 0.18);
  color: var(--beige-200);
}
.service-card-feature .service-bestfor strong { color: var(--beige-50); }

.service-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--aqua-500);
  border-radius: 2px;
}

.service-note {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--aqua-300);
}
.service-note p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }
.service-note strong { color: var(--aqua-900); }

/* ---------- Work ---------- */

.client-strip {
  margin-bottom: 56px;
}
.client-strip-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua-500);
  margin-bottom: 18px;
}
.marquee {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--beige-200);
  border-bottom: 1px solid var(--beige-200);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--aqua-900);
  letter-spacing: -0.015em;
}
.marquee-track span { white-space: nowrap; }
.marquee-track em {
  font-style: italic;
  color: var(--coral);
}
.marquee-track .marquee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  appearance: none;
  font: inherit;
  text-align: left;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--beige-200);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}
.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 32px 60px rgba(14, 59, 59, 0.11);
  border-color: rgba(31, 115, 115, 0.3);
  outline: none;
}

.project-visual {
  min-height: 200px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.project-teaser {
  font-size: 0.97rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.5;
}
.project-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-top: auto;
}
.project-card .project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ---------- Work modal ---------- */

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}
.work-modal[hidden] { display: none; }
.work-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 59, 59, 0.18);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: auto;
}
.work-modal.is-open { pointer-events: auto; }
.work-modal.is-open::before { opacity: 1; }

.work-modal-panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--beige-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(14, 59, 59, 0.22);
  padding: 36px 36px 30px;
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  transform: translateY(8px) scale(0.98);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.work-modal.is-open .work-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.work-modal-panel h3 {
  margin: 4px 0 10px;
  font-size: 1.6rem;
}
.work-modal-panel .modal-subhead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--coral);
  margin: 0 0 20px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.work-modal-panel p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
  line-height: 1.55;
}
.work-modal-panel strong { color: var(--aqua-900); }
.work-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--aqua-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-modal-close:hover,
.work-modal-close:focus-visible {
  background: var(--beige-100);
  outline: none;
}

.project-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.project-card:hover .project-img { transform: scale(1.03); }

.project-placeholder {
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.project-placeholder span {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
  z-index: 2;
}
.project-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 50%);
}
.placeholder-1 { background: linear-gradient(135deg, var(--aqua-900), var(--aqua-500)); }
.placeholder-2 { background: linear-gradient(135deg, var(--coral), #d44a3d); }
.placeholder-3 { background: linear-gradient(135deg, var(--aqua-900), var(--aqua-500)); }

.project-body { padding: 36px 38px; }
.project-meta {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua-500);
  font-weight: 600;
  margin-bottom: 12px;
}
.project-body h3 { margin-bottom: 16px; }
.project-body p { font-size: 0.97rem; color: var(--ink-soft); margin-bottom: 10px; }
.project-body strong { color: var(--aqua-900); }

/* ---------- About ---------- */

.about { background: var(--beige-100); }

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.about-visual { position: relative; }

.headshot-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--aqua-700), var(--coral-soft));
  box-shadow: var(--shadow-lg);
}
.headshot-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.headshot-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--beige-50);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.headshot-wrap img + .headshot-fallback { display: none; }
.headshot-wrap.no-image .headshot-fallback { display: flex; }

.about-badge {
  position: absolute;
  bottom: -22px;
  right: -10px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--coral);
}
.about-badge span:first-child { color: var(--aqua-900); font-weight: 600; }

.about-cta { margin-top: 24px; }

/* ---------- Contact ---------- */

.contact { background: var(--aqua-900); color: var(--beige-100); }
.contact h2 { color: var(--beige-50); }
.contact .eyebrow { color: var(--coral-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-intro p { color: var(--beige-200); }
.contact-meta { font-size: 0.95rem; margin-top: 1.5rem; }
.contact-intro .inline-link { color: var(--coral-soft); }
.contact-intro .inline-link:hover { color: var(--coral); }

.contact-form {
  background: var(--beige-50);
  padding: 36px;
  border-radius: var(--radius-xl);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: 0 !important;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--aqua-900);
}
.optional { color: var(--ink-soft); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--beige-300);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--aqua-700);
  outline: none;
  box-shadow: 0 0 0 4px rgba(31, 115, 115, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }

.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--coral); }

.form-status { margin: 0; font-size: 0.92rem; min-height: 1.2em; }
.form-status.success { color: var(--aqua-700); font-weight: 600; }
.form-status.error { color: var(--coral); font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--beige-100);
  padding: 56px 0 32px;
  border-top: 1px solid var(--beige-200);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--aqua-900);
  font-weight: 600;
  margin: 0 0 4px;
}
.footer-title { color: var(--ink-soft); margin: 0; }

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a { color: var(--aqua-900); }

.footer-meta { font-size: 0.9rem; }
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--aqua-900);
}
.footer-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: color var(--transition);
}
.footer-link:hover .footer-icon { color: var(--coral); }
.footer-legal {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-legal a { color: var(--ink-soft); }
.footer-legal a:hover { color: var(--coral); }
.copyright { margin: 0; color: var(--ink-soft); font-size: 0.85rem; }

.footer-credit {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.72rem;
  color: var(--ink-soft);
  opacity: 0.72;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}
.footer-credit:hover,
.footer-credit:focus-visible { color: var(--coral); opacity: 1; }

/* ---------- Legal pages ---------- */

.legal-main { padding: 56px 0 80px; }

.legal-container {
  max-width: 760px;
}

.legal-back {
  margin: 0 0 24px;
  font-size: 0.92rem;
}

.legal-head {
  border-bottom: 1px solid var(--beige-200);
  padding-bottom: 24px;
  margin-bottom: 36px;
}
.legal-head h1 {
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  margin: 0 0 12px;
}
.legal-updated {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.legal-toc {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--aqua-500);
}

.legal-body {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal-body h2 {
  font-size: 1.5rem;
  margin: 2.2rem 0 0.6rem;
  color: var(--aqua-900);
}
.legal-body h3 {
  font-size: 1.15rem;
  margin: 1.8rem 0 0.5rem;
  color: var(--aqua-900);
}
.legal-body p { margin: 0 0 1em; }
.legal-body ul {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}
.legal-body li { margin-bottom: 0.4em; }
.legal-body a {
  color: var(--aqua-700);
  border-bottom: 1px solid var(--beige-300);
  transition: color var(--transition), border-color var(--transition);
}
.legal-body a:hover {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

.legal-h1 {
  font-size: clamp(1.7rem, 2vw + 1rem, 2.2rem);
  margin: 0;
}
.legal-section-head { margin-bottom: 20px; }
.legal-section-head .eyebrow { margin-bottom: 8px; }

.legal-divider {
  border: 0;
  height: 1px;
  background: var(--beige-200);
  margin: 56px 0;
}

/* anchor offset so sticky header doesn't cover section starts */
.legal-body[id],
.legal-page [id] {
  scroll-margin-top: 90px;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-visual { min-height: 380px; max-width: 460px; margin: 0 auto; width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: 28px 0 56px; }

  .nav-wrap { padding-top: 14px; padding-bottom: 14px; }
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--beige-50);
    border-bottom: 1px solid var(--beige-200);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .primary-nav.open { max-height: 420px; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
  }
  .primary-nav a {
    display: block;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    min-height: 44px;
  }
  .primary-nav .nav-cta { text-align: center; margin-top: 6px; }

  .hero-sub { font-size: 1.05rem; }

  .hero-visual { min-height: 320px; max-width: 100%; }
  .hero-card {
    max-width: 200px;
    padding: 16px 18px;
  }
  .hero-card p { font-size: 0.98rem; }
  .hero-card-1 { top: 0; left: 0; }
  .hero-card-2 { top: 130px; right: 0; }
  .hero-card-3 { bottom: 10px; left: 20px; }
  .hero-arc { display: none; }

  .service-card { padding: 28px 24px; }
  .service-note { padding: 22px 24px; }

  .client-strip { padding: 14px 18px; margin-bottom: 36px; }
  .client-strip li::before { margin-right: 14px; }

  .project-visual { min-height: 200px; }
  .project-placeholder { min-height: 200px; }
  .project-placeholder span { font-size: 1.4rem; }
  .project-img { min-height: 200px; }
  .project-body { padding: 26px 22px; }

  .about-grid { gap: 64px; }
  .headshot-wrap { max-width: 320px; margin: 0 auto; }
  .about-badge {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: -22px;
    width: max-content;
    max-width: 90%;
    text-align: center;
    align-items: center;
  }

  .contact-grid { gap: 40px; }
  .contact-form { padding: 24px 20px; gap: 16px; }
  .field input,
  .field select,
  .field textarea { font-size: 16px; /* prevents iOS zoom on focus */ }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .footer-legal { gap: 8px 16px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 1.9rem); }

  .brand-name { font-size: 1rem; }
  .brand-mark { width: 22px; height: 22px; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; padding: 14px 22px; }

  .hero-visual { min-height: 280px; }
  .hero-card { max-width: 180px; padding: 14px 16px; }
  .hero-card p { font-size: 0.92rem; }
  .hero-card-1 { left: -4px; }
  .hero-card-2 { top: 110px; right: -4px; }
  .hero-card-3 { bottom: 0; left: 10px; }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }

  .service-card { padding: 24px 20px; }
  .project-body { padding: 22px 20px; }
  .project-body h3 { font-size: 1.2rem; }

  .about-grid { gap: 52px; }
  .about-badge { font-size: 0.8rem; padding: 12px 16px; }

  .contact-form { padding: 22px 18px; border-radius: var(--radius-md); }

  .legal-main { padding: 40px 0 64px; }
  .legal-body { font-size: 0.98rem; }
  .legal-body h2 { font-size: 1.3rem; }
  .legal-body h3 { font-size: 1.08rem; }
  .legal-divider { margin: 44px 0; }
}
