/* Anchorage Management LLC
   Palette drawn from the logo and business card. */

:root {
  --harbor: #072c52;      /* deep navy: hero, footer, headings */
  --anchor: #0b4a85;      /* brand navy: links, buttons on light */
  --tide: #2ba3db;        /* brand cyan: accents, large elements only */
  --mist: #e8f1f7;        /* pale sea tint for alternate sections */
  --paper: #fafbfc;
  --ink: #12253a;
  --muted: #52667a;
  --rule: #cfdbe6;
  --on-dark: #dbe9f5;

  --serif: "Libre Caslon Text", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1160px;
  --header-h: 108px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--anchor); text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--harbor); margin: 0; line-height: 1.15; }
ul, ol, dl { margin: 0; padding: 0; }
li { list-style: none; }
dd { margin: 0; }

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

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--harbor); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font: 600 1rem/1 var(--sans);
  padding: 17px 28px;
  border-radius: 2px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-light { background: #fff; color: var(--harbor); }
.btn-light:hover { background: var(--mist); }
.btn-dark { background: var(--harbor); color: #fff; }
.btn-dark:hover { background: var(--anchor); }

/* ---------- Brand lockup ---------- */
.brand-mark {
  display: block;
  width: 44px; height: 42px;
  background: url("assets/mark-white.png") center / contain no-repeat;
  flex: none;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand-text, .foot-brand > div { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0;
}
.brand-sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  margin: 6px 0 0;
}

.logo { display: block; height: 90px; width: auto; }
.logo-on-light { display: none; }
.site-header.is-solid .logo-on-dark { display: none; }
.site-header.is-solid .logo-on-light { display: block; }
.logo-full { display: block; height: clamp(84px, 9vw, 112px); width: auto; max-width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 50;
  color: #fff;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.site-header .brand-sub { color: var(--tide); }
.site-header.is-solid .brand-mark { background-image: url("assets/mark-navy.png"); }
.site-header.is-solid {
  background: rgba(250, 251, 252, .96);
  color: var(--harbor);
  box-shadow: 0 1px 0 var(--rule);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.site-header.is-solid .brand-sub { color: var(--anchor); }
.bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: inherit; text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover { border-bottom-color: currentColor; }
.nav .nav-cta {
  border: 1.5px solid currentColor;
  padding: 10px 18px;
  border-radius: 2px;
  font-weight: 600;
}
.nav .nav-cta:hover { background: #fff; color: var(--harbor); border-color: #fff; }
.site-header.is-solid .nav .nav-cta:hover { background: var(--harbor); color: #fff; border-color: var(--harbor); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(940px, 100svh);
  display: flex; align-items: flex-start;
  background: var(--harbor);
  color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(36px, 5vw, 64px)) 0 clamp(150px, 16vw, 210px);
  overflow: hidden;
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; z-index: -2; }
.hero-3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
.hero.has-3d .hero-3d { opacity: .92; }
.hero.has-3d .hero-art { opacity: 0; transition: opacity 1.6s ease; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,32,62,.86) 0%, rgba(5,32,62,.68) 38%, rgba(5,32,62,.28) 66%, rgba(5,32,62,.05) 100%), linear-gradient(180deg, rgba(5,32,62,.55) 0, transparent 22%); }
.hero .wrap { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.hero-kicker { color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.25rem; margin-bottom: 18px; opacity: .92; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.9rem, 5.4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.022em;
  text-wrap: balance;
  max-width: 14ch;
}
.hero-lede { font-size: 1.2rem; line-height: 1.6; max-width: 34em; margin: 28px 0 38px; color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero-phone { color: #fff; font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--tide); padding-bottom: 3px; }
.hero-phone:hover { border-bottom-color: #fff; }

/* Sample report: the one animated moment on the page */
.report {
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  padding: 30px 32px 24px;
  border-top: 4px solid var(--tide);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55);
}
.report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1.5px solid var(--harbor); }
.report-title { font-family: var(--serif); font-size: 1.35rem; color: var(--harbor); margin: 0; line-height: 1.2; }
.report-meta { font-size: .88rem; color: var(--muted); margin: 4px 0 0; }
.report-tag { font-size: .8rem; font-weight: 600; color: var(--anchor); border: 1px solid var(--anchor); padding: 3px 10px; border-radius: 2px; }
.report-rows li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
  font-size: .98rem;
}
.report-rows svg { width: 24px; height: 24px; fill: none; stroke: var(--tide); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.report-rows svg path { stroke: var(--anchor); stroke-width: 2.2; stroke-dasharray: 22; stroke-dashoffset: 22; }
.report.is-in .report-rows svg path { animation: tick .5s ease-out forwards; }
.report-rows svg circle { opacity: .55; }
.report.is-in .report-rows li:nth-child(1) path { animation-delay: .3s; }
.report.is-in .report-rows li:nth-child(2) path { animation-delay: .85s; }
.report.is-in .report-rows li:nth-child(3) path { animation-delay: 1.2s; }
.report.is-in .report-rows li:nth-child(4) path { animation-delay: 1.55s; }
.report.is-in .report-rows li:nth-child(5) path { animation-delay: 1.9s; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.r-state { color: var(--muted); font-size: .92rem; }
.report-foot { font-size: .85rem; color: var(--muted); margin: 16px 0 0; }

/* Waves, lifted from the business card */
.wave { position: absolute; left: 0; width: 100%; height: clamp(70px, 9vw, 130px); }
.wave-hero { bottom: -1px; }
.wave-hero .w-tide { fill: var(--tide); }
.wave-hero .w-paper { fill: var(--paper); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.1rem; max-width: 36em; margin: 0; }

/* Service tiles */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0 0 clamp(48px, 7vw, 88px); }
.tiles a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; text-decoration: none; background: var(--harbor); }
.tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tiles a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,32,62,.88)); }
.tiles span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; }
.tiles a:hover img { transform: scale(1.05); }
.contact-art { margin: 34px 0 0; aspect-ratio: 16 / 10; overflow: hidden; border-top: 4px solid var(--tide); }
.contact-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }

/* Overview */
.overview { padding-top: clamp(40px, 6vw, 72px); }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.overview-body { margin-top: 28px; }
.statement { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.2; letter-spacing: -.01em; }
.overview-body { font-size: 1.1rem; max-width: 34em; }
.plain-list { margin-top: 28px; border-top: 1px solid var(--rule); }
.plain-list li { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.plain-list strong { color: var(--harbor); font-weight: 600; }

/* Services */
.services { background: var(--paper); border-top: 1px solid var(--rule); }
.service-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: 20px clamp(32px, 6vw, 80px);
  padding: 40px 0;
  border-top: 1.5px solid var(--harbor);
}
.service-group + .service-group { margin-top: 12px; }
.group-intro h3 { font-size: 1.7rem; margin-bottom: 10px; }
.group-intro p { color: var(--muted); max-width: 20em; margin: 0; }
.service-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.service-list > div:first-child { padding-top: 0; }
.service-list > div:last-child { border-bottom: 0; }
.service-list dt { font-weight: 600; color: var(--ink); line-height: 1.4; }
.service-list dd { color: var(--muted); font-size: .98rem; line-height: 1.5; }

/* Process */
.process { background: var(--mist); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.steps li { padding: 0 28px 0 0; position: relative; }
.step-n {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--harbor);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.15rem;
  position: relative; z-index: 1;
  margin-bottom: 22px;
}
.steps li:not(:last-child)::before {
  content: "";
  position: absolute; top: 22px; left: 44px; right: 0;
  height: 2px; background: var(--tide);
}
.steps h3 { font-size: 1.45rem; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 1rem; margin: 0; }

/* About */
.about h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 28px; }
.about-main p { font-size: 1.1rem; max-width: 34em; }

