:root {
  --primary: #5aa6dc;
  --accent: #e8f0f8;
  --text: #2f2f2f;
  --muted: #65707a;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  --card: #ffffff;
  --max-width: 1080px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Quicksand", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
.brand {
  font-family: "Julius Sans One", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* NAV */
.nav-bar {
  background: #ffffff;
  border-bottom: 1px solid #e4e7ea;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 18px 18px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 22px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: #4f5963;
}
.nav-links a { padding: 6px 4px; border-radius: 4px; color: inherit; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* HERO */
.hero {
  position: relative;
  overflow: visible;
  background: #ffffff;
  padding: 0 20px 180px;
}
.banner { max-width: var(--max-width); margin: 0 auto; }
.sliderOuter { position: relative; }
.hero .slider { box-shadow: none; border-radius: 0; background: transparent; }
.hero .slide {
  height: calc(100vh - 240px);
  min-height: 420px;
  max-height: 700px;
}
.hero .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero .slider-controls { display: none; }
.hero .slider-dots { display: none; }
.bannertitleWrapper {
  position: absolute;
  left: 10px;
  right: 10px;
  top: calc(100% + 15px);
  padding: 20px 10px;
  background: #ffffff;
  box-shadow: 0 20px 40px 0 rgba(143, 143, 143, 0.5);
  text-align: center;
}
@media (min-width: 992px) {
  .bannertitleWrapper {
    width: 100%;
    padding: 40px 0;
    left: 0;
    right: 0;
  }
}
.bannertitleWrapper h1 {
  margin: 0;
  font-size: 30px;
  line-height: 33px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a76cc;
  font-weight: 400;
}
.scrollDown {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: -160px;
}
@media (min-width: 992px) {
  .scrollDown { bottom: -174px; }
}
.scrollDown .btn_down {
  position: relative;
  color: #000;
  font-size: 15px;
  line-height: 19px;
  letter-spacing: 2px;
}
.scrollDown .btn_down:hover,
.scrollDown .btn_down:focus,
.scrollDown .btn_down:active { text-decoration: none; }
.scrollDown .btn_down:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  display: block;
  width: 40px;
  background-color: #000;
  height: 1px;
  margin-top: 15px;
  transform-origin: left;
  transform: translateX(0%) rotate(90deg);
}

/* SECTIONS */
section { padding: 80px 20px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.pill { display: inline-block; letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
h2 { margin: 6px 0 18px; letter-spacing: 0.04em; }
.muted { color: var(--muted); }

.intro { background: #e8f1f8; padding: 64px 0; }
.intro-band { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; gap: 24px; align-items: flex-start; }
.intro-side { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: flex-start; }
.intro-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}
.intro-title {
  margin: 0;
  font-family: "Julius Sans One", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: 0.04em;
}
@media (min-width: 1200px) {
  .intro-title { font-size: 30px; line-height: 1.25; }
}
.intro-copy p,
.intro-note p { margin: 0 0 8px; }
.intro-note { justify-self: start; }

/* SLIDER GENERAL */
.slider { position: relative; overflow: hidden; border-radius: 0; box-shadow: none; background: transparent; }
.slider .slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; transition: transform 0.5s ease; }
.slider .slide { position: relative; height: 420px; }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-controls { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 12px; pointer-events: none; }
.slider button {
  pointer-events: auto;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.98);
  color: #1b4f82;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.slider button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 24px rgba(0,0,0,0.18);
  background: #ffffff;
}
.slider-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 10px; }
.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,0.26);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}
.slider-dots button.is-active { background: var(--primary); width: 28px; border-radius: 999px; }

/* HIGHLIGHTS */
.highlights h3 { margin-top: 0; margin-bottom: 12px; letter-spacing: 0.02em; }
.highlights .slider {
  padding-bottom: 42px;
  margin-bottom: 0;
}
.highlights .slider-dots { bottom: 12px; }

/* BIO */
.bio {
  background: var(--accent);
  padding: 120px 20px 130px;
}
.bio-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 992px) {
  .bio-grid {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: flex-start;
    gap: 40px 80px;
  }
}
.bio-heading h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding-left: 0;
}
@media (min-width: 992px) {
  .bio-heading h2 { padding-left: 40px; }
}
.rotate-title {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
@media (min-width: 992px) {
  .rotate-title {
    position: absolute;
    top: 0;
    left: -150px;
    transform: rotate(-90deg);
    transform-origin: left top;
    margin: 0;
    letter-spacing: 0.28em;
  }
}
.bio-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.bio-figure {
  margin: 0;
}
.bio-figure img {
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.bio-copy {
  display: grid;
  gap: 20px;
}
@media (min-width: 780px) {
  .bio-copy { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
.bio-copy p { margin: 0; }

/* LEGAL */
.legal { background: #f7f9fb; padding: 96px 20px; }
.legal-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.legal-card {
  background: #ffffff;
  border: 1px solid #e4e7ea;
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}
.legal-card h2 { margin: 6px 0 12px; letter-spacing: 0.04em; font-size: 20px; }
.legal-card p { margin: 0 0 10px; color: var(--muted); }
.legal-card a { color: #1a76cc; }

/* CONTACT */
.contact { background: #ffffff; color: var(--text); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: start; }
.contact a { color: var(--text); }
.contact .pill { color: var(--muted); }
.contact h2 { color: var(--text); margin-top: 6px; }
.contact .muted { color: var(--muted); }
.contact .lead { color: var(--text); }
.site-footer {
  background: #7a7a7a;
  color: #f1f1f1;
  text-align: center;
  padding: 36px 16px 28px;
  display: grid;
  gap: 8px;
  font-family: "Julius Sans One", "Segoe UI", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}
.site-footer a { color: #f1f1f1; }
.footer-brand { font-size: 14px; }
.footer-info { letter-spacing: 0.08em; text-transform: none; font-family: "Quicksand", "Segoe UI", sans-serif; }
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  letter-spacing: 0.08em;
  text-transform: none;
  font-family: "Quicksand", "Segoe UI", sans-serif;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .intro-band { grid-template-columns: 1fr; gap: 12px; padding: 0 16px; }
  .intro-side { grid-template-columns: auto 1fr; }
  .intro-label { writing-mode: horizontal-tb; transform: none; }
}

@media (max-width: 640px) {
  .nav-inner { flex-direction: column; align-items: flex-start; }
  .nav-links { width: 100%; justify-content: flex-end; }
  .hero .slide img { height: 60vh; }
  section { padding: 64px 16px; }
  .intro-label { display: none; }
}

/* Ultra-mobile breakpoint: simplify layout and nav */
@media (max-width: 540px) {
  body { background: #f9fafc; }
  .nav-bar {
    border: 0;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .nav-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    gap: 12px;
  }
  .brand img { height: 18px; }
  .nav-links {
    width: auto;
    justify-content: flex-end;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: none;
    background: #ffffff;
    border: 1px solid #e5e9ee;
    border-radius: 999px;
    padding: 6px 10px;
  }
  .nav-links a { padding: 4px 8px; border-radius: 999px; }
  .nav-links a:hover { text-decoration: none; background: #f1f5f9; }

  .hero {
    padding: 0 0 72px;
    background: #f4f7fb;
  }
  .banner { max-width: 100%; }
  .hero .slide { height: 52vh; min-height: 320px; }
  .bannertitleWrapper {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 18px 16px 0;
  }
  .bannertitleWrapper h1 {
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: 0.08em;
  }
  .scrollDown { position: static; margin-top: 12px; }
  .scrollDown .btn_down { font-size: 12px; letter-spacing: 1px; }
  .scrollDown .btn_down:after { display: none; }

  section { padding: 56px 16px; }
  .intro { padding: 48px 0; background: #ffffff; }
  .intro-band { padding: 0 16px; gap: 18px; }
  .intro-title { font-size: 22px; }

  .bio { padding: 72px 16px 80px; }
  .bio-heading h2 { font-size: 24px; letter-spacing: 0.06em; }
  .bio-copy { grid-template-columns: 1fr; }

  .site-footer { font-size: 11px; gap: 6px; }
  .footer-meta { flex-direction: column; align-items: center; }
}
