/* Shared styles. Brand colors are sampled from the original fsrins.png. */
@font-face {
  font-family:Inter;
  src:url('/assets/fonts/InterVariable.woff2') format('woff2');
  font-style:normal;
  font-weight:100 900;
  font-display:swap;
}

:root {
  --blue:#100277;
  --red:#c22a1f;
  --ink:#202139;
  --muted:#626375;
  --line:#dedee6;
  --paper:#f6f6f8;
  --width:1200px;
  font-family:Inter,Arial,sans-serif;
  color:var(--ink);
  background:#fff;
  font-synthesis:none;
  line-height:1.65;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
}

a {
  color:inherit;
  text-underline-offset:5px;
}

a:hover {
  color:var(--red);
}

a:focus-visible,button:focus-visible {
  outline:3px solid var(--red);
  outline-offset:5px;
}

img {
  display:block;
  max-width:100%;
  height:auto;
}

h1,h2,h3,p,figure {
  margin:0;
}

h1,h2,h3 {
  color:var(--blue);
  line-height:1.12;
  letter-spacing:-.045em;
}

h1 {
  font-size:clamp(2.8rem,5.3vw,4.8rem);
  font-weight:700;
}

h2 {
  font-size:clamp(2.1rem,3.8vw,3.4rem);
  font-weight:650;
}

h3 {
  font-size:1.18rem;
  letter-spacing:-.025em;
}

p+p {
  margin-top:1rem;
}

address {
  font-style:normal;
}

section {
  scroll-margin-top:30px;
}

.wrap {
  width:min(var(--width),calc(100% - 80px));
  margin-inline:auto;
}

.skip {
  position:absolute;
  left:20px;
  top:-100px;
  z-index:5;
  background:white;
  padding:12px;
}

.skip:focus {
  top:10px;
}

.site-header {
  border-bottom:1px solid var(--line);
}

.header-inner {
  min-height:106px;
  display:flex;
  align-items:center;
  gap:30px;
}

.brand {
  display:flex;
  align-items:center;
  gap:16px;
  text-decoration:none;
  color:var(--blue);
  flex-shrink:0;
}

.brand img {
  width:64px;
  height:64px;
}

.brand strong {
  display:block;
  font-size:1.1rem;
  letter-spacing:-.02em;
}

.brand small {
  display:block;
  color:var(--muted);
  font-size:.73rem;
}

.main-nav {
  margin-left:auto;
  display:flex;
  gap:28px;
  font-size:.9rem;
  font-weight:500;
}

.main-nav a {
  text-decoration:none;
  padding-block:10px;
}

.languages {
  display:flex;
  gap:3px;
  border-left:1px solid var(--line);
  padding-left:22px;
  font-size:.8rem;
  font-weight:600;
}

.languages a {
  text-decoration:none;
  display:grid;
  place-items:center;
  min-width:40px;
  min-height:40px;
}

.languages [aria-current] {
  background:var(--blue);
  color:#fff;
  border-radius:3px;
}

.eyebrow {
  font-size:.73rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--red);
  margin-bottom:22px;
  display:flex;
  align-items:center;
  gap:12px;
}

.eyebrow:before {
  content:'';
  height:2px;
  width:26px;
  background:currentColor;
}

.hero {
  padding:76px 0 62px;
}

.hero-grid {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:60px;
  align-items:center;
}

.hero h1 span {
  color:var(--red);
}

.hero .intro {
  font-size:1.04rem;
  margin-top:26px;
  max-width:470px;
  color:var(--muted);
}

.hero .intro strong {
  font-weight:500;
  color:var(--ink);
}

.actions {
  display:flex;
  gap:26px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:32px;
}

.button {
  background:var(--blue);
  color:white;
  display:inline-flex;
  align-items:center;
  gap:28px;
  padding:13px 21px;
  text-decoration:none;
  border-radius:3px;
  font-size:.87rem;
  font-weight:500;
}

.button:hover {
  background:var(--red);
  color:white;
}

.text-link {
  font-size:.87rem;
  font-weight:500;
  text-decoration:none;
  border-bottom:1px solid var(--line);
  padding:9px 0;
}

.arrow {
  font-size:1.2rem;
  line-height:1;
}

.hero-photo {
  position:relative;
}

.hero-photo:before {
  content:'';
  position:absolute;
  inset:-15px -15px 39px 36px;
  background:var(--paper);
  z-index:-1;
}

.hero-photo img {
  width:100%;
  border-radius:3px;
}

.photo-caption {
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:.73rem;
  color:var(--muted);
  padding-top:15px;
}

.photo-caption span:last-child {
  color:var(--blue);
}

.section-top {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:30px;
}

.section-top p {
  font-size:.9rem;
  color:var(--muted);
}

