/* ==========================================================================
   DiplomaMusic — shared styles
   Self-contained rebuild of diplomamusic.com (originally Wix).
   Fonts: Bodoni Moda (SIL OFL) standing in for Wix's licensed Didot family.
   ========================================================================== */

@font-face {
  font-family: 'Bodoni Moda';
  src: url('../assets/fonts/bodoni-moda-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('../assets/fonts/bodoni-moda-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --black: #000000;
  --box: #191919;
  --white: #ffffff;
  --body: #ededed;
  --grey: #9e9e9e;
  --copper: #b3703f;
  --serif: 'Bodoni Moda', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --content: 1280px;
  --gutter: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; }

/* ==========================================================================
   Header / navigation
   ========================================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* mobile-only nav row (desktop shows the full nav in the header) */
.mobile-nav { display: none; }

.wordmark {
  font-style: italic;
  font-size: 25px;
  color: var(--white);
  text-decoration: none;
  margin-left: 80px;
  white-space: nowrap;
}

.wordmark img {
  height: 40px;
  width: auto;
  display: block;
  position: relative;
  top: 9px; /* drops the logo so its text BASELINE aligns with the bottom of the nav text */
}

/* Landing only: the Welcome title sits in the banner instead of the logo */
.wordmark-text { font-size: 64px; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-right: 40px;
}

.desktop-nav a {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #e8e8e8;
  text-decoration: none;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.desktop-nav a:hover {
  color: var(--white);
  border-color: var(--white);
}

.desktop-nav a.active {
  color: var(--white);
  border-color: var(--white);
}

/* Mobile menu */

.menu-btn {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
  margin-right: 18px;
}

.menu-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}

body.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--ease);
}

.menu-overlay a {
  font-style: italic;
  font-size: 26px;
  color: var(--white);
  text-decoration: none;
  transition: letter-spacing 0.25s var(--ease);
}

.menu-overlay a:hover { letter-spacing: 0.08em; }
.menu-overlay a.active { text-decoration: underline; text-underline-offset: 8px; }
.menu-overlay .lang { font-size: 18px; color: var(--grey); margin-top: 10px; }

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--black);
  text-align: center;
  padding: 60px 24px 40px;
}

.held-line {
  display: block;
  width: min(calc(100% - 160px), 1280px);
  margin: 0 auto 10px;
}

/* Desktop shows the locked text; mobile-only variants hidden here,
   re-enabled inside the mobile block (added 2026-11-16, 16k) */
.only-mobile { display: none; }

/* Landing: Debussy quote at the bottom edge (desktop only — hidden in the mobile block) */
.quote {
  font-style: italic;
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 22px;
}

.attrib {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #d8d8d8;
  margin-bottom: 46px;
}

body.landing .quote { margin-bottom: 10px; }
body.landing .attrib { margin-bottom: 6px; }

/* Landing: Debussy quote + attribution fade in with the email (3s, lands after the page) */
body.landing .quote, body.landing .attrib { animation: pageFade 3s var(--ease) backwards; }

.copy {
  font-size: 13px;
  color: var(--grey);
}

/* Discreet revision line, matched to the Rates & Services PDF footer */
.rev {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--grey);
  text-align: left;
  width: min(calc(100% - 160px), 1280px);
  margin: 0 auto;
}

/* Compact footer for short pages (welcome, credentials, mission, ...) */
footer.compact { padding: 34px 24px 30px; }

/* ==========================================================================
   Welcome
   ========================================================================== */

.hero-title {
  position: relative;
  z-index: 2;
  font-style: italic;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.15;
  text-align: left;
  width: calc(100% - 160px);
  max-width: var(--content);
  margin: -37px auto 0;
}

.hero-sub {
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.3;
  text-align: center;
  margin: 0 0 16px;
}

.hero-lede {
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
  padding: 0 24px;
}

