/* =================================================================
   PAGE-SPECIFIC: Home / Front Page
   Joint MSc — UoM × CUT
   ================================================================= */


/* =================================================================
   HERO — Cinematic (Ken Burns + gold/oxblood, dark editorial)
   ================================================================= */

/* Local hero palette (does not leak — scoped under .hero--cinematic) */
.hero.hero--cinematic{
  --bg:        #0b0d10;
  --bg-2:      #121418;
  --ink:       #ecebe6;
  --ink-dim:   rgba(236,235,230,.70);
  --ink-faint: rgba(236,235,230,.45);
  --line:      rgba(236,235,230,.14);
  --gold:      #c9a86a;
  --gold-soft: rgba(201,168,106,.65);
  --accent:    #b03a4a;

  position: relative;
  width: 100vw;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Site header sits above; lift it visually so it doesn't fight the cinematic look. */
.is-home .masthead { box-shadow: none; }

/* ---- Ken Burns full-bleed slideshow (first frame is painted on .kb itself
   via inline background, so the photo shows instantly with no black hold) ---- */
.hero--cinematic .kb {
  position: absolute; inset: 0; z-index: 1;
  background: #000;
  background-size: cover;
  background-position: center;
}
.hero--cinematic .kb .slide{
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation: kbfade 32s infinite;
  will-change: opacity, transform;
  filter: saturate(.85) contrast(1.02);
}

/* Slide 1 — starts already visible (no fade-in), then cycles normally */
.hero--cinematic .kb .slide.s1 {
  animation: kbfadeFirst 32s infinite;
  animation-delay: 0s;
}
.hero--cinematic .kb .slide.s2 { animation-delay: 8s;  }
.hero--cinematic .kb .slide.s3 { animation-delay: 16s; }
.hero--cinematic .kb .slide.s4 { animation-delay: 24s; }

/* Standard cycle for slides 2/3/4 — fade-in shortened (6% → 3% ≈ 1s) */
@keyframes kbfade{
  0%   { opacity: 0; transform: scale(1.06) translate3d(0, 0, 0); }
  3%   { opacity: 1; }
  25%  { opacity: 1; transform: scale(1.14) translate3d(-1%, -1%, 0); }
  31%  { opacity: 0; }
  100% { opacity: 0; transform: scale(1.14) translate3d(-1%, -1%, 0); }
}

/* First-slide cycle — opacity 1 from frame 0 (instant), fades out at 31% */
@keyframes kbfadeFirst{
  0%   { opacity: 1; transform: scale(1.04) translate3d(0, 0, 0); }
  25%  { opacity: 1; transform: scale(1.14) translate3d(-1%, -1%, 0); }
  31%  { opacity: 0; }
  97%  { opacity: 0; }
  100% { opacity: 1; transform: scale(1.04) translate3d(0, 0, 0); }
}

/* ---- Cinematic overlays ---- */
.hero--cinematic .grad{
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,13,16,.55) 0%, rgba(11,13,16,.15) 30%, rgba(11,13,16,.55) 70%, rgba(11,13,16,.95) 100%),
    linear-gradient(90deg,  rgba(11,13,16,.78) 0%, rgba(11,13,16,.35) 45%, rgba(11,13,16,0)   75%);
}
.hero--cinematic .vignette{
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.55) 100%);
}
.hero--cinematic .grain{
  position: absolute; inset: -2px; z-index: 4; pointer-events: none;
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Editorial gold rail along the bottom */
.hero--cinematic .rail{
  position: absolute; left: 44px; right: 44px; bottom: 26px; height: 1px; z-index: 5;
  background: linear-gradient(90deg, transparent, var(--gold-soft) 20%, var(--gold-soft) 80%, transparent);
  opacity: .55;
}

/* ---- Headline content ---- */
.hero--cinematic .hero-inner{
  position: relative; z-index: 10;
  width: 100%; max-width: 1440px; margin: 0 auto;
  padding: 140px 44px 80px;
  align-self: end;
}

.hero--cinematic .eyebrow{
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  margin-bottom: 38px;
}
.hero--cinematic .eyebrow .rule{ width: 44px; height: 1px; background: var(--gold); }
.hero--cinematic .eyebrow .dot{  width: 4px;  height: 4px;  border-radius: 50%; background: var(--gold); opacity: .6; }
.hero--cinematic .eyebrow em{    font-style: normal; color: var(--ink-dim); letter-spacing: .22em; }

.hero--cinematic .title{
  font-family: "Fraunces", Georgia, serif;
  font-weight: 300;
  font-size: clamp(48px, 7.2vw, 118px);
  line-height: .96;
  letter-spacing: -0.022em;
  color: #fff;
  margin: 0 0 36px;
  max-width: 14ch;
  text-wrap: balance;
}
.hero--cinematic .title .italic{ font-style: italic; font-weight: 200; color: var(--gold); }
.hero--cinematic .title .thin{   font-weight: 200; color: var(--ink-dim); }

.hero--cinematic .sub{
  font-size: 18px; line-height: 1.55; color: var(--ink-dim);
  max-width: 56ch; margin: 0 0 48px;
  font-weight: 300;
}

/* CTA buttons (cinematic) */
.hero--cinematic .cta{ display: flex; align-items: center; gap: 20px; margin-bottom: 0; flex-wrap: wrap; }
.hero--cinematic .btn{
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: 0;
  font: 500 13px/1 "Inter", sans-serif; letter-spacing: .2em; text-transform: uppercase;
  transition: all .3s cubic-bezier(.2,.7,.2,1);
  cursor: pointer; white-space: nowrap; position: relative; overflow: hidden;
}
.hero--cinematic .btn-primary{ background: var(--gold); color: #111; border: 1px solid var(--gold); }
.hero--cinematic .btn-primary:hover{ background: #d9b878; border-color: #d9b878; transform: translateY(-2px); }
.hero--cinematic .btn-primary .arrow{ transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.hero--cinematic .btn-primary:hover .arrow{ transform: translateX(6px); }
.hero--cinematic .btn-ghost{ background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.hero--cinematic .btn-ghost:hover{ border-color: #fff; background: rgba(255,255,255,.06); color: #fff; }

/* ---- Floating credentials bar ---- */
.hero--cinematic .bar{
  position: relative; z-index: 10;
  max-width: 1440px; margin: 0 auto;
  padding: 0 44px 60px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
}
.hero--cinematic .unis{
  font-family: "Fraunces", serif; font-weight: 300; font-size: 22px;
  letter-spacing: -0.01em;
  color: #fff; display: flex; align-items: center; gap: 14px;
}
.hero--cinematic .unis .x{ color: var(--gold); font-style: italic; font-weight: 200; }

.hero--cinematic .metrics{
  display: flex; gap: 48px; justify-content: center;
  padding: 0 30px; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.hero--cinematic .metric{ display: flex; flex-direction: column; gap: 4px; text-align: center; }
.hero--cinematic .metric .num{
  font-family: "Fraunces", serif; font-weight: 300; font-size: 34px; line-height: 1; color: #fff;
  letter-spacing: -0.02em;
}
.hero--cinematic .metric .num em{
  font-style: italic; color: var(--gold); font-weight: 200; font-size: 20px;
  vertical-align: top; margin-right: 2px;
}
.hero--cinematic .metric .lbl{
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 500;
}

.hero--cinematic .places{
  text-align: right;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 500;
}
.hero--cinematic .places strong{
  display: block; font-family: "Fraunces", serif; font-weight: 300;
  font-size: 18px; text-transform: none; letter-spacing: -0.005em;
  color: #fff; margin-bottom: 4px;
}

/* ---- Scroll indicator (right) ---- */
.hero--cinematic .scroll{
  position: absolute; right: 44px; top: 50%;
  transform: translateY(-50%) rotate(90deg); transform-origin: right center;
  z-index: 10;
  display: flex; align-items: center; gap: 14px;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 500;
}
.hero--cinematic .scroll .track{
  width: 60px; height: 1px; background: var(--ink-faint);
  position: relative; overflow: hidden;
}
.hero--cinematic .scroll .track::after{
  content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  background: var(--gold);
  animation: trackslide 2.6s ease-in-out infinite;
}
@keyframes trackslide{ 0%{left:-40%} 100%{left:100%} }

/* ---- Slide counter (left) ---- */
.hero--cinematic .counter{
  position: absolute; left: 44px; top: 50%; transform: translateY(-50%); z-index: 10;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 500;
}
.hero--cinematic .counter .tick{ display: flex; align-items: center; gap: 10px; }
.hero--cinematic .counter .tick .d{ width: 28px; height: 1px; background: var(--ink-faint); transition: all .4s ease; }
.hero--cinematic .counter .tick.on{ color: var(--gold); }
.hero--cinematic .counter .tick.on .d{ background: var(--gold); width: 44px; }

/* ---- Rotating accreditation seal (top-right) ---- */
.hero--cinematic .stamp-wrap{
  position: absolute; right: 44px; top: 140px; z-index: 10;
  width: 132px; height: 132px;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero--cinematic .stamp-wrap svg{
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: spin 40s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }
.hero--cinematic .stamp-text{
  position: relative; z-index: 1;
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; line-height: 1.45;
}
.hero--cinematic .stamp-text strong{
  display: block; font-family: "Fraunces", serif; font-weight: 300;
  font-size: 26px; letter-spacing: -0.02em; color: #fff;
  text-transform: none; margin: 2px 0 0;
}

@media (prefers-reduced-motion: reduce){
  .hero--cinematic .kb .slide,
  .hero--cinematic .scroll .track::after,
  .hero--cinematic .stamp-wrap svg { animation: none; }
  .hero--cinematic .kb .slide { opacity: 1; }
  .hero--cinematic .kb .slide:not(.s1) { display: none; }
}

/* ---- Cinematic hero responsive ---- */
@media (max-width: 1100px){
  .hero--cinematic .stamp-wrap,
  .hero--cinematic .counter,
  .hero--cinematic .scroll { display: none; }
}
@media (max-width: 780px){
  .hero--cinematic .hero-inner { padding: 120px 22px 40px; }
  .hero--cinematic .bar{
    grid-template-columns: 1fr; gap: 24px; padding: 0 22px 40px; text-align: left;
  }
  .hero--cinematic .metrics{
    padding: 16px 0;
    border-left: 0; border-right: 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    flex-wrap: wrap; gap: 28px; justify-content: flex-start;
  }
  .hero--cinematic .places { text-align: left; }
  .hero--cinematic .rail   { left: 22px; right: 22px; }
}
/* ====== Shared section helpers ====== */
.wrap      { max-width: var(--content-width); margin: 0 auto; padding: 0 2rem; }
.wrap-wide { max-width: var(--max-width);     margin: 0 auto; padding: 0 2rem; }


/* ====== WELCOME / DIRECTOR ====== */
.welcome { background: var(--white); padding: 7rem 0; }
.welcome-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: start;
}
.welcome-body h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.02em;
  margin: 1rem 0 2rem;
  text-wrap: balance;
}
.welcome-body h2 em { font-style: italic; color: var(--cardinal-red); }
.welcome-body .lede {
  font-family: var(--font-serif);
  font-size: 1.3rem; line-height: 1.55; color: var(--black);
  margin-bottom: 1.5rem; padding-left: 1.25rem;
  border-left: 3px solid var(--cardinal-red);
  font-style: italic;
}
.welcome-body p {
  font-family: var(--font-serif);
  font-size: 1.08rem; line-height: 1.75; color: var(--warm-grey);
  margin-bottom: 1.25rem;
}
.welcome-signature {
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--fog);
  display: flex; align-items: center; gap: 1.25rem;
}
.welcome-signature .sig-mark {
  width: 56px; height: 56px;
  background: var(--cardinal-red); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 500;
  letter-spacing: 0.04em;
}
.sig-name {
  font-family: var(--font-display); font-size: 1.05rem;
  font-weight: 500; color: var(--black);
}
.sig-role { font-size: 0.85rem; color: var(--cool-grey); margin-top: 2px; }

.welcome-figure {
  position: sticky; top: 7rem;
}
.welcome-figure img {
  width: 100%; height: 460px; object-fit: cover;
  border: 1px solid var(--fog);
  filter: grayscale(8%);
}
.figure-caption {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cool-grey);
  margin-top: 1rem; padding-left: 0.75rem;
  border-left: 2px solid var(--sandstone);
}


/* ====== AT A GLANCE ====== */
.glance {
  background: var(--off-white);
  padding: 7rem 0;
  position: relative;
}
.glance-head { max-width: 56rem; margin-bottom: 4.5rem; }
.glance .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.02em;
  text-wrap: balance;
}
.glance .section-title em { font-style: italic; color: var(--cardinal-red); }
.glance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.glance-card {
  background: var(--white);
  border: 1px solid var(--fog);
  padding: 2.5rem 2rem;
  transition: all 0.35s var(--ease-out-quart);
  position: relative;
}
.glance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  border-color: var(--sandstone);
}
.glance-card::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 40px; height: 3px; background: var(--cardinal-red);
}
.glance-num {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.1rem; color: var(--cardinal-red); font-weight: 500;
  margin-bottom: 1.25rem; letter-spacing: 0.04em;
}
.glance-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 500; line-height: 1.25;
  color: var(--black); margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}
