@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');


/* =========================================================
   ROOT
========================================================= */

:root {
	--black: #080a0c;
	--background: #0c0f12;
	--surface: #11151a;
	--surface-light: #171c22;

	--white: #f2eee5;
	--white-soft: #d2cec5;
	--muted: #858a91;

	--gold: #c5a56a;
	--gold-light: #d8bc82;
	--gold-dark: #917342;

	--border: #252b32;
	--border-light: #303740;

	--serif: 'Playfair Display', serif;
	--sans: 'DM Sans', sans-serif;
}


/* =========================================================
   RESET
========================================================= */

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--sans);
	background: var(--background);
	color: var(--white);

	overflow-x: hidden;
}

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

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


/* =========================================================
   PAGE ATMOSPHERE
========================================================= */

body::before {
	content: '';

	position: fixed;
	inset: 0;

	background:
		radial-gradient(
			circle at 75% 15%,
			rgba(197, 165, 106, 0.055),
			transparent 28%
		),
		radial-gradient(
			circle at 10% 80%,
			rgba(197, 165, 106, 0.025),
			transparent 30%
		);

	pointer-events: none;
	z-index: -2;
}


/* =========================================================
   SCIENTIFIC GRID
========================================================= */

body::after {
	content: '';

	position: fixed;
	inset: 0;

	background-image:
		linear-gradient(
			rgba(255, 255, 255, 0.018) 1px,
			transparent 1px
		),
		linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.018) 1px,
			transparent 1px
		);

	background-size: 70px 70px;

	pointer-events: none;
	z-index: -1;
}


/* =========================================================
   NAVIGATION
========================================================= */

#nav-bar {
	width: 100%;

	padding: 30px 6% 0;

	position: relative;
	z-index: 20;
}

#navbar {
	display: flex;
	align-items: center;

	width: 100%;

	padding: 23px 0 25px;

	border-bottom: 1px solid var(--border);
}


/* =========================================================
   WEBSITE NAME
========================================================= */

#website-name {
	margin-right: auto;

	font-family: var(--serif);

	font-size: 31px;

	font-weight: 600;

	letter-spacing: 0.5px;

	color: var(--white);

	transition: color 0.25s ease;
}

#website-name:hover {
	color: var(--gold);
}


/* =========================================================
   NAV LINKS
========================================================= */

#navbar > a:not(#contact-nav) {
	position: relative;
}

#navbar a {
	font-size: 16px;

	font-weight: 500;

	color: var(--muted);

	transition: color 0.25s ease;
}

#navbar a:hover {
	color: var(--white);
}

/* NAV UNDERLINE */

#navbar a:not(#contact-nav)::after {
	content: '';

	position: absolute;

	left: 0;
	bottom: -10px;

	width: 0;
	height: 1px;

	background: var(--gold);

	transition: width 0.25s ease;
}

#navbar a:not(#contact-nav):hover::after {
	width: 100%;
}


/* =========================================================
   NAVIGATION SPACING
========================================================= */

#return-home {
	margin-left: 50px;
}

#about-navbar,
#videos,
#resources,
#contact-navbar-link {
	margin-left: 40px;
}


/* =========================================================
   PROFILE IMAGE
========================================================= */

#contact-nav {
	width: 53px;
	height: 53px;

	margin-left: 44px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 50%;

	border: 1px solid var(--border-light);

	overflow: hidden;

	transition:
		border-color 0.3s ease,
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

#contact-nav img {
	width: 100%;
	height: 100%;

	object-fit: cover;

	transition: transform 0.4s ease;
}

#contact-nav:hover {
	border-color: var(--gold);

	transform: translateY(-3px);

	box-shadow:
		0 0 0 5px rgba(197, 165, 106, 0.05),
		0 10px 30px rgba(0, 0, 0, 0.35);
}

#contact-nav:hover img {
	transform: scale(1.07);
}


/* =========================================================
   MAIN
========================================================= */

main {
	position: relative;
}


/* =========================================================
   HERO
========================================================= */

#hero {
	min-height: calc(100vh - 110px);

	display: flex;

	align-items: center;
	justify-content: space-between;

	gap: 100px;

	padding: 90px 8% 125px;

	position: relative;

	overflow: hidden;
}


/* =========================================================
   HERO DECORATION
========================================================= */

#hero::before {
	content: '';

	position: absolute;

	width: 750px;
	height: 750px;

	right: -350px;
	top: 50%;

	transform: translateY(-50%);

	border: 1px solid rgba(197, 165, 106, 0.06);

	border-radius: 50%;

	box-shadow:
		0 0 0 125px rgba(197, 165, 106, 0.015),
		0 0 0 250px rgba(197, 165, 106, 0.008);

	pointer-events: none;
}