.team {
  padding:35px 0 80px;
}

.team h2 {
  font-size:1.65rem;
  letter-spacing:-.03em;
}

.members {
  list-style:none;
  padding:0;
  margin:28px 0 0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  column-gap:45px;
}

.members li {
  padding:21px 0;
  border-top:1px solid var(--line);
  display:flex;
  gap:16px;
  align-items:baseline;
}

.member-number {
  font-size:.68rem;
  color:var(--red);
  font-variant-numeric:tabular-nums;
}

.members strong {
  display:block;
  font-size:.96rem;
  font-weight:600;
  color:var(--blue);
}

.members small {
  font-size:.81rem;
  color:var(--muted);
}

.study {
  background:var(--paper);
  padding:86px 0;
}

.study-grid {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:70px;
  align-items:start;
}

.study-image {
  margin-top:8px;
}

.study-image img {
  width:100%;
  border-radius:3px;
}

.study h2 {
  margin-bottom:25px;
}

.study p {
  color:var(--muted);
  font-size:.96rem;
}

.features {
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:7px 23px;
  margin:24px 0 30px;
  padding:0;
  font-size:.81rem;
  color:var(--blue);
}

.features li:before {
  content:'+';
  color:var(--red);
  margin-right:9px;
}

.room {
  display:grid;
  grid-template-columns:auto 1fr;
  gap:20px;
  margin-top:25px;
  border-top:1px solid var(--line);
  padding-top:22px;
}

.room-number {
  font-size:3rem;
  color:var(--blue);
  font-weight:650;
  line-height:1.1;
  letter-spacing:-.05em;
}

.room-number small {
  font-size:.67rem;
  letter-spacing:.12em;
  display:block;
  text-transform:uppercase;
  margin-bottom:7px;
}

.room address {
  font-size:.8rem;
  color:var(--muted);
}

.access {
  margin-top:23px;
  padding-left:17px;
  border-left:2px solid var(--red);
}

.access strong {
  color:var(--blue);
  display:block;
  margin-bottom:4px;
  font-size:.85rem;
}

.access p {
  font-size:.85rem;
}

.campus {
  padding:54px 0;
}

.campus-inner {
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:35px;
  align-items:center;
  border-bottom:1px solid var(--line);
  padding-bottom:54px;
}

.campus-logo {
  width:88px;
  height:auto;
}


.campus h2 {
  font-size:1.6rem;
  letter-spacing:-.035em;
  margin-bottom:10px;
}

.campus p {
  font-size:.91rem;
  color:var(--muted);
  max-width:590px;
}

.contact {
  padding:20px 0 90px;
}

.contact-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:100px;
}

.contact h2 {
  margin-bottom:22px;
}

.contact p {
  color:var(--muted);
  max-width:450px;
}

.contact-links {
  display:flex;
  flex-direction:column;
  padding-top:12px;
}

.contact-links a {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--line);
  padding:19px 0;
  text-decoration:none;
  color:var(--blue);
  font-weight:500;
  gap:14px;
}

.contact-links a:hover {
  color:var(--red);
}

.contact-links small {
  display:block;
  color:var(--muted);
  font-weight:400;
  font-size:.75rem;
  margin-bottom:3px;
}

.contact-links .arrow {
  color:var(--red);
}

.site-footer {
  background:var(--blue);
  color:#fff;
  padding:42px 0 25px;
}

.footer-top {
  display:flex;
  justify-content:space-between;
  gap:35px;
  padding-bottom:30px;
}

.footer-brand {
  font-size:1.15rem;
  font-weight:650;
}

.footer-top p {
  font-size:.8rem;
  color:#d3d0e9;
  margin-top:8px;
  max-width:400px;
}

.footer-links {
  display:flex;
  flex-wrap:wrap;
  align-content:start;
  gap:22px;
  font-size:.8rem;
}

.site-footer a:hover {
  color:#fff;
  text-decoration-thickness:2px;
}

.footer-bottom {
  border-top:1px solid #ffffff35;
  padding-top:21px;
  display:flex;
  justify-content:space-between;
  gap:24px;
  font-size:.73rem;
  color:#d3d0e9;
}

.footer-legal {
  display:flex;
  gap:24px;
}

.legal {
  max-width:800px;
  padding:65px 0 90px;
}

.legal h1 {
  font-size:clamp(2.4rem,5vw,3.5rem);
  margin:25px 0 40px;
  overflow-wrap:anywhere;
}

.legal h2 {
  font-size:1.35rem;
  letter-spacing:-.025em;
  margin:34px 0 13px;
  line-height:1.35;
}

.legal p,.legal li,.legal address {
  font-size:.97rem;
}

.legal a {
  overflow-wrap:anywhere;
}

.legal .back {
  font-size:.83rem;
  color:var(--muted);
}

