/* =====================================================
   FizikLab — portal.css
   Fizik Atölyesi ana portalı (anasayfa) stilleri.
   Kaynak: fizik-atolyesi/app/globals.css
   Bu dosya yalnızca anasayfada yüklenir; site.css ve
   Bootstrap ile çakışmaması için .portal-shell altında
   kendi temel sıfırlamalarını taşır.
   ===================================================== */

body.fl-portal-page {
    margin: 0;
    min-width: 320px;
    background: #f5f4ec;
    font-family: Arial, Helvetica, sans-serif;
}

.portal-shell,
.portal-shell * {
    box-sizing: border-box;
}

.portal-shell {
    --paper: #f8fbf7;
    --teal: #167f75;
    font-family: Arial, Helvetica, sans-serif;
}

.portal-shell button,
.portal-shell input {
    font-family: inherit;
}

.portal-shell button,
.portal-shell a {
    -webkit-tap-highlight-color: transparent;
}

.portal-shell h1,
.portal-shell h2,
.portal-shell h3,
.portal-shell p,
.portal-shell ol,
.portal-shell ul {
    margin: 0;
}

.portal-shell img {
    max-width: 100%;
}

.portal-shell a {
    color: inherit;
    text-decoration: none;
}

.portal-shell [hidden] {
    display: none !important;
}

/* Portal header sağ blok: FizikLab hesap bağlantısı + rozet */
.portal-header-right {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 10px;
}

.portal-account-link {
    padding: 8px 12px;
    border: 1px solid rgba(18, 54, 74, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    color: #12364a;
    font-size: var(--fs-eyebrow);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.portal-account-link:hover {
    background: #ffffff;
    color: #16877d;
    text-decoration: none;
}

.portal-account-form {
    margin: 0;
}

.portal-account-form button {
    padding: 8px 12px;
    border: 1px solid rgba(18, 54, 74, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    color: #60757b;
    cursor: pointer;
    font-size: var(--fs-eyebrow);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 820px) {
    .portal-account-link,
    .portal-account-form button {
        font-size: 9px;
        padding: 7px 9px;
    }
}

/* ===================================================== */

/* Fizik Atölyesi ana portalı */

.portal-shell {
  --portal-ink: #12364a;
  --portal-deep: #0c2b3c;
  --portal-teal: #16877d;
  --portal-mint: #55c9b2;
  --portal-yellow: #ffb43b;
  --portal-coral: #f36f5f;
  --portal-paper: #f5f4ec;
  --portal-line: rgba(18, 54, 74, 0.13);

  /* Tipografi ölçeği — portaldaki tüm metinler bu altı basamağı kullanır.
     Amaç: 7px ile 96px arasında dağılan eski değerleri okunabilir ve
     birbiriyle orantılı bir dizide toplamak. */
  --fs-eyebrow: 10px;  /* büyük harfli mikro etiketler */
  --fs-micro: 11px;    /* yardımcı satırlar, rozetler */
  --fs-small: 12px;    /* ikincil metin, buton ve bağlantılar */
  --fs-body: 13px;     /* kart ve bölüm açıklamaları */
  --fs-lead: 15px;     /* hero paragrafı */
  --fs-card-title: 20px;
  --fs-section-title: 23px;

  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 15%, rgba(85, 201, 178, 0.11), transparent 25rem),
    radial-gradient(circle at 96% 32%, rgba(255, 180, 59, 0.12), transparent 28rem),
    var(--portal-paper);
  color: var(--portal-ink);
}

.portal-header {
  position: relative;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: min(1240px, calc(100% - 42px));
  min-height: 86px;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
  border-bottom: 1px solid var(--portal-line);
}

.portal-brand {
  display: flex;
  width: max-content;
  gap: 12px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--portal-ink);
  cursor: pointer;
  text-align: left;
}

.portal-brand-mark {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 49px;
  height: 49px;
  place-items: center;
  border-radius: 16px;
  background: var(--portal-deep);
  box-shadow: 0 10px 20px rgba(12, 43, 60, 0.19);
  color: white;
}

.portal-brand-mark i {
  position: absolute;
  width: 36px;
  height: 16px;
  border: 1px solid rgba(85, 201, 178, 0.8);
  border-radius: 50%;
}

.portal-brand-mark i:first-child {
  transform: rotate(35deg);
}

.portal-brand-mark i:nth-child(2) {
  transform: rotate(-35deg);
}

.portal-brand-mark::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--portal-yellow);
  box-shadow: 0 0 0 3px rgba(255, 180, 59, 0.17);
}

.portal-brand-mark b {
  position: relative;
  z-index: 2;
  font-size: 19px;
}

.portal-brand > span:last-child b,
.portal-brand > span:last-child small {
  display: block;
}

.portal-brand > span:last-child b {
  font-size: 14px;
  letter-spacing: 0.12em;
}

.portal-brand > span:last-child small {
  margin-top: 4px;
  color: #6e8186;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portal-header nav {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(18, 54, 74, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(12px);
}

.portal-header nav button {
  padding: 9px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #60757b;
  cursor: pointer;
  font-size: var(--fs-small);
  font-weight: 800;
}

