:root {
  --navy: #1d1e40;
  --navy-2: #292b57;
  --ink: #171827;
  --muted: #66697a;
  --paper: #fbfaf7;
  --cream: #f1eee8;
  --line: #dddde6;
  --white: #ffffff;
  --accent: #d9d4c7;
  --shadow: 0 24px 70px rgba(29, 30, 64, .10);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  border-radius: 10px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.section { padding: 112px 0; }
.section-title {
  margin: 0;
  max-width: 850px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.lead { font-size: clamp(1.08rem, 2vw, 1.32rem); color: var(--muted); max-width: 760px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(29, 30, 64, .09);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 118px; height: 58px; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none;
  font-size: .93rem;
  font-weight: 600;
  color: #34364b;
}
.nav a:hover, .nav a:focus-visible { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--navy);
}
.nav-toggle { display: none; border: 0; background: transparent; color: var(--navy); padding: 8px; cursor: pointer; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(255,255,255,.10), transparent 28%),
    radial-gradient(circle at 15% 90%, rgba(255,255,255,.06), transparent 25%),
    var(--navy);
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -230px;
  bottom: -260px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
  align-items: center;
  gap: 70px;
}
.hero .eyebrow { color: #dadbea; }
.hero h1 {
  margin: 0;
  max-width: 840px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7.5vw, 7.2rem);
  font-weight: 400;
  line-height: .97;
  letter-spacing: -.052em;
}
.hero h1 em { font-style: italic; color: #d9d4c7; }
.hero-copy > p:not(.eyebrow) { max-width: 680px; margin: 28px 0 0; color: #d8d9e5; font-size: clamp(1.08rem, 1.8vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--navy); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.button-dark { background: var(--navy); color: var(--white); }
.button-outline { border-color: var(--navy); color: var(--navy); }
.hero-mark {
  justify-self: end;
  width: min(100%, 380px);
  padding: 32px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.025);
}
.hero-mark img { width: 92%; filter: brightness(0) invert(1); opacity: .93; }

.intro-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  align-items: start;
}
.intro-copy { padding-top: 10px; }
.intro-copy p { margin: 0 0 20px; color: var(--muted); font-size: 1.08rem; }
.fact-row { margin-top: 45px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fact {
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.fact strong { display: block; color: var(--navy); font-size: 1rem; }
.fact span { color: var(--muted); font-size: .9rem; }

.focus-section { background: var(--cream); }
.focus-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 55px; }
.focus-head .lead { margin: 0; max-width: 440px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  min-height: 330px;
  padding: 34px;
  border: 1px solid rgba(29,30,64,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.66);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-number { font-family: Georgia, serif; font-size: 2rem; color: var(--navy); }
.card h3 { margin: 0 0 14px; font-family: Georgia, serif; font-weight: 400; font-size: 2rem; line-height: 1.1; }
.card p { margin: 0; color: var(--muted); }

.projects { background: var(--paper); }
.project-shell {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(29,30,64,.10);
}
.project-visual {
  min-height: 520px;
  padding: 54px;
  display: grid;
  place-items: center;
  background: #f4efe9;
}
.project-visual img { width: min(100%, 540px); }
.project-copy { padding: 68px 58px; color: var(--white); background: var(--navy); display: flex; flex-direction: column; justify-content: center; }
.project-copy .eyebrow { color: #c7c9dc; }
.project-copy h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.2rem, 4vw, 4.2rem); font-weight: 400; line-height: 1; }
.project-copy p { margin: 25px 0 0; color: #d6d7e3; font-size: 1.06rem; }
.project-copy .button { align-self: flex-start; margin-top: 32px; }

.trust-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: start; }
.trust-panel {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.detail-list { margin: 0; }
.detail-row { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.detail-row:last-child { border-bottom: 0; }
.detail-row dt { color: var(--muted); }
.detail-row dd { margin: 0; font-weight: 600; }

.contact-section { color: var(--white); background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; }
.contact-section .eyebrow { color: #c9cadb; }
.contact-section .section-title { max-width: 720px; }
.contact-section .lead { color: #d6d7e3; }
.contact-box {
  padding: 34px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
}
.contact-label { display: block; margin-bottom: 10px; color: #bfc1d5; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; }
.email-button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 14px;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}
.email-button:hover { background: #f0f0f5; }
.email-note { margin: 14px 0 0; color: #bfc1d5; font-size: .84rem; }

.site-footer { padding: 38px 0; background: #151630; color: #c7c8d8; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand img { width: 96px; filter: brightness(0) invert(1); opacity: .92; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: inherit; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-hero { padding: 85px 0 50px; background: var(--navy); color: var(--white); }
.legal-content { width: min(calc(100% - 40px), 860px); margin: 0 auto; padding: 75px 0 110px; }
.legal-eyebrow { color: #c9cadb; margin-top: 42px; }
.legal-content h2 { margin-top: 45px; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; }
.legal-content p, .legal-content li { color: var(--muted); }
.back-link { color: var(--white); text-underline-offset: 4px; }

.not-found { min-height: 100vh; display: grid; place-items: center; padding: 40px; background: var(--navy); color: var(--white); text-align: center; }
.not-found h1 { font-family: Georgia, serif; font-size: clamp(5rem, 18vw, 12rem); margin: 0; line-height: .8; }
.not-found p { color: #d6d7e3; }

@media (max-width: 900px) {
  .section { padding: 86px 0; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 84px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .hero { min-height: auto; }
  .hero-inner, .intro-grid, .trust-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 95px 0 80px; gap: 50px; }
  .hero-mark { justify-self: start; width: 280px; }
  .fact-row { grid-template-columns: 1fr; }
  .focus-head { display: block; }
  .focus-head .lead { margin-top: 24px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 260px; }
  .project-shell { grid-template-columns: 1fr; }
  .project-visual { min-height: 380px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 72px; }
  .brand img { width: 102px; height: 50px; }
  .nav { top: 72px; left: 14px; right: 14px; }
  .hero-inner { padding: 75px 0 65px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-mark { width: 220px; }
  .project-visual { min-height: 300px; padding: 32px; }
  .project-copy { padding: 48px 30px; }
  .trust-panel { padding: 25px; }
  .detail-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* V2: expanded experience and process sections */
.hero h1 { font-size: clamp(3rem, 6.5vw, 6.4rem); max-width: 900px; }

.experience-section { background: var(--white); }
.experience-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  align-items: end;
  gap: 70px;
  margin-bottom: 54px;
}
.experience-head .lead { margin: 0; }
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.experience-card {
  min-height: 335px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.experience-card:nth-child(2),
.experience-card:nth-child(3) { background: var(--cream); }
.experience-label {
  display: inline-block;
  margin-bottom: auto;
  padding-bottom: 38px;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.experience-card h3 {
  margin: 0 0 15px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 400;
  line-height: 1.08;
}
.experience-card p { margin: 0; color: var(--muted); }

.process-block {
  margin-top: 22px;
  padding: 58px;
  border-radius: 30px;
  color: var(--white);
  background: var(--navy);
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 70px;
}
.process-intro .eyebrow { color: #c9cadb; }
.process-intro h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
}
.process-intro > p:last-child { margin: 24px 0 0; color: #d6d7e3; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.process-list li:first-child { padding-top: 0; }
.process-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.process-list li > span {
  color: #bfc1d5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}
.process-list strong { display: block; font-size: 1rem; }
.process-list p { margin: 4px 0 0; color: #cfd0dd; font-size: .92rem; }

@media (max-width: 900px) {
  .experience-head, .process-block { grid-template-columns: 1fr; }
  .experience-head { gap: 24px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: 280px; }
  .process-block { gap: 45px; padding: 44px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .experience-card { min-height: auto; padding: 30px; }
  .experience-label { padding-bottom: 54px; }
  .process-block { padding: 34px 26px; border-radius: 24px; }
  .process-list li { grid-template-columns: 36px 1fr; gap: 12px; }
}


/* V3: collaboration section and refined service positioning */
.collaboration-section { background: var(--navy); color: var(--white); }
.collaboration-section .eyebrow { color: #c9cadb; }
.collaboration-section .lead { color: #d6d7e3; }
.collaboration-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  align-items: end;
  gap: 70px;
  margin-bottom: 52px;
}
.collaboration-head .lead { margin: 0; }
.collaboration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.collaboration-card {
  min-height: 340px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  display: flex;
  flex-direction: column;
}
.collaboration-card .card-number { margin-bottom: auto; color: #c9cadb; }
.collaboration-card h3 {
  margin: 48px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.08;
}
.collaboration-card p { margin: 0; color: #d6d7e3; }
.collaboration-note {
  margin: 28px 0 0;
  max-width: 900px;
  color: #bfc1d5;
  font-size: .9rem;
}
@media (max-width: 900px) {
  .collaboration-head { grid-template-columns: 1fr; gap: 24px; }
  .collaboration-grid { grid-template-columns: 1fr; }
  .collaboration-card { min-height: 270px; }
}
@media (max-width: 600px) {
  .collaboration-card { min-height: auto; padding: 30px; }
}