/* Contact */
.contact { background: var(--mist); padding-bottom: clamp(110px, 12vw, 170px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 22px; }
.contact-intro > p { color: var(--muted); font-size: 1.1rem; max-width: 26em; }
.direct { margin-top: 34px; border-top: 1px solid var(--rule); }
.direct > div { display: grid; grid-template-columns: 90px 1fr; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.direct dt { color: var(--muted); font-size: .95rem; }
.direct dd { font-weight: 600; color: var(--harbor); }
.direct a { color: var(--harbor); }

.form { background: #fff; padding: clamp(24px, 4vw, 44px); border-top: 4px solid var(--harbor); box-shadow: 0 24px 50px -34px rgba(7, 44, 82, .45); }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; color: var(--harbor); margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 2px;
  padding: 13px 14px;
  transition: border-color .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: #9db3c6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--anchor); background: #fff; box-shadow: 0 0 0 3px rgba(43, 163, 219, .3); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks label { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--ink); margin: 0; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--anchor); flex: none; }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 8px; }
.form-status { margin: 0; font-size: .95rem; flex: 1 1 220px; color: var(--muted); }
.form-status.is-error { color: #b3261e; }
.form-status.is-ok { color: var(--anchor); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--mist); color: var(--on-dark); }
.wave-foot { position: relative; display: block; height: clamp(70px, 9vw, 130px); margin-bottom: -1px; margin-top: calc(clamp(70px, 9vw, 130px) * -1); }
.wave-foot .w-tide { fill: var(--tide); }
.wave-foot .w-navy { fill: var(--harbor); }
.foot-body { position: relative; margin-top: -2px; background: var(--harbor); padding: 26px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; padding-bottom: 36px; }
.foot-brand { display: flex; align-items: center; gap: 16px; color: #fff; }
.foot-brand .brand-sub { color: var(--tide); }
.foot-tag { margin: 12px 0 0; font-size: .9rem; color: var(--on-dark); letter-spacing: 0; text-transform: none; font-family: var(--sans); line-height: 1.4; }
.foot-nav, .foot-contact { display: flex; flex-direction: column; gap: 10px; }
.foot-nav a, .foot-contact a { color: var(--on-dark); text-decoration: none; width: fit-content; }
.foot-nav a:hover, .foot-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { border-top: 1px solid rgba(219, 233, 245, .2); padding-top: 22px; font-size: .88rem; color: #9fb8d0; }
.foot-legal p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .overview-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .service-group { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 44px; }
  .steps li:nth-child(2)::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 80px; }
  .hero::before { background: linear-gradient(180deg, rgba(5,32,62,.9) 0%, rgba(5,32,62,.82) 58%, rgba(5,32,62,.25) 100%); }
  .hero-art { object-position: 82% 80%; }
  .logo { height: 60px; }
  .nav-toggle {
    display: block;
    font: 600 .95rem var(--sans);
    color: inherit;
    background: transparent;
    border: 1.5px solid currentColor;
    border-radius: 2px;
    padding: 9px 16px;
    cursor: pointer;
  }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--harbor);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { color: #fff; padding: 16px 0; border-bottom: 1px solid rgba(219, 233, 245, .2); font-size: 1.05rem; }
  .nav .nav-cta { margin-top: 18px; text-align: center; border: 1.5px solid #fff; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tiles span { font-size: 1.05rem; left: 12px; right: 12px; }
  .service-list > div { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li::before { display: none; }
  .steps li { padding-right: 0; }
  .field-row, .checks { grid-template-columns: minmax(0, 1fr); }
  .report { padding: 24px 20px 20px; }
    .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
  .report-rows svg path, .report.is-in .report-rows svg path { animation: none; stroke-dashoffset: 0; }
}


/* ---------- Premium polish ---------- */
::selection { background: var(--tide); color: #fff; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--anchor); margin: 0 0 16px; }

/* Header condenses on scroll */
.site-header { transition: background-color .3s, color .3s, box-shadow .3s, height .3s; }
.site-header.is-solid { height: 84px; }
.site-header.is-solid .logo { height: 68px; }
.logo { transition: height .3s; }

/* Buttons */
.btn { transition: background-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(3,20,40,.55); }
.btn:active { transform: translateY(0); }

/* Hero: slow push-in, grain, staggered entrance, contact card */
.hero-art { transform-origin: 60% 45%; animation: none; }
@keyframes push { from { transform: scale(1.0); } to { transform: scale(1.07); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-kicker { text-transform: uppercase; font-family: var(--sans, inherit); font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .22em; }
.hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .1s; }
.hero-copy > :nth-child(2) { animation-delay: .25s; }
.hero-copy > :nth-child(3) { animation-delay: .45s; }
.hero-copy > :nth-child(4) { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-card {
  align-self: end; width: 290px; padding: 26px 28px 24px; color: #fff;
  background: rgba(7,44,82,.38); border: 1px solid rgba(255,255,255,.26); border-radius: 4px;
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 30px 60px -30px rgba(3,20,40,.7);
  opacity: 0; animation: rise .9s .8s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-card p { margin: 0; }
.hc-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #bfe6fa; margin-bottom: 8px !important; }
.hc-name { font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; }
.hc-role { font-size: .88rem; color: #dbe9f5; margin: 4px 0 18px !important; }
.hc-tel { display: block; color: #fff; font-size: 1.2rem; font-weight: 600; text-decoration: none; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.26); }
.hc-link { display: inline-block; margin-top: 10px; color: #bfe6fa; font-size: .9rem; text-decoration: none; }
.hc-link span { display: inline-block; transition: transform .2s; }
.hc-link:hover span { transform: translateX(4px); }

/* Services */
.tiles a { box-shadow: 0 18px 36px -26px rgba(7,44,82,.6); transition: box-shadow .3s, transform .3s; }
.tiles a:hover { transform: translateY(-4px); box-shadow: 0 28px 44px -24px rgba(7,44,82,.7); }
.tiles img { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.tiles a:hover img { transform: scale(1.07); }
.service-list > div { transition: background-color .2s, padding .2s; }
.service-list > div:hover { background: var(--mist); }

/* Statement band */
.band {
  position: relative; isolation: isolate; color: #fff; text-align: center;
  padding: clamp(100px, 14vw, 190px) 0;
  background: linear-gradient(rgba(5,32,62,.78), rgba(5,32,62,.84)), url("assets/Photos/icon.jpg") center 60% / cover no-repeat fixed;
}
.band blockquote { margin: 0 auto; max-width: 26em; padding: 0 8px; }
.band p { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.18; letter-spacing: -.012em; margin: 0; text-shadow: 0 2px 24px rgba(3,20,40,.5); }
.band footer { margin-top: 28px; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: #bfe6fa; }
.band footer::before { content: ""; display: block; width: 44px; height: 2px; background: var(--tide); margin: 0 auto 22px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 8vw, 110px); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--tide); z-index: 0; }
.about-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 40px 70px -40px rgba(7,44,82,.6); }
.about h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.08; letter-spacing: -.018em; }
.signature { margin: 30px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); font-size: .9rem; color: var(--muted); max-width: 22em; }
.signature span { display: block; font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--harbor); margin-bottom: 2px; }
.commit-row { list-style: none; margin: clamp(56px, 8vw, 100px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.commit-row li { padding: 32px 32px 4px 0; color: var(--muted); }
.commit-row li + li { padding-left: 32px; border-left: 1px solid var(--rule); }
.commit-row strong { display: block; color: var(--harbor); font-family: var(--serif); font-size: 1.3rem; font-weight: 400; margin-bottom: 6px; }
.c-n { display: block; font-size: .75rem; letter-spacing: .2em; color: var(--tide); font-weight: 600; margin-bottom: 14px; }

@media (max-width: 960px) {
  .hero-card { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; margin-right: 22px; }
}
@media (max-width: 760px) {
  .band { background-attachment: scroll; }
  .commit-row { grid-template-columns: 1fr; }
  .commit-row li, .commit-row li + li { padding: 24px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .commit-row li:first-child { border-top: 0; }
  .site-header.is-solid { height: 70px; }
  .site-header.is-solid .logo { height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art { animation: none; }
  .hero-copy > *, .hero-card { opacity: 1; transform: none; animation: none; }
  .btn:hover, .tiles a:hover { transform: none; }
}

/* Mobile touch targets and tile grid */
.checks label { min-height: 44px; padding: 4px 0; }
.checks input { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .tiles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tiles li:last-child:nth-child(odd) a { aspect-ratio: 2 / 1; }
  .tiles li:last-child:nth-child(odd) img { object-position: 50% 60%; }
}