.portal-header nav button:hover,
.portal-header nav button.active {
  background: white;
  box-shadow: 0 5px 15px rgba(20, 67, 76, 0.09);
  color: var(--portal-teal);
}

.portal-header-badge {
  justify-self: end;
  padding: 8px 11px;
  border: 1px solid rgba(22, 135, 125, 0.22);
  border-radius: 999px;
  background: rgba(232, 247, 241, 0.7);
  color: var(--portal-teal);
  font-size: var(--fs-eyebrow);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.portal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  width: min(1240px, calc(100% - 42px));
  min-height: 680px;
  align-items: center;
  gap: 60px;
  margin: 0 auto;
  padding: 72px 0 84px;
}

.portal-hero::before {
  content: "";
  position: absolute;
  top: 86px;
  left: -92px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(22, 135, 125, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(22, 135, 125, 0.025),
    0 0 0 57px rgba(22, 135, 125, 0.018);
}

.portal-hero-copy {
  position: relative;
  z-index: 4;
}

.portal-eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--portal-teal);
  font-size: var(--fs-eyebrow);
  font-weight: 900;
  letter-spacing: 0.17em;
}

.portal-eyebrow i {
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: var(--portal-yellow);
}

.portal-hero h1 {
  max-width: 650px;
  margin: 22px 0 22px;
  color: var(--portal-deep);
  font-size: clamp(42px, 5.2vw, 68px);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.portal-hero h1 em {
  display: block;
  color: var(--portal-teal);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.portal-hero-copy > p {
  max-width: 535px;
  margin: 0;
  color: #61777d;
  font-size: var(--fs-lead);
  line-height: 1.7;
}

.portal-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.portal-primary-button,
.portal-secondary-button {
  min-height: 49px;
  padding: 12px 19px;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 900;
}

.portal-primary-button {
  border: 1px solid var(--portal-deep);
  background: var(--portal-deep);
  box-shadow: 0 10px 22px rgba(12, 43, 60, 0.18);
  color: white;
}

.portal-primary-button span {
  display: inline-block;
  margin-left: 12px;
  color: var(--portal-yellow);
  transition: transform 180ms ease;
}

.portal-primary-button:hover span {
  transform: translateX(4px);
}

.portal-secondary-button {
  border: 1px solid rgba(18, 54, 74, 0.18);
  background: rgba(255, 255, 255, 0.62);
  color: var(--portal-ink);
}

.portal-secondary-button:hover {
  border-color: var(--portal-teal);
  background: white;
  color: var(--portal-teal);
}

.portal-hero-notes {
  display: flex;
  gap: 20px;
  margin-top: 34px;
}

.portal-hero-notes span {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1px 8px;
  max-width: 140px;
  color: #718489;
  font-size: var(--fs-micro);
  font-weight: 700;
  line-height: 1.35;
}

.portal-hero-notes b {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--portal-ink);
  font-size: 22px;
  line-height: 1;
}

.portal-hero-visual {
  position: relative;
  min-height: 520px;
}

.portal-image-frame {
  position: absolute;
  inset: 20px 0 20px 8%;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.75);
  border-radius: 48% 48% 22px 22px;
  background:
    linear-gradient(145deg, rgba(22, 135, 125, 0.18), rgba(255, 180, 59, 0.12)),
    #dcebe6;
  box-shadow:
    0 35px 70px rgba(13, 60, 70, 0.19),
    0 0 0 1px rgba(18, 54, 74, 0.08);
  transform: rotate(1.5deg);
}

.portal-image-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 63%, rgba(9, 32, 45, 0.52)),
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.35), transparent 35%);
  pointer-events: none;
}

.portal-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-image-glow {
  position: absolute;
  z-index: 4;
  right: -90px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 180, 59, 0.2);
  filter: blur(25px);
}

.portal-float-card {
  position: absolute;
  z-index: 9;
  display: grid;
  grid-template-columns: 30px 1fr;
  min-width: 170px;
  gap: 2px 10px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 15px 30px rgba(15, 55, 65, 0.17);
  backdrop-filter: blur(13px);
}

.portal-float-card i {
  grid-row: 1 / 3;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--portal-deep);
  color: var(--portal-yellow);
  font-size: var(--fs-eyebrow);
  font-style: normal;
  font-weight: 900;
}

.portal-float-card b {
  color: var(--portal-ink);
  font-size: var(--fs-small);
}

.portal-float-card small {
  color: #718489;
  font-size: var(--fs-eyebrow);
}

.portal-float-card.card-build {
  top: 16px;
  left: 0;
}

.portal-float-card.card-measure {
  top: 46%;
  right: -35px;
}

.portal-float-card.card-discover {
  bottom: 10px;
  left: 2%;
}

.portal-paths {
  position: relative;
  padding: 92px max(21px, calc((100% - 1240px) / 2)) 104px;
  background:
    linear-gradient(135deg, rgba(85, 201, 178, 0.055), transparent 28%),
    #fff;
}

.portal-section-heading {
  max-width: 670px;
  margin: 0 auto 35px;
  text-align: center;
}

.portal-section-heading > span,
.portal-collection-heading > div > span {
  color: var(--portal-teal);
  font-size: var(--fs-eyebrow);
  font-weight: 900;
  letter-spacing: 0.18em;
}