.glance-card p {
  font-family: var(--font-serif);
  font-size: 1rem; line-height: 1.65; color: var(--warm-grey);
}


/* ====== TWO UNIVERSITIES PARTNERSHIP ====== */
.partnership { background: var(--white); padding: 7rem 0; }
.partner-head { max-width: 56rem; margin-bottom: 4rem; }
.partner-head .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.02em;
}
.partner-head .section-title em { font-style: italic; color: var(--cardinal-red); }
.partner-head .section-lede {
  font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.65;
  color: var(--warm-grey); margin-top: 1rem; max-width: 50rem;
}
.partner-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.partner {
  display: flex; flex-direction: column;
  background: var(--off-white);
  border: 1px solid var(--fog);
  overflow: hidden;
}
.partner-img {
  height: 280px;
  background-size: cover; background-position: center;
  position: relative;
}
.partner-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,45,41,0.05), rgba(46,45,41,0.55));
}
.partner-body { padding: 2.5rem 2rem; }
.partner-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cardinal-red);
  margin-bottom: 0.6rem;
}
.partner-body h3 {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 500; line-height: 1.2;
  color: var(--black); margin-bottom: 1.25rem; letter-spacing: -0.01em;
}
.partner-body p {
  font-family: var(--font-serif);
  font-size: 1.02rem; line-height: 1.7; color: var(--warm-grey);
  margin-bottom: 1.75rem;
}
.partner-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem;
  padding-top: 1.5rem; border-top: 1px solid var(--fog);
}
.partner-stats div { display: flex; flex-direction: column; }
.partner-stats dt {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cool-grey);
  margin-bottom: 4px;
}
.partner-stats dd {
  font-family: var(--font-display); font-size: 1.1rem;
  font-weight: 500; color: var(--black);
}


