:root {
  --black: #050505;
  --ink: #111111;
  --text: #242424;
  --muted: #666666;
  --line: #dedede;
  --line-dark: #2b2b2b;
  --surface: #ffffff;
  --surface-soft: #f6f6f6;
  --surface-dark: #0b0b0b;
  --maxw: 1160px;
  --header-h: 72px;
  --radius: 6px;
  --font: "Inter", "Noto Sans KR", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 17px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.nav a.active {
  color: var(--black);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding-top: 70px;
  padding-bottom: 84px;
}

.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 760px;
  color: var(--black);
  font-size: clamp(42px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.16;
  margin-bottom: 28px;
}

.hero-desc {
  max-width: 650px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--black);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  max-width: 100%;
  text-align: center;
}

.btn-primary {
  background: var(--black);
  color: #fff;
}

.btn-primary:hover {
  background: #333;
  border-color: #333;
}

.btn-secondary {
  background: #fff;
  color: var(--black);
}

.btn-secondary:hover {
  background: var(--surface-soft);
}

.btn-inverted {
  background: #fff;
  color: var(--black);
  border-color: #fff;
}

.btn-inverted:hover {
  background: transparent;
  color: #fff;
}

.hero-panel {
  border: 1px solid var(--black);
  border-radius: var(--radius);
  padding: 34px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
}

.hero-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.panel-title span {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 8px;
}

.panel-title strong {
  display: block;
  font-size: 25px;
  line-height: 1.35;
}

.capability-list {
  border-top: 1px solid var(--line);
}

.capability-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.capability-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.statement {
  background: var(--black);
  color: #fff;
}

.statement-inner {
  padding-top: 52px;
  padding-bottom: 52px;
}

.statement p {
  max-width: 920px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

.metrics {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: none;
}

.metric strong {
  display: block;
  color: var(--black);
  font-size: 42px;
  line-height: 1;
  margin-bottom: 12px;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: var(--surface-dark);
  color: #fff;
}

.two-column-head {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  margin-bottom: 46px;
}

.two-column-head h2 {
  color: var(--black);
  font-size: 42px;
  line-height: 1.2;
}

.two-column-head p:last-child {
  color: var(--text);
  font-size: 17px;
  line-height: 1.85;
  max-width: 760px;
}

.two-column-head.inverted h2,
.two-column-head.inverted .eyebrow {
  color: #fff;
}

.two-column-head.inverted p:last-child {
  color: #d0d0d0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  width: calc(100% - 56px);
  padding: 0;
}

.service-card {
  min-height: 230px;
  padding: 30px;
  background: #fff;
}

.service-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 26px;
}

.service-card h3 {
  color: var(--black);
  font-size: 22px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.project-list {
  border-top: 1px solid var(--line-dark);
}

.project-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 42px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-dark);
}

.project-meta {
  color: #9d9d9d;
  font-size: 14px;
  font-weight: 700;
}

.project-main h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
}

.project-main p {
  max-width: 820px;
  color: #c9c9c9;
  font-size: 15px;
  line-height: 1.8;
}

.lecture-table {
  border-top: 1px solid var(--line);
}

.lecture-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 90px;
  gap: 26px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.lecture-row span {
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
}

.lecture-row p {
  color: var(--text);
  font-size: 15px;
}