.portal-section-heading h2 {
  margin: 11px 0 9px;
  color: var(--portal-deep);
  font-size: clamp(27px, 3.2vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.portal-section-heading p {
  margin: 0;
  color: #708388;
  font-size: var(--fs-body);
  line-height: 1.6;
}

.portal-path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.portal-path-card {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 310px;
  gap: 23px;
  align-items: center;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(18, 54, 74, 0.12);
  border-radius: 25px;
  background: #f6faf8;
  box-shadow: 0 20px 45px rgba(24, 73, 74, 0.1);
  color: var(--portal-ink);
  cursor: pointer;
  text-align: left;
  transition: 220ms ease;
}

.portal-path-card:hover {
  border-color: rgba(22, 135, 125, 0.4);
  box-shadow: 0 27px 55px rgba(24, 73, 74, 0.15);
  transform: translateY(-5px);
}

.portal-path-card.simulation-path {
  background:
    radial-gradient(circle at 95% 5%, rgba(255, 180, 59, 0.15), transparent 37%),
    #fff8ec;
}

.portal-path-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(18, 54, 74, 0.12);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.portal-path-visual {
  position: relative;
  width: 190px;
  height: 220px;
  overflow: hidden;
  border-radius: 19px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.15), transparent),
    linear-gradient(145deg, #163f50, #0c2a3b);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 13px 28px rgba(10, 42, 55, 0.2);
}

.simulation-path .portal-path-visual {
  background:
    radial-gradient(circle at 50% 45%, rgba(85, 201, 178, 0.35), transparent 32%),
    linear-gradient(145deg, #173e51, #0a2637);
}

/* Yol kartı görselleri — fizik-atolyesi'ndeki fotoğraflı sürüm. */
.portal-path-visual::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(8, 29, 43, 0.02), transparent 54%, rgba(8, 29, 43, 0.26)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 33%);
  content: "";
  pointer-events: none;
}

.portal-path-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1);
  user-select: none;
}

.simulation-path .portal-path-visual img {
  object-position: 50% 46%;
}

.portal-path-card:hover .portal-path-visual img {
  transform: scale(1.035);
}

.portal-path-visual i {
  position: absolute;
  display: block;
}

.path-lab-table {
  right: 13px;
  bottom: 27px;
  left: 13px;
  height: 15px;
  border-radius: 5px;
  background: linear-gradient(#d4a36d, #815835);
  box-shadow: 0 12px 0 -4px #65452d;
}

.path-stand {
  bottom: 42px;
  left: 41px;
  width: 5px;
  height: 126px;
  border-radius: 4px;
  background: linear-gradient(90deg, #dce5e3, #61767b);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.path-stand::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -17px;
  width: 55px;
  height: 6px;
  border-radius: 3px;
  background: #b7c6c5;
}

.path-pendulum {
  top: 49px;
  left: 66px;
  width: 4px;
  height: 91px;
  border-radius: 4px;
  background: #edf3f1;
  transform: rotate(-17deg);
  transform-origin: top;
}

.path-pendulum::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--portal-yellow);
}

.path-pendulum::after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: -10px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, white, #82969a 42%, #263f47);
}

.path-ray {
  right: 16px;
  bottom: 56px;
  width: 84px;
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(#ebf0ef, #74898d);
  box-shadow: 0 5px 0 #30494f;
}

.path-gate {
  right: 32px;
  bottom: 63px;
  width: 28px;
  height: 52px;
  border: 6px solid #55c9b2;
  border-bottom: 0;
  border-radius: 13px 13px 0 0;
}

.path-orbit {
  top: 33px;
  left: 29px;
  width: 132px;
  height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.63);
  border-radius: 50%;
}

.path-orbit.orbit-one {
  transform: rotate(29deg);
}

.path-orbit.orbit-two {
  transform: rotate(-29deg);
}

.path-orbit::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 21px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--portal-yellow);
  box-shadow: 0 0 13px rgba(255, 180, 59, 0.7);
}

.path-particle {
  border-radius: 50%;
}

.path-particle.particle-one {
  top: 67px;
  left: 88px;
  width: 17px;
  height: 17px;
  background: var(--portal-coral);
  box-shadow: 0 0 20px rgba(243, 111, 95, 0.6);
}

.path-particle.particle-two {
  top: 109px;
  right: 34px;
  width: 8px;
  height: 8px;
  background: var(--portal-mint);
}

.path-wave {
  right: 15px;
  bottom: 37px;
  left: 15px;
  height: 58px;
  background:
    radial-gradient(34px 20px at 17px 31px, transparent 63%, var(--portal-mint) 65% 68%, transparent 70%) 0 0 / 68px 58px repeat-x;
  opacity: 0.9;
}

.portal-path-copy small,
.portal-path-copy b,
.portal-path-copy em {
  display: block;
}

