/* Visual direction approved for the PHIJUSI redesign: editorial navy and photography. */
.header {
  min-height: 66px;
  padding: .65rem var(--space);
  gap: clamp(.5rem, 1.6vw, 1.5rem);
  border-top: 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: nowrap;
}
.header .brand-logo {
  width: clamp(112px, 13vw, 150px);
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.header nav {
  order: 0;
  width: auto;
  margin-left: auto;
  gap: clamp(.55rem, 1.4vw, 1.45rem);
  justify-content: flex-end;
  white-space: nowrap;
}
.header nav a {
  font-size: clamp(.66rem, .85vw, .88rem);
}
.header .tools { margin-left: 0; gap: .5rem; }
.header .nav-contact {
  background: #14629f;
  padding-inline: clamp(.65rem, 1.6vw, 1.5rem);
  border-radius: 2px;
}
.header .tools select {
  max-width: 5.8rem;
  font-size: .75rem;
  padding-inline: .45rem;
}
.header .language {
  font-size: .75rem;
  border: 1px solid var(--line);
  min-height: 44px;
}
:root[data-theme="dark"] .header .brand-logo,
:root:not([data-theme="light"]) .header .brand-logo {
  padding: 5px 7px;
  background: #f7fafd;
  border-radius: 2px;
}

.premium-home { max-width: var(--max); }
.premium-hero {
  display: grid;
  grid-template-columns: minmax(0, 57.5%) minmax(0, 42.5%);
  min-height: clamp(500px, 61.2vw, 750px);
  background: #0d243f;
  color: #f7f9fb;
}
.premium-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(4rem, 6vw, 6rem) clamp(.5rem, 1.2vw, 1.5rem) 1.1rem clamp(2rem, 5.8vw, 6rem);
}
.premium-hero .eyebrow {
  color: #b8d0e5;
  letter-spacing: .18em;
  font-size: .69rem;
  margin: 0 0 clamp(1rem, 2vw, 2rem);
}
.premium-hero .eyebrow::before,
.premium-services .eyebrow::before,
.premium-next .eyebrow::before {
  content: "";
  display: block;
  width: 23px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.premium-hero h1 {
  font-size: clamp(2.7rem, 5.85vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -.055em;
  max-width: none;
  font-weight: 600;
  text-wrap: pretty;
}
.premium-hero h1 span { display: block; white-space: nowrap; }
html[lang="en"] .premium-hero h1 { font-size: clamp(2.7rem, 5.55vw, 5.25rem); }
.premium-hero-intro {
  margin-top: clamp(1.2rem, 2vw, 2rem);
  max-width: 42ch;
  color: #c9d8e7;
  font-size: clamp(.94rem, 1.16vw, 1.14rem);
  line-height: 1.48;
}
.premium-hero .button {
  margin-top: clamp(1.25rem, 2vw, 2rem);
  min-width: 181px;
  min-height: 44px;
  padding: .7rem 1.2rem;
  background: #176fba;
}
.premium-hero .button:hover { background: #1d81d2; }
.premium-hero-note {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid #7d9ab2;
  max-width: 31ch;
  color: #bacbda;
  font-size: .72rem;
  line-height: 1.5;
  letter-spacing: .065em;
}
.premium-hero-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.premium-hero-visual img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}
.premium-hero-aside {
  position: absolute;
  top: clamp(2.5rem, 5vw, 5rem);
  right: clamp(1rem, 3vw, 3rem);
  width: min(155px, 37%);
  padding: .75rem;
  background: rgb(11 32 53 / 62%);
  color: #f7f9fb;
  font: 400 .64rem/1.65 PlexMono, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.premium-services {
  padding: clamp(2rem, 3.3vw, 4rem) clamp(1.5rem, 3.15vw, 4rem) clamp(3rem, 5vw, 5rem);
  background: var(--bg);
}
.premium-services-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 3vw, 3.5rem);
  padding-inline: clamp(0rem, 2.5vw, 1.3rem);
}
.premium-services .eyebrow {
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-size: .69rem;
  letter-spacing: .12em;
}
.premium-services .eyebrow::before { color: var(--accent); }
.premium-services-heading h1,
.premium-services-heading h2 {
  max-width: none;
  font-size: clamp(1.9rem, 3.25vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.premium-services-heading > p {
  color: var(--muted);
  line-height: 1.5;
  font-size: clamp(.78rem, 1vw, .98rem);
  max-width: 37ch;
  justify-self: end;
}
.premium-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.5vw, 2.6rem);
}
.premium-service { min-width: 0; display: flex; flex-direction: column; }
.premium-service-image { display: block; overflow: hidden; background: var(--surface); }
.premium-service-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.25;
  object-fit: cover;
}
a.premium-service-image img { transition: transform .28s ease; }
a.premium-service-image:hover img { transform: scale(1.035); }
.premium-service-index {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: clamp(1rem, 1.6vw, 1.7rem);
  color: var(--accent);
  font: 400 .78rem/1.4 PlexMono, monospace;
}
.premium-service-index span:last-child { display: block; width: 22px; height: 1px; background: var(--muted); }
.premium-service h3 {
  margin-top: .6rem;
  font-size: clamp(1rem, 1.38vw, 1.42rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.premium-service h3 a { text-decoration: none; }
.premium-service h3 a:hover { text-decoration: underline; }
.premium-service p {
  margin-top: .55rem;
  color: var(--muted);
  font-size: clamp(.79rem, .94vw, .97rem);
  line-height: 1.52;
}
.premium-service-link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-top: auto;
  padding-top: 1.2rem;
  min-height: 44px;
  align-self: flex-start;
  font-size: clamp(.78rem, .9vw, .94rem);
  font-weight: 600;
  text-decoration: underline;
}
.premium-service-link .arrow { transform: scale(.77); transform-origin: left center; }
.premium-image-note {
  margin-top: 2.25rem;
  color: var(--muted);
  font-size: .72rem;
}
.premium-services-more {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1.2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.premium-services-more .text-link { margin-top: 0; }
.premium-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: clamp(2.2rem, 4vw, 4rem) var(--space);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.premium-next .eyebrow { margin-bottom: .8rem; }
.premium-next h2 { font-size: clamp(1.6rem, 2.4vw, 2.6rem); }
.premium-next div > p:not(.eyebrow) { color: var(--muted); margin-top: .6rem; }
.premium-adviser { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1rem; font-weight: 600; }
.premium-adviser .arrow { transform: scale(.75); transform-origin: left center; }
.premium-next .button { flex: none; }
.page-content > .premium-services { padding-top: clamp(3rem, 5vw, 5rem); }

@media (max-width: 1000px) {
  .header { gap: .55rem; }
  .header nav { gap: .7rem; }
  .header .tools { gap: .35rem; }
  .header .nav-contact { padding-inline: .7rem; }
  .header .tools select { max-width: 4.7rem; }
  .premium-services-heading { margin-bottom: 3rem; }
}
@media (max-width: 720px) {
  .header { display: grid; grid-template-columns: 1fr auto; gap: .35rem .5rem; padding-block: .7rem; }
  .header .brand { grid-column: 1; }
  .header .tools { grid-column: 2; grid-row: 1; margin-left: 0; }
  .header .brand-logo { width: 112px; }
  .header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: .4rem;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .header nav a { font-size: .71rem; flex: none; }
  .premium-hero { display: flex; flex-direction: column; min-height: 0; }
  .premium-hero-copy { padding: 2.5rem var(--space) 2rem; }
  .premium-hero h1 { max-width: 13ch; font-size: clamp(2.5rem, 9vw, 4.2rem); }
  html[lang="en"] .premium-hero h1 { font-size: clamp(2.5rem, 9vw, 4.2rem); }
  .premium-hero h1 span { white-space: normal; }
  .premium-hero-intro { margin-top: 1.25rem; }
  .premium-hero-note { margin-top: 2rem; }
  .premium-hero-visual { min-height: 260px; aspect-ratio: 16 / 9; }
  .premium-hero-aside { top: 1rem; right: 1rem; }
  .premium-services-heading { grid-template-columns: 1fr; gap: .75rem; }
  .premium-services-heading { padding-inline: 0; }
  .premium-services-heading > p { justify-self: start; }
  .premium-services-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .premium-service-image img { aspect-ratio: 1.6; }
  .premium-service h3 { font-size: 1.3rem; }
  .premium-service p { font-size: .95rem; }
  .premium-services-more { justify-content: flex-start; flex-wrap: wrap; gap: .4rem 1.5rem; }
  .premium-next { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  /* Keep all three service choices in view after the home CTA scrolls here. */
  .premium-home .premium-hero { position: relative; display: block; }
  .premium-home .premium-hero-copy { padding: 1.25rem var(--space) 1.35rem; }
  .premium-home .premium-hero .eyebrow { margin-bottom: .55rem; font-size: .62rem; }
  .premium-home .premium-hero h1,
  html[lang="en"] .premium-home .premium-hero h1 {
    max-width: none;
    font-size: clamp(2.05rem, 8vw, 2.9rem);
    line-height: 1.03;
  }
  .premium-home .premium-hero h1 span { display: inline; }
  .premium-home .premium-hero-intro { max-width: calc(100% - 104px); margin-top: .7rem; font-size: .9rem; line-height: 1.4; }
  .premium-home .premium-hero .button {
    width: auto;
    min-width: 0;
    min-height: 44px;
    margin-top: 1rem;
    padding: .6rem .75rem;
    gap: .65rem;
    font-size: .84rem;
  }
  .premium-home .premium-hero-note { display: none; }
  .premium-home .premium-hero-visual {
    position: absolute;
    right: var(--space);
    bottom: 1.35rem;
    width: 92px;
    height: 92px;
    min-height: 0;
    aspect-ratio: 1;
    border: 1px solid rgb(255 255 255 / 45%);
  }
  .premium-home .premium-hero-aside { display: none; }
  .premium-home .premium-services { padding: 1.2rem var(--space) 1.6rem; }
  .premium-home .premium-services-heading { display: block; margin-bottom: .5rem; }
  .premium-home .premium-services .eyebrow { margin-bottom: .35rem; font-size: .62rem; }
  .premium-home .premium-services-heading h2 { font-size: 1.5rem; line-height: 1.1; }
  .premium-home .premium-services-heading > p { display: none; }
  .premium-home .premium-services-grid { display: block; }
  .premium-home .premium-service {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px;
    grid-template-rows: auto 1fr;
    column-gap: .8rem;
    min-height: 101px;
    padding: .55rem 0;
    border-top: 1px solid var(--line);
  }
  .premium-home .premium-service-image {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 84px;
    height: 84px;
    align-self: center;
  }
  .premium-home .premium-service-image img { width: 100%; height: 100%; aspect-ratio: 1; }
  .premium-home .premium-service-index { grid-column: 1; grid-row: 1; margin: 0; font-size: .7rem; }
  .premium-home .premium-service-index span:last-child { display: none; }
  .premium-home .premium-service h3 { grid-column: 1; grid-row: 2; align-self: center; margin: 0; font-size: 1.07rem; }
  .premium-home .premium-service h3 a { display: flex; align-items: center; min-height: 44px; }
  .premium-home .premium-service p,
  .premium-home .premium-service-link { display: none; }
  .premium-home .premium-image-note { margin-top: .65rem; font-size: .68rem; }
}
@media (max-width: 360px) {
  .header { gap: .25rem; }
  .header .brand-logo { width: 90px; }
  .header .tools { gap: .2rem; }
  .header .nav-contact { padding-inline: .45rem; font-size: .7rem; }
  .header .tools select { max-width: 3.75rem; padding-inline: .2rem; font-size: .7rem; }
  .header nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    max-width: 100%;
    gap: 0 .2rem;
    overflow: visible;
    white-space: normal;
  }
  .header nav a { justify-content: center; min-height: 44px; font-size: .7rem; line-height: 1.2; text-align: center; }
  .premium-home .premium-hero-intro { max-width: calc(100% - 80px); }
  .premium-home .premium-hero-visual { width: 72px; height: 72px; }
  .premium-home .premium-service { grid-template-columns: minmax(0, 1fr) 72px; }
  .premium-home .premium-service-image { width: 72px; height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  a.premium-service-image img { transition: none; }
}

/* Keep the approved portrait and headline inside separate grid tracks. */
.premium-hero h1,
html[lang="en"] .premium-hero h1 { font-size: clamp(2.05rem, 4vw, 3.75rem); }
.premium-hero h1 span { white-space: normal; overflow-wrap: break-word; }
.premium-hero-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; gap: 1rem; }
.premium-hero-visual .bernard-portrait img { position: static; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.premium-hero-visual .bernard-portrait figcaption { color: #c9d8e7; }
.premium-hero-aside { position: static; width: auto; padding: 0; background: transparent; }
.premium-adviser .adviser-photo { width: 44px; height: 44px; }
@media (max-width: 720px) {
  .premium-home .premium-hero { display: grid; grid-template-columns: minmax(0, 1fr); }
  .premium-home .premium-hero-intro { max-width: 42ch; }
  .premium-home .premium-hero-visual { position: static; width: 100%; height: auto; min-height: 0; aspect-ratio: auto; border: 0; padding: 0 var(--space) 1.5rem; }
  .premium-home .premium-hero-visual .bernard-portrait { align-self: flex-start; }
}