/* =========================================================
   HERO TEXT
========================================================= */

#hero-text {
	flex: 1;

	max-width: 820px;

	position: relative;
	z-index: 2;
}


/* =========================================================
   HERO HEADLINE
========================================================= */

#hero-tagline {
	font-family: var(--serif);

	font-size: clamp(72px, 8vw, 110px);

	font-weight: 500;

	line-height: 1.02;

	letter-spacing: -3px;

	color: var(--white);
}

#clear {
	color: var(--gold);

	font-style: italic;
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

#hero-desc {
	max-width: 680px;

	margin-top: 38px;

	font-size: 21px;

	line-height: 1.8;

	color: var(--muted);
}

.span-hero-desc {
	color: var(--white-soft);

	font-weight: 500;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

/* HERO BUTTONS */

#hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

#hero-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 25px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

/* PRIMARY: WATCH LECTURES */

#hero-videos {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(197, 165, 106, 0.10);
}

#hero-videos:hover {
  background: var(--gold-light);
  color: var(--black);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(197, 165, 106, 0.20);
}

/* SECONDARY: EXPLORE RESOURCES */

#hero-resources {
  background: rgba(255, 255, 255, 0.025);
  color: var(--white);
  border-color: rgba(197, 165, 106, 0.35);
}

#hero-resources:hover {
  background: rgba(197, 165, 106, 0.08);
  color: var(--gold-light);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

/* KEYBOARD FOCUS */

#hero-buttons a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}


/* =========================================================
   HERO IMAGE
========================================================= */

#hero-image {
	flex: 0 0 44%;

	display: flex;

	justify-content: flex-end;

	position: relative;
	z-index: 2;
}

#hero-image::before {
	content: '';

	position: absolute;

	width: 100%;
	height: 95%;

	right: -5%;
	top: 5%;

	background: rgba(197, 165, 106, 0.035);

	filter: blur(75px);

	z-index: -1;
}

#hero-image img {
	width: 100%;

	max-width: 600px;

	height: 710px;

	object-fit: cover;

	border-radius: 2px;

	border: 1px solid var(--border-light);

	box-shadow:
		25px 25px 0 rgba(255, 255, 255, 0.025),
		0 40px 90px rgba(0, 0, 0, 0.45);

	filter: saturate(0.82);

	transition:
		transform 0.5s ease,
		filter 0.5s ease,
		box-shadow 0.5s ease;
}

#hero-image img:hover {
	transform: translateY(-9px);

	filter: saturate(1);

	box-shadow:
		30px 30px 0 rgba(197, 165, 106, 0.05),
		0 50px 100px rgba(0, 0, 0, 0.5);
}


/* =========================================================
   ABOUT TEACHER
========================================================= */

#about-teacher {
	padding: 150px 8% 160px;

	position: relative;

	border-top: 1px solid var(--border);

	background:
		linear-gradient(
			180deg,
			rgba(17, 21, 26, 0.72),
			rgba(12, 15, 18, 0.88)
		);

	display: flex;
	flex-direction: column;
	align-items: center;

	text-align: center;
}


/* =========================================================
   ABOUT LABEL
========================================================= */

#about-label {
	margin-bottom: 27px;

	font-size: 14px;

	font-weight: 700;

	letter-spacing: 5px;

	color: var(--gold);
}


/* =========================================================
   ABOUT TAGLINE
========================================================= */

#about-tagline {
	max-width: 1060px;

	margin: 0 auto;

	font-family: var(--serif);

	font-size: clamp(54px, 6.25vw, 85px);

	font-weight: 500;

	line-height: 1.08;

	letter-spacing: -1.8px;

	color: var(--white);
}

#aboutPerson {
	color: var(--gold);

	font-style: italic;
}


/* =========================================================
   CHEMISTRY ELEMENT
========================================================= */

#about-chemistry-element {
	width: 360px;
	height: 360px;

	margin: 88px auto 0;

	position: relative;
}


/* OUTER GOLD FRAME */

#about-chemistry-element::before {
	content: '';

	position: absolute;

	inset: -17px;

	border: 1px solid rgba(197, 165, 106, 0.25);

	pointer-events: none;
}


/* OUTER SUBTLE FRAME */