/* ====== CURRICULUM PREVIEW ====== */
.curriculum-preview {
  background: var(--off-white);
  padding: 7rem 0;
}
.curr-head { max-width: 60rem; margin-bottom: 4rem; }
.curriculum-preview .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.02em;
}
.curriculum-preview .section-title em { font-style: italic; color: var(--cardinal-red); }
.curriculum-preview .section-lede {
  font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.7;
  color: var(--warm-grey); margin-top: 1rem;
}

.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.term {
  background: var(--white);
  border: 1px solid var(--fog);
  padding: 2.25rem 2rem;
  display: flex; flex-direction: column;
  transition: all 0.35s var(--ease-out-quart);
}
.term:hover { border-color: var(--cardinal-red); }
.term header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--fog);
}
.term-num {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 500; color: var(--cardinal-red);
  letter-spacing: -0.01em;
}
.term-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cool-grey);
}
.term h4 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 500; color: var(--black);
  margin-bottom: 1.5rem; letter-spacing: -0.01em;
}
.term-list { list-style: none; padding: 0; margin: 0; }
.term-list li {
  display: grid; grid-template-columns: 90px 1fr; gap: 0.85rem;
  padding: 0.65rem 0;
  font-size: 0.92rem; color: var(--black); line-height: 1.45;
  border-bottom: 1px solid var(--fog);
}
.term-list li:last-child { border-bottom: 0; }
.term-list li span {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cardinal-red);
  padding-top: 3px; align-self: start;
}
.term-list li em { font-style: italic; color: var(--stone); }
.term-prose {
  font-family: var(--font-serif); font-size: 1rem; line-height: 1.7;
  color: var(--warm-grey);
}
.curr-cta { text-align: center; margin-top: 3rem; }
.curr-cta .btn-ghost {
  color: var(--cardinal-red); border-color: var(--cardinal-red);
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.75rem; font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--cardinal-red);
  transition: all 0.3s var(--ease-out-quart);
}
.curr-cta .btn-ghost:hover {
  background: var(--cardinal-red); color: var(--white);
}


