@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Public+Sans:wght@400;500;600&display=swap');

:root {
  --brand-blue: #0054a6;
  --ink: #0b2440;
  --foam: #f6f9fb;
  --foam-deep: #eaf1f5;
  --slate: #5c6b73;
  --brass: #c79a45;
  --border: #dbe4ea;
  --max: 72rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Public Sans', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--foam);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; font-family: 'Public Sans', sans-serif; }

p { margin: 0 0 1em; color: var(--ink); max-width: 38em; }

a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* wave-curve rule — the one repeating motif, echoing the wordmark */
.wave-rule {
  width: 3.5rem;
  height: 10px;
  margin: 0 0 1.5rem;
  background: none;
}
.wave-rule svg { width: 100%; height: 100%; display: block; }

/* header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--foam);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-header img.logo { height: 34px; width: auto; display: block; }
.site-nav { display: flex; gap: 1.75rem; align-items: center; }
.site-nav a {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
}
.site-nav a.current { color: var(--brand-blue); }
.site-nav a:hover { text-decoration: none; color: var(--brand-blue); }

.nav-toggle { display: none; }

@media (max-width: 640px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--foam);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.6rem 0; border-bottom: 1px solid var(--foam-deep); }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    cursor: pointer;
  }
}

/* hero */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 60%;
  opacity: 0.55;
}
.hero-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11,36,64,0.94) 10%, rgba(0,84,166,0.65) 75%);
}
.hero-inner {
  position: relative;
  padding: 6rem 0 5rem;
}
.hero h1 { color: #fff; max-width: 16em; }
.hero .lede { color: #eaf1f5; font-size: 1.15rem; max-width: 34em; }
.hero .eyebrow-tag {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #cfe0ee;
  margin-bottom: 1rem;
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}
.page-hero p.lede { color: var(--slate); font-size: 1.1rem; }

/* sections */
section.block { padding: 4rem 0; }
section.block + section.block { border-top: 1px solid var(--border); }
.block-alt { background: var(--foam-deep); }

/* three-pillar teaser grid (home) */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
}
.pillar {
  padding: 2.2rem 2rem;
  background: #fff;
  border-right: 1px solid var(--border);
}
.pillar:last-child { border-right: none; }
.pillar h3 { margin-bottom: 0.5rem; }
.pillar p { color: var(--slate); font-size: 0.97rem; margin-bottom: 1rem; }
.pillar a.more { font-weight: 600; font-size: 0.92rem; }

@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: none; }
}

/* venture / service listing — editorial, not cards */
.entry-list { border-top: 1px solid var(--border); }
.entry {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--border);
}
.entry .num { color: var(--brass); font-family: 'Fraunces', serif; font-style: italic; font-size: 1.1rem; }
.entry h3 { margin-bottom: 0.4rem; }
.entry p { color: var(--slate); }

@media (max-width: 640px) {
  .entry { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* simple bullet-style service list */
.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.plain-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--ink);
}

/* client strip */
.client-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 3rem 3.5rem; }
.client-strip img { height: 34px; width: auto; opacity: 0.65; filter: grayscale(100%); }

/* project grid — full-color, linked-out portfolio tiles */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: #fff;
  padding: 2.2rem 1.25rem;
  text-align: center;
}
a.project-card { text-decoration: none; }
a.project-card:hover { background: var(--foam-deep); }
.project-card img { max-height: 54px; max-width: 100%; object-fit: contain; }
.project-card .placeholder-mark {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: var(--ink);
}
.project-card .domain { font-size: 0.82rem; color: var(--slate); }
.project-card.pending { color: var(--slate); }
.project-card.pending .placeholder-mark { color: var(--slate); }

@media (max-width: 760px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .project-grid { grid-template-columns: 1fr; }
}

/* about */
.about-copy { font-size: 1.08rem; max-width: 42em; }

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.addr-block { font-style: normal; color: var(--slate); }
.addr-block strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 0.4rem; }

form.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus { border-color: var(--brand-blue); outline: none; }

button.submit {
  align-self: flex-start;
  background: var(--brand-blue);
  color: #fff;
  border: none;
  padding: 0.85rem 1.8rem;
  font: inherit;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}
button.submit:hover { background: #00448a; }

/* footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  color: var(--slate);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer a { color: var(--slate); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