.portal-path-copy small {
  color: var(--portal-teal);
  font-size: var(--fs-eyebrow);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.portal-path-copy b {
  max-width: 320px;
  margin-top: 10px;
  color: var(--portal-deep);
  font-size: var(--fs-section-title);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.portal-path-copy em {
  max-width: 330px;
  margin-top: 12px;
  color: #687d82;
  font-size: var(--fs-body);
  font-style: normal;
  line-height: 1.6;
}

.portal-path-card > strong {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: var(--portal-ink);
  font-size: var(--fs-small);
}

.portal-path-card > strong i {
  display: inline-block;
  margin-left: 7px;
  color: var(--portal-coral);
  font-style: normal;
  transition: transform 180ms ease;
}

.portal-path-card:hover > strong i {
  transform: translateX(4px);
}

.portal-micro-story {
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(1160px, calc(100% - 42px));
  gap: 30px;
  align-items: center;
  margin: 0 auto;
  padding: 76px 0;
}

.portal-micro-story > div:first-child {
  display: flex;
  gap: 17px;
  align-items: center;
}

.story-orbit {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 73px;
  height: 73px;
  border-radius: 50%;
  background: var(--portal-deep);
}

.story-orbit i {
  position: absolute;
  top: 28px;
  left: 11px;
  width: 51px;
  height: 18px;
  border: 1px solid rgba(85, 201, 178, 0.75);
  border-radius: 50%;
}

.story-orbit i:first-child {
  transform: rotate(45deg);
}

.story-orbit i:nth-child(2) {
  transform: rotate(-45deg);
}

.story-orbit b {
  position: absolute;
  top: 31px;
  left: 31px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--portal-yellow);
  box-shadow: 0 0 18px rgba(255, 180, 59, 0.72);
}

.portal-micro-story p {
  margin: 0;
  color: var(--portal-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.3;
}

.portal-micro-story p small {
  display: block;
  margin-bottom: 6px;
  color: var(--portal-teal);
  font: 900 var(--fs-eyebrow) Arial, sans-serif;
  letter-spacing: 0.16em;
}

.portal-micro-story p strong {
  color: var(--portal-coral);
  font-weight: 500;
}

.portal-story-steps {
  display: flex;
  gap: 13px;
  align-items: center;
}

.portal-story-steps span {
  color: #718489;
  font-size: var(--fs-micro);
  line-height: 1.4;
}

.portal-story-steps span b {
  display: block;
  margin-bottom: 3px;
  color: var(--portal-deep);
  font-size: var(--fs-body);
}

.portal-story-steps > i {
  color: var(--portal-yellow);
  font-style: normal;
}

.portal-collection,
.portal-placeholder {
  width: min(1180px, calc(100% - 42px));
  min-height: 690px;
  margin: 0 auto;
  padding: 48px 0 86px;
}

.portal-text-back {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--portal-teal);
  cursor: pointer;
  font-size: var(--fs-small);
  font-weight: 900;
}

.portal-collection-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: end;
  margin: 24px 0 34px;
}

.portal-collection-heading > div {
  max-width: 765px;
}

.portal-collection-heading h1 {
  margin: 12px 0 13px;
  color: var(--portal-deep);
  font-size: clamp(33px, 4.3vw, 50px);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.portal-collection-heading p {
  max-width: 690px;
  margin: 0;
  color: #687d82;
  font-size: var(--fs-body);
  line-height: 1.65;
}

.portal-collection-heading aside {
  min-width: 158px;
  padding: 18px;
  border: 1px solid var(--portal-line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.portal-collection-heading aside b,
.portal-collection-heading aside span,
.portal-collection-heading aside small {
  display: block;
}

.portal-collection-heading aside b {
  color: var(--portal-deep);
  font-size: 30px;
  line-height: 1;
}

.portal-collection-heading aside span {
  margin-top: 5px;
  color: var(--portal-teal);
  font-size: var(--fs-micro);
  font-weight: 900;
}

.portal-collection-heading aside small {
  margin-top: 6px;
  color: #7a8d91;
  font-size: var(--fs-eyebrow);
}

.portal-module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.portal-module-grid > :is(button, a) {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 220px;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--portal-line);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 13px 31px rgba(22, 66, 70, 0.075);
  color: var(--portal-ink);
  cursor: pointer;
  text-align: left;
  transition: 190ms ease;
}

.portal-module-grid > :is(button, a):hover {
  border-color: rgba(22, 135, 125, 0.4);
  box-shadow: 0 19px 39px rgba(22, 66, 70, 0.12);
  transform: translateY(-3px);
}

.portal-module-grid > :is(button, a).available {
  border-color: rgba(255, 180, 59, 0.54);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 180, 59, 0.16), transparent 39%),
    white;
}

.portal-module-index {
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(18, 54, 74, 0.12);
  font-size: 22px;
  font-weight: 900;
}

.portal-module-visual {
  position: relative;
  display: block;
  width: 170px;
  height: 174px;
  overflow: hidden;
  border-radius: 17px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.1), transparent),
    #123b4d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.13),
    0 12px 26px rgba(10, 42, 55, 0.19);
}

/* Modül kartı görselleri — fizik-atolyesi'ndeki fotoğraflı sürüm. */
.portal-module-visual::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(8, 29, 43, 0.01), transparent 55%, rgba(8, 29, 43, 0.3)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), transparent 32%);
  content: "";
  pointer-events: none;
}

.portal-module-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 390ms cubic-bezier(0.2, 0.75, 0.25, 1);
  user-select: none;
}

