/* MYM Edition 09 — Premium hero + editorial about page + compact CTAs */

/* Home hero redesign */
.hero-studio{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.hero-studio::before{
  content:"";
  position:absolute;
  inset:auto auto -18% -8%;
  width:min(38vw,540px);
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(216,184,129,.18),transparent 70%);
  pointer-events:none;
}
.hero-studio-layout{
  display:grid;
  grid-template-columns:minmax(0,1.03fr) minmax(360px,.97fr);
  gap:clamp(34px,5vw,86px);
  align-items:center;
  min-height:clamp(660px,80svh,860px);
  padding-block:clamp(68px,8vw,118px);
}
.hero-studio-copy{max-width:690px}
.hero-studio-kicker{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin:0;
  padding:12px 16px;
  border-radius:999px;
  font:800 10px/1.5 var(--sans);
  letter-spacing:.18em;
  text-transform:uppercase;
}
.hero-studio h1{
  margin:27px 0 26px;
  font:400 clamp(60px,6.4vw,104px)/1.02 var(--serif);
  letter-spacing:-.05em;
  max-width:760px;
  text-wrap:balance;
}
.hero-studio-lead{
  max-width:560px;
  font-size:clamp(15px,1.25vw,18px);
  line-height:1.85;
}
.hero-studio-actions{
  display:flex;
  flex-wrap:wrap;
  gap:13px;
  margin-top:35px;
}
.hero-studio-actions .btn{
  min-height:58px;
  padding-inline:24px;
  border-radius:4px;
}
.hero-studio-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:34px;
}
.hero-studio-meta span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:9px 14px;
  border-radius:999px;
  font:700 10px/1.5 var(--sans);
  letter-spacing:.14em;
  text-transform:uppercase;
}
.hero-studio-media{margin:0}
.hero-studio-frame{
  position:relative;
  overflow:hidden;
  border-radius:34px 34px 34px 120px;
  min-height:clamp(470px,44vw,690px);
  box-shadow:0 30px 80px rgba(7,20,27,.25);
}
.hero-studio-frame::before{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(255,245,223,.32);
  border-radius:24px 24px 24px 90px;
  z-index:2;
  pointer-events:none;
}
.hero-studio-frame img{
  width:100%;
  height:100%;
  min-height:inherit;
  object-fit:cover;
  object-position:center 54%;
  display:block;
  transition:transform .9s cubic-bezier(.2,.7,.2,1), filter .8s;
}
.hero-studio-frame:hover img{transform:scale(1.04)}
.hero-studio-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(4,12,18,.08),rgba(4,12,18,.08) 35%,rgba(4,12,18,.58));
  z-index:1;
}
.hero-studio-card{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  z-index:3;
  max-width:360px;
  padding:20px 22px;
  border-radius:24px;
  backdrop-filter:blur(12px);
}
.hero-studio-card strong{
  display:block;
  margin-bottom:10px;
  font:800 11px/1.4 var(--sans);
  letter-spacing:.2em;
  text-transform:uppercase;
}
.hero-studio-card p{
  margin:0;
  font-size:15px;
  line-height:1.65;
}