#about-chemistry-element::after {
	content: '';

	position: absolute;

	inset: -35px;

	border: 1px solid rgba(197, 165, 106, 0.07);

	pointer-events: none;
}


/* IMAGE */

#about-chemistry-element img {
	width: 100%;
	height: 100%;

	object-fit: cover;

	position: relative;

	z-index: 2;

	border: 1px solid var(--border-light);

	filter: saturate(0.9);

	transition:
		transform 0.4s ease,
		filter 0.4s ease;
}

#about-chemistry-element:hover img {
	transform: translateY(-6px);

	filter: saturate(1);
}


/* =========================================================
   TEACHER INTRO
========================================================= */

#veryShortIntro {
	position: static;

	margin-top: 55px;

	text-align: center;
}

#teacher-name {
	font-family: var(--serif);

	font-size: 37px;

	color: var(--white);
}

#teacher-title {
	margin-top: 10px;

	font-size: 14px;

	font-weight: 600;

	letter-spacing: 3px;

	text-transform: uppercase;

	color: var(--gold);
}


/* =========================================================
   ABOUT DIVIDER
========================================================= */

#about-hr {
	width: 100%;

	max-width: 1125px;

	margin: 88px auto 42px;

	border: none;

	border-top: 1px solid var(--border);
}


/* =========================================================
   ABOUT BIO
========================================================= */

#about-bio {
	width: 100%;

	max-width: 1060px;

	margin: 0 auto;

	font-size: 19px;

	line-height: 1.9;

	color: var(--muted);

	text-align: center;

	white-space: pre-line;
}


/* =========================================================
   ABOUT LINK
========================================================= */

#about-hyperlink {
	display: inline-block;

	margin-top: 40px;

	padding-bottom: 9px;

	border-bottom: 1px solid var(--gold);

	font-size: 15px;

	font-weight: 600;

	letter-spacing: 0.5px;

	color: var(--white);

	transition:
		color 0.25s ease,
		border-color 0.25s ease;
}

#about-hyperlink:hover {
	color: var(--gold);

	border-color: var(--white);
}


/* =========================================================
   TEACHING APPROACH
========================================================= */

#teachingApproach {
	padding: 145px 8% 155px;

	position: relative;

	background: #090b0e;

	border-top: 1px solid var(--border);

	overflow: hidden;
}


/* =========================================================
   APPROACH BACKGROUND DETAIL
========================================================= */

#teachingApproach::before {
	content: '';

	position: absolute;

	width: 625px;
	height: 625px;

	right: -310px;
	top: 50%;

	transform: translateY(-50%);

	border: 1px solid rgba(197, 165, 106, 0.05);

	border-radius: 50%;

	box-shadow:
		0 0 0 100px rgba(197, 165, 106, 0.012),
		0 0 0 200px rgba(197, 165, 106, 0.008);

	pointer-events: none;
}


/* =========================================================
   APPROACH LABEL
========================================================= */

#approach-label {
	margin-bottom: 25px;

	font-size: 14px;

	font-weight: 700;

	letter-spacing: 5px;

	text-transform: uppercase;

	color: var(--gold);
}


/* =========================================================
   APPROACH HEADLINE
========================================================= */

#approach-tagline,
#approach-tagline-two {
	font-family: var(--serif);

	font-size: clamp(50px, 6vw, 80px);

	font-weight: 500;

	line-height: 1.08;

	letter-spacing: -1.2px;
}

#approach-tagline {
	color: var(--white);
}

#approach-tagline-two {
	color: #747980;
}

#approach-tagline-span {
	color: #747980;

	font-style: italic;
}

#understand {
	color: var(--gold);

	font-style: italic;
}


/* =========================================================
   APPROACH CARDS
========================================================= */

#approach-cards {
	display: grid;

	grid-template-columns: repeat(3, 1fr);

	gap: 1px;

	max-width: 1435px;

	margin: 88px auto 0;

	background: var(--border);

	border: 1px solid var(--border);

	position: relative;
	z-index: 2;
}


/* =========================================================
   CARD
========================================================= */

.card {
	min-height: 335px;

	padding: 40px;

	background: #0d1013;

	position: relative;

	transition:
		background 0.3s ease,
		transform 0.3s ease;
}

.card:hover {
	background: #12161a;

	transform: translateY(-6px);
}


/* TOP GOLD LINE */

.card::before {
	content: '';

	position: absolute;

	left: 40px;
	top: 0;

	width: 44px;
	height: 1px;

	background: var(--gold);

	transition: width 0.3s ease;
}

.card:hover::before {
	width: 88px;
}