.hero-img-wrap {
  width: 880px;
  max-width: calc(100% - 48px);
  height: 240px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

/* Whole-page 2s fade-in on load: all text, images, buttons, every object.
   (Landing hero photo keeps its own slower 7s fade inside this.) */
@keyframes pageFade { from { opacity: 0; } }
main { animation: pageFade 2s var(--ease) backwards; }

/* Mission & Credentials fade in over 3s instead of the global 2s */
body.mission-page main, body.cred-page main, body.rates-page main { animation-duration: 3s; }

/* Mission paragraphs take one second longer than the page fade */
body.mission-page .mission p { animation: pageFade 4s var(--ease) backwards; }

/* The original's hero fades in slowly (4s) on page load */
.fade-hero { animation: heroFade 7s var(--ease) backwards; }
@keyframes heroFade { from { opacity: 0; } }

.compliance {
  font-style: italic;
  font-size: 28px;
  color: #d0d0d0;
  text-align: center;
  margin: 26px auto 0;
  padding: 0 24px;
  max-width: 880px;
}

.compliance a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.compliance a:hover { color: var(--white); border-color: var(--white); }

.compliance.disclaim { font-size: 18px; font-style: normal; margin-top: 70px; }
.compliance.disclaim .dash { color: #ffffff; font-weight: 700; }
.compliance.disclaim + .compliance.disclaim { margin-top: 0; }

.contact-strip {
  max-width: 880px;
  margin: 18px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.contact-strip a {
  font-size: 15px;
  color: var(--white);
  text-underline-offset: 4px;
}

.contact-strip img { width: 39px; height: 39px; }

/* ==========================================================================
   Credentials (who-we-are)
   ========================================================================== */

.cred-wrap {
  display: flex;
  gap: 110px;
  width: calc(100% - 160px);
  max-width: var(--content);
  margin: 12px auto 0;
}

.cred-side { flex: 0 0 325px; }

.cred-name {
  font-style: italic;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.cred-lines { font-size: 16px; line-height: 1.55; margin-bottom: 12px; white-space: nowrap; }

.cred-photo-wrap { position: relative; width: 325px; }

.cred-photo { width: 325px; height: auto; display: block; }

.cred-linkedin { display: block; width: 39px; margin-top: 16px; }
.cred-linkedin img { width: 39px; height: 39px; }

.cred-main { flex: 1; }

.cred-main .greeting {
  font-style: italic;
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 31px;
}

.cred-main p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--body);
  margin-bottom: 18px;
}

.cred-main ul { list-style: none; }

.cred-main li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
  padding-left: 22px;
  position: relative;
  margin-bottom: 12px;
}

.cred-main li::before {
  content: '\2022';
  position: absolute;
  left: 2px;
}

/* ==========================================================================
   Mission (our-mission)
   ========================================================================== */

.mission {
  background: var(--black);
}

.mission-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 70px 24px 80px;
  text-align: center;
}

.mission h1 {
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 42px;
}