html[data-theme="light"] .hero-studio{
  background:radial-gradient(ellipse at 88% 10%,rgba(214,228,216,.58),transparent 48%),linear-gradient(118deg,#faf7f0 0%,#edf2eb 56%,#e6eee6 100%);
  color:#193d3f;
}
html[data-theme="light"] .hero-studio-kicker{
  color:#6b4926;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(25,77,74,.1);
}
html[data-theme="light"] .hero-studio h1{color:#173b3f}
html[data-theme="light"] .hero-studio-lead{color:#4a6263}
html[data-theme="light"] .hero-studio .btn-outline{
  color:#184447;
  border-color:#184447;
  background:#fff;
}
html[data-theme="light"] .hero-studio .btn-outline:hover{background:#184447;color:#fff}
html[data-theme="light"] .hero-studio-meta span{
  background:rgba(255,255,255,.86);
  color:#1a4648;
  border:1px solid rgba(25,77,74,.1);
}
html[data-theme="light"] .hero-studio-frame{box-shadow:18px 22px 0 #cfddd3,0 30px 80px rgba(18,60,58,.17)}
html[data-theme="light"] .hero-studio-card{
  background:rgba(255,252,247,.92);
  border:1px solid rgba(117,79,40,.16);
  color:#1a3f42;
}
html[data-theme="light"] .hero-studio-card strong{color:#8a5c2f}

html[data-theme="dark"] .hero-studio{
  background:radial-gradient(ellipse at 8% 85%,rgba(44,76,83,.35),transparent 45%),linear-gradient(122deg,#0a1520 0%,#102431 55%,#19323d 100%);
}
html[data-theme="dark"] .hero-studio-kicker{
  color:#e1be89;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(226,193,138,.16);
}
html[data-theme="dark"] .hero-studio h1{color:#f7efdf}
html[data-theme="dark"] .hero-studio-lead{color:#c2d0d6}
html[data-theme="dark"] .hero-studio .btn-outline{
  color:#f5ecdf;
  border-color:rgba(240,220,192,.44);
  background:transparent;
}
html[data-theme="dark"] .hero-studio .btn-outline:hover{background:rgba(255,255,255,.08)}
html[data-theme="dark"] .hero-studio-meta span{
  background:rgba(255,255,255,.05);
  color:#d8e3e7;
  border:1px solid rgba(255,255,255,.08);
}
html[data-theme="dark"] .hero-studio-card{
  background:rgba(8,20,30,.66);
  border:1px solid rgba(226,193,138,.14);
  color:#f8f1e6;
}
html[data-theme="dark"] .hero-studio-card strong{color:#e5c48d}

/* About page redesign */
.about-page-hero{
  position:relative;
  overflow:hidden;
}
.about-page-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.92fr);
  gap:clamp(36px,5vw,78px);
  align-items:center;
  min-height:clamp(600px,76svh,800px);
  padding-block:clamp(60px,7vw,104px);
}
.about-page-hero-copy h1{
  margin:18px 0 24px;
  font:400 clamp(52px,5.5vw,90px)/1.02 var(--serif);
  letter-spacing:-.05em;
  max-width:720px;
  text-wrap:balance;
}
.about-page-hero-copy p{
  max-width:580px;
  font-size:clamp(15px,1.18vw,18px);
  line-height:1.85;
}
.about-page-hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:34px}
.about-page-hero-actions .btn{min-height:58px;border-radius:4px;padding-inline:24px}
.about-page-hero-frame{
  position:relative;
  overflow:hidden;
  min-height:clamp(440px,42vw,650px);
  border-radius:36px;
  box-shadow:0 28px 76px rgba(7,20,27,.19);
}
.about-page-hero-frame img{
  width:100%;height:100%;display:block;object-fit:cover;object-position:center 52%;
}
.about-page-hero-frame::before{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(255,247,229,.28);
  border-radius:24px;
  z-index:1;
}
.about-page-hero-overlay{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  z-index:2;
}
.about-page-hero-overlay span{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:12px 16px;
  border-radius:999px;
  font:750 10px/1.5 var(--sans);
  letter-spacing:.16em;
  text-transform:uppercase;
  backdrop-filter:blur(10px);
}
.about-story-section{padding-top:86px;padding-bottom:86px}
.about-story-layout{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:clamp(28px,4vw,56px);
  align-items:start;
}
.about-story-intro h2,
.about-heading-refined h2{
  margin:16px 0 0;
  font:400 clamp(40px,4.2vw,68px)/1.08 var(--serif);
  letter-spacing:-.045em;
  text-wrap:balance;
}
.about-story-intro p,
.about-heading-refined p{
  margin:20px 0 0;
  max-width:420px;
  font-size:15px;
  line-height:1.8;
}
.about-story-card{
  padding:30px clamp(22px,3vw,34px);
  border-radius:28px;
  border:1px solid;
  box-shadow:0 18px 48px rgba(11,29,34,.08);
}
.about-story-card p{margin:0;font-size:16px;line-height:1.9}
.about-story-card p+p{margin-top:18px}
.about-values-grid,
.about-method-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.about-values-grid .numbered-card,
.about-method-grid .numbered-card{
  min-height:290px;
  padding:30px 28px;
  border-radius:28px;
  border:1px solid;
  background:transparent;
  box-shadow:none;
}
.about-method-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.about-values-grid .numbered-card .number,
.about-method-grid .numbered-card .number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:54px;
  height:54px;
  border-radius:50%;
  font:400 21px/1 var(--serif);
  margin-bottom:22px;
}
.about-values-grid .numbered-card h3,
.about-method-grid .numbered-card h3{
  margin:0 0 12px;
  font:400 clamp(26px,2vw,34px)/1.12 var(--serif);
  letter-spacing:-.03em;
}
.about-values-grid .numbered-card p,
.about-method-grid .numbered-card p{
  margin:0;
  font-size:15px;
  line-height:1.8;
}
.about-method-grid .numbered-card{position:relative}
.about-method-grid .numbered-card:not(:last-child)::after{
  content:"";
  position:absolute;
  top:42px;
  right:-11px;
  width:22px;
  height:1px;
  opacity:.35;
}

/* Compact CTA + smaller footer statement */
.cta-band-compact{padding:62px 0!important}
.cta-band-compact::after{font-size:190px!important;right:12px!important;top:-62px!important;opacity:.06!important}
.cta-band-compact .cta-inner{gap:36px}
.cta-band-compact h2{font-size:clamp(34px,4vw,52px)!important;margin:12px 0 12px!important;max-width:680px}
.cta-band-compact p{max-width:540px;font-size:15px!important}
.signature-footer .footer-statement::after{font-size:clamp(210px,24vw,410px)!important;top:-26%!important}
.footer-statement-inner{padding-block:clamp(42px,6vw,78px)!important}
.footer-statement h2{font-size:clamp(36px,4.6vw,66px)!important;max-width:640px}
.footer-discuss{min-width:min(260px,100%)!important;padding:11px 11px 11px 20px!important}
.footer-discuss-arrow{height:38px!important;width:38px!important}

html[data-theme="light"] .about-page-hero{
  background:linear-gradient(120deg,#f6f3ec 0%,#eef2eb 58%,#e8efe8 100%);
  color:#193d40;
}
html[data-theme="light"] .about-page-hero-copy h1{color:#17393d}
html[data-theme="light"] .about-page-hero-copy p{color:#4a6264}
html[data-theme="light"] .about-page-hero .btn-outline{border-color:#17484a;color:#17484a;background:#fff}
html[data-theme="light"] .about-page-hero .btn-outline:hover{background:#17484a;color:#fff}
html[data-theme="light"] .about-page-hero-frame{box-shadow:18px 22px 0 #d1ddd3,0 28px 76px rgba(21,62,60,.15)}
html[data-theme="light"] .about-page-hero-overlay span{background:rgba(255,252,247,.9);color:#1a4143;border:1px solid rgba(26,74,70,.12)}
html[data-theme="light"] .about-story-section{background:#fffdf8;color:#193d40}
html[data-theme="light"] .about-story-intro p,
html[data-theme="light"] .about-heading-refined p{color:#506668}
html[data-theme="light"] .about-story-card,
html[data-theme="light"] .about-values-grid .numbered-card,
html[data-theme="light"] .about-method-grid .numbered-card{background:#fff;border-color:#d9e0d7}
html[data-theme="light"] .about-story-card p,
html[data-theme="light"] .about-values-grid .numbered-card p,
html[data-theme="light"] .about-method-grid .numbered-card p{color:#4e6466}
html[data-theme="light"] .about-values-grid .numbered-card h3,
html[data-theme="light"] .about-method-grid .numbered-card h3,
html[data-theme="light"] .about-story-intro h2,
html[data-theme="light"] .about-heading-refined h2{color:#173a3d}
html[data-theme="light"] .about-values-grid .numbered-card .number,
html[data-theme="light"] .about-method-grid .numbered-card .number{background:#edf3ec;color:#17514d}
html[data-theme="light"] .about-method-grid .numbered-card:not(:last-child)::after{background:#9ab1a8}

html[data-theme="dark"] .about-page-hero{
  background:linear-gradient(122deg,#0c1620 0%,#112532 56%,#1a313d 100%);
  color:#f6efdf;
}
html[data-theme="dark"] .about-page-hero-copy h1{color:#f6efdf}
html[data-theme="dark"] .about-page-hero-copy p{color:#c0ced4}
html[data-theme="dark"] .about-page-hero .btn-outline{border-color:rgba(240,220,192,.42);color:#f7efdf;background:transparent}
html[data-theme="dark"] .about-page-hero .btn-outline:hover{background:rgba(255,255,255,.08)}
html[data-theme="dark"] .about-page-hero-overlay span{background:rgba(8,20,30,.68);color:#f6efdf;border:1px solid rgba(226,193,138,.14)}
html[data-theme="dark"] .about-story-section{background:linear-gradient(135deg,#11222d,#172d39);color:#f6efdf}
html[data-theme="dark"] .about-story-intro p,
html[data-theme="dark"] .about-heading-refined p{color:#b7c9cf}
html[data-theme="dark"] .about-story-card,
html[data-theme="dark"] .about-values-grid .numbered-card,
html[data-theme="dark"] .about-method-grid .numbered-card{background:rgba(12,27,37,.74);border-color:#36505c}
html[data-theme="dark"] .about-story-card p,
html[data-theme="dark"] .about-values-grid .numbered-card p,
html[data-theme="dark"] .about-method-grid .numbered-card p{color:#bfd0d6}
html[data-theme="dark"] .about-values-grid .numbered-card h3,
html[data-theme="dark"] .about-method-grid .numbered-card h3,
html[data-theme="dark"] .about-story-intro h2,
html[data-theme="dark"] .about-heading-refined h2{color:#f6efdf}
html[data-theme="dark"] .about-values-grid .numbered-card .number,
html[data-theme="dark"] .about-method-grid .numbered-card .number{background:#203743;color:#e5c58d}
html[data-theme="dark"] .about-method-grid .numbered-card:not(:last-child)::after{background:#6f8d97}

[dir="rtl"] .hero-studio h1,
[dir="rtl"] .about-page-hero-copy h1,
[dir="rtl"] .about-story-intro h2,
[dir="rtl"] .about-heading-refined h2{letter-spacing:0;line-height:1.22}
[dir="rtl"] .hero-studio-kicker,
[dir="rtl"] .hero-studio-meta span,
[dir="rtl"] .about-page-hero-overlay span{letter-spacing:0}
[dir="rtl"] .about-method-grid .numbered-card:not(:last-child)::after{right:auto;left:-11px}

@media(max-width:1100px){
  .hero-studio-layout,
  .about-page-hero-grid{grid-template-columns:1fr;min-height:0}
  .hero-studio-copy,
  .about-page-hero-copy{max-width:720px}
  .hero-studio-media,
  .about-page-hero-media{width:min(100%,620px);margin-inline:auto}
  .about-values-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .about-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .about-method-grid .numbered-card:nth-child(2n)::after{display:none}
}
@media(max-width:720px){
  .hero-studio-layout,
  .about-page-hero-grid{gap:36px;padding-block:58px 68px}
  .hero-studio h1{font-size:clamp(48px,10.5vw,68px)}
  .about-page-hero-copy h1{font-size:clamp(44px,9vw,66px)}
  .hero-studio-actions .btn,
  .about-page-hero-actions .btn{flex:1;min-width:180px}
  .hero-studio-frame{min-height:400px;border-radius:28px 28px 28px 82px}
  .hero-studio-card{left:18px;right:18px;bottom:18px;padding:18px 18px}
  .about-page-hero-frame{min-height:390px;border-radius:28px}
  .about-story-layout{grid-template-columns:1fr}
  .about-values-grid,
  .about-method-grid{grid-template-columns:1fr}
  .about-method-grid .numbered-card::after{display:none}
  .about-values-grid .numbered-card,
  .about-method-grid .numbered-card{min-height:0}
  .cta-band-compact{padding:52px 0!important}
}
@media(max-width:520px){
  .hero-studio-kicker{font-size:9px;padding:10px 12px}
  .hero-studio h1{margin:22px 0 18px}
  .hero-studio-lead,
  .about-page-hero-copy p{font-size:14px}
  .hero-studio-frame{min-height:340px;border-radius:24px 24px 24px 62px}
  .hero-studio-frame::before,
  .about-page-hero-frame::before{inset:12px}
  .hero-studio-card p{font-size:14px}
  .hero-studio-meta{margin-top:26px}
  .hero-studio-meta span{font-size:9px;min-height:34px;padding:8px 12px}
  .about-page-hero-overlay span{font-size:9px;min-height:38px}
  .about-story-card{padding:24px 18px}
  .about-values-grid .numbered-card,
  .about-method-grid .numbered-card{padding:25px 20px}
  .footer-statement h2{font-size:clamp(34px,10vw,48px)!important}
}
@media(prefers-reduced-motion:reduce){
  .hero-studio-frame img{transition:none!important}
}