.lecture-row time {
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.content-note {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 26px;
  margin-top: 34px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.content-note strong {
  font-size: 15px;
}

.content-note-body {
  display: grid;
  gap: 18px;
}

.content-note-body > p {
  color: var(--muted);
  font-size: 15px;
}

.content-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.content-bookmark {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 224px;
  padding: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.content-bookmark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--black);
}

.content-bookmark:hover,
.content-bookmark:focus-visible {
  transform: translateY(-2px);
  border-color: var(--black);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.content-bookmark:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.bookmark-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bookmark-top span:last-child {
  color: var(--black);
}

.content-bookmark h3 {
  color: var(--black);
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.content-bookmark p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.bookmark-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
}

.bookmark-action::after {
  content: ">";
  transition: transform 0.18s ease;
}

.content-bookmark:hover .bookmark-action::after,
.content-bookmark:focus-visible .bookmark-action::after {
  transform: translateX(3px);
}

.live-card {
  --accent: var(--black);
  --accent-soft: rgba(0, 0, 0, 0.08);
}

.live-card::before {
  background: var(--accent);
}

.live-card:hover,
.live-card:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 18px 34px var(--accent-soft);
}

.live-card .bookmark-top span:first-child {
  color: var(--accent);
}

.live-card .bookmark-top span:first-child::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  vertical-align: middle;
  background: var(--accent);
  border-radius: 50%;
  animation: live-pulse 1.8s ease-in-out infinite;
}

.live-card .bookmark-top span:last-child {
  padding: 3px 10px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
}

.live-card .bookmark-action {
  color: var(--accent);
}

@keyframes live-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.75);
  }
}

.live-card--nowsay {
  --accent: #6d28d9;
  --accent-soft: rgba(109, 40, 217, 0.14);
}

.live-card--menuworld {
  --accent: #f2994a;
  --accent-soft: rgba(242, 153, 74, 0.16);
}

.live-card--bugworld {
  --accent: #16a34a;
  --accent-soft: rgba(22, 163, 74, 0.14);
}

.live-card--ctf {
  --accent: #ff4d6d;
  --accent-soft: rgba(255, 77, 109, 0.14);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}

.about-card h3 {
  color: var(--black);
  font-size: 24px;
  margin-bottom: 8px;
}

.about-card .role {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 26px;
}

.about-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 10px;
}

.about-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--black);
}

.about-card a {
  display: inline-flex;
  margin-top: 18px;
  border-bottom: 1px solid var(--black);
  font-size: 15px;
  font-weight: 700;
}

.contact {
  background: var(--black);
  color: #fff;
  padding: 84px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 64px;
  align-items: end;
}

.contact .eyebrow {
  color: #9d9d9d;
}

.contact h2 {
  max-width: 760px;
  font-size: 40px;
  line-height: 1.3;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.contact-actions p {
  color: #a6a6a6;
  font-size: 14px;
}

.history-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.history-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: end;
  min-height: calc(78vh - var(--header-h));
  padding-top: 82px;
  padding-bottom: 76px;
}

.history-hero-inner.history-hero-simple {
  grid-template-columns: 1fr;
  min-height: calc(58vh - var(--header-h));
}

.history-hero-copy h1 {
  max-width: 800px;
  color: var(--black);
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 22px;
}

.history-hero-copy p:last-child {
  max-width: 720px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.78;
}

.history-section .two-column-head h2 {
  font-size: 36px;
}

.history-section .two-column-head p:last-child {
  font-size: 15px;
}

.history-proof {
  display: grid;
  gap: 28px;
  padding: 28px;
  color: #fff;
  background: var(--black);
  border-radius: var(--radius);
}

.history-proof > span,
.history-item span,
.registry-grid span {
  color: #8f8f8f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.history-proof > strong {
  display: block;
  font-size: 46px;
  line-height: 1;
}

.history-proof dl {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--line-dark);
}

.history-proof dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 14px;
  background: #0f0f0f;
}

.history-proof dt {
  color: #8f8f8f;
  font-size: 13px;
  font-weight: 700;
}

.history-proof dd {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.history-band {
  background: var(--black);
  color: #fff;
}

.history-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.history-summary div {
  padding: 30px 28px;
  border-right: 1px solid var(--line-dark);
}

.history-summary div:last-child {
  border-right: none;
}

.history-summary strong {
  display: block;
  font-size: 38px;
  line-height: 1;
  margin-bottom: 10px;
}

.history-summary span {
  color: #c7c7c7;
  font-size: 14px;
  font-weight: 700;
}

.history-section {
  background: #fff;
}

.history-timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 178px;
  width: 1px;
  background: var(--line);
}

.history-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 58px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.history-item:first-child {
  border-top: 1px solid var(--line);
}