/* =========================================================
   CARD NUMBER
========================================================= */

.approach-card-number {
	display: block;

	margin-bottom: 80px;

	font-family: var(--serif);

	font-size: 53px;

	color: var(--gold);
}


/* =========================================================
   CARD TITLE
========================================================= */

.card h2 {
	margin-bottom: 18px;

	font-size: 24px;

	font-weight: 600;

	color: var(--white);
}


/* =========================================================
   CARD DESCRIPTION
========================================================= */

.card p {
	max-width: 390px;

	font-size: 17px;

	line-height: 1.75;

	color: #7f858c;
}

/* =========================================================
   LEARN CHEMISTRY
   ========================================================= */

#learn {
	padding: 150px 8% 160px;
	position: relative;
	border-top: 1px solid var(--border);
	background:
		linear-gradient(
			180deg,
			rgba(12, 15, 18, 0.9),
			rgba(17, 21, 26, 0.72)
		);
	text-align: center;
}

/* Section label */

#learn-label {
	margin: 0 0 22px;
	font-family: "DM Sans", sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--gold);
}

/* Main heading */

#learn-desc {
	margin: 0 auto;
	font-family: "Playfair Display", serif;
	font-size: clamp(42px, 5vw, 72px);
	font-weight: 400;
	line-height: 1.08;
	color: var(--white);
}

#learn-everything {
	color: var(--gold-light);
	font-style: italic;
}

#learn-cards {
  width: min(1100px, 100%);
  margin: 75px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

#learn-cards > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.learn-card {
  position: relative;
  min-height: 360px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
    145deg,
    rgba(23, 28, 34, 0.95),
    rgba(13, 16, 20, 0.95)
  );
  border: 1px solid var(--border);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.learn-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: -75px;
  right: -75px;
  border: 1px solid rgba(197, 165, 106, 0.16);
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.learn-card::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 80px;
  right: 45px;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(197, 165, 106, 0.35)
  );
}

#learn-cards > a:hover .learn-card {
  transform: translateY(-8px);
  border-color: var(--gold-dark);
  background: linear-gradient(
    145deg,
    rgba(27, 32, 38, 0.98),
    rgba(14, 17, 21, 0.98)
  );
}

#learn-cards > a:hover .learn-card::before {
  transform: scale(1.25);
}

.learn-card-name {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gold);
}

.learn-card-desc {
  max-width: 430px;
  margin: 40px 0 35px;
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--white-soft);
}

.learn-card-btn {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 7px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white);
  border-bottom: 1px solid var(--gold-dark);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    gap 0.25s ease;
}

#learn-cards > a:hover .learn-card-btn {
  color: var(--gold-light);
  border-color: var(--gold-light);
  gap: 15px;
}

#footer {
  padding: 70px 8% 30px;
  background: var(--black);
  border-top: 1px solid var(--border);
}

#footer-main {
  text-align: center;
}

#footer-name {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--white);
}

#footer-title {
  margin: 8px 0 0;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

#footer-links {
  margin: 45px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

#footer-links a {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  color: var(--white-soft);
  text-decoration: none;
  transition: color 0.25s ease;
}

#footer-links a:hover {
  color: var(--gold-light);
}

#footer-bottom {
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
}

#footer-bottom p {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: var(--muted);
}

/* =========================================================
   CONTACT
   ========================================================= */

#contact {
	padding: 150px 8% 120px;
	position: relative;

	border-top: 1px solid var(--border);

	background:
		linear-gradient(
			180deg,
			rgba(17, 21, 26, 0.72),
			rgba(12, 15, 18, 0.95)
		);

	text-align: center;
	overflow: hidden;
}


/* ---------------------------------------------------------
   Subtle background chemistry detail
   --------------------------------------------------------- */

#contact::before {
	content: "";
	position: absolute;

	width: 420px;
	height: 420px;

	right: -170px;
	bottom: -190px;

	border: 1px solid rgba(197, 165, 106, 0.08);
	border-radius: 50%;

	pointer-events: none;
}

#contact::after {
	content: "";
	position: absolute;

	width: 220px;
	height: 220px;

	right: -70px;
	bottom: -90px;

	border: 1px solid rgba(197, 165, 106, 0.06);
	border-radius: 50%;

	pointer-events: none;
}


/* ---------------------------------------------------------
   Section label
   --------------------------------------------------------- */

#contact-label {
	margin: 0 0 24px;

	font-family: "DM Sans", sans-serif;
	font-size: 13px;
	font-weight: 600;

	letter-spacing: 4px;
	text-transform: uppercase;

	color: var(--gold);
}