/* ====== ACCREDITATIONS ====== */
.accreditations { background: var(--white); padding: 7rem 0; }
.accred-head { max-width: 58rem; margin-bottom: 4rem; }
.accreditations .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.02em;
}
.accreditations .section-title em { font-style: italic; color: var(--cardinal-red); }
.accreditations .section-lede {
  font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.7;
  color: var(--warm-grey); margin-top: 1rem;
}
.accred-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.accred {
  background: var(--off-white);
  border: 1px solid var(--fog);
  padding: 2.25rem 1.85rem;
  transition: all 0.3s var(--ease-out-quart);
}
.accred:hover {
  background: var(--white); border-color: var(--cardinal-red);
  transform: translateY(-3px);
}
.accred-mono {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--cardinal-red); margin-bottom: 1rem;
  padding-bottom: 0.85rem; border-bottom: 2px solid var(--sandstone);
  display: inline-block;
}
.accred h4 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 500; line-height: 1.3;
  color: var(--black); margin-bottom: 0.75rem;
}
.accred p {
  font-family: var(--font-serif);
  font-size: 0.95rem; line-height: 1.65; color: var(--warm-grey);
}


/* ====== CAREER PATHWAYS ====== */
.careers {
  background: var(--black); color: var(--white);
  padding: 7rem 0;
}
.careers-head { max-width: 58rem; margin-bottom: 4rem; }
.careers .section-eyebrow { color: var(--sandstone); }
.careers .section-eyebrow::before { background: var(--sandstone); }
.careers .section-title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.02em;
}
.careers .section-title em { font-style: italic; color: var(--sandstone); }
.careers .section-lede {
  font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.7;
  color: rgba(255,255,255,0.78); margin-top: 1rem;
}
.careers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-bottom: 4rem;
}
.sector {
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  transition: all 0.35s var(--ease-out-quart);
}
.sector:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--sandstone);
}
.sector-icon {
  width: 44px; height: 44px;
  background: var(--cardinal-red);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.sector h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 500;
  color: var(--white); margin-bottom: 1rem;
  line-height: 1.25;
}
.sector ul { list-style: none; padding: 0; margin: 0; }
.sector li {
  font-size: 0.9rem; color: rgba(255,255,255,0.78);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  line-height: 1.45;
}
.sector li:last-child { border-bottom: 0; }