.mission p {
  font-size: 17px;
  line-height: 2;
  color: #efe6dc;
  margin-bottom: 45px;
  text-align: left;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.reco {
  position: relative;
  overflow: hidden;
}

.reco-bg, .reco-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reco::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.reco-inner {
  position: relative;
  z-index: 1;
  width: 900px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding: 46px 0 60px;
}

.reco h1 {
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  margin-bottom: 30px;
}

.reco-intro {
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.reco-caption {
  font-style: italic;
  font-size: 20px;
  text-align: center;
  margin-bottom: 26px;
}

.reco-videos {
  display: flex;
  justify-content: center;
  gap: 90px;
}

/* Video frame with custom play button */
.video-frame {
  position: relative;
  width: 380px;
  height: 215px;
  cursor: pointer;
  background: var(--black);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-frame .play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.video-frame .play-btn::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 16px;
  border-left: 16px solid var(--white);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

.video-frame:hover .play-btn {
  transform: scale(1.08);
  background: rgba(0, 0, 0, 0.55);
}

.video-frame.playing .play-btn { display: none; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-hero {
  background: url('../assets/img/midi-bg.jpg') center / cover no-repeat var(--black);
  min-height: 880px;
  padding: 60px 24px 80px;
  text-align: center;
}

.contact-hero h1 {
  font-style: italic;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.5;
  margin-bottom: 40px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 2px solid var(--copper);
  border-radius: 42px;
  padding: 20px 34px;
}

.contact-pill a {
  font-size: 16px;
  color: var(--black);
  text-underline-offset: 4px;
}

.contact-pill img { width: 39px; height: 39px; }

/* ==========================================================================
   Packages (what-we-offer)
   ========================================================================== */

.page-title {
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  margin: 4px 0 20px 21.7%;
}

.page-intro {
  font-size: 19px;
  line-height: 1.6;
  text-align: center;
  max-width: 940px;
  margin: 0 auto 20px;
  padding: 0 24px;
}

.program {
  display: flex;
  width: calc(100% - 160px);
  max-width: var(--content);
  height: 330px;
  margin: 0 auto 47px;
}

.program .text {
  flex: 0 0 48%;
  background: var(--box);
  padding: 34px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program h2 {
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 48px;
}

.program .text p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--body);
}

.program .photo {
  flex: 1;
  overflow: hidden;
}

.program .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.program:nth-of-type(1) .photo img { object-position: 50% 25%; }
.program:nth-of-type(2) .photo img { object-position: 50% 55%; }
.program:nth-of-type(3) .photo img { object-position: 50% 40%; }

/* ==========================================================================
   Rates & Services
   ========================================================================== */

.page-intro.rate {
  font-style: italic;
  font-size: 22px;
  text-align: right;
  width: calc(100% - 160px);
  max-width: var(--content);
  margin: 34px auto 22px;
  padding-left: 70px;
}

.curricula {
  width: calc(100% - 160px);
  max-width: var(--content);
  margin: 12px auto 0;
}

.curricula h2 {
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  text-align: left;
  padding-left: 70px;
  margin-bottom: 34px;
}

.curr-box {
  background: var(--box);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 80px;
  padding: 44px 60px 44px 100px;
}

.curr-col h3 {
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 18px;
}

.curr-col ul { list-style: none; }

.curr-col li {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--body);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.curr-col li::before {
  content: '\2022';
  position: absolute;
  left: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .desktop-nav a, .menu-btn span, .menu-overlay, .menu-overlay a, .video-frame .play-btn { transition: none; }
  .fade-hero { animation: none; }
  main { animation: none; }
}

/* Rates & Services: disclaimers sit directly above the held line */
footer.snug { padding-top: 14px; }

/* Static pages (mission / credentials / zh): one screen, no scroll,
   held line at the exact same height as the landing page (103px from the bottom edge) */
body.static { display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
body.static main { flex: 1 1 auto; min-height: 0; }
body.static footer { margin-top: auto; padding: 20px 24px 30px; }

/* Landing: one static screen — email just above the held line, quote at the bottom edge */
body.landing { display: flex; flex-direction: column; height: 100vh; height: 100svh; overflow: hidden; }
body.landing header { justify-content: flex-end; }
body.landing main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; position: relative; z-index: 60; }
body.landing .hero-img-wrap { flex: 1 1 auto; min-height: 140px; height: auto; position: relative; }
body.landing .hero-img-wrap img { position: absolute; inset: 0; }
body.landing .compliance {
  margin-top: 14px;
  margin-bottom: 0;
  animation: pageFade 3s var(--ease) backwards; /* lands a second after the rest of the page */
}
body.landing footer { padding: 0 24px 18px; }

/* ==========================================================================
   Mobile (max-width: 1000px) — redesigned 2026-11-16
   Logo flush left, compact nav row with all four links, landing/mission/zh
   fit one phone screen, credentials packed tight, rates is the only
   scrolling page. Same fonts, same fades, same green held line.
   ========================================================================== */

@media (max-width: 1000px) {
  .desktop-nav { display: none; }

  /* Header: logo flush left at 20px, compact nav row beneath */
  header { flex-direction: column; justify-content: center; align-items: flex-start; height: auto; padding: 16px 20px 14px; gap: 10px; }
  body.landing header { justify-content: center; }

  .mobile-nav { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; }
  .mobile-nav a {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #e8e8e8;
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  }
  .mobile-nav a.active { color: var(--white); border-color: var(--white); }

  .wordmark { font-size: 26px; margin: 0; }
  .wordmark img { height: 28px; top: 0; }

  /* Static pages keep the pinned-footer one-screen look when content fits,
     but may scroll on shorter phones so nothing is ever unreachable */
  body.static { height: auto; min-height: 100svh; overflow: visible; }

  footer { padding: 40px 20px 26px; }
  body.static footer { padding: 12px 20px 22px; }
  .held-line { width: calc(100% - 40px); margin-bottom: 10px; transform: scaleY(1.3); }

  /* Landing — still never scrolls: title, tagline, photo, email, line
     (Debussy quote is desktop-only, hidden here) */
  .quote, .attrib { display: none; }

  /* Mobile text variants swap in; locked desktop text swaps out */
  .only-desktop { display: none; }
  .only-mobile { display: block; }
  .hero-title { font-size: min(6.8vw, 56px); white-space: nowrap; width: 100%; padding: 0 20px; margin: 22px 0 10px; }
  .hero-sub { font-size: 16px; padding: 0 20px; margin-bottom: 16px; }
  .hero-sub .sub-line2 { display: block; text-align: left; padding-left: calc(50vw - 95.28px); white-space: nowrap; }
  .hero-img-wrap { width: 100%; max-width: none; height: 230px; }
  .hero-img-wrap img { object-position: 65% 38%; }
  body.landing .hero-img-wrap { height: auto; min-height: 120px; }
  .compliance { font-size: 19px; }
  body.landing .compliance { padding: 0 20px; }
  body.landing .compliance a { border-bottom: none; padding-bottom: 0; }
  body.landing footer { padding: 0 20px 12px; }

  /* Credentials — photo left, name/lines/LinkedIn right, text below */
  .cred-wrap { flex-direction: column; gap: 14px; width: 100%; max-width: none; margin-top: 10px; padding: 0 20px; }
  .cred-side { flex: none; display: grid; grid-template-columns: 108px 1fr; column-gap: 16px; grid-template-rows: auto auto auto; align-items: start; }
  .cred-photo-wrap { grid-column: 1; grid-row: 1 / 4; width: 108px; }
  .cred-photo { width: 108px; height: auto; }
  .cred-name { grid-column: 2; font-size: 22px; margin-bottom: 6px; }
  .cred-lines { grid-column: 2; font-size: 11px; line-height: 1.5; white-space: normal; margin-bottom: 10px; }
  .cred-linkedin { grid-column: 2; grid-row: 3; align-self: end; width: 30px; margin-top: 0; }
  .cred-linkedin img { width: 30px; height: 30px; }
  .cred-main .greeting { font-size: 14px; margin-bottom: 10px; }
  .cred-main p { font-size: 12px; line-height: 1.55; margin-bottom: 10px; }
  .cred-main li { font-size: 12px; line-height: 1.5; margin-bottom: 4px; padding-left: 16px; }
  .cred-main li::before, .curr-col li::before {
    content: ''; position: absolute; left: 2px; top: 0.52em;
    width: 5px; height: 5px; border-radius: 50%; background: var(--body);
  }

  /* Mission — tightened to fit one phone screen */
  .mission-inner { padding: 20px 20px 24px; }
  .mission h1 { font-size: 26px; margin-bottom: 20px; }
  .mission p { font-size: 14.5px; line-height: 1.62; margin-bottom: 22px; }

  /* Mission heading: two fixed lines — line 1 keeps its current left edge,
     line 2 starts with "a" exactly under the "u" of "Student"
     (measured in Bodoni Moda italic 26px: full line 283.93px, "Every St" 93.20px) */
  .mission h1 { text-align: left; }
  .mission h1 .h1-l1 { display: block; padding-left: max(0px, calc(50vw - 161.97px)); }
  .mission h1 .h1-l2 { display: block; white-space: nowrap; padding-left: min(max(0px, calc(50vw - 102.07px)), calc(100vw - 249.54px)); }

  /* Rates & Services — the one scrolling page */
  .page-intro.rate { font-size: 18px; text-align: right; width: 100%; padding: 0 20px; margin: 26px 0 20px; }
  .program { flex-direction: column; width: 100%; max-width: none; height: auto; margin-bottom: 28px; }
  .program .text { flex: none; padding: 26px 22px; text-align: left; }
  .program h2 { font-size: 21px; margin-bottom: 16px; }
  .program .text p { font-size: 13.5px; line-height: 1.7; }
  .program .photo { height: 240px; }
  .program:nth-of-type(1) .photo img { object-position: 50% 35%; }
  .program:nth-of-type(2) .photo img { object-position: 50% 40%; }
  .program:nth-of-type(3) .photo img { object-position: 50% 45%; }
  .curricula { width: 100%; padding: 0 20px; margin-top: 34px; }
  .curricula h2 { font-size: 20px; text-align: left; padding-left: 0; margin-bottom: 22px; white-space: nowrap; }
  .curr-box { grid-template-columns: 1fr; gap: 26px; padding: 26px 22px; }
  .curr-col li { font-size: 12px; padding-left: 16px; }
  .compliance.disclaim { font-size: 13px; margin-top: 40px; padding: 0 10px; white-space: nowrap; }

  /* Never let anything push the page wider than the screen (kills side-pan on iOS) */
  html, body { overflow-x: hidden; }

  /* Landing: hard-locked to the screen so iOS cannot rubber-band it */
  body.landing { position: fixed; inset: 0; width: 100%; }

  /* Tagline line 2: keep the under-"n" offset, but never past the right edge */
  .hero-sub .sub-line2 { padding-left: min(calc(50vw - 95.28px), calc(100vw - 267px)); }
}

/* Shorter phones (SE-class and Display-Zoom screens under 740px tall):
   same design, tighter type and spacing so mission/credentials still fit
   one screen without scrolling */
@media (max-width: 1000px) and (max-height: 740px) {
  header { padding: 12px 16px 10px; gap: 8px; }
  .wordmark { font-size: 24px; }
  .mobile-nav a { font-size: 11px; padding: 5px 0; }
  body.static footer { padding: 8px 16px 16px; }

  .mission-inner { padding: 14px 20px 16px; }
  .mission h1 { margin-bottom: 14px; } /* font stays 26px so the two-line offsets hold */
  .mission p { font-size: 13.5px; line-height: 1.5; margin-bottom: 14px; }

  .cred-wrap { gap: 10px; margin-top: 6px; padding: 0 16px; }
  .cred-side { grid-template-columns: 96px 1fr; column-gap: 14px; }
  .cred-photo-wrap, .cred-photo { width: 96px; }
  .cred-name { font-size: 20px; margin-bottom: 4px; }
  .cred-lines { font-size: 10.5px; line-height: 1.4; margin-bottom: 8px; }
  .cred-linkedin, .cred-linkedin img { width: 28px; height: 28px; }
  .cred-main .greeting { font-size: 13px; margin-bottom: 8px; }
  .cred-main p { font-size: 12px; line-height: 1.55; margin-bottom: 10px; }
  .cred-main li { font-size: 12px; line-height: 1.5; margin-bottom: 4px; }

  .hero-title { margin: 14px 0 6px; }
  .hero-sub { margin-bottom: 10px; }
  body.landing .hero-img-wrap { min-height: 100px; }
}
