:root {
  --ink: #111923;
  --ink-soft: #263440;
  --teal: #08c6d3;
  --teal-dark: #069ca8;
  --paper: #fbfaf7;
  --white: #ffffff;
  --muted: #68747d;
  --line: #e4e8e8;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251,250,247,.94); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(17,25,35,.08); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 49px; height: 49px; object-fit: contain; border-radius: 50%; }
.brand span { display: grid; gap: 3px; }
.brand strong { font-size: 15px; letter-spacing: -.03em; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .02em; }
nav { display: flex; align-items: center; gap: 24px; font-size: 12px; font-weight: 650; }
nav > a:not(.nav-cta) { color: #4f5b64; }
nav > a:not(.nav-cta):hover, .text-link:hover { color: var(--teal-dark); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: white; padding: 12px 15px; border-radius: 4px; white-space: nowrap; }
.nav-cta span, .button span { color: var(--teal); font-size: 17px; line-height: .8; }
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 80% 30%, rgba(8,198,211,.11), transparent 34%), var(--paper); padding-top: 52px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(30px, 6vw, 82px); }
.hero-copy { padding: 18px 0 35px; position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: #56636d; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.eyebrow > span { width: 22px; height: 2px; display: inline-block; background: var(--teal); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.055em; line-height: 1.04; }
h1 { max-width: 620px; margin-bottom: 23px; font-size: clamp(42px, 5.5vw, 70px); }
h1 em, h2 em { color: var(--teal-dark); font-family: var(--serif); font-weight: 400; }
.hero-intro { max-width: 510px; color: #56636d; font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 49px; padding: 0 20px; border-radius: 4px; font-size: 12px; font-weight: 750; transition: transform .18s ease, background .18s ease; }
.button:hover, .nav-cta:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover, .nav-cta:hover { background: #263440; }
.text-link { font-size: 12px; font-weight: 750; color: #4f5b64; }
.text-link span { margin-left: 5px; color: var(--teal-dark); }
.experience-note { display: flex; align-items: center; gap: 14px; margin-top: 39px; color: var(--ink); font-size: 12px; font-weight: 750; line-height: 1.45; }
.experience-number { color: var(--teal-dark); font-family: var(--serif); font-size: 38px; letter-spacing: -.06em; }
.experience-note small { color: var(--muted); font-size: 10px; font-weight: 500; }
.hero-visual { position: relative; padding: 0 12px 34px 0; min-width: 0; }
.portrait-frame { position: relative; z-index: 1; overflow: hidden; border-radius: 46% 46% 5px 5px; background: #e8e5de; box-shadow: 22px 22px 0 rgba(8,198,211,.14); }
.portrait-frame img { width: 100%; aspect-ratio: 1 / 1.07; object-fit: cover; object-position: center 30%; }
.portrait-caption { position: absolute; right: -4px; bottom: 3px; z-index: 2; display: flex; align-items: center; gap: 9px; max-width: 245px; padding: 14px 16px; background: white; box-shadow: 0 8px 30px rgba(17,25,35,.09); font-size: 10px; font-weight: 700; line-height: 1.5; }
.caption-dot { flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.accent-ring { position: absolute; top: 5%; right: -10%; width: 100px; height: 100px; border: 1px solid rgba(8,198,211,.55); border-radius: 50%; }
.hero-bottom { display: flex; align-items: center; gap: 15px; padding-block: 22px; color: #879198; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.hero-bottom i { width: 4px; height: 4px; background: var(--teal); border-radius: 50%; }
.section-pad { padding-block: 100px; }
.about { background: white; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 7vw, 100px); align-items: start; }
h2 { margin-bottom: 0; font-size: clamp(34px, 4.4vw, 53px); }
.about-copy { padding-top: 7px; }
.about-copy p { color: #637079; font-size: 14px; line-height: 1.9; }
.about-copy .large-copy { color: var(--ink-soft); font-size: 18px; line-height: 1.7; }
.button-outline { margin-top: 8px; border: 1px solid #cbd2d4; }
.button-outline span { color: var(--teal-dark); }
.button-outline:hover { border-color: var(--teal-dark); }
.credentials { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 65px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credential { display: flex; align-items: flex-start; gap: 15px; padding: 24px 16px 24px 0; }
.credential + .credential { padding-left: 24px; border-left: 1px solid var(--line); }
.credential-index { color: var(--teal-dark); font-size: 10px; font-weight: 800; }
.credential div { display: grid; gap: 7px; }
.credential strong { font-size: 12px; }
.credential small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.services { background: #f2f5f4; }
.section-heading { max-width: 670px; }
.section-heading h2 { margin-bottom: 17px; }
.section-heading > p:last-child { max-width: 430px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 43px; }
.service-card { min-height: 260px; padding: 27px 25px; border: 1px solid #dfe5e4; background: rgba(255,255,255,.58); }
.featured-card { border-color: var(--ink); background: var(--ink); color: white; }
.service-number { color: #77858c; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.featured-card .service-number { color: #8be7eb; }
.service-icon { width: 43px; height: 43px; display: grid; place-items: center; margin: 26px 0 20px; color: var(--teal-dark); }
.service-icon svg { width: 39px; height: 39px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.featured-card .service-icon { color: var(--teal); }
.service-card h3 { max-width: 230px; margin-bottom: 11px; font-size: 19px; letter-spacing: -.035em; }
.service-card p { margin-bottom: 0; color: #6c777e; font-size: 12px; line-height: 1.8; }
.featured-card p { color: #c0cbd0; }
.services-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; }
.services-cta p { margin: 0; font-family: var(--serif); font-size: 21px; }
.contact { padding-top: 70px; padding-bottom: 70px; background: white; }
.contact-panel { position: relative; overflow: hidden; padding: clamp(36px, 7vw, 76px); background: var(--ink); color: white; }
.contact-panel .eyebrow { color: #d3dcdf; }
.contact-panel h2 { position: relative; z-index: 1; margin-bottom: 18px; font-size: clamp(37px, 5vw, 60px); }
.contact-panel h2 em { color: var(--teal); }
.contact-panel > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 440px; color: #c1cbd0; font-size: 13px; line-height: 1.8; }
.button-light { position: relative; z-index: 1; margin-top: 10px; background: var(--teal); color: var(--ink); }
.button-light span { color: var(--ink); }
.button-light:hover { background: #72e3e8; }
.contact-mark { position: absolute; top: -45px; right: 5%; color: rgba(255,255,255,.045); font-size: clamp(180px, 30vw, 360px); font-weight: 850; letter-spacing: -.1em; line-height: 1; }
.contact-mark span { color: rgba(8,198,211,.15); }
.site-footer { background: white; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-brand { color: var(--ink); font-size: 11px; font-weight: 800; }
.footer-brand span { color: var(--muted); font-weight: 500; }
.footer-wrap > a:last-child { font-weight: 750; }
:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 4px; }
@media (min-width: 1400px) { .hero { padding-top: 70px; } }
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 560px); }
  .nav-wrap { min-height: 70px; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 9px; }
  nav { gap: 0; }
  nav > a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 11px 12px; font-size: 11px; }
  .hero { padding-top: 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-copy { padding: 10px 0 0; }
  .eyebrow { margin-bottom: 16px; font-size: 9px; }
  h1 { max-width: 510px; font-size: clamp(41px, 10.6vw, 58px); }
  .hero-intro { font-size: 14px; line-height: 1.8; }
  .hero-actions { gap: 18px; margin-top: 22px; }
  .experience-note { margin-top: 26px; }
  .hero-visual { width: min(100%, 410px); margin-inline: auto; padding: 0 10px 30px 0; }
  .portrait-frame img { aspect-ratio: 1 / .94; object-position: center 30%; }
  .portrait-caption { right: -1px; max-width: 220px; padding: 11px 12px; font-size: 9px; }
  .accent-ring { right: -3%; width: 70px; height: 70px; }
  .hero-bottom { gap: 9px; padding-block: 18px; font-size: 8px; letter-spacing: .1em; }
  .section-pad { padding-block: 68px; }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  h2 { font-size: clamp(35px, 8.5vw, 47px); }
  .about-copy .large-copy { font-size: 17px; }
  .credentials { grid-template-columns: 1fr; margin-top: 40px; }
  .credential { padding: 19px 0; }
  .credential + .credential { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .service-card { min-height: auto; padding: 23px; }
  .service-icon { margin: 21px 0 14px; }
  .service-card h3 { font-size: 20px; }
  .services-cta { align-items: flex-start; flex-direction: column; margin-top: 25px; }
  .contact { padding-block: 42px; }
  .contact-panel { padding: 34px 25px; }
  .contact-panel h2 { font-size: clamp(37px, 9vw, 49px); }
  .contact-mark { top: 30px; right: -12px; font-size: 170px; }
  .footer-wrap { flex-wrap: wrap; justify-content: space-between; padding-block: 20px; }
  .footer-brand { width: 100%; }
}
@media (max-width: 370px) {
  .brand small { max-width: 135px; }
  .nav-cta { gap: 5px; padding: 10px 9px; }
  .hero-bottom { letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* v2 layout and palette corrections */
:root { --paper:#ffffff; --teal:#08c6d3; }
body, .site-header, .hero, .about, .contact, .site-footer { background-color:#ffffff; }
.site-header { background:rgba(255,255,255,.97); }
.hero { background:linear-gradient(120deg,#ffffff 50%,#f0fafb 100%); }
.services { background:#f4f8f9; }
.hero-grid { grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:clamp(28px,4vw,60px); }
.hero-copy,.hero-visual,.about-grid > *,.service-card { min-width:0; }
h1 { font-size:clamp(39px,4.65vw,62px); overflow-wrap:normal; }
h1,h2,h3 { text-wrap:balance; }
.hero-visual { padding-right:18px; }
.portrait-frame { border-radius:20px; box-shadow:14px 14px 0 rgba(8,198,211,.12); }
.portrait-frame img { aspect-ratio: 1.12 / 1; object-position:center center; }
.portrait-caption { right:0; bottom:7px; }
.about-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.credential { min-width:0; }
.credential strong,.credential small { overflow-wrap:break-word; }
.service-grid { align-items:stretch; }
.service-card { display:flex; flex-direction:column; }
.service-card p { margin-top:auto; }
.contact-panel h2 { max-width:780px; }
@media(max-width:900px) and (min-width:761px) {
  .hero-grid { gap:26px; }
  h1 { font-size:clamp(37px,4.8vw,48px); }
  nav { gap:14px; }
  .credentials { grid-template-columns:1fr; }
  .credential + .credential { padding-left:0; border-left:0; border-top:1px solid var(--line); }
}
@media(max-width:760px) {
  .hero-grid,.about-grid { grid-template-columns:minmax(0,1fr); }
  .hero { background:linear-gradient(180deg,#fff 55%,#f0fafb 100%); }
  h1 { font-size:clamp(37px,9.4vw,54px); }
  .hero-visual { padding-right:12px; }
  .portrait-frame img { aspect-ratio:1.12 / 1; }
  .service-card p { margin-top:0; }
  .hero-bottom { flex-wrap:wrap; }
  .contact-panel h2 br { display:none; }
}
@media(max-width:390px) {
  .brand { gap:7px; }
  .brand img { width:36px; height:36px; }
  .brand strong { font-size:12px; }
  .brand small { font-size:8px; }
  .nav-cta { font-size:10px; }
  .hero-actions { align-items:flex-start; flex-direction:column; gap:15px; }
}

/* Revision 2 — consistent alignment and logo-led neutral palette */
:root { --paper: #ffffff; --muted: #586773; --line: #dce5e8; }
body { overflow-x: hidden; }
.site-header { background: rgba(255,255,255,.97); }
.hero { background: linear-gradient(115deg,#ffffff 0%,#ffffff 56%,#edf9fa 100%); padding-top: 44px; }
.hero-grid { grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: clamp(24px,4vw,56px); }
.hero-copy { min-width:0; padding-block: 24px 36px; }
h1 { font-size: clamp(38px,4.5vw,61px); line-height:1.12; overflow-wrap: normal; }
h1 em { display: inline; }
.hero-intro { max-width: 520px; }
.hero-visual { padding: 0 12px 22px 0; }
.portrait-frame { border-radius: 18px; background: #eaf3f5; box-shadow: 12px 12px 0 rgba(8,198,211,.12); }
.portrait-frame img { aspect-ratio: 1.32 / 1; object-position: 62% 40%; }
.portrait-caption { right: 0; bottom: 0; }
.accent-ring { display: none; }
.about-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; }
.credentials { grid-template-columns: repeat(3,minmax(0,1fr)); }
.credential { min-width:0; }
.credential strong,.credential small { overflow-wrap:anywhere; }
.service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.services { background: #f0f6f7; }
.service-card { background:#fff; }
.featured-card { background: var(--ink); }
.contact-panel { border-radius: 12px; }
@media (max-width: 900px) and (min-width: 761px) {
  .hero-grid { gap: 24px; }
  h1 { font-size: clamp(36px,4.6vw,46px); }
  nav { gap: 14px; }
  .about-grid { gap: 32px; }
  .credential { gap: 8px; padding-right: 10px; }
  .credential + .credential { padding-left: 12px; }
}
@media (max-width: 760px) {
  .hero { padding-top: 22px; background: linear-gradient(180deg,#fff 0%,#f0fafa 100%); }
  .hero-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
  .hero-copy { padding: 8px 0 0; }
  h1 { font-size: clamp(36px,9vw,52px); line-height:1.13; }
  .hero-visual { width: min(100%,480px); padding: 0 9px 15px 0; }
  .portrait-frame img { aspect-ratio: 1.32 / 1; object-position: 60% 40%; }
  .portrait-caption { bottom:-4px; }
  .about-grid { grid-template-columns:minmax(0,1fr); gap:25px; }
  .credentials { grid-template-columns:minmax(0,1fr); }
  .service-grid { grid-template-columns:minmax(0,1fr); }
  .hero-bottom { flex-wrap:wrap; }
}
@media (max-width: 390px) {
  .brand { gap:7px; }
  .brand img { width:37px; height:37px; }
  .brand strong { font-size:12px; }
  .brand small { font-size:8px; }
  .nav-cta { font-size:10px; padding:10px 8px; }
  h1 { font-size:35px; }
}
