/* Crystal Frame: exactly four brand colours */
:root {
  --navy: #1B2A4A;
  --ivory: #F5F1E8;
  --bronze: #B08D57;
  --crystal: #7EC8E3;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(88px, 12vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  margin: 0;
  letter-spacing: -0.01em;
}
em { font-style: italic; color: var(--bronze); }

.eyebrow, .caption, .case-tag, dt {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 28px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(27, 42, 74, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(176, 141, 87, 0.28);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; }
.wordmark {
  display: block;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--bronze);   /* the thin bronze rule */
}
.wordmark img { height: 15px; width: auto; }
.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: rgba(245, 241, 232, 0.78);
  transition: color .2s;
}
.nav a:hover { color: var(--crystal); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  background: var(--bronze);
  border: 1px solid var(--bronze);
  padding: 17px 34px;
  transition: background .25s, color .25s;
}
.btn:hover { background: transparent; color: var(--bronze); }
.btn-small { padding: 11px 20px; font-size: 12px; white-space: nowrap; }
.btn-large { padding: 22px 46px; }

.link-quiet {
  font-size: 14px; letter-spacing: 0.08em;
  color: var(--crystal); text-decoration: none;
  border-bottom: 1px solid rgba(126, 200, 227, 0.4);
  padding-bottom: 2px;
}
.link-quiet:hover { border-bottom-color: var(--crystal); }

/* Bronze rule with crystal facet, taken from the Facebook banner */
.divider { display: flex; align-items: center; gap: 14px; margin: 40px 0 32px; }
.divider span { width: 72px; height: 1px; background: var(--bronze); }
.divider i {
  width: 9px; height: 9px; border: 1px solid var(--crystal);
  transform: rotate(45deg);
}

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(88px, 11vw, 150px); position: relative; overflow: hidden; }
.hero-arcs {
  position: absolute; right: 0; top: 0; height: 100%; width: 60%;
  fill: none; stroke: var(--bronze); stroke-width: 1; opacity: .35;
  pointer-events: none;
}
.hero-arcs path + path { opacity: .5; }
.hero-grid { display: grid; grid-template-columns: 1.45fr 0.75fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.hero h1 { font-size: clamp(50px, 6.6vw, 96px); }
.lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 30em; margin: 0 0 48px; color: rgba(245, 241, 232, 0.88); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 36px; }

.portrait {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--bronze);
  padding: 14px;
}
.portrait::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(176, 141, 87, 0.35);
  transform: translate(18px, 18px);
  pointer-events: none;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.ivory { background: var(--ivory); color: var(--navy); }
.navy  { background: var(--navy); color: var(--ivory); }
.ivory .eyebrow, .ivory .caption, .ivory .case-tag { color: var(--navy); opacity: .7; }

.section-head { max-width: 760px; margin-bottom: clamp(56px, 7vw, 96px); }
.section-head h2 { font-size: clamp(42px, 5.6vw, 76px); }
.intro { font-size: 19px; margin: 28px 0 0; max-width: 36em; }
.ivory .intro { color: rgba(27, 42, 74, 0.82); }

/* About */
.about-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.about-photo { margin: 0; }
.about-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%;
  border-top: 2px solid var(--bronze);
}
.about-photo figcaption {
  font-family: var(--serif); font-style: italic; font-size: 18px;
  margin-top: 14px; color: rgba(27, 42, 74, 0.75);
}
.about-body h2 { font-size: clamp(38px, 4.4vw, 58px); margin-bottom: 36px; }
.about-body p { max-width: 34em; margin: 0 0 20px; }
.stat {
  display: flex; align-items: center; gap: 24px;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--bronze);
}
.stat-num { font-family: var(--serif); font-size: clamp(72px, 8vw, 104px); line-height: .9; }
.stat-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; max-width: 24em; opacity: .75; line-height: 1.6; }

/* Quote band */
.quote-band { padding: clamp(80px, 10vw, 140px) 0; text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 900px; }
.quote-band p {
  font-family: var(--serif); font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.15; margin: 0;
}
.quote-band blockquote::before, .quote-band blockquote::after {
  content: ""; display: block; width: 64px; height: 1px; background: var(--bronze); margin: 0 auto 40px;
}
.quote-band blockquote::after { margin: 40px auto 0; }