.history-item::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 171px;
  width: 15px;
  height: 15px;
  background: #fff;
  border: 3px solid var(--black);
  border-radius: 50%;
}

.history-item.is-primary::before {
  background: var(--black);
}

.history-item time {
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
}

.history-item h3 {
  color: var(--black);
  font-size: 20px;
  line-height: 1.35;
  margin: 6px 0 8px;
}

.history-item p {
  max-width: 760px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.78;
}

.registry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  padding: 0;
  width: calc(100% - 56px);
}

.registry-grid article {
  min-height: 210px;
  padding: 24px;
  background: #111;
}

.registry-grid strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
  margin: 28px 0 10px;
}

.registry-grid p {
  color: #bfbfbf;
  font-size: 14px;
  line-height: 1.75;
}

.history-cta {
  padding: 84px 0;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

.history-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
}

.history-cta h2 {
  max-width: 720px;
  color: var(--black);
  font-size: 38px;
  line-height: 1.32;
}

.history-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.site-footer {
  background: var(--black);
  color: #fff;
  border-top: 1px solid var(--line-dark);
  padding: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(260px, 0.95fr);
  gap: 34px 56px;
  padding-top: 46px;
  padding-bottom: 38px;
}

.footer-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-kicker,
.footer-office span,
.footer-purpose > span,
.footer-registry dt {
  color: #8f8f8f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-identity strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.footer-identity p {
  margin-top: 10px;
  color: #d6d6d6;
  font-size: 16px;
  font-weight: 700;
}

.footer-identity small {
  display: block;
  max-width: 430px;
  margin-top: 18px;
  color: #a8a8a8;
  font-size: 14px;
  line-height: 1.75;
}

.footer-registry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--line-dark);
}

.footer-registry div {
  min-height: 94px;
  padding: 18px;
  background: #0d0d0d;
}

.footer-registry dd {
  margin-top: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.footer-office {
  display: grid;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.footer-office address {
  max-width: 520px;
  margin-top: 8px;
  color: #d8d8d8;
  font-size: 15px;
  font-style: normal;
  line-height: 1.75;
}

.footer-office strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 18px;
}

.footer-purpose {
  display: grid;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.footer-purpose ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-purpose li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: #e8e8e8;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  background: #101010;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line-dark);
}

.footer-bottom span {
  color: #909090;
  font-size: 13px;
}

.footer-bottom a {
  color: #d0d0d0;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid #555;
}

@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .registry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hero-inner,
  .two-column-head,
  .contact-inner,
  .history-hero-inner,
  .history-cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-panel {
    min-height: auto;
    gap: 34px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .history-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.22s ease;
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-inner {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: 33px;
    line-height: 1.18;
  }

  .hero-desc,
  .two-column-head p:last-child {
    font-size: 16px;
  }

  .statement p,
  .contact h2 {
    font-size: 26px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-summary {
    grid-template-columns: 1fr;
  }

  .history-summary div {
    border-right: none;
    border-bottom: 1px solid var(--line-dark);
  }

  .history-summary div:last-child {
    border-bottom: none;
  }

  .metric:nth-child(2) {
    border-right: none;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 70px 0;
  }

  .two-column-head h2 {
    font-size: 32px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
  }

  .history-hero-inner {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .history-hero-copy h1 {
    font-size: 29px;
  }

  .history-hero-copy p:last-child {
    font-size: 15px;
  }

  .history-proof > strong {
    font-size: 36px;
  }

  .history-proof dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .history-timeline::before {
    left: 7px;
  }

  .history-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 34px;
  }

  .history-item::before {
    left: 0;
  }

  .registry-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
  }

  .history-cta h2 {
    font-size: 26px;
  }

  .project-row,
  .lecture-row,
  .content-note {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .content-links {
    grid-template-columns: 1fr;
  }

  .content-bookmark {
    min-height: auto;
  }

  .lecture-row time {
    text-align: left;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand span {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
    font-size: 14px;
  }
}