:root {
  --navy: #0a3158;
  --midnight: #061b31;
  --midnight-deep: #031221;
  --red: #ef233c;
  --ivory: #f5f2ec;
  --silver: #bcc3ca;
  --line: rgba(188, 195, 202, 0.24);
  --paper: #f5f6f7;
  --ink: #0a233c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--midnight); color: var(--ivory); font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.section { padding: 112px 0; }

.topbar { background: var(--red); color: white; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.topbar-inner { min-height: 37px; display: flex; align-items: center; justify-content: space-between; }
.topbar-inner > div { display: flex; align-items: center; gap: 14px; }
.topbar-dot { width: 3px; height: 3px; border-radius: 50%; background: white; opacity: .7; }
.site-header { background: rgba(6, 27, 49, .96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); }
.nav-wrap { min-height: 94px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 284px; }
.brand img { width: 70px; height: 54px; object-fit: contain; }
.brand span { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 700; letter-spacing: -.02em; color: var(--ivory); white-space: nowrap; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 31px; }
.nav-links a { position: relative; padding: 36px 0 33px; font-size: 14px; font-weight: 650; color: #e7ebee; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 24px; height: 2px; background: var(--red); transition: right .2s ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.header-cta { border: 1px solid var(--red); min-height: 46px; padding: 0 19px; display: inline-flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 750; white-space: nowrap; transition: background .2s ease; }
.header-cta:hover { background: var(--red); }
.menu-button { display: none; }

.hero { min-height: 780px; position: relative; overflow: hidden; background: radial-gradient(circle at 75% 42%, #123f67 0, var(--midnight) 32%, var(--midnight-deep) 76%); }
.hero-grid-overlay { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, black, transparent 64%); }
.hero-inner { min-height: 780px; display: grid; grid-template-columns: 57% 43%; grid-template-rows: 1fr auto; position: relative; }
.hero-copy { padding: 106px 0 134px; position: relative; z-index: 3; align-self: center; }
.eyebrow { margin: 0 0 24px; color: var(--red); text-transform: uppercase; letter-spacing: .23em; font-size: 13px; line-height: 1.5; font-weight: 800; }
.eyebrow.dark { color: var(--red); }
.hero h1 { margin: 0; max-width: 830px; color: var(--ivory); font-family: Georgia, "Times New Roman", serif; font-size: clamp(55px, 5.6vw, 84px); line-height: .98; letter-spacing: -.052em; font-weight: 700; }
.hero-lead { margin: 28px 0 0; max-width: 660px; color: #c9d0d6; font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.button { min-height: 58px; padding: 0 25px; display: inline-flex; justify-content: center; align-items: center; gap: 26px; border: 1px solid transparent; font-weight: 750; font-size: 14px; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: #d9152d; }
.button-outline { border-color: rgba(255,255,255,.56); color: white; }
.button-outline:hover { border-color: white; background: rgba(255,255,255,.06); }
.whatsapp-icon { color: #62d68c; font-size: 23px; line-height: 0; }
.hero-visual { position: relative; align-self: stretch; min-height: 620px; }
.hero-visual::before { content: ""; position: absolute; inset: 12% -12% 7% 4%; background: radial-gradient(circle, rgba(30,88,132,.56), transparent 62%); }
.hero-visual img { position: absolute; width: 130%; max-width: none; height: 100%; right: -19%; bottom: 0; object-fit: cover; object-position: 72% center; mix-blend-mode: screen; filter: saturate(.85) contrast(1.04); mask-image: linear-gradient(90deg, transparent 0, black 21%, black 88%, transparent 100%); }
.hero-lines { position: absolute; left: -16%; right: -6%; bottom: 118px; height: 280px; z-index: 2; opacity: .58; }
.hero-lines i { position: absolute; bottom: 0; width: 34px; border: 1px solid var(--red); border-bottom: 0; }
.hero-lines i:nth-child(1) { height: 40px; left: 8%; }.hero-lines i:nth-child(2) { height: 80px; left: 16%; }.hero-lines i:nth-child(3) { height: 130px; left: 25%; }.hero-lines i:nth-child(4) { height: 185px; left: 35%; }.hero-lines i:nth-child(5) { height: 240px; left: 47%; }
.proof-rail { grid-column: 1 / -1; position: relative; z-index: 5; margin-bottom: 28px; border: 1px solid var(--line); background: rgba(4, 22, 39, .88); display: grid; grid-template-columns: repeat(3, 1fr); backdrop-filter: blur(12px); }
.proof-rail > div { min-height: 112px; padding: 22px 34px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.proof-rail > div:last-child { border-right: 0; }
.proof-rail strong { font-family: Georgia, "Times New Roman", serif; font-size: 30px; color: var(--ivory); }
.proof-rail span { color: var(--silver); font-size: 13px; margin-top: 8px; text-transform: uppercase; letter-spacing: .1em; }

.services, .process, .team { background: var(--paper); color: var(--ink); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.section-heading h2, .clients-heading h2, .contact h2, .about-copy h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 4.2vw, 65px); line-height: 1.03; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 5px; color: #546473; font-size: 17px; line-height: 1.7; max-width: 530px; }
.section-heading.compact { grid-template-columns: 1fr; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #cfd5da; border-left: 1px solid #cfd5da; }
.service-card { min-height: 338px; padding: 34px 32px; border-right: 1px solid #cfd5da; border-bottom: 1px solid #cfd5da; position: relative; background: #fafbfb; transition: background .24s ease, color .24s ease, transform .24s ease; }
.service-card > span { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.service-card h3 { margin: 48px 0 16px; max-width: 290px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; line-height: 1.12; }
.service-card p { margin: 0; color: #60707e; line-height: 1.65; font-size: 14px; max-width: 330px; }
.service-card a { position: absolute; bottom: 29px; left: 32px; right: 32px; color: var(--navy); font-size: 12px; font-weight: 800; display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .08em; }
.service-card:hover { background: var(--navy); color: white; transform: translateY(-4px); }
.service-card:hover p, .service-card:hover a { color: #d7dfe5; }

.about { background: var(--midnight); }
.about-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 110px; align-items: center; }
.about-visual { min-height: 590px; border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #0e3b64, #041729 70%); }
.about-visual::before { content: ""; position: absolute; width: 340px; height: 590px; left: 34%; top: -10%; border-left: 1px solid var(--red); border-right: 1px solid var(--red); transform: rotate(35deg); opacity: .52; }
.about-number { font-family: Georgia, "Times New Roman", serif; font-size: 150px; font-weight: 700; letter-spacing: -.08em; color: transparent; -webkit-text-stroke: 1px rgba(245,242,236,.5); }
.about-caption { position: absolute; left: 30px; bottom: 28px; right: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; }
.about-caption span { color: var(--red); font-size: 11px; text-transform: uppercase; letter-spacing: .15em; }
.about-caption strong { font-family: Georgia, serif; font-size: 22px; text-align: right; }
.about-copy h2 { max-width: 760px; }
.about-copy .lead { color: #e3e7ea; font-size: 20px; line-height: 1.7; margin: 32px 0 22px; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--silver); font-size: 16px; line-height: 1.7; max-width: 720px; }
.about-pillars { margin-top: 40px; border-top: 1px solid var(--line); }
.about-pillars div { min-height: 68px; display: grid; grid-template-columns: 55px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.about-pillars span { color: var(--red); font-size: 11px; font-weight: 800; }.about-pillars strong { font-size: 15px; }

.process { padding-top: 102px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #cfd5da; }
.process-grid article { padding: 33px 28px 0 0; min-height: 230px; border-right: 1px solid #cfd5da; margin-right: 28px; }
.process-grid article:last-child { border-right: 0; }
.process-grid span { color: var(--red); font-size: 12px; font-weight: 800; }.process-grid h3 { font-family: Georgia, serif; font-size: 28px; margin: 35px 0 13px; }.process-grid p { color: #60707e; font-size: 14px; line-height: 1.65; max-width: 250px; }

.clients { background: var(--navy); }
.clients-heading { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: end; margin-bottom: 50px; }
.clients-heading h2 { max-width: 850px; }
.clients-heading > p { margin: 0 0 8px; color: var(--silver); }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.client-card { min-height: 180px; padding: 24px; background: #f9fafb; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 19px; transition: transform .2s ease, background .2s ease; }
.client-card:hover { transform: translateY(-5px); background: white; }
.client-card img { max-width: 170px; max-height: 74px; object-fit: contain; }
.client-card span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #687887; text-align: center; }
.client-monogram { font-family: Georgia, serif; font-size: 47px; color: var(--navy); }
.client-card.dark-card { background: #07192a; color: white; }.client-card.dark-card span { color: #aeb8c1; }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.profile-card { display: grid; grid-template-columns: 42% 58%; min-height: 510px; background: white; border: 1px solid #d4d9dd; overflow: hidden; }
.profile-photo { background: #e8f5fb; overflow: hidden; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: saturate(.78) contrast(1.03); }
.profile-copy { padding: 45px 38px; display: flex; flex-direction: column; }
.profile-copy > span { color: var(--red); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.profile-copy h3 { margin: 22px 0 17px; font-family: Georgia, serif; font-size: 37px; line-height: 1.05; }
.profile-copy p { margin: 0; color: #4f6171; font-size: 14px; line-height: 1.68; }
.profile-copy .profile-note { margin-top: auto; padding-top: 25px; border-top: 1px solid #d9dde1; color: #71808c; font-size: 13px; }

.contact { background: var(--midnight-deep); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--silver); font-size: 18px; line-height: 1.7; max-width: 540px; }
.contact-details { margin-top: 52px; border-top: 1px solid var(--line); }
.contact-details > * { padding: 19px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 20px; }
.contact-details span { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-details strong { color: #e6eaed; font-size: 14px; line-height: 1.6; font-weight: 650; }
.contact-form { background: #f5f6f7; color: var(--ink); padding: 42px; display: flex; flex-direction: column; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 9px; }
.contact-form label > span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #cad1d6; border-radius: 0; background: white; color: var(--ink); padding: 14px 15px; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 2px rgba(239,35,60,.12); }
.contact-form textarea { resize: vertical; }
.form-button { align-self: flex-start; border: 0; }
.privacy-note { margin: -7px 0 0; color: #7a8792; font-size: 11px; }
.hp-field { position: absolute !important; left: -9999px !important; }

footer { background: #020c16; padding: 72px 0 25px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.7fr .55fr .55fr; gap: 80px; padding-bottom: 65px; }
.footer-brand .brand { margin-bottom: 20px; }.footer-brand p { color: #8796a3; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 13px; }
.footer-grid > div > span { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 7px; }
.footer-grid > div > a { color: #b6c0c8; font-size: 14px; }
.footer-grid > div > a:hover { color: white; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; color: #758592; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

@keyframes enterUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: enterUp .65s ease-out both; }

@media (max-width: 1100px) {
  .shell { width: min(100% - 40px, 980px); }
  .nav-links { gap: 18px; }.header-cta { display: none; }.brand { min-width: 240px; }
  .hero-inner { grid-template-columns: 61% 39%; }.hero-visual img { width: 155%; right: -35%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }.process-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 0; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-card { grid-template-columns: 40% 60%; }.profile-copy { padding: 34px 28px; }
  .about-grid, .contact-grid { gap: 60px; }
}

@media (max-width: 820px) {
  .section { padding: 82px 0; }.topbar-inner > span { display: none; }.topbar-inner { justify-content: center; }
  .nav-wrap { min-height: 78px; }.brand img { width: 56px; height: 44px; }.brand span { font-size: 21px; }.brand { min-width: 0; }
  .menu-button { margin-left: auto; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); background: transparent; display: flex; flex-direction: column; justify-content: center; gap: 7px; align-items: center; }
  .menu-button span { width: 20px; height: 2px; background: white; }
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 12px 20px 25px; background: #061b31; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.open { display: flex; }.nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }.nav-links a::after { display: none; }
  .hero { min-height: auto; }.hero-inner { display: flex; flex-direction: column; min-height: auto; }.hero-copy { padding: 76px 0 28px; }.hero h1 { font-size: clamp(50px, 10vw, 72px); }.hero-lead { max-width: 620px; }
  .hero-visual { min-height: 490px; order: 2; }.hero-visual img { width: 110%; right: -7%; object-position: 75% center; }.hero-lines { bottom: 35px; }
  .proof-rail { order: 3; margin-top: -8px; grid-template-columns: 1fr; }.proof-rail > div { min-height: 82px; border-right: 0; border-bottom: 1px solid var(--line); }.proof-rail > div:last-child { border-bottom: 0; }
  .section-heading, .clients-heading { grid-template-columns: 1fr; gap: 25px; }.section-heading h2, .clients-heading h2, .contact h2, .about-copy h2 { font-size: clamp(42px, 8vw, 58px); }
  .about-grid { grid-template-columns: 1fr; }.about-visual { min-height: 450px; }.about-copy { order: -1; }
  .team-grid, .contact-grid { grid-template-columns: 1fr; }.profile-card { min-height: 460px; }
  .contact-copy { margin-bottom: 10px; }.footer-grid { grid-template-columns: 1fr 1fr; }.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 30px); }.section { padding: 68px 0; }.topbar { letter-spacing: .05em; }.topbar-inner > div { gap: 8px; }
  .brand span { font-size: 18px; }.brand img { width: 49px; }
  .hero-copy { padding-top: 62px; }.hero h1 { font-size: 49px; line-height: 1.01; }.hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }.button { width: 100%; }.hero-visual { min-height: 360px; }.hero-visual img { width: 135%; right: -22%; }.hero-lines { display: none; }
  .service-grid, .process-grid, .client-grid { grid-template-columns: 1fr; }.service-card { min-height: 315px; }.process-grid article { min-height: 190px; border-right: 0; border-bottom: 1px solid #cfd5da; margin: 0; }
  .client-card { min-height: 150px; }.about-visual { min-height: 350px; }.about-number { font-size: 105px; }.about-caption { flex-direction: column; align-items: flex-start; gap: 12px; }.about-caption strong { text-align: left; }
  .profile-card { grid-template-columns: 1fr; }.profile-photo { height: 390px; }.profile-copy { min-height: 390px; }.profile-copy h3 { font-size: 33px; }
  .contact-form { padding: 25px 20px; }.field-row { grid-template-columns: 1fr; }.footer-grid { grid-template-columns: 1fr; gap: 42px; }.footer-brand { grid-column: auto; }.footer-bottom { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Version 2 enhancements */
.skip-link {
  position: fixed;
  z-index: 999;
  left: 16px;
  top: 12px;
  padding: 12px 16px;
  background: white;
  color: var(--midnight);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

#main-content { display: flex; flex-direction: column; }
#home { order: 1; }
#tax-calculator { order: 2; }
#achievements { order: 3; }
#services { order: 4; }
#about { order: 5; }
.process { order: 6; }
#clients { order: 7; }
#team { order: 8; }
#contact { order: 9; }

.portrait-visual { isolation: isolate; }
.portrait-visual::after { display: none; }
.portrait-visual img {
  width: 100%;
  right: 0;
  object-position: center 30%;
  mix-blend-mode: normal;
  filter: saturate(.92) contrast(1.02);
  mask-image: linear-gradient(90deg, transparent 0, black 17%, black 100%);
  transition: transform .2s ease-out;
}
.portrait-caption {
  position: absolute;
  z-index: 4;
  right: 26px;
  bottom: 104px;
  min-width: 238px;
  padding: 15px 20px;
  border-left: 3px solid var(--red);
  background: rgba(3,18,33,.9);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.portrait-caption span,
.portrait-caption strong { display: block; }
.portrait-caption span {
  margin-bottom: 5px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.portrait-caption strong { font-family: Georgia, serif; font-size: 21px; }

.achievements {
  position: relative;
  overflow: hidden;
  background: var(--red);
}
.achievements::before {
  content: "IMPACT";
  position: absolute;
  right: -35px;
  top: -48px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.18);
  font-family: Georgia, serif;
  font-size: clamp(110px, 18vw, 260px);
  font-weight: 700;
  line-height: 1;
}
.achievement-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 54px;
}
.achievement-intro .eyebrow { color: var(--midnight); }
.achievement-intro h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(44px, 4.5vw, 68px);
  line-height: 1;
  letter-spacing: -.045em;
}
.achievement-intro > p {
  margin: 0;
  max-width: 520px;
  color: rgba(255,255,255,.84);
  font-size: 17px;
  line-height: 1.7;
}
.achievement-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255,255,255,.35);
  border-left: 1px solid rgba(255,255,255,.35);
}
.achievement-card {
  min-height: 220px;
  padding: 34px 25px 28px;
  border-right: 1px solid rgba(255,255,255,.35);
  border-bottom: 1px solid rgba(255,255,255,.35);
  background: rgba(116,0,17,.08);
  transition: transform .3s ease, background .3s ease;
}
.achievement-card:hover {
  z-index: 2;
  transform: translateY(-8px);
  background: var(--midnight);
}
.achievement-card strong {
  display: flex;
  align-items: flex-start;
  color: white;
  font-family: Georgia, serif;
  font-size: clamp(48px, 5vw, 75px);
  line-height: 1;
  letter-spacing: -.055em;
}
.achievement-card small {
  padding-top: 5px;
  font-family: Inter, sans-serif;
  font-size: 24px;
}
.achievement-card p {
  margin: 36px 0 0;
  max-width: 150px;
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.calculator-section {
  position: relative;
  overflow: hidden;
  background: #081f37;
}
.calculator-section::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -220px;
  top: -250px;
  border: 1px solid rgba(239,35,60,.35);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(239,35,60,.03), 0 0 0 180px rgba(239,35,60,.025);
}
.calculator-heading {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}
.calculator-heading h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(44px, 4.5vw, 68px);
  line-height: 1;
  letter-spacing: -.045em;
}
.tax-year-badge {
  min-width: 190px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  background: rgba(255,255,255,.04);
}
.tax-year-badge span,
.tax-year-badge small,
.tax-year-badge strong { display: block; }
.tax-year-badge span {
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.tax-year-badge strong { margin-top: 6px; font-family: Georgia, serif; font-size: 20px; }
.tax-year-badge small { margin-top: 4px; color: var(--silver); }
.calculator-shell {
  position: relative;
  border: 1px solid var(--line);
  background: #f5f6f7;
  color: var(--ink);
  box-shadow: 0 32px 80px rgba(0,0,0,.24);
}
.calculator-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #e3e7ea;
  border-bottom: 1px solid #c5ccd2;
}
.calculator-tab {
  min-height: 78px;
  padding: 13px;
  border: 0;
  border-right: 1px solid #c5ccd2;
  background: transparent;
  color: #4e5e6d;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.calculator-tab:last-child { border-right: 0; }
.calculator-tab:hover { background: white; }
.calculator-tab.active {
  position: relative;
  background: white;
  color: var(--midnight);
}
.calculator-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background: var(--red);
}
.calculator-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.tax-form { padding: 48px; }
.calculator-panel { min-height: 260px; }
.calculator-panel[hidden] { display: none; }
.panel-kicker {
  min-height: 48px;
  margin: 0 0 29px;
  color: #5b6b79;
  font-size: 14px;
  line-height: 1.6;
}
.calculator-panel label {
  display: block;
  margin-top: 20px;
}
.calculator-panel label > span:first-child {
  display: block;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.money-input {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  min-height: 58px;
  border: 1px solid #c5cdd3;
  background: white;
}
.money-input:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(239,35,60,.12);
}
.money-input b {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #d7dce0;
  color: var(--red);
  font-size: 13px;
}
.money-input input {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
}
.check-field {
  display: flex !important;
  align-items: center;
  gap: 11px;
  padding-top: 5px;
  cursor: pointer;
}
.check-field input { width: 19px; height: 19px; accent-color: var(--red); }
.check-field span {
  margin: 0 !important;
  color: #4f5f6d;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  line-height: 1.4;
  text-transform: none !important;
}
.calculate-button { margin-top: 26px; border: 0; }
.tax-results {
  min-height: 430px;
  padding: 48px;
  background: var(--navy);
  color: white;
}
.result-label {
  margin: 0 0 10px;
  color: #9eadba;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.simple-tax-results {
  display: grid;
  gap: 14px;
  margin-top: 25px;
}
.simple-tax-results > div {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.055);
}
.simple-tax-results > div::after {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  right: -38px;
  top: -38px;
  border-radius: 50%;
  background: var(--red);
  opacity: .18;
}
.simple-tax-results span,
.simple-tax-results strong { display: block; }
.simple-tax-results span {
  color: #aebac4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.simple-tax-results strong {
  margin-top: 9px;
  color: white;
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.035em;
}
.monthly-result strong { font-size: clamp(29px, 3vw, 42px); }
.calculation-note {
  margin: 22px 0 0;
  color: #b7c2ca;
  font-size: 12px;
  line-height: 1.55;
}
.result-cta {
  display: inline-flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: white;
  font-size: 12px;
  font-weight: 800;
}
.calculator-disclaimer {
  margin: 0;
  padding: 19px 24px;
  border-top: 1px solid #c5ccd2;
  background: #e9ecef;
  color: #5f6d79;
  font-size: 11px;
  line-height: 1.55;
}

.raj-card,
.eventive-card { background: white; }
.raj-card img { max-width: 118px; max-height: 96px; }
.eventive-card img { max-width: 180px; max-height: 104px; }

.text-only-team .profile-card {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 390px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.text-only-team .profile-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -91px;
  top: -91px;
  border: 1px solid rgba(239,35,60,.25);
  transform: rotate(45deg);
}
.text-only-team .profile-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 25px 60px rgba(7,31,54,.12);
}
.profile-index {
  padding: 45px 0;
  border-right: 1px solid #d4d9dd;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 34px;
  text-align: center;
}
.text-only-team .profile-copy { min-width: 0; }
.text-only-team .profile-copy .profile-note { margin-top: 35px; }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card:nth-child(3n+2),
.achievement-card:nth-child(2),
.process-grid article:nth-child(2) { transition-delay: .06s; }
.service-card:nth-child(3n),
.achievement-card:nth-child(3),
.process-grid article:nth-child(3) { transition-delay: .12s; }
.achievement-card:nth-child(4),
.process-grid article:nth-child(4) { transition-delay: .18s; }
.achievement-card:nth-child(5) { transition-delay: .24s; }

@keyframes linePulse {
  0%, 100% { transform: scaleY(.78); opacity: .35; }
  50% { transform: scaleY(1); opacity: .8; }
}
.hero-lines i { transform-origin: bottom; animation: linePulse 3.8s ease-in-out infinite; }
.hero-lines i:nth-child(2) { animation-delay: .25s; }
.hero-lines i:nth-child(3) { animation-delay: .5s; }
.hero-lines i:nth-child(4) { animation-delay: .75s; }
.hero-lines i:nth-child(5) { animation-delay: 1s; }

@media (max-width: 1220px) {
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 12px; }
  .achievement-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .portrait-visual img {
    width: 100%;
    right: 0;
    object-position: center top;
    mask-image: linear-gradient(180deg, black 68%, transparent 100%);
  }
  .portrait-caption { right: 14px; bottom: 34px; }
  .achievement-intro { grid-template-columns: 1fr; gap: 24px; }
  .achievement-grid { grid-template-columns: repeat(2, 1fr); }
  .calculator-heading { align-items: flex-start; }
  .calculator-tabs { grid-template-columns: repeat(2, 1fr); }
  .calculator-tab:nth-child(2) { border-right: 0; }
  .calculator-tab:nth-child(-n+2) { border-bottom: 1px solid #c5ccd2; }
  .calculator-body { grid-template-columns: 1fr; }
  .tax-form, .tax-results { padding: 35px; }
  .text-only-team .profile-card { min-height: 350px; }
}

@media (max-width: 560px) {
  .portrait-visual { min-height: 510px; }
  .portrait-visual img {
    object-position: 50% 0;
    mask-image: linear-gradient(180deg, black 76%, transparent 100%);
  }
  .portrait-caption { min-width: 205px; right: 0; bottom: 34px; }

  .achievements {
    padding: 76px 0;
    background:
      radial-gradient(circle at 90% 8%, rgba(255,255,255,.16), transparent 34%),
      linear-gradient(145deg, #ef233c 0%, #d8142c 100%);
  }
  .achievements::before {
    right: -18px;
    top: 18px;
    font-size: 94px;
    opacity: .75;
  }
  .achievement-intro { margin-bottom: 34px; }
  .achievement-intro h2 { font-size: 43px; }
  .achievement-intro > p { font-size: 15px; line-height: 1.6; }
  .achievement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border: 0;
  }
  .achievement-card {
    min-height: 158px;
    padding: 23px 18px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    background: rgba(255,255,255,.11);
    box-shadow: 0 14px 34px rgba(86,0,13,.13);
    backdrop-filter: blur(9px);
  }
  .achievement-card:first-child {
    grid-column: 1 / -1;
    min-height: 170px;
    padding: 28px;
    background: linear-gradient(135deg, #061b31, #0a3158);
    box-shadow: 0 20px 45px rgba(3,18,33,.28);
  }
  .achievement-card:hover { transform: none; }
  .achievement-card strong { font-size: 48px; }
  .achievement-card:first-child strong { font-size: 67px; }
  .achievement-card p {
    margin-top: 18px;
    max-width: 135px;
    font-size: 10px;
    letter-spacing: .08em;
  }
  .achievement-card:first-child p { max-width: none; font-size: 11px; }

  .calculator-section {
    padding: 74px 0;
    background:
      radial-gradient(circle at 100% 0, rgba(239,35,60,.20), transparent 33%),
      linear-gradient(165deg, #041628 0%, #0a3158 100%);
  }
  .calculator-section::before { display: none; }
  .calculator-heading { display: block; margin-bottom: 30px; }
  .calculator-heading h2 { font-size: 43px; }
  .tax-year-badge {
    display: inline-grid;
    grid-template-columns: auto auto;
    column-gap: 9px;
    min-width: 0;
    margin-top: 23px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
  }
  .tax-year-badge span { grid-column: 1 / -1; }
  .tax-year-badge strong { margin-top: 3px; font-family: inherit; font-size: 12px; }
  .tax-year-badge small { margin-top: 3px; font-size: 11px; }
  .calculator-shell {
    border: 0;
    border-radius: 24px;
    background: transparent;
    box-shadow: none;
  }
  .calculator-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    padding: 3px 0 8px;
    overflow-x: auto;
    border: 0;
    background: transparent;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .calculator-tabs::-webkit-scrollbar { display: none; }
  .calculator-tab {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid rgba(255,255,255,.15) !important;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: #d9e0e6;
    font-size: 11px;
    scroll-snap-align: start;
  }
  .calculator-tab.active {
    border-color: var(--red) !important;
    background: var(--red);
    color: white;
    box-shadow: 0 8px 22px rgba(239,35,60,.28);
  }
  .calculator-tab.active::after { display: none; }
  .calculator-body { gap: 14px; }
  .tax-form,
  .tax-results {
    min-height: 0;
    padding: 24px 20px;
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(0,0,0,.18);
  }
  .tax-form { background: #f8fafb; }
  .tax-results { background: linear-gradient(145deg, #0a3158, #061b31); }
  .calculator-panel { min-height: 0; }
  .panel-kicker { min-height: 0; margin-bottom: 21px; font-size: 13px; }
  .money-input {
    min-height: 58px;
    overflow: hidden;
    border: 1px solid #d8dee3;
    border-radius: 14px;
    box-shadow: 0 7px 20px rgba(6,27,49,.06);
  }
  .money-input input { font-size: 18px; }
  .calculate-button {
    min-height: 54px;
    width: 100%;
    margin-top: 24px;
    border-radius: 14px;
    box-shadow: 0 12px 25px rgba(239,35,60,.22);
  }
  .simple-tax-results { gap: 10px; margin-top: 18px; }
  .simple-tax-results > div {
    padding: 21px;
    border: 0;
    border-radius: 16px;
    background: rgba(255,255,255,.075);
  }
  .simple-tax-results strong { font-size: 38px; }
  .monthly-result strong { font-size: 30px; }
  .calculation-note { margin-top: 17px; font-size: 11px; }
  .result-cta { margin-top: 17px; }
  .calculator-disclaimer {
    margin-top: 14px;
    padding: 17px 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(255,255,255,.07);
    color: #c5cfd7;
  }
  .text-only-team .profile-card { grid-template-columns: 62px 1fr; }
  .profile-index { padding: 31px 0; font-size: 25px; }
  .text-only-team .profile-copy { min-height: 420px; padding: 32px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; }
  .hero-lines i { animation: none; }
}