/* Services */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.services li { padding: 44px 40px 48px 0; border-top: 1px solid var(--bronze); }
.services li + li { padding-left: 40px; border-left: 1px solid rgba(176, 141, 87, 0.35); }
.num { font-family: var(--serif); font-size: 18px; color: var(--bronze); letter-spacing: .1em; }
.services h3 { font-size: clamp(28px, 2.6vw, 36px); margin: 20px 0 18px; }
.services p { margin: 0; color: rgba(27, 42, 74, 0.85); }
.services-note {
  margin: clamp(48px, 6vw, 80px) 0 0;
  font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 30px);
}
.services-note::before { content: ""; display: inline-block; width: 48px; height: 1px; background: var(--bronze); vertical-align: middle; margin-right: 18px; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px); }
.step { border-top: 1px solid var(--bronze); padding-top: 32px; }
.step h3 { font-size: clamp(32px, 3vw, 42px); margin-bottom: 16px; }
.step h3::after { content: "."; color: var(--crystal); }
.step p { margin: 0; color: rgba(245, 241, 232, 0.82); }
.philosophy {
  margin-top: clamp(72px, 9vw, 120px);
  padding: clamp(40px, 5vw, 64px) 0 0;
  border-top: 1px solid rgba(176, 141, 87, 0.3);
}
.philosophy p {
  font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.2; margin: 0;
}

/* Brands */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.case {
  border: 1px solid rgba(27, 42, 74, 0.16);
  border-top: 2px solid var(--bronze);
  padding: clamp(36px, 4vw, 56px);
  background: rgba(176, 141, 87, 0.06);
}
.case h3 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 20px; }
.case p { margin: 0 0 32px; max-width: 30em; }
.case-link {
  font-size: 14px; letter-spacing: 0.06em; text-decoration: none; color: var(--navy);
  border-bottom: 1px solid var(--crystal); padding-bottom: 3px;
}
.case-link:hover { border-bottom-width: 2px; }

/* Contact */
.contact-title { font-size: clamp(46px, 6.6vw, 92px); margin-bottom: 28px; max-width: 13em; }
.contact-lede { font-size: 19px; max-width: 32em; margin: 0 0 44px; color: rgba(245, 241, 232, 0.85); }
.contact-grid {
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 56px;
  margin-top: clamp(72px, 9vw, 120px); padding-top: 48px;
  border-top: 1px solid rgba(176, 141, 87, 0.3);
}
.emails { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
dt { margin-bottom: 6px; }
dd { margin: 0; }
.emails a, .socials a {
  color: var(--crystal); text-decoration: none; font-size: 16px;
  border-bottom: 1px solid transparent; transition: border-color .2s;
  overflow-wrap: anywhere;
}
.emails a:hover, .socials a:hover { border-bottom-color: var(--crystal); }
.socials .caption { margin-bottom: 14px; }
.socials ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

/* Footer */
.site-footer { border-top: 1px solid rgba(176, 141, 87, 0.28); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-inner p { margin: 0; font-size: 13px; letter-spacing: .08em; color: rgba(245, 241, 232, 0.62); }
.site-footer .wordmark img { height: 12px; }

:focus-visible { outline: 2px solid var(--crystal); outline-offset: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero-grid, .about-grid, .cases, .contact-grid, .steps { grid-template-columns: 1fr; }
  .hero-arcs { width: 100%; opacity: .2; }
  .portrait { max-width: 360px; margin-right: 18px; }
  .about-photo { max-width: 360px; }
  .services { grid-template-columns: 1fr; }
  .services li, .services li + li { padding: 36px 0 40px; border-left: 0; }
}
@media (max-width: 520px) {
  .brand { gap: 10px; }
  .brand-mark { width: 28px; height: 28px; }
  .wordmark img { height: 11px; }
  .header-inner { gap: 12px; height: 66px; }
  .btn-small { padding: 9px 12px; font-size: 10.5px; letter-spacing: .12em; }
  .emails { grid-template-columns: 1fr; }
  .btn-large { width: 100%; text-align: center; }
  .stat { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