.portal-module-grid > :is(button, a):hover .portal-module-visual img {
  transform: scale(1.045);
}

.portal-module-visual i {
  position: absolute;
  display: block;
}

.portal-module-copy small,
.portal-module-copy b,
.portal-module-copy em {
  display: block;
}

.portal-module-copy small {
  color: var(--portal-teal);
  font-size: var(--fs-eyebrow);
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portal-module-copy b {
  margin-top: 8px;
  color: var(--portal-deep);
  font-size: var(--fs-card-title);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.portal-module-copy em {
  max-width: 290px;
  margin-top: 9px;
  color: #6f8287;
  font-size: var(--fs-small);
  font-style: normal;
  line-height: 1.55;
}

.portal-module-grid > :is(button, a) > strong {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: #61767b;
  font-size: var(--fs-micro);
}

.portal-module-grid > :is(button, a) > strong i {
  display: inline-block;
  margin-left: 5px;
  color: var(--portal-coral);
  font-style: normal;
}

.portal-visual-mechanics {
  background:
    linear-gradient(180deg, transparent 68%, #996c46 69% 79%, #6f482f 80%),
    #123b4d;
}

.portal-visual-mechanics i:first-child {
  right: 12px;
  bottom: 49px;
  left: 12px;
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(#eff3f1, #71888d);
  box-shadow: 0 5px 0 #263f47;
}

.portal-visual-mechanics i:nth-child(2) {
  bottom: 62px;
  left: 46px;
  width: 36px;
  height: 22px;
  background: linear-gradient(#cbd8d5, #4a676c);
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
}

.portal-visual-mechanics i:nth-child(3),
.portal-visual-mechanics i:nth-child(4) {
  bottom: 57px;
  width: 27px;
  height: 61px;
  border: 6px solid #55c9b2;
  border-bottom-width: 9px;
  border-radius: 13px 13px 2px 2px;
}

.portal-visual-mechanics i:nth-child(3) {
  left: 87px;
}

.portal-visual-mechanics i:nth-child(4) {
  right: 14px;
}

.portal-visual-electricity {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 180, 59, 0.22), transparent 29%),
    #143c50;
}

.portal-visual-electricity i:first-child {
  top: 31px;
  left: 36px;
  width: 50px;
  height: 78px;
  border: 6px solid #9fb4b5;
  border-radius: 7px;
  background: #eff4f2;
  box-shadow: inset 0 -21px 0 #263f47;
}

.portal-visual-electricity i:first-child::after {
  content: "+  −";
  position: absolute;
  right: 0;
  bottom: -18px;
  left: 0;
  color: #ffb43b;
  font: 900 10px Arial;
  text-align: center;
}

.portal-visual-electricity i:nth-child(2),
.portal-visual-electricity i:nth-child(3) {
  width: 59px;
  height: 38px;
  border: 3px solid #55c9b2;
  border-color: #55c9b2 transparent transparent #55c9b2;
  border-radius: 50%;
}

.portal-visual-electricity i:nth-child(2) {
  top: 44px;
  right: 18px;
  transform: rotate(14deg);
}

.portal-visual-electricity i:nth-child(3) {
  right: 29px;
  bottom: 31px;
  transform: rotate(-43deg);
}

.portal-visual-electricity i:nth-child(4) {
  top: 57px;
  right: 43px;
  width: 27px;
  height: 27px;
  border: 4px solid #f0d384;
  border-radius: 50%;
  box-shadow: 0 0 19px rgba(255, 180, 59, 0.62);
}

.portal-visual-waves {
  background: linear-gradient(145deg, #153e50, #0e2d40);
}

.portal-visual-waves i:first-child {
  right: 12px;
  bottom: 23px;
  left: 12px;
  height: 78px;
  background:
    radial-gradient(37px 25px at 18px 39px, transparent 63%, #55c9b2 65% 68%, transparent 70%) 0 0 / 74px 78px repeat-x;
}

.portal-visual-waves i:nth-child(2) {
  top: 21px;
  left: 19px;
  width: 10px;
  height: 118px;
  border-radius: 4px;
  background: linear-gradient(90deg, #dce5e3, #6f8388);
}

.portal-visual-waves i:nth-child(3) {
  top: 32px;
  left: 48px;
  width: 3px;
  height: 96px;
  background: var(--portal-coral);
  box-shadow:
    14px 0 0 rgba(243, 111, 95, 0.8),
    28px 0 0 rgba(243, 111, 95, 0.55),
    42px 0 0 rgba(243, 111, 95, 0.3);
  transform: rotate(19deg);
}

.portal-visual-waves i:nth-child(4) {
  top: 25px;
  right: 17px;
  width: 42px;
  height: 42px;
  border: 6px solid rgba(255, 180, 59, 0.85);
  border-radius: 50%;
}

.portal-visual-modern,
.portal-visual-modern-free {
  background:
    radial-gradient(circle at 50% 50%, rgba(243, 111, 95, 0.26), transparent 25%),
    #122f48;
}

.portal-visual-modern i,
.portal-visual-modern-free i {
  top: 50%;
  left: 50%;
  width: 118px;
  height: 48px;
  border: 2px solid rgba(85, 201, 178, 0.75);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.portal-visual-modern i:nth-child(2),
.portal-visual-modern-free i:nth-child(2) {
  transform: translate(-50%, -50%) rotate(60deg);
}

.portal-visual-modern i:nth-child(3),
.portal-visual-modern-free i:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-60deg);
}

.portal-visual-modern i:nth-child(4),
.portal-visual-modern-free i:nth-child(4) {
  width: 23px;
  height: 23px;
  border: 0;
  border-radius: 50%;
  background: var(--portal-yellow);
  box-shadow: 0 0 24px rgba(255, 180, 59, 0.7);
}

.portal-visual-force {
  background:
    linear-gradient(180deg, transparent 72%, #704b35 73%),
    #143d50;
}

.portal-visual-force i:first-child {
  right: 15px;
  bottom: 51px;
  left: 15px;
  height: 10px;
  border-radius: 3px;
  background: #a9bcbd;
}

.portal-visual-force i:nth-child(2) {
  bottom: 61px;
  left: 34px;
  width: 43px;
  height: 29px;
  border-radius: 5px;
  background: linear-gradient(#ffca69, #b87919);
}

.portal-visual-force i:nth-child(3) {
  right: 27px;
  bottom: 77px;
  width: 67px;
  height: 4px;
  background: var(--portal-coral);
}

.portal-visual-force i:nth-child(3)::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -2px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid var(--portal-coral);
}

.portal-visual-force i:nth-child(4) {
  bottom: 47px;
  left: 40px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #253f47;
  box-shadow: 23px 0 #253f47;
}

.portal-visual-energy {
  background:
    radial-gradient(circle at 52% 43%, rgba(255, 180, 59, 0.33), transparent 28%),
    #143d50;
}

.portal-visual-energy i:first-child {
  top: 31px;
  left: 64px;
  width: 45px;
  height: 72px;
  border: 5px solid #9fb4b7;
  border-radius: 50% 50% 13px 13px;
  background: rgba(255, 244, 190, 0.12);
  box-shadow: 0 0 25px rgba(255, 180, 59, 0.2);
}

.portal-visual-energy i:first-child::after {
  content: "";
  position: absolute;
  right: 11px;
  bottom: 10px;
  left: 11px;
  height: 3px;
  background: var(--portal-yellow);
  box-shadow: 0 -8px var(--portal-yellow), 0 -16px var(--portal-yellow);
}

.portal-visual-energy i:nth-child(2) {
  top: 108px;
  left: 70px;
  width: 34px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(#b3c1c1, #435a61);
}

.portal-visual-energy i:nth-child(3),
.portal-visual-energy i:nth-child(4) {
  top: 44px;
  width: 29px;
  height: 2px;
  background: #55c9b2;
}

.portal-visual-energy i:nth-child(3) {
  left: 23px;
  transform: rotate(17deg);
}

.portal-visual-energy i:nth-child(4) {
  right: 23px;
  transform: rotate(-17deg);
}

.portal-visual-pressure {
  background: linear-gradient(180deg, #143d50 0 38%, #1f7180 39% 100%);
}

.portal-visual-pressure i:first-child {
  top: 23px;
  left: 52px;
  width: 66px;
  height: 113px;
  border: 4px solid rgba(230, 243, 240, 0.8);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(transparent 35%, rgba(85, 201, 178, 0.47) 36%);
}

.portal-visual-pressure i:nth-child(2) {
  top: 61px;
  left: 69px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, white, #f0a93b 42%, #9d5d15);
  box-shadow: 0 15px 0 -13px rgba(255, 255, 255, 0.8);
}

.portal-visual-pressure i:nth-child(3),
.portal-visual-pressure i:nth-child(4) {
  left: 29px;
  width: 24px;
  height: 3px;
  background: #fff;
  opacity: 0.7;
}

.portal-visual-pressure i:nth-child(3) {
  top: 83px;
}

.portal-visual-pressure i:nth-child(4) {
  top: 104px;
  transform: scaleX(1.5);
}

.portal-visual-magnetism {
  background: linear-gradient(145deg, #153e51, #0c2d40);
}

.portal-visual-magnetism i:first-child {
  top: 38px;
  left: 48px;
  width: 76px;
  height: 85px;
  border: 15px solid #f36f5f;
  border-bottom-color: #55c9b2;
  border-radius: 38px 38px 8px 8px;
  background: transparent;
}

.portal-visual-magnetism i:nth-child(2),
.portal-visual-magnetism i:nth-child(3),
.portal-visual-magnetism i:nth-child(4) {
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
}

.portal-visual-magnetism i:nth-child(2) {
  inset: 20px 28px;
}

.portal-visual-magnetism i:nth-child(3) {
  inset: 12px 19px;
}

.portal-visual-magnetism i:nth-child(4) {
  inset: 5px 11px;
}

.portal-visual-heat {
  background: linear-gradient(145deg, #12394c, #0b2b3d);
}

.portal-visual-heat i:first-child {
  top: 28px;
  left: 73px;
  width: 24px;
  height: 101px;
  border: 5px solid #dce6e4;
  border-radius: 13px;
}

.portal-visual-heat i:first-child::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  left: 3px;
  height: 61%;
  border-radius: 9px;
  background: linear-gradient(#ffb43b, #f36f5f);
}

.portal-visual-heat i:nth-child(2) {
  bottom: 23px;
  left: 65px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffcb67, #f36f5f 65%, #9b3632);
}

.portal-visual-heat i:nth-child(3),
.portal-visual-heat i:nth-child(4) {
  top: 43px;
  width: 26px;
  height: 45px;
  border-top: 2px solid #55c9b2;
  border-radius: 50%;
}

.portal-visual-heat i:nth-child(3) {
  left: 29px;
}

.portal-visual-heat i:nth-child(4) {
  right: 29px;
  transform: rotate(180deg);
}

.portal-visual-wave-free {
  background: linear-gradient(145deg, #143d50, #0b2b3e);
}

.portal-visual-wave-free i {
  right: 8px;
  left: 8px;
  height: 37px;
  background:
    radial-gradient(28px 16px at 14px 20px, transparent 62%, currentColor 64% 68%, transparent 70%) 0 0 / 56px 37px repeat-x;
}

.portal-visual-wave-free i:first-child {
  top: 28px;
  color: #55c9b2;
}

.portal-visual-wave-free i:nth-child(2) {
  top: 68px;
  color: #ffb43b;
  transform: scaleY(0.7);
}

.portal-visual-wave-free i:nth-child(3) {
  top: 104px;
  color: #f36f5f;
  transform: scaleY(0.43);
}

.portal-visual-optics {
  background: linear-gradient(145deg, #102f44, #081f31);
}

.portal-visual-optics i:first-child {
  top: 21px;
  left: 68px;
  width: 34px;
  height: 130px;
  border: 3px solid rgba(215, 239, 236, 0.75);
  border-radius: 50%;
  background: rgba(85, 201, 178, 0.15);
  box-shadow: inset 8px 0 12px rgba(85, 201, 178, 0.24);
}

.portal-visual-optics i:nth-child(2) {
  top: 66px;
  left: 12px;
  width: 60px;
  height: 4px;
  background: #ffb43b;
  box-shadow: 0 12px #f36f5f, 0 -12px #55c9b2;
}

.portal-visual-optics i:nth-child(3) {
  top: 69px;
  right: 12px;
  width: 69px;
  height: 3px;
  background: #ffb43b;
  box-shadow: 0 18px #f36f5f, 0 -18px #55c9b2;
  transform: rotate(13deg);
  transform-origin: left;
}

.portal-visual-optics i:nth-child(4) {
  top: 31px;
  right: 25px;
  width: 3px;
  height: 112px;
  background: rgba(255, 255, 255, 0.65);
}

.portal-placeholder {
  display: grid;
  align-content: start;
}

.portal-placeholder-card {
  display: grid;
  max-width: 870px;
  justify-items: center;
  margin: 28px auto 0;
  padding: 38px;
  border: 1px solid var(--portal-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 25px 60px rgba(17, 61, 68, 0.12);
  text-align: center;
}

.portal-placeholder-card > .portal-module-visual {
  width: 190px;
  height: 190px;
  margin-bottom: 18px;
  box-shadow: 0 16px 34px rgba(10, 40, 53, 0.2);
}

.portal-placeholder-status {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff3d8;
  color: #9d6919;
  font-size: var(--fs-eyebrow);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.portal-placeholder-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--portal-yellow);
  box-shadow: 0 0 0 4px rgba(255, 180, 59, 0.18);
}

.portal-placeholder-card h1 {
  margin: 15px 0 10px;
  color: var(--portal-deep);
  font-size: clamp(30px, 3.8vw, 44px);
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.portal-placeholder-card > p {
  max-width: 560px;
  margin: 0;
  color: #6c8085;
  font-size: var(--fs-body);
  line-height: 1.7;
}

.portal-empty-bench {
  position: relative;
  width: min(100%, 600px);
  height: 125px;
  overflow: hidden;
  margin: 24px 0 19px;
  border: 1px solid #d5e2de;
  border-radius: 15px;
  background: #f3f8f6;
}

.portal-empty-bench .empty-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#dfeae7 1px, transparent 1px),
    linear-gradient(90deg, #dfeae7 1px, transparent 1px);
  background-size: 24px 24px;
}

.portal-empty-bench .empty-table {
  position: absolute;
  right: 8%;
  bottom: 23px;
  left: 8%;
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(#c89461, #7c5436);
  box-shadow:
    21px 26px 0 -5px #6d4932,
    calc(100% - 20px) 26px 0 -5px #6d4932;
}

.portal-empty-bench .empty-light {
  position: absolute;
  top: 17px;
  left: 50%;
  width: 56px;
  height: 4px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 7px 18px 8px rgba(255, 180, 59, 0.33);
  transform: translateX(-50%);
}

.portal-empty-bench span {
  position: absolute;
  right: 0;
  bottom: 52px;
  left: 0;
  color: #819397;
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portal-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 128px;
  gap: 24px;
  align-items: center;
  padding: 24px max(21px, calc((100% - 1240px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--portal-deep);
}

.portal-footer .portal-brand {
  color: white;
}

.portal-footer .portal-brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.portal-footer .portal-brand > span:last-child small,
.portal-footer p {
  color: #a9c0c3;
}

.portal-footer p {
  max-width: 420px;
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.6;
  text-align: center;
}

.portal-footer > button {
  justify-self: end;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 9px;
  background: transparent;
  color: #d3e1df;
  cursor: pointer;
  font-size: var(--fs-micro);
  font-weight: 800;
}

.mechanics-inner-shell {
  background: var(--paper);
}

.mechanics-inner-shell .site-header {
  position: relative;
}

.mechanics-inner-shell .brand-mark {
  font-size: 12px;
}

.mechanics-back-button {
  display: grid;
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  place-items: center;
  margin-right: -11px;
  border: 1px solid #c6d9d4;
  border-radius: 10px;
  background: white;
  color: var(--teal);
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .portal-header {
    grid-template-columns: 1fr auto;
  }

  .portal-header nav {
    display: none;
  }

  .portal-hero {
    grid-template-columns: 1fr 0.9fr;
    gap: 28px;
  }

  .portal-hero h1 {
    font-size: clamp(38px, 5.6vw, 56px);
  }

  .portal-hero-visual {
    min-height: 460px;
  }

  .portal-path-card {
    grid-template-columns: 145px 1fr;
  }

  .portal-path-visual {
    width: 145px;
  }

  .portal-module-grid > :is(button, a) {
    grid-template-columns: 138px 1fr;
  }

  .portal-module-visual {
    width: 138px;
  }

  .portal-micro-story {
    grid-template-columns: 1fr;
  }

  .portal-story-steps {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .portal-hero {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .portal-hero-copy {
    text-align: center;
  }

  .portal-eyebrow,
  .portal-hero-actions,
  .portal-hero-notes {
    justify-content: center;
  }

  .portal-hero-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

  .portal-hero-visual {
    width: min(100%, 650px);
    min-height: 500px;
    margin: 0 auto;
  }

  .portal-path-grid,
  .portal-module-grid {
    grid-template-columns: 1fr;
  }

  .portal-collection-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portal-collection-heading aside {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 8px;
    min-width: 0;
    justify-self: start;
    text-align: left;
  }

  .portal-collection-heading aside b {
    grid-row: 1 / 3;
  }

  .portal-collection-heading aside small {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .portal-header {
    width: calc(100% - 24px);
    min-height: 74px;
  }

  .portal-header-badge {
    display: none;
  }

  .portal-brand-mark {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }

  .portal-brand > span:last-child b {
    font-size: 12px;
  }

  .portal-brand > span:last-child small {
    font-size: 9px;
  }

  .portal-hero {
    width: calc(100% - 26px);
    min-height: 0;
    padding: 50px 0 68px;
  }

  .portal-hero h1 {
    margin-top: 17px;
    font-size: clamp(31px, 9vw, 42px);
  }

  .portal-hero-copy > p {
    font-size: 13px;
  }

  .portal-hero-actions {
    display: grid;
  }

  .portal-primary-button,
  .portal-secondary-button {
    width: 100%;
  }

  .portal-hero-notes {
    gap: 9px;
  }

  .portal-hero-notes span {
    display: block;
    font-size: 10px;
  }

  .portal-hero-notes b {
    display: block;
    margin-bottom: 3px;
  }

  .portal-hero-visual {
    min-height: 390px;
  }

  .portal-image-frame {
    inset: 19px 1% 19px;
    border-width: 5px;
  }

  .portal-float-card {
    min-width: 148px;
    transform: scale(0.86);
  }

  .portal-float-card.card-build {
    left: -13px;
  }

  .portal-float-card.card-measure {
    right: -26px;
  }

  .portal-float-card.card-discover {
    left: -7px;
  }

  .portal-paths {
    padding: 68px 12px 74px;
  }

  .portal-path-card {
    grid-template-columns: 1fr;
    padding: 16px 16px 54px;
  }

  .portal-path-visual {
    width: 100%;
    height: 180px;
  }

  .portal-path-copy b {
    font-size: 21px;
  }

  .portal-micro-story {
    width: calc(100% - 26px);
    padding: 55px 0;
  }

  .portal-micro-story > div:first-child {
    align-items: flex-start;
  }

  .story-orbit {
    width: 55px;
    height: 55px;
  }

  .story-orbit i {
    top: 21px;
    left: 8px;
    width: 39px;
    height: 14px;
  }

  .story-orbit b {
    top: 23px;
    left: 23px;
    width: 9px;
    height: 9px;
  }

  .portal-story-steps {
    gap: 7px;
    justify-content: space-between;
  }

  .portal-collection,
  .portal-placeholder {
    width: calc(100% - 24px);
    padding-top: 35px;
  }

  .portal-collection-heading h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .portal-module-grid > :is(button, a) {
    grid-template-columns: 1fr;
    padding-bottom: 53px;
  }

  .portal-module-visual {
    width: 100%;
    height: 170px;
  }

  .portal-placeholder-card {
    padding: 22px 14px;
  }

  .portal-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .portal-footer p {
    text-align: center;
  }

  .portal-footer > button {
    justify-self: center;
  }

  .mechanics-inner-shell .site-header {
    width: calc(100% - 24px);
  }

  .mechanics-inner-shell .site-header .curriculum-chip {
    display: none;
  }
}