/* ---------------------------------------------------------
   Main heading
   --------------------------------------------------------- */

#contact-tagline {
	margin: 0;
}

#contact-tagline-one,
#contact-tagline-two {
	margin: 0;

	font-family: "Playfair Display", serif;
	font-weight: 400;
	line-height: 1.05;
}

#contact-tagline-one {
	font-size: clamp(42px, 5vw, 68px);
	color: var(--white);
}

#contact-tagline-two {
	margin-top: 8px;

	font-size: clamp(42px, 5vw, 68px);
	color: var(--white);
}

#chemistry {
	color: var(--gold-light);
	font-style: italic;
}


/* ---------------------------------------------------------
   Description
   --------------------------------------------------------- */

#contact-desc {
	max-width: 600px;

	margin: 35px auto 0;

	font-family: "DM Sans", sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;

	color: var(--white-soft);
}


/* ---------------------------------------------------------
   Contact cards
   --------------------------------------------------------- */

#contact-cards {
	width: min(850px, 100%);

	margin: 65px auto 55px;

	display: grid;
	grid-template-columns: repeat(2, 1fr);

	gap: 24px;

	text-align: left;
}

.contact-card {
	position: relative;

	padding: 30px 34px;

	background: rgba(17, 21, 26, 0.7);

	border: 1px solid var(--border);

	transition:
		border-color 0.3s ease,
		background 0.3s ease,
		transform 0.3s ease;
}

.contact-card:hover {
	transform: translateY(-4px);

	border-color: var(--gold-dark);

	background: rgba(23, 28, 34, 0.85);
}


/* ---------------------------------------------------------
   Contact labels
   --------------------------------------------------------- */

#email-card,
#phone-card {
	margin: 0 0 14px;

	font-family: "DM Sans", sans-serif;
	font-size: 11px;
	font-weight: 600;

	letter-spacing: 3px;
	text-transform: uppercase;

	color: var(--gold);
}


/* ---------------------------------------------------------
   Email + phone links
   --------------------------------------------------------- */

#email,
#phone {
	font-family: "DM Sans", sans-serif;
	font-size: 17px;
	font-weight: 400;

	color: var(--white);

	text-decoration: none;

	transition: color 0.25s ease;
}

#email:hover,
#phone:hover {
	color: var(--gold-light);
}


/* ---------------------------------------------------------
   Divider
   --------------------------------------------------------- */

#contact hr {
	width: min(850px, 100%);

	margin: 0 auto;

	border: 0;
	border-top: 1px solid var(--border);
}


/* ---------------------------------------------------------
   Social media
   --------------------------------------------------------- */

#social-media {
  margin-top: 48px;
  text-align: center;
}

#social-media-label {
  margin: 0 0 25px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

#social-media > a {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 15px;
  color: var(--white-soft);
  border: 1px solid var(--border);
  text-decoration: none;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

#social-media > a:hover {
  color: var(--gold-light);
  border-color: var(--gold-dark);
  background: rgba(197, 165, 106, 0.05);
  transform: translateY(-4px);
}

#social-media svg {
  width: 35px;
  height: 35px;
}

/* =========================================================
   RESPONSIVE — LAPTOP
   ========================================================= */