.career-roles {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
}
.roles-head {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--sandstone);
  margin-bottom: 1.25rem;
}
.roles-list {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.roles-list span {
  font-family: var(--font-display);
  font-size: 1rem; color: var(--white);
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.18);
  letter-spacing: -0.005em;
  transition: all 0.25s var(--ease-out-quart);
}
.roles-list span:hover {
  background: var(--cardinal-red); border-color: var(--cardinal-red);
}


/* ====== THESSALONIKI ====== */
.city {
  position: relative;
  min-height: 640px;
  display: flex;
  color: var(--white);
  overflow: hidden;
}
.city-image {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1);
  transition: transform 12s ease-out;
}
.city:hover .city-image { transform: scale(1.06); }
.city-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(46,45,41,0.85) 0%, rgba(46,45,41,0.6) 55%, rgba(46,45,41,0.25) 100%);
}
.city-inner {
  position: relative; z-index: 2;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 6rem 2rem;
  width: 100%;
  display: flex; align-items: center;
}
.city-body { max-width: 36rem; }
.city .section-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sandstone);
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.city .section-eyebrow::before {
  content: ""; width: 32px; height: 2px; background: var(--sandstone);
}
.city h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400; line-height: 1.12; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 1.75rem;
  text-wrap: balance;
}
.city h2 em { font-style: italic; color: var(--sandstone); }
.city p {
  font-family: var(--font-serif);
  font-size: 1.1rem; line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
}
.city-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.city-facts div { display: flex; flex-direction: column; }
.city-facts dt {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
  margin-bottom: 4px;
}
.city-facts dd {
  font-family: var(--font-display);
  font-size: 1.02rem; color: var(--white);
}


