/* ---------- Colour palette (change colours here) ---------- */
:root {
  --navy: #0a1f4d;
  --blue: #1e4fd8;
  --yellow: #ffc21a;
  --muted: #55648a;
  --text: #1b2a4a;
  color-scheme: light;
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.7
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px
}

/* ---------- Top ---------- */
.top {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(255, 194, 26, .28), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgba(30, 79, 216, .14), transparent 70%),
    linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%);
}

nav {
  display: flex;
  align-items: center;
  padding: 26px 0
}

.logo {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--navy)
}

.logo b {
  font-weight: 700;
  color: var(--blue)
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0 100px
}

@media(max-width:900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-bottom: 80px
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 18px
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--yellow)
}

h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.12;
  margin: 0 0 26px;
  letter-spacing: -.5px;
  color: var(--navy)
}

h1 em {
  font-style: italic;
  font-weight: 700;
  color: var(--navy);
  background: var(--yellow);
  padding: 0 .18em;
  border-radius: 8px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  box-shadow: 0 8px 20px rgba(255, 194, 26, .45)
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 16px;
  max-width: 60ch
}

.hero p strong {
  color: var(--navy)
}

.sign {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 16px
}

.sign::before {
  content: "";
  width: 46px;
  height: 2px;
  background: var(--yellow);
  flex: none
}

.sign b {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--navy)
}

.sign small {
  color: var(--muted);
  font-size: .86rem
}

/* ---------- Portrait: yellow L-shaped band holds the text, nothing goes outside it ---------- */
.portrait {
  --band: 38px;
  container-type: inline-size;
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 500px
}

.portrait::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 26px;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg, #ffc21a, #ffe08a);
  border-radius: 6px 110px 16px 6px;
  z-index: 0;
  box-shadow: 0 24px 50px rgba(255, 194, 26, .35)
}

.frame {
  position: relative;
  z-index: 1;
  margin: 0 var(--band) var(--band) 0;
  aspect-ratio: 4/5;
  border-radius: 6px 110px 6px 6px;
  overflow: hidden;
  background: var(--navy);
  border: 6px solid #fff;
  box-shadow: 0 20px 50px rgba(10, 31, 77, .3)
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block
}

.badge {
  position: absolute;
  z-index: 3;
  left: -30px;
  bottom: calc(var(--band) + 34px);
  background: var(--navy);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(10, 31, 77, .35);
  border-left: 5px solid var(--yellow)
}

.badge b {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--yellow)
}

.badge span {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase
}

/* English meaning: vertical, inside the right yellow strip */
.vtext {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 26px;
  bottom: var(--band);
  width: var(--band);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  overflow: hidden
}

.vtext span {
  writing-mode: vertical-rl;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 900;
  font-size: max(12px, 2.35cqw);
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(10, 31, 77, .85);
  white-space: nowrap
}

/* Sanskrit line: inside the bottom yellow strip */
.caption {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: var(--band);
  bottom: 0;
  height: var(--band);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden
}

.caption span {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: max(13px, 3.3cqw);
  letter-spacing: .02em;
  color: rgba(10, 31, 77, .85);
  white-space: nowrap
}

.caption span::before {
  content: "\201C\00a0"
}

.caption span::after {
  content: "\00a0\201D"
}

@media(max-width:900px) {
  .portrait {
    --band: 34px;
    max-width: 440px
  }

  .badge {
    left: -12px
  }
}

footer {
  background: var(--navy);
  color: #aebce0;
  padding: 26px 0;
  font-size: .86rem;
  text-align: center
}