@media (max-width: 1200px) {

  #hero {
    gap: 70px;
    padding-left: 6%;
    padding-right: 6%;
  }

  #hero-image {
    flex-basis: 45%;
  }

  #hero-image img {
    height: 620px;
  }

  #about-teacher,
  #teachingApproach {
    padding-left: 6%;
    padding-right: 6%;
  }

  #approach-cards {
    max-width: 100%;
  }

  #learn {
    padding-left: 6%;
    padding-right: 6%;
  }
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

  #nav-bar {
    padding-left: 5%;
    padding-right: 5%;
  }

  #navbar > a:not(#contact-nav) {
    display: none;
  }

  #contact-nav {
    margin-left: auto;
  }

  #hero {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 7% 110px;
  }

  #hero-text {
    max-width: 800px;
    width: 100%;
  }

  #hero-tagline {
    font-size: clamp(60px, 10vw, 90px);
  }

  #hero-image {
    width: 100%;
    justify-content: center;
    margin-top: 60px;
  }

  #hero-image img {
    width: min(100%, 600px);
    height: 620px;
  }

  #about-teacher {
    padding: 110px 7% 125px;
  }

  #about-chemistry-element {
    margin-top: 75px;
  }

  #veryShortIntro {
    position: static;
    margin-top: 50px;
  }

  #about-hr {
    margin-top: 75px;
  }

  #teachingApproach {
    padding: 110px 7% 125px;
  }

  #approach-cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 285px;
  }

  #learn {
    padding: 110px 7% 120px;
  }

  #learn-cards {
    grid-template-columns: 1fr;
    margin-top: 55px;
  }

  .learn-card {
    min-height: 320px;
    padding: 38px;
  }

  .learn-card-desc {
    font-size: 17px;
  }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 600px) {

  #nav-bar {
    padding: 20px 20px 0;
  }

  #navbar {
    padding-bottom: 18px;
  }

  #website-name {
    font-size: 25px;
  }

  #contact-nav {
    width: 44px;
    height: 44px;
  }

  /* HERO */

  #hero {
    padding: 75px 25px 95px;
  }

  #hero-tagline {
    font-size: 58px;
    letter-spacing: -2px;
  }

  #hero-desc {
    font-size: 16px;
    line-height: 1.8;
  }

  #hero-buttons {
    flex-direction: column;
    align-items: stretch;
    margin-top: 40px;
  }

  #hero-buttons button {
    width: 100%;
    padding: 17px 25px;
  }

  #hero-image {
    margin-top: 60px;
  }

  #hero-image img {
    height: 480px;
  }

  /* ABOUT */

  #about-teacher {
    padding: 90px 25px 105px;
  }

  #about-label,
  #approach-label {
    font-size: 11px;
    letter-spacing: 3.5px;
  }

  #about-tagline {
    font-size: 47px;
    letter-spacing: -1px;
  }

  #about-chemistry-element {
    width: 280px;
    height: 280px;
    margin-top: 70px;
  }

  #about-chemistry-element::before {
    inset: -14px;
  }

  #about-chemistry-element::after {
    inset: -28px;
  }

  #veryShortIntro {
    margin-top: 50px;
  }

  #teacher-name {
    font-size: 31px;
  }

  #teacher-title {
    font-size: 12px;
  }

  #about-hr {
    margin-top: 65px;
  }

  #about-bio {
    font-size: 16px;
    line-height: 1.85;
  }

  #about-hyperlink {
    font-size: 14px;
  }

  /* APPROACH */

  #teachingApproach {
    padding: 90px 25px 110px;
  }

  #approach-tagline,
  #approach-tagline-two {
    font-size: 43px;
  }

  #approach-cards {
    margin-top: 65px;
  }

  .card {
    min-height: 255px;
    padding: 32px;
  }

  .approach-card-number {
    margin-bottom: 55px;
    font-size: 44px;
  }

  .card h2 {
    font-size: 21px;
  }

  .card p {
    font-size: 15px;
  }

  /* LEARN */

  #learn {
    padding: 90px 25px 100px;
  }

  #learn-label {
    font-size: 11px;
    letter-spacing: 3px;
  }

  #learn-desc {
    font-size: 40px;
  }

  .learn-card {
    min-height: 300px;
    padding: 30px;
  }

  .learn-card-desc {
    margin: 30px 0;
    font-size: 16px;
    line-height: 1.6;
  }

  .learn-card-name {
    font-size: 11px;
    letter-spacing: 3px;
  }

  /* FOOTER */

  #footer {
    padding: 55px 6% 25px;
  }

  #footer-name {
    font-size: 26px;
  }

  #footer-links {
    gap: 18px 24px;
    margin: 35px 0;
  }

  #footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

  #website-name {
    font-size: 23px;
  }

  #hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  #hero-tagline {
    font-size: 48px;
  }

  #hero-desc {
    font-size: 14px;
  }

  #hero-image img {
    height: 420px;
  }

  #about-teacher,
  #teachingApproach,
  #learn {
    padding-left: 20px;
    padding-right: 20px;
  }

  #about-tagline {
    font-size: 40px;
  }

  #about-chemistry-element {
    width: 240px;
    height: 240px;
  }

  #teacher-name {
    font-size: 27px;
  }

  #approach-tagline,
  #approach-tagline-two {
    font-size: 36px;
  }

  .card {
    padding: 27px;
  }

  .learn-card {
    padding: 26px;
  }

  #learn-desc {
    font-size: 34px;
  }

  #footer-links {
    gap: 15px 18px;
  }
}

@media (max-width: 600px) {
  #hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  #hero-buttons a {
    width: 100%;
    box-sizing: border-box;
    min-height: 50px;
    padding: 14px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero-buttons a {
    transition: none;
  }
}