.notice {
  border-left:3px solid var(--red);
  padding:17px 21px;
  background:var(--paper);
  margin:24px 0;
}

.notice strong {
  color:var(--red);
}

.language-entry {
  min-height:100vh;
  display:grid;
  place-items:center;
}

.language-entry main {
  padding:40px;
  max-width:650px;
}

.language-entry img {
  width:110px;
  margin-bottom:35px;
}

.language-entry h1 {
  font-size:3.2rem;
}

.language-entry p {
  margin-top:20px;
  color:var(--muted);
}

@media(min-width:1500px) {
  .hero {
    padding-top:100px;
    padding-bottom:85px;
  }
}

@media(max-width:1000px) {
  .wrap {
    width:calc(100% - 48px);
  }
  .brand small {
    display:none;
  }
  .main-nav {
    gap:18px;
  }
  .header-inner {
    gap:18px;
  }
  .hero-grid {
    gap:30px;
  }
  .hero h1 {
    font-size:3.1rem;
  }
  .study-grid {
    gap:35px;
  }
  .contact-grid {
    gap:50px;
  }
  .campus-inner {
    gap:25px;
  }
  .members {
    column-gap:25px;
  }
}

@media(max-width:720px) {
  .wrap {
    width:calc(100% - 40px);
  }
  .header-inner {
    flex-wrap:wrap;
    gap:8px;
    min-height:0;
    padding:14px 0 8px;
  }
  .brand img {
    width:46px;
    height:46px;
  }
  .brand {
    gap:10px;
  }
  .brand strong {
    font-size:1rem;
  }
  .languages {
    margin-left:auto;
    padding-left:12px;
    border:0;
  }
  .main-nav {
    order:3;
    width:100%;
    margin:0;
    justify-content:space-between;
    gap:10px;
    font-size:.78rem;
    border-top:1px solid var(--line);
    padding-top:7px;
  }
  .hero {
    padding:42px 0 35px;
  }
  .hero-grid,.study-grid,.contact-grid {
    grid-template-columns:1fr;
    gap:36px;
  }
  .hero h1 {
    font-size:clamp(2.7rem,10vw,4rem);
  }
  .hero .intro {
    max-width:550px;
  }
  .eyebrow {
    font-size:.66rem;
    margin-bottom:18px;
  }
  .hero-photo:before {
    inset:-10px -10px 35px 25px;
  }
  .photo-caption {
    font-size:.66rem;
  }
  .actions {
    gap:22px;
    margin-top:25px;
  }
  .section-top {
    display:block;
  }
  .section-top p {
    margin-top:9px;
    font-size:.85rem;
  }
  .members {
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:22px;
    margin-top:23px;
  }
  .members li {
    gap:10px;
    display:block;
    padding:16px 0;
  }
  .member-number {
    display:none;
  }
  .members strong {
    font-size:.85rem;
  }
  .members small {
    font-size:.75rem;
    display:block;
    margin-top:4px;
    line-height:1.5;
  }
  .team {
    padding:20px 0 50px;
  }
  .study {
    padding:48px 0;
  }
  .study-image {
    order:2;
    margin-top:0;
  }
  .study h2 {
    font-size:2.5rem;
  }
  .campus {
    padding:37px 0;
  }
  .campus-inner {
    grid-template-columns:1fr;
    gap:20px;
    padding-bottom:37px;
  }
  .campus-logo {
    width:64px;
  }
  .campus .button {
    justify-self:start;
  }
  .contact {
    padding:8px 0 52px;
  }
  .contact-grid {
    gap:15px;
  }
  .contact h2 {
    font-size:2.5rem;
  }
  .contact-links {
    padding-top:0;
  }
  .footer-top,.footer-bottom {
    flex-direction:column;
    gap:22px;
  }
  .site-footer {
    padding-top:32px;
  }
  .footer-links {
    gap:20px;
  }
  .legal {
    padding-top:35px;
  }
  .legal h1 {
    margin-bottom:30px;
  }
  .legal h2 {
    font-size:1.25rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    scroll-behavior:auto!important;
    animation:none!important;
    transition:none!important;
  }
}


.site-footer a:focus-visible {
  outline-color: #fff;
}

/* Room and access form a shared row below the StudiLink introduction. */
.study-grid {
  row-gap:28px;
}
.study-details {
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:70px;
  border-top:1px solid var(--line);
  padding-top:24px;
}
.study-details .room {
  margin-top:0;
  padding-top:0;
  border-top:0;
}
.study-details .access {
  margin-top:0;
}
@media(max-width:1000px) {
  .study-details {
    gap:35px;
  }
}
@media(max-width:720px) {
  .study-details {
    order:3;
    grid-template-columns:1fr;
    gap:24px;
  }
}
