/* Unified section intros and refined navigation */
.site-header {
  left: 50%;
  right: auto;
  width: min(calc(100% - 48px), 1060px);
  transform: translateX(-50%);
  padding: 11px 14px;
  border-radius: 16px;
}

.desktop-nav { gap: 2px; }

.desktop-nav a {
  padding: 8px 12px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.01em;
  opacity: .88;
}

.desktop-nav a:hover { opacity: 1; }
.desktop-nav a + a::before { display: none; }
.header-cta { padding: 9px 14px; font-size: 12px; }
.hero { min-height: 850px; }
.hero-actions { margin-bottom: 0; }
.node-openai { left: 0; bottom: 27%; }

.section-heading,
.section-heading.split {
  display: block;
  max-width: 920px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading.split > div { max-width: none; }

.section-heading .kicker,
.system-intro .kicker {
  display: block;
  color: #2563eb;
}

.section-heading h2,
.system-intro h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}

.section-heading > p,
.section-heading.split > p,
.system-intro p {
  max-width: 720px;
  margin-inline: auto;
  color: #71696c;
}

.outcome-card { grid-template-columns: 1fr; gap: 40px; }

.outcome-intro {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.outcome-intro .kicker { display: block; color: #93c5fd; }
.outcome-intro p { max-width: 690px; margin-inline: auto; }
.comparison-grid { width: 100%; max-width: 980px; margin-inline: auto; }

.fit-single { grid-template-columns: 1fr; gap: 38px; text-align: center; }
.fit-single > div { max-width: 880px; margin-inline: auto; }
.fit-single p { max-width: 720px; margin-inline: auto; }
.fit-single ul { width: 100%; max-width: 760px; margin-inline: auto; text-align: left; }

.about-copy { text-align: center; }
.about-copy .kicker { display: block; }
.about-copy p { max-width: 700px; margin-inline: auto; }
.about-facts { text-align: center; }

.portrait-frame {
  display: grid;
  min-height: 480px;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #f2f3f4;
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-facts .availability b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #2563eb;
}

.about-facts .availability b::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

@media (max-width: 760px) {
  .portrait-frame { min-height: 0; aspect-ratio: 1 / 1.02; }
}

.contact-layout { grid-template-columns: 1fr; gap: 42px; }

.contact-copy {
  max-width: 830px;
  margin-inline: auto;
  text-align: center;
}

.contact-copy .kicker { display: block; }
.contact-copy p { max-width: 700px; margin-inline: auto; }

.contact-promises {
  display: flex;
  justify-content: center;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.contact-form { width: 100%; max-width: 820px; margin-inline: auto; }

@media (max-width: 980px) {
  .site-header { width: calc(100% - 32px); }
}

@media (max-width: 760px) {
  .site-header {
    left: 50%;
    right: auto;
    width: calc(100% - 16px);
    transform: translateX(-50%);
  }

  .hero { min-height: auto; }
  .node-openai { left: 0; bottom: 28%; }
  .section-heading,
  .section-heading.split { margin-bottom: 34px; }
  .outcome-card { gap: 28px; }
  .contact-promises { justify-content: flex-start; text-align: left; }
}

/* White full-width identity header */
.site-header {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  min-height: 76px;
  transform: none;
  padding: 12px clamp(20px, 4vw, 64px);
  border: 0;
  border-bottom: 1px solid rgba(37, 99, 235, .1);
  border-radius: 0;
  background: rgba(255, 255, 255, .94);
  color: #111827;
  box-shadow: 0 10px 34px rgba(30, 64, 175, .055);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 230px;
  line-height: 1;
}

.brand-lockup strong {
  font-family: "Instrument Serif", serif;
  color: #2563eb;
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -.025em;
}

.brand-lockup small {
  margin-top: 5px;
  color: #64748b;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.desktop-nav {
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.desktop-nav a {
  position: relative;
  color: #475569;
  opacity: 1;
  transition: color .22s ease, transform .22s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2563eb;
  opacity: 0;
  transform: translateX(-50%) scale(.35);
  transition: opacity .22s ease, transform .22s ease;
}

.desktop-nav a:hover {
  color: #2563eb;
  transform: translateY(-1px);
}

.desktop-nav a:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  padding: 11px 16px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(37, 99, 235, .2);
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.header-cta:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, .26);
}

.button,
.hero-actions .button {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .18);
}

.button:hover,
.hero-actions .button:hover {
  background: #1d4ed8;
  box-shadow: 0 16px 36px rgba(37, 99, 235, .24);
}

.node-slack {
  top: 8%;
  right: 14%;
}

@media (max-width: 980px) {
  .site-header {
    left: 0;
    right: 0;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    left: 0;
    right: 0;
    width: 100%;
    min-height: 66px;
    padding: 9px 12px;
    transform: none;
  }

  .brand-lockup { min-width: 0; }
  .brand-lockup strong { font-size: 24px; }
  .brand-lockup small {
    margin-top: 4px;
    font-size: 6.5px;
    letter-spacing: .08em;
  }

  .header-cta {
    min-width: 108px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .header-cta::before { content: none; }
  .header-cta span { font-size: 11px; margin-left: 5px; }
}

@media (max-width: 390px) {
  .brand-lockup strong { font-size: 22px; }
  .brand-lockup small { font-size: 6px; }
  .header-cta { min-width: 96px; padding-inline: 10px; }
}

/* Problem-first story: Hero -> friction -> Business OS */
main > .hero { order: 1; }
main > .problem { order: 2; }
main > .system-scope { order: 3; }

.problem { padding-top: 120px; }

.problem .section-heading {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.problem .section-heading p {
  max-width: 760px;
  margin-inline: auto;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.problem-card.problem-card-v2 {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 58px rgba(30, 64, 175, .065);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.problem-card.problem-card-v2:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, .3);
  box-shadow: 0 28px 72px rgba(30, 64, 175, .12);
}

.problem-visual {
  position: relative;
  height: 172px;
  flex: 0 0 172px;
  margin: 14px 14px 0;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, .08);
  border-radius: 20px;
  background: linear-gradient(145deg, #f8fbff, #eef5ff);
}

.problem-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .045) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.problem-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px 28px 28px;
}

.problem-card-v2 .problem-number {
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.problem-card.problem-card-v2 h3 {
  margin: 13px 0 14px;
  font-family: "Instrument Serif", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
}

.problem-card.problem-card-v2 p {
  margin: 0 0 22px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.problem-consequence {
  display: block;
  margin-top: auto;
  padding: 13px 14px;
  border: 1px solid rgba(37, 99, 235, .1);
  border-radius: 13px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

/* Mini visual 01: requests converge on management */
.bottleneck-visual .request {
  position: absolute;
  left: 20px;
  z-index: 2;
  min-width: 86px;
  padding: 8px 10px;
  border: 1px solid #dbe6f5;
  border-radius: 9px;
  background: rgba(255, 255, 255, .94);
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(30, 64, 175, .08);
}

.bottleneck-visual .request-a { top: 18px; }
.bottleneck-visual .request-b { top: 67px; }
.bottleneck-visual .request-c { top: 116px; }

.bottleneck-visual .flow {
  position: absolute;
  left: 108px;
  z-index: 1;
  width: calc(100% - 188px);
  height: 1px;
  background: linear-gradient(90deg, #93c5fd, #2563eb);
  transform-origin: right center;
}

.bottleneck-visual .flow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
}

.bottleneck-visual .flow-a { top: 35px; transform: rotate(17deg); }
.bottleneck-visual .flow-b { top: 84px; }
.bottleneck-visual .flow-c { top: 133px; transform: rotate(-17deg); }

.bottleneck-visual .ceo-node {
  position: absolute;
  top: 50%;
  right: 23px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 7px solid #dbeafe;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  transform: translateY(-50%);
  box-shadow: 0 12px 28px rgba(37, 99, 235, .26);
}

/* Mini visual 02: status split across tools */
.status-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px;
}

.status-visual > div {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 8px;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 7px 18px rgba(30, 64, 175, .055);
}

.status-visual span { color: #334155; font-size: 11px; font-weight: 700; }
.status-visual strong { color: #64748b; font-size: 9px; font-weight: 700; }
.status-visual i { width: 7px; height: 7px; border-radius: 50%; }
.status-red { background: #f87171; }
.status-blue { background: #3b82f6; }
.status-gray { background: #94a3b8; }

/* Mini visual 03: coordination grows faster than output */
.scale-visual svg {
  position: absolute;
  inset: 12px 10px 6px;
  z-index: 1;
  width: calc(100% - 20px);
  height: calc(100% - 18px);
}

.scale-visual path { fill: none; }
.scale-visual .chart-grid { stroke: rgba(100, 116, 139, .12); stroke-width: 1; }
.scale-visual .output-line { stroke: #2563eb; stroke-width: 4; stroke-linecap: round; }
.scale-visual .effort-line { stroke: #94a3b8; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 6; }

.chart-label {
  position: absolute;
  z-index: 3;
  right: 19px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff;
  font-size: 8px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}

.output-label { top: 77px; color: #2563eb; }
.effort-label { top: 27px; color: #64748b; }

.problem-transition {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  width: 120px;
  margin: 54px auto -18px;
  color: #2563eb;
}

.problem-transition::before {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, .55));
}

.problem-transition span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.problem-transition i,
.problem-transition svg {
  width: 32px;
  height: 32px;
  padding: 8px;
  border: 1px solid rgba(37, 99, 235, .2);
  border-radius: 50%;
  background: #fff;
  stroke-width: 1.7;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .11);
  animation: solutionHint 2.4s ease-in-out infinite;
}

@keyframes solutionHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Service cards use the same calm blue system language as the problem cards */
.expertise-grid { gap: 20px; }

.expertise-card {
  padding: 14px 14px 28px;
  overflow: hidden;
  border-color: #e2e8f0;
  border-radius: 28px;
  box-shadow: 0 20px 58px rgba(30, 64, 175, .065);
}

.expertise-card:hover {
  border-color: rgba(37, 99, 235, .3);
  box-shadow: 0 28px 72px rgba(30, 64, 175, .12);
}

.expertise-card .expertise-icon {
  position: relative;
  width: 100%;
  height: 150px;
  margin: 0 0 25px;
  border: 1px solid rgba(37, 99, 235, .08);
  border-radius: 20px;
  background: linear-gradient(145deg, #f8fbff, #eef5ff);
  color: #2563eb;
}

.expertise-card .expertise-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(rgba(37, 99, 235, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .045) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
}

.expertise-card .expertise-icon::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 34px rgba(37, 99, 235, .12);
}

.expertise-card .expertise-icon svg {
  position: relative;
  z-index: 2;
  width: 31px;
  height: 31px;
  color: #2563eb;
  stroke-width: 1.7;
}

.expertise-card > span {
  top: 29px;
  right: 29px;
  z-index: 2;
  color: #2563eb;
  font-weight: 800;
}

.expertise-card h3,
.expertise-card p,
.expertise-card ul {
  margin-left: 14px;
  margin-right: 14px;
  text-align: left;
}

.expertise-card h3 {
  font-size: 30px;
  line-height: 1.04;
}

.expertise-card p { color: #64748b; }

.expertise-card ul {
  padding-top: 18px;
  border-color: #e2e8f0;
}

.expertise-card li { color: #475569; }

@media (max-width: 1050px) {
  .problem-grid { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
  .problem-card.problem-card-v2 { min-height: 0; }
}

@media (max-width: 760px) {
  .problem { padding-top: 94px; }
  .problem-visual { height: 150px; flex-basis: 150px; }
  .problem-card-copy { padding: 22px; }
  .problem-card.problem-card-v2 h3 { font-size: 27px; }
  .problem-transition { margin-top: 40px; }
  .expertise-card { padding: 12px 12px 24px; }
  .expertise-card .expertise-icon { height: 132px; margin-bottom: 22px; }
  .expertise-card h3 { font-size: 27px; }
}

/* Refined closing section */
.site-footer {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #0f172a;
  color: #fff;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -340px;
  left: -220px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .22), transparent 68%);
  pointer-events: none;
}

.site-footer > .footer-shell { position: relative; z-index: 1; display: block; }

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(50px, 7vw, 96px);
  align-items: center;
  padding: 54px 0 42px;
}

.footer-brand-area { max-width: 650px; }

.footer-logo {
  display: inline-block;
  color: #60a5fa;
  font-family: "Instrument Serif", serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;
}

.footer-eyebrow {
  display: block;
  margin-top: 11px;
  color: #94a3b8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-brand-area h2 {
  max-width: 620px;
  margin: 24px 0 15px;
  font-family: "Instrument Serif", serif;
  font-size: clamp(32px, 3.25vw, 44px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
}

.footer-brand-area p {
  max-width: 540px;
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.65;
}

.footer-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 11px 16px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(37, 99, 235, .22);
  transition: background .2s ease, transform .2s ease;
}

.site-footer .footer-action:hover {
  color: #fff;
  background: #3b82f6;
  transform: translateY(-2px);
}

.footer-action span { transition: transform .2s ease; }
.footer-action:hover span { transform: translate(2px, -2px); }

.footer-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 0;
}

.footer-navigation > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-navigation b {
  margin-bottom: 7px;
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-footer .footer-navigation a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition: color .2s ease, transform .2s ease;
}

.site-footer .footer-navigation a:hover {
  color: #60a5fa;
  transform: translateX(3px);
}

.footer-navigation a span { color: #60a5fa; font-size: 11px; }

.site-footer .footer-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  padding: 17px 0 20px;
  border-top: 1px solid rgba(148, 163, 184, .16);
  color: #64748b;
  font-size: 9px;
  letter-spacing: .02em;
}

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr; gap: 42px; }
  .footer-navigation { max-width: 520px; }
}

@media (max-width: 600px) {
  .footer-main { gap: 38px; padding: 46px 0 34px; }
  .footer-logo { font-size: 29px; }
  .footer-brand-area h2 { margin-top: 22px; font-size: 33px; line-height: 1.04; }
  .footer-brand-area p { font-size: 13px; }
  .footer-navigation { gap: 30px; }
  .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}

/* Final compact three-column footer */
.site-footer > .footer-shell {
  width: min(calc(100% - 48px), 980px);
}

.footer-topline {
  padding: 56px 0 34px;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.footer-topline .footer-logo {
  font-size: 27px;
}

.footer-topline h2 {
  width: 100%;
  max-width: 850px;
  margin: 23px 0 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(38px, 4.5vw, 53px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.03em;
}

.footer-thirds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 32px 0 27px;
}

.footer-third {
  display: flex;
  min-width: 0;
  min-height: 205px;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 30px;
}

.footer-third:first-child { padding-left: 0; }
.footer-third:last-child { padding-right: 0; }
.footer-third + .footer-third { border-left: 1px solid rgba(148, 163, 184, .16); }

.footer-intro p {
  max-width: 270px;
  margin: 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.7;
}

.footer-intro .footer-action {
  margin-top: 22px;
}

.footer-link-column { gap: 11px; }

.footer-link-column b {
  margin-bottom: 4px;
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-footer .footer-link-column a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
  transition: color .2s ease, transform .2s ease;
}

.site-footer .footer-link-column a:hover {
  color: #60a5fa;
  transform: translateX(3px);
}

.footer-link-column a span { color: #60a5fa; font-size: 10px; }

.footer-third-meta {
  margin-top: auto;
  color: #64748b;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .site-footer > .footer-shell { width: min(calc(100% - 32px), 560px); }
  .footer-topline { padding: 46px 0 28px; }
  .footer-topline h2 { font-size: 37px; }
  .footer-thirds { grid-template-columns: 1fr; padding: 0 0 24px; }
  .footer-third { min-height: 0; padding: 24px 0; }
  .footer-third + .footer-third { border-left: 0; border-top: 1px solid rgba(148, 163, 184, .16); }
  .footer-intro p { max-width: 420px; }
  .footer-third-meta { margin-top: 28px; }
}

/* Premium editorial footer */
.site-footer > .footer-shell {
  width: min(calc(100% - 48px), 1120px);
}

/* Override the legacy direct-child flex rule that compressed the footer into one row. */
.site-footer > .footer-shell.footer-shell {
  display: block;
  gap: 0;
}

.footer-wordmark {
  padding: 57px 0 34px;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.site-footer .footer-wordmark a {
  display: inline-block;
  color: #f8fafc;
  font-family: "Instrument Serif", serif;
  font-size: clamp(62px, 7.2vw, 82px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.045em;
  transition: color .25s ease;
}

.site-footer .footer-wordmark a:hover { color: #60a5fa; }

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr) minmax(150px, 1fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: start;
  padding: 54px 0 45px;
}

.footer-positioning h2 {
  max-width: 540px;
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(32px, 3.4vw, 43px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.027em;
}

.footer-positioning p {
  max-width: 430px;
  margin: 17px 0 0;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.65;
}

.site-footer .footer-text-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: #60a5fa;
  font-size: 12px;
  font-weight: 800;
}

.footer-text-action span { transition: transform .2s ease; }
.footer-text-action:hover span { transform: translateX(4px); }

.footer-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 4px;
}

.footer-menu b {
  margin-bottom: 7px;
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-footer .footer-menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  transition: color .2s ease, transform .2s ease;
}

.site-footer .footer-menu a:hover {
  color: #60a5fa;
  transform: translateX(3px);
}

.footer-menu a span { color: #60a5fa; font-size: 10px; }

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 23px;
  border-top: 1px solid rgba(148, 163, 184, .16);
  color: #64748b;
  font-size: 9px;
  letter-spacing: .03em;
}

@media (max-width: 760px) {
  .site-footer > .footer-shell { width: min(calc(100% - 32px), 560px); }
  .footer-wordmark { padding: 46px 0 27px; }
  .site-footer .footer-wordmark a { font-size: 54px; }
  .footer-content { grid-template-columns: 1fr; gap: 0; padding: 22px 0 32px; }
  .footer-positioning { padding: 29px 0; }
  .footer-positioning h2 { max-width: 450px; font-size: 35px; }
  .footer-menu { padding: 23px 0; border-top: 1px solid rgba(148, 163, 184, .16); }
  .footer-base { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* Portrait crop, availability attention and clean contact section */
.portrait-frame {
  position: relative;
  min-height: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid #1d4ed8;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 20px 50px rgba(30, 64, 175, .14), 0 0 0 7px rgba(29, 78, 216, .045);
}

.portrait-frame img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112%;
  height: 112%;
  max-width: none;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.about-facts .availability b {
  animation: availabilityAttention 2.1s ease-in-out infinite;
  transform-origin: center;
}

.about-facts .availability b::before {
  background: #1d4ed8;
  animation: availabilityDot 2.1s ease-in-out infinite;
}

@keyframes availabilityAttention {
  0%, 100% { transform: translateY(0); text-shadow: 0 0 0 rgba(37, 99, 235, 0); }
  50% { transform: translateY(-3px); text-shadow: 0 5px 16px rgba(37, 99, 235, .28); }
}

@keyframes availabilityDot {
  0%, 100% { opacity: .72; box-shadow: 0 0 0 3px rgba(37, 99, 235, .08); }
  50% { opacity: 1; box-shadow: 0 0 0 7px rgba(37, 99, 235, .13), 0 0 16px rgba(37, 99, 235, .45); }
}

.contact-layout {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.contact-promises {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 28px;
}

.contact-promises span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(37, 99, 235, .32);
  border-radius: 999px;
  background: #fff;
  color: #1e3a8a;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(30, 64, 175, .055);
}

.contact-promises svg {
  width: 15px;
  height: 15px;
  color: #2563eb;
  stroke-width: 1.9;
}

@media (prefers-reduced-motion: reduce) {
  .about-facts .availability b,
  .about-facts .availability b::before { animation: none; }
}

@media (max-width: 760px) {
  .contact-promises { align-items: stretch; flex-direction: column; }
  .contact-promises span { justify-content: center; }
}

/* Simplified wordmark and premium CTA system */
.brand-lockup {
  min-width: 160px;
  justify-content: center;
  gap: 0;
}

.brand-lockup strong {
  font-size: 31px;
  line-height: 1;
}

@media (min-width: 981px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .desktop-nav { justify-self: center; }
  .header-cta { justify-self: end; }
}

.button,
.hero-actions .button,
.header-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 58%, #3b82f6 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: 0 13px 30px rgba(37, 99, 235, .22), inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.button::before,
.header-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .28) 48%, transparent 72%);
  transform: translateX(-130%);
  transition: transform .6s ease;
  pointer-events: none;
}

.button:hover::before,
.header-cta:hover::before { transform: translateX(130%); }

.button:hover,
.hero-actions .button:hover,
.header-cta:hover {
  border-color: rgba(255, 255, 255, .58);
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 52%, #60a5fa 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, .29), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.button > span,
.header-cta > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin: -4px -7px -4px 0;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  font-size: 11px;
  transition: transform .22s ease, background .22s ease;
}

.button:hover > span,
.header-cta:hover > span {
  background: rgba(255, 255, 255, .22);
  transform: translate(2px, -2px);
}

.button:focus-visible,
.header-cta:focus-visible,
.hero-secondary:focus-visible {
  outline: 3px solid rgba(96, 165, 250, .35);
  outline-offset: 3px;
}

.header-cta {
  min-width: 0;
  padding: 10px 13px 10px 16px;
  font-size: 11px;
}

.hero-actions .button {
  padding: 14px 17px 14px 20px;
  font-size: 13px;
}

.hero-actions .hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 17px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 9px 24px rgba(15, 23, 42, .045);
  transition: color .22s ease, border-color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.hero-actions .hero-secondary span {
  padding: 0;
  color: #2563eb;
  transition: transform .22s ease;
}

.hero-actions .hero-secondary:hover {
  border-color: rgba(37, 99, 235, .35);
  background: #f8fbff;
  color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 13px 30px rgba(30, 64, 175, .08);
}

.hero-actions .hero-secondary:hover span { transform: translateY(3px); }

.form-footer .button {
  padding: 13px 16px 13px 19px;
  font-size: 12px;
}

.site-footer .footer-text-action {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(96, 165, 250, .35);
}

@media (max-width: 760px) {
  .brand-lockup { min-width: 0; }
  .brand-lockup strong { font-size: 26px; }
  .header-cta { padding: 9px 11px 9px 13px; font-size: 10px; }
  .header-cta > span { width: 20px; height: 20px; margin-right: -6px; }
  .hero-actions { width: 100%; gap: 12px; }
  .hero-actions .button,
  .hero-actions .hero-secondary { width: 100%; }
}

/* Branded inline confirmation for the Netlify form */
.netlify-honeypot { display: none; }

.form-submit-error {
  margin: -3px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(185, 28, 28, .18);
  border-radius: 12px;
  background: #fff7f7;
  color: #991b1b;
  font-size: 11px;
  line-height: 1.5;
}

.form-submit-error[hidden] { display: none; }

.contact-form .button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
  box-shadow: 0 9px 22px rgba(37, 99, 235, .14);
}

.contact-form.submitted {
  min-height: 480px;
  place-items: center;
  align-content: center;
  padding: 52px 42px;
  border-color: rgba(37, 99, 235, .2);
  background:
    radial-gradient(circle at 50% 10%, rgba(59, 130, 246, .11), transparent 43%),
    #fff;
}

.form-success {
  display: grid;
  justify-items: center;
  max-width: 590px;
  text-align: center;
}

.form-success-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af, #2563eb 58%, #60a5fa);
  color: #fff;
  box-shadow: 0 18px 42px rgba(37, 99, 235, .25), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.form-success-icon svg {
  width: 27px;
  height: 27px;
  stroke-width: 2.1;
}

.form-success .kicker {
  margin-bottom: 13px;
  color: #2563eb;
}

.form-success h3 {
  max-width: 520px;
  margin: 0;
  color: #111827;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(37px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.02;
}

.form-success p {
  max-width: 500px;
  margin: 18px 0 26px;
  color: #70696b;
  font-size: 14px;
  line-height: 1.7;
}

.form-success-action {
  padding: 13px 16px 13px 19px;
  font-size: 12px;
}

@media (max-width: 760px) {
  .contact-form.submitted {
    min-height: 420px;
    padding: 38px 20px;
  }

  .form-success-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
  }

  .form-success h3 { font-size: 37px; }
  .form-success p { font-size: 13px; }
}