/* ====== CTA BAND ====== */
.cta-band {
  background: var(--cardinal-red);
  color: var(--white);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 360px; height: 360px;
  background: rgba(210,194,149,0.12);
  border-radius: 50%;
  filter: blur(60px);
}
.cta-inner {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 2rem;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 5rem;
  align-items: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400; line-height: 1.12; letter-spacing: -0.02em;
  color: var(--white); margin-bottom: 1.5rem;
  text-wrap: balance;
}
.cta-band h2 em { font-style: italic; color: var(--sandstone); }
.cta-band p {
  font-family: var(--font-serif);
  font-size: 1.1rem; line-height: 1.7;
  color: rgba(255,255,255,0.88);
  max-width: 50ch;
  margin-bottom: 2.5rem;
}
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn-primary {
  background: var(--white); color: var(--cardinal-red);
  padding: 1rem 1.75rem; font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid var(--white);
  transition: all 0.3s var(--ease-out-quart);
}
.cta-band .btn-primary:hover {
  background: var(--sandstone); color: var(--cardinal-red); border-color: var(--sandstone);
  transform: translateY(-1px);
}
.cta-band .btn-ghost {
  background: transparent; color: var(--white);
  padding: 1rem 1.75rem; font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.5);
  transition: all 0.3s var(--ease-out-quart);
}
.cta-band .btn-ghost:hover {
  background: rgba(255,255,255,0.08); border-color: var(--white);
}

.cta-meta {
  display: flex; flex-direction: column; gap: 1.25rem;
  padding-left: 2.5rem; border-left: 1px solid rgba(255,255,255,0.22);
}
.cta-meta .meta-block { padding: 0.5rem 0; }
.cta-meta .block-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sandstone);
  margin-bottom: 6px;
}
.cta-meta .block-value {
  font-family: var(--font-display);
  font-size: 1.2rem; color: var(--white); font-weight: 500;
  margin-bottom: 4px;
}
.cta-meta .block-sub {
  font-size: 0.85rem; color: rgba(255,255,255,0.7);
}
.cta-meta .block-sub a { color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.3); }
.cta-meta .block-sub a:hover { color: var(--sandstone); border-color: var(--sandstone); }


/* ====== RESPONSIVE ====== */
@media (max-width: 1080px) {
  /* Stack: text top, photo panel below */
  .hero-grid        { grid-template-columns: 1fr; min-height: auto; }
  .hero-text        { padding: 6rem 2rem 4rem; }
  .hero-visual      { min-height: 55vw; }
  /* Red panel covers full height (photos panel stacks below) */
  .hero-panel       { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .hero.hero--diagonal .hero-inner { min-height: auto; padding: 0; }
  .hero.hero--diagonal .hero-meta { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .welcome-grid     { grid-template-columns: 1fr; gap: 3rem; }
  .welcome-figure   { position: static; }
  .welcome-figure img { height: 320px; }
  .glance-grid      { grid-template-columns: repeat(2, 1fr); }
  .partner-grid     { grid-template-columns: 1fr; }
  .terms            { grid-template-columns: 1fr; }
  .accred-grid      { grid-template-columns: repeat(2, 1fr); }
  .careers-grid     { grid-template-columns: repeat(2, 1fr); }
  .cta-inner        { grid-template-columns: 1fr; gap: 3rem; }
  .cta-meta         { padding-left: 0; border-left: 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.22); }
}
@media (max-width: 720px) {
  .hero-text { padding: 5rem 1.5rem 3rem; }
  .hero.hero--diagonal .hero-meta {
    grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem;
  }
  .hero-visual { min-height: 60vw; }
  .glance, .welcome, .partnership, .curriculum-preview,
  .accreditations, .careers, .cta-band { padding: 4.5rem 0; }
  .glance-grid, .accred-grid { grid-template-columns: 1fr; }
  .careers-grid              { grid-template-columns: 1fr; }
  .partner-stats             { grid-template-columns: 1fr; }
  .city-facts                { grid-template-columns: 1fr; }
  .city-inner                { padding: 4rem 1.5rem; }
}
