/* Carina, Brand Guide p.4. Website sizes derive from the existing responsive scale.
   Only typography changes here; surfaces, geometry and interactions stay in their existing styles. */
:root{
  --ul-font-body:'Inter',system-ui,sans-serif;
  --ul-font-display:'Anton',Impact,sans-serif;
  --ul-font-emotional:'Pinyon Script',Georgia,serif;
  --ul-font-heritage:'Unifraktur Maguntia',Georgia,serif;
  --ul-font-quiet:'Instrument Serif',Georgia,serif;
  --ul-font-ui:var(--ul-font-body);
}
html{font-synthesis:none}
body.ul-root{font-family:var(--ul-font-body);font-weight:400}
.ul-root :is(button,input,textarea,select,summary),.ul-root .nav,.ul-root .footer,
.ul-root :is(.rd-btn,.btn,.top-cta,.rd-dock,.language-picker,.calendar,.migration-tools){font-family:var(--ul-font-ui)}
/* Static Inter files provide 400/500/600/700. Avoid the former 750–900 requests. */
.ul-root :is(b,strong,button,summary,.nav a,.top-cta,.rd-btn,.btn,.rd-eyebrow,.eyebrow,
.rd-offer__tag,.rd-gen__tag,.rd-gen__more,.rd-card__num,.rd-step__num,.language-option.is-current){font-weight:700}
.ul-root :is(h1,h2,h3,h4,.rd-h2,.rd-hero__title,.rd-statement__text){
  font-family:var(--ul-font-display);font-weight:400;font-style:normal;
  text-transform:uppercase;letter-spacing:0;line-height:1.14;
  overflow-wrap:break-word;hyphens:manual;
}
.ul-root :is(h1,h2,h3,h4,.rd-statement__text) :is(span,strong,b){font-family:inherit;font-weight:inherit;letter-spacing:inherit}
.ul-root .rd-hero__title{max-width:14ch;line-height:1.08;letter-spacing:0}
.ul-root .rd-phero .rd-hero__title{max-width:16ch}
.ul-root .rd-card h3{font-size:clamp(22px,2.1vw,30px);line-height:1.2}
.ul-root .rd-card :is(p,li,span),.ul-root .rd-lead{line-height:1.65}
/* Event details and dialog titles use Inter; main section headings retain Anton. */
.ul-root :is(.event-agenda,.modal,.privacy-dialog) :is(h1,h2,h3,h4),
.ul-root .calendar :is(h3,h4),
.ul-root #calendar-detail :is(h2,h3,h4),.ul-root .migration-event-card :is(h2,h3),
.ul-root #upcoming-events :is(h2,h3),.ul-root .rd-dock :is(strong,span){
  font-family:var(--ul-font-ui);font-weight:700;text-transform:none;letter-spacing:0;line-height:1.35;
}
.ul-root .migration-time{font-family:var(--ul-font-ui);font-weight:700;letter-spacing:-.02em}
.ul-root [data-type-case="brand"],.ul-root .vision-line{ text-transform:none }
.ul-root [data-type-role="emotional"]{
  font-family:var(--ul-font-emotional);font-weight:400;font-style:normal;
  text-transform:none;letter-spacing:0;font-size:clamp(36px,5vw,64px);line-height:1.3;
}
.ul-root .rd-eyebrow[data-type-role="heritage"]{
  font-family:var(--ul-font-heritage);font-weight:400;text-transform:none;
  letter-spacing:0;font-size:clamp(18px,1.7vw,22px);line-height:1.5;
}
.ul-root [data-type-role="quiet"]{
  font-family:var(--ul-font-quiet);font-weight:400;font-style:normal;
  text-transform:uppercase;letter-spacing:0;line-height:1.15;
}
.ul-root .rd-hero__sub,.ul-root p,.ul-root li,.ul-root address{font-family:var(--ul-font-body)}
.ul-root address{font-style:normal}
.ul-root .rd-story__head i{font-weight:700;font-style:normal}
/* The existing emotional word was migrated without its font role. */
.ul-root .vision-script-accent{font-family:var(--ul-font-emotional);font-weight:400;font-style:normal;font-size:1.18em;line-height:1;letter-spacing:0;text-transform:none}
.ul-root p[data-type-role="emotional"]{font-family:var(--ul-font-emotional)}
@media(max-width:600px){
  .ul-root .rd-hero__title{font-size:clamp(44px,10.7vw,64px);line-height:1.12;max-width:16ch}
  .ul-root .rd-h2{font-size:clamp(32px,8.2vw,46px);line-height:1.16}
  .ul-root .rd-card h3{font-size:26px}
}
.ul-root :is(.rd-story__labels,.rd-collage__badge),.ul-root .rd-story__labels span{font-weight:700}
.ul-root #privacy-dialog :is(h1,h2,h3,h4){font-family:var(--ul-font-ui);font-weight:700;text-transform:none;letter-spacing:0;line-height:1.35}

/* Shared wordmark: the guide permits Fraktur here; all navigation stays in Inter. */
.ul-root .brand{font-family:var(--ul-font-heritage);font-weight:400;font-style:normal;letter-spacing:0;text-transform:none}
.ul-root .brand .ul-wordmark{font-family:inherit;font-weight:400;font-style:normal;line-height:1.2;letter-spacing:0;white-space:normal;min-width:0}
/* Header lockup: Latin brand stays left-to-right, including Arabic pages. */
.ul-root .topbar .brand{display:inline-flex;align-items:center;flex-shrink:0;gap:clamp(8px,.8vw,10px);font-size:clamp(23px,2.1vw,30px);line-height:1.2;max-width:100%;width:max-content;direction:ltr;unicode-bidi:isolate}
.ul-root .topbar .brand .ul-wordmark{white-space:nowrap;line-height:1.15;flex:0 0 auto}
.ul-root .topbar .ul-brand-symbol{display:block;flex:0 0 auto;width:clamp(34px,3.1vw,44px);height:auto;aspect-ratio:1;object-fit:contain;filter:none;box-shadow:none;border:0;border-radius:0}
.ul-root .footer .brand{font-size:26px;line-height:1.2}
@media(max-width:600px){
 .ul-root .topbar{grid-template-rows:minmax(38px,auto) minmax(42px,auto)}
 .ul-root .topbar .brand{gap:8px;font-size:clamp(22px,6vw,26px)}
 .ul-root .topbar .ul-brand-symbol{width:34px}
}
@media(max-width:360px){
 .ul-root .topbar .brand{font-size:22px;gap:8px}
 .ul-root .topbar .brand .ul-wordmark{line-height:1;white-space:normal}
 .ul-root .topbar .ul-wordmark>span{display:block}
 .ul-root .topbar .ul-brand-symbol{width:42px}
}

/* Home title: three intentional lines, emotional closing line in the real script face. */
#home-title{max-width:100%;width:max-content}
#home-title>span{display:block}
#home-title>span:last-child{font-family:var(--ul-font-emotional);font-weight:400;font-style:normal;text-transform:none;letter-spacing:0;font-size:1.05em;line-height:1.25}
@media(max-width:600px){#home-title.rd-hero__title{font-size:clamp(36px,11.3vw,64px)}}
@media(min-width:851px){
 #home .rd-hero{height:auto;min-height:clamp(680px,100vh,960px)}
 #home .rd-hero__inner{height:auto;min-height:inherit;padding-top:140px}
}
