/* Miranda & Rodrigues — premium refinement 2026-09-01 */
:root {
  --premium-navy: #06192d;
  --premium-navy-2: #0a2d4b;
  --premium-gold: #e9ca83;
  --premium-gold-deep: #9a8148;
  --premium-cream: #f8f5ee;
  --premium-line: rgba(7,32,60,.105);
  --premium-shadow: 0 26px 80px rgba(3,18,34,.13);
}

body { background: #fbfaf7; }

/* -------- Navbar: fixed, elegant, more readable -------- */
.site-header {
  height: 104px;
  padding: 14px 0;
  background: linear-gradient(to bottom, rgba(2,14,27,.42), rgba(2,14,27,0));
  transition: height .4s var(--ease), padding .4s var(--ease), background .4s ease, box-shadow .4s ease;
}
.site-header::after { display: none; }
.nav-shell {
  width: min(1320px, calc(100% - 56px));
  padding: 0 20px 0 22px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: rgba(3,18,34,.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-radius .4s var(--ease), background .4s ease, border-color .4s ease, box-shadow .4s ease, padding .4s var(--ease);
}
.site-header.is-scrolled {
  height: 82px;
  padding: 8px 0;
  background: rgba(2,14,27,.93);
  box-shadow: 0 15px 48px rgba(0,0,0,.16);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}
.site-header.is-scrolled .nav-shell {
  border-color: rgba(255,255,255,.08);
  border-radius: 17px;
  background: rgba(255,255,255,.025);
}
.site-logo { width: 205px; max-height: 62px; }
.site-header.is-scrolled .site-logo { width: 188px; max-height: 54px; }
.main-nav { gap: 25px; margin-right: 26px; }
.main-nav a {
  padding: 12px 0;
  color: rgba(255,255,255,.67);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .015em;
}
.main-nav a::after { bottom: 5px; background: var(--premium-gold); }
.nav-cta {
  gap: 11px;
  padding: 5px 5px 5px 17px;
  border-color: rgba(233,202,131,.38);
  font-size: 9px;
  letter-spacing: .07em;
}
.nav-cta b { width: 34px; height: 34px; }

/* -------- Global type rhythm/readability -------- */
.section-label { font-size: 10px; letter-spacing: .16em; }
.lede { font-size: 15px; line-height: 1.8; }
.text-link { font-size: 11px; }
.button { min-height: 58px; font-size: 10px; }
.button b { width: 42px; height: 42px; }

/* -------- Completely rebuilt hero -------- */
.home-hero {
  min-height: 900px;
  padding: 145px 0 92px;
  background:
    radial-gradient(circle at 71% 23%, rgba(42,105,151,.24), transparent 24%),
    radial-gradient(circle at 87% 74%, rgba(233,202,131,.13), transparent 26%),
    linear-gradient(122deg, #020c17 0%, #04182b 42%, #082c4b 76%, #0a3559 100%);
}
.home-hero::before {
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(100deg, black 0%, rgba(0,0,0,.75) 56%, rgba(0,0,0,.12) 100%);
}
.home-hero::after {
  top: 4%; right: 34%; width: 1px; height: 88%;
  background: linear-gradient(transparent, rgba(233,202,131,.21), transparent);
  filter: none; transform: none;
}
.hero-noise {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.hero-glow {
  top: 7%; right: -250px; width: 760px; height: 760px;
  border-color: rgba(233,202,131,.10);
  opacity: .75;
}
.home-hero-grid {
  width: min(1320px, calc(100% - 56px));
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: clamp(62px, 6vw, 105px);
  align-items: center;
}
.home-hero-copy { max-width: 760px; padding-top: 15px; }
.home-hero .eyebrow { font-size: 10px; letter-spacing: .22em; }
.home-hero h1 { margin: 31px 0 30px; }
.hero-line-sans {
  font-size: clamp(64px, 6.2vw, 94px);
  font-weight: 300;
  letter-spacing: -.065em;
  line-height: .88;
}
.home-hero h1 .hero-line-serif {
  max-width: 680px;
  margin-top: .26em;
  margin-left: .10em;
  font-size: clamp(43px, 4.45vw, 65px);
  line-height: .94;
}
.hero-intro-row {
  grid-template-columns: 58px minmax(0, 555px);
  gap: 20px;
}
.hero-intro-row p { font-size: 15px; line-height: 1.82; color: rgba(255,255,255,.68); }
.hero-actions { gap: 27px; margin-top: 36px; }
.hero-secondary-link {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 13px 3px;
  color: rgba(255,255,255,.82);
  font-size: 11px; font-weight: 600; letter-spacing: .025em;
  border-bottom: 1px solid rgba(255,255,255,.20);
  transition: color .25s, border-color .25s;
}
.hero-secondary-link b { color: var(--premium-gold); font-size: 15px; transition: transform .3s var(--ease); }
.hero-secondary-link:hover { color: white; border-color: var(--premium-gold); }
.hero-secondary-link:hover b { transform: translateX(5px); }
.hero-assurance {
  gap: 22px; margin-top: 33px;
  font-size: 9px; letter-spacing: .105em; color: rgba(255,255,255,.46);
}
.hero-assurance span::before { width: 5px; height: 5px; }

.hero-visual {
  position: relative;
  min-height: 620px;
  isolation: isolate;
  transform-style: preserve-3d;
}
.hero-photo-halo {
  position: absolute; z-index: -2;
  top: 1%; right: -8%; width: 88%; height: 92%;
  border-radius: 48% 48% 31px 31px / 32% 32% 31px 31px;
  background: linear-gradient(160deg, rgba(233,202,131,.22), rgba(26,76,114,.04) 58%);
  border: 1px solid rgba(233,202,131,.22);
  transform: rotate(4deg);
}
.hero-photo-halo::before {
  content: ""; position: absolute; inset: 22px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: inherit;
}
.hero-photo-frame {
  position: absolute; inset: 18px 25px 0 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 160px 160px 30px 30px;
  background: #07182a;
  box-shadow: 0 48px 95px rgba(0,0,0,.34);
}
.hero-photo-frame::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(233,202,131,.18);
  border-radius: inherit;
  pointer-events: none;
}
.hero-photo-frame img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 31%;
  transform: scale(1.015);
  filter: saturate(.93) contrast(1.02);
  transition: transform 1.2s var(--ease), filter .6s ease;
}
.hero-visual:hover .hero-photo-frame img { transform: scale(1.045); filter: saturate(1) contrast(1.03); }
.hero-photo-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(2,14,27,.78) 0%, rgba(2,14,27,.08) 32%, transparent 57%),
    linear-gradient(90deg, rgba(2,14,27,.13), transparent 35%, rgba(2,14,27,.08));
}
.hero-person-label {
  position: absolute; left: 31px; bottom: 29px; z-index: 2;
  display: flex; flex-direction: column; gap: 3px;
  padding-left: 15px; border-left: 2px solid var(--premium-gold);
}
.hero-person-label span { color: white; font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.hero-person-label small { color: rgba(255,255,255,.58); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.hero-float-card {
  position: absolute; z-index: 5;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(3,17,32,.77);
  box-shadow: 0 22px 55px rgba(0,0,0,.22);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
}
.hero-float-card-top {
  top: 67px; left: -39px;
  width: 185px; padding: 20px 21px;
  border-radius: 24px 24px 7px 24px;
}
.hero-card-kicker { display: block; color: var(--premium-gold); font-size: 8px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.hero-float-card-top strong { display: block; margin-top: 10px; color: white; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.03; }
.hero-float-card-bottom {
  right: -35px; bottom: 66px;
  display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 15px;
  min-width: 244px; padding: 13px 16px 13px 13px;
  border-radius: 999px;
}
.hero-card-mark {
  display: grid; place-items: center; width: 54px; height: 54px;
  border-radius: 50%; background: linear-gradient(145deg, #f3d792, #c69d52);
  color: var(--premium-navy); font-family: var(--serif); font-size: 17px;
}
.hero-float-card-bottom small, .hero-float-card-bottom strong { display: block; }
.hero-float-card-bottom small { color: rgba(255,255,255,.42); font-size: 7px; letter-spacing: .15em; text-transform: uppercase; }
.hero-float-card-bottom strong { margin-top: 4px; color: white; font-size: 11px; font-weight: 500; }
.hero-vertical-note {
  position: absolute; z-index: 3; top: 48%; right: -61px;
  color: rgba(255,255,255,.28); font-size: 8px; font-weight: 600; letter-spacing: .23em; text-transform: uppercase;
  transform: rotate(90deg) translateX(50%); transform-origin: right center;
}
.hero-foot { background: rgba(2,14,27,.34); backdrop-filter: blur(6px); }
.hero-foot .page-shell { width: min(1320px, calc(100% - 56px)); grid-template-columns: repeat(4,1fr); }
.hero-foot span { padding: 19px 0; font-size: 8px; letter-spacing: .15em; }

/* -------- Home sections: more editorial, richer cards -------- */
.home-intro {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 34%, rgba(233,202,131,.15), transparent 20%),
    linear-gradient(180deg, #fbfaf7, #f8f5ee);
}
.home-intro::after {
  content: ""; position: absolute; right: -180px; top: 70px; width: 460px; height: 460px;
  border: 1px solid rgba(7,32,60,.06); border-radius: 50%;
}
.home-intro-grid { gap: 105px; align-items: center; }
.principle-orbit {
  min-height: 430px;
  border: 1px solid var(--premium-line);
  border-radius: 44px 44px 12px 44px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 28px 80px rgba(7,32,60,.07);
}
.principle-orbit::before { width: 310px; height: 310px; border-color: rgba(7,32,60,.11); }
.principle-orbit::after { width: 215px; height: 215px; border-color: rgba(154,129,72,.22); }
.orbit-dot { top: 34px; right: 36px; width: 62px; height: 62px; }
.orbit-copy strong { font-size: 61px; }
.orbit-copy span { font-size: 9px; }
.home-intro-text p { font-size: 14px; }

.section-navy {
  background:
    radial-gradient(circle at 92% 10%, rgba(24,74,111,.34), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(233,202,131,.08), transparent 26%),
    #061a30;
}
.section-navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .32;
  background-image: linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 90px 90px;
}
.section-navy > .page-shell { position: relative; z-index: 1; }
.practice-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.practice-tile {
  min-height: 280px;
  padding: 30px;
  border-radius: 27px 27px 8px 27px;
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
  box-shadow: inset 0 1px rgba(255,255,255,.03);
}
.practice-tile::before { right: -50px; bottom: -80px; width: 190px; height: 190px; }
.practice-tile::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(135deg, rgba(233,202,131,.12), transparent 52%);
  transition: opacity .35s ease;
}
.practice-tile:hover::after { opacity: 1; }
.practice-number, .practice-tile > div, .practice-tile .tile-arrow { position: relative; z-index: 2; }
.practice-tile h3 { margin-top: 55px; font-size: 25px; }
.practice-tile p { font-size: 12px; }

.section-ivory { background: #f4f0e8; }
.method-ribbon { gap: 16px; }
.method-step {
  min-height: 270px;
  padding: 30px;
  border-radius: 27px 27px 8px 27px;
  box-shadow: 0 12px 35px rgba(7,32,60,.035);
}
.method-step h3 { margin-top: 50px; font-size: 21px; }
.method-step p { font-size: 12px; }
.method-step > span { width: 45px; height: 45px; border: 1px solid var(--premium-line); background: #f9f6ef; }

.partners-preview { gap: 90px; }
.partner-orbit { min-height: 580px; }
.partner-portrait.first { width: 66%; height: 73%; border-radius: 110px 110px 24px 110px; }
.partner-portrait.second { width: 58%; height: 64%; border-width: 9px; border-radius: 90px 22px 90px 90px; }
.partner-portrait img { object-position: center 28%; }
.partner-portrait.first img { object-position: center 25%; }
.mini-partner { padding: 24px 0; }
.mini-partner strong { font-size: 16px; }

.cta-band {
  padding: 102px 0;
  background:
    radial-gradient(circle at 85% 50%, rgba(38,103,148,.28), transparent 27%),
    linear-gradient(120deg, #020c17, #061d35 65%, #082d4e);
}

/* -------- Inner pages / cards also receive the visual refinement -------- */
.inner-hero { padding-top: 190px; background: radial-gradient(circle at 83% 34%, rgba(34,91,132,.42), transparent 26%), linear-gradient(132deg,#020d19,#072541); }
.inner-hero::before { opacity: .72; }
.profile {
  border: 1px solid var(--premium-line);
  box-shadow: 0 25px 75px rgba(7,32,60,.08);
}
.profile-art img { object-position: center 26%; }
#nayara .profile-art img { object-position: center 28%; }
.soft-panel, .collaboration-card, .contact-form { box-shadow: 0 25px 70px rgba(7,32,60,.07); }

/* -------- Animation polish -------- */
.reveal { transform: translateY(30px); transition-duration: .9s; }
.practice-tile, .method-step, .mini-partner, .profile { will-change: transform; }

@media (max-width: 1180px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 10px; }
  .home-hero-grid { gap: 58px; }
  .hero-float-card-top { left: -20px; }
  .hero-float-card-bottom { right: -15px; }
  .practice-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .site-header { height: 86px; padding: 9px 0; }
  .nav-shell { width: min(100% - 28px, 1320px); padding: 0 14px 0 17px; border-radius: 18px; }
  .main-nav.is-open { top: calc(100% + 7px); right: 0; left: 0; border-radius: 18px; }
  .home-hero { padding: 130px 0 84px; }
  .home-hero::after { display: none; }
  .home-hero-grid { width: min(100% - 36px, 860px); grid-template-columns: 1fr; gap: 54px; }
  .home-hero-copy { max-width: 760px; }
  .hero-line-sans { font-size: clamp(60px, 10vw, 88px); }
  .home-hero h1 .hero-line-serif { font-size: clamp(40px, 6.7vw, 58px); }
  .hero-visual { width: min(590px, 92%); min-height: 650px; margin: 0 auto; }
  .hero-photo-frame { inset: 18px 18px 0; }
  .hero-photo-halo { right: -2%; }
  .hero-float-card-top { left: -25px; }
  .hero-float-card-bottom { right: -22px; }
  .hero-vertical-note { right: -52px; }
  .home-intro-grid { gap: 60px; }
  .practice-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .site-header, .site-header.is-scrolled { height: 74px; padding: 7px 0; }
  .nav-shell { width: calc(100% - 20px); min-height: 60px; }
  .site-logo, .site-header.is-scrolled .site-logo { width: 167px; }
  .menu-toggle { width: 39px; height: 39px; }
  .home-hero { min-height: 0; padding: 105px 0 72px; }
  .home-hero-grid { width: calc(100% - 30px); gap: 42px; }
  .home-hero .eyebrow { font-size: 8px; }
  .hero-line-sans { font-size: clamp(49px, 14.5vw, 67px); }
  .home-hero h1 .hero-line-serif { margin-left: 0; font-size: clamp(32px, 9.7vw, 45px); }
  .hero-intro-row { grid-template-columns: 35px 1fr; gap: 14px; }
  .hero-intro-row p { font-size: 13px; }
  .hero-actions { align-items: stretch; gap: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-secondary-link { align-self: flex-start; margin-left: 3px; }
  .hero-assurance { flex-direction: row; flex-wrap: wrap; gap: 10px 18px; font-size: 8px; }
  .hero-visual { width: 100%; min-height: 500px; }
  .hero-photo-frame { inset: 12px 0 0; border-radius: 100px 100px 24px 24px; }
  .hero-photo-halo { top: 0; right: -4%; width: 92%; height: 96%; }
  .hero-float-card-top { top: 45px; left: -4px; width: 154px; padding: 16px; }
  .hero-float-card-top strong { font-size: 20px; }
  .hero-float-card-bottom { right: -3px; bottom: 33px; min-width: 210px; grid-template-columns: 46px 1fr; }
  .hero-card-mark { width: 46px; height: 46px; font-size: 15px; }
  .hero-vertical-note { display: none; }
  .hero-person-label { left: 22px; bottom: 26px; }
  .home-intro-grid { gap: 44px; }
  .principle-orbit { min-height: 350px; }
  .practice-list { grid-template-columns: 1fr; }
  .practice-tile { min-height: 245px; }
  .method-step { min-height: 235px; }
  .partner-orbit { min-height: 460px; }
}
