/* 
Theme Name: Studio Vandael
Author: Aster Vermeir
Author URI: https://www.linkedin.com/in/aster-vermeir/
Description: A custom theme created for Studio Vandael, mobile first responsive design.
Requires at least: 6.1
Tested up to: 6.8
Requires PHP: 5.6
Version: 1.7
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: studio-vandael
*/

@font-face {
  font-family: "Affigere";
  src: url("assets/fonts/Affigere-Regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --background-color: #0b0b0b;
  --custom-color: whitesmoke;
  --footer-shadow: var(--custom-color);
  --dynamic-opacity: 2%;
  --dynamic-footer-opacity: var(--dynamic-opacity);
  --container-padding: 20px;
}

html {
  overflow-x: hidden;
  overflow-y: auto;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "lato",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: whitesmoke;
  background-color: var(--background-color);
  font-size: 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  min-height: 100vh;
  width: 100%;
}

body::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

.container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.desktop-only {
  display: none;
}

.site-header,
.site-footer {
  pointer-events: none;
}

.site-header > *,
.site-footer > * {
  pointer-events: auto;
}

h1 {
  font-family: "Affigere";
  font-weight: 300;
  font-size: clamp(3rem, 10vw, 8rem);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  font-variant-ligatures: none;
}

.site-header {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding-top: 1rem;
  padding-bottom: 1rem;
  z-index: 50;
  background-color: var(--background-color);

  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.site-header::after {
  content: "";
  position: absolute;
  left: calc(-50vw + 50%);
  right: calc(-50vw + 50%);
  bottom: 0;
  height: 120px;
  pointer-events: none;
  box-shadow: 0 10px 40px var(--custom-color);
  opacity: var(--dynamic-opacity);
  z-index: 1;
}

.page-template-page-work,
.page-template-page-contact {
  --custom-color: var(--background-color);
  --dynamic-opacity: 15%;
  --footer-shadow: #0b0b0b;
  --dynamic-footer-opacity: 15%;
}

.page-template-page-work .site-footer {
  padding-top: 0 !important;
}

.site-header a {
  text-decoration: none;
  color: whitesmoke;
}

.header-logo {
  color: var(--text-color);
  font-size: 1.2em;
  font-weight: bold;
  font-family: "Affigere";
  font-weight: 300;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1;
  display: inline-block;
  position: relative;
  transform: translateY(5px);
}

.header-nav {
  position: absolute;
  top: 100%;
  left: calc(-1 * var(--container-padding, 50px));
  right: calc(-1 * var(--container-padding, 50px));
  width: auto;
  max-height: 0;
  overflow: hidden;
  background-color: var(--background-color);
  transition: max-height 0.3s ease-in-out;
  z-index: 999;
  font-size: 0.8rem;
  font-weight: 300;
}

.header-nav.menu-is-open {
  min-height: 60px;
}

.header-nav .nav-list {
  flex-direction: row;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.header-nav .nav-list li {
  margin-left: 0;
  padding: 10px 0;
  list-style: none;
}

.header-nav .nav-list a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: whitesmoke;
  position: relative;
  line-height: 1;
}

.header-nav .nav-list a::before {
  content: attr(data-text);
  font-weight: 600;
  height: 0;
  visibility: hidden;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
}

.header-nav .nav-list li.current-menu-item a,
.header-nav .nav-list li.current_page_item a,
.header-nav .nav-list a.active {
  font-weight: 600;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: whitesmoke;
  display: flex;
  flex-direction: row;
  gap: 4px;
  width: 30px;
  height: 30px;
  justify-content: center;
  position: absolute;
  align-items: center;
  padding: 0;
}

.menu-toggle {
  display: block;
  position: relative;
  z-index: 1000;
}

/* --- FRONT-PAGE --- */
.hero-section {
  margin-top: 5rem;
}

.hero-cta {
  margin-top: 1rem;
  font-size: 0.6rem;
  padding: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 2rem;
}

.hero-project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 6rem 0;
  padding-bottom: 2rem;
}

.hero-project-grid a {
  position: relative;
  display: block;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
}

.txt-left {
  text-align: left;
}

.txt-right {
  text-align: right;
}

.hero-project-item {
  width: 100%;
  aspect-ratio: 9 / 9;
  object-fit: cover;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  display: block;
}

.hero-project-grid a:hover .hero-project-item {
  transform: scale(1.03);
  filter: brightness(0.9);
}

/* Overlay text */
.hero-project-grid a::after {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: whitesmoke;
  font-family: "Affigere";
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
}

.hero-project-grid a:hover::after {
  opacity: 1;
}

.personal-section {
  width: 100%;
  overflow: hidden;
}

.personal-section {
  position: relative;
  width: 100vw;
  min-height: 25vh;
  margin-left: calc(-1 * var(--container-padding, 20px));
  margin-right: calc(-1 * var(--container-padding, 20px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 40px 20px;
  overflow: hidden;
}

.cta-pic {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  box-sizing: border-box;
  z-index: 0;
  pointer-events: none;
}

.cta-content {
  z-index: 1;
  width: auto;
  align-self: flex-end;
}

.cta-head {
  font-family: "Affigere";
  font-size: 1.8rem;
  line-height: 1.1;
}

.cta-description {
  display: none; /* on mobile, we don't show the description */
}

.cta-contact {
  color: black;
  border: none;
  cursor: pointer;
  font-size: 0.6rem;
  padding: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
  display: inline-block;
  background-color: whitesmoke;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cta-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
  margin-top: 2rem;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: whitesmoke;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: 200ms;
}

.nav-links a:hover {
  transform: scale(103%);
}

.nav-links .nav-label {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.7;
}

.nav-links .nav-title {
  font-size: 0.8rem;
}

.skill-section {
  margin-left: calc(-1 * var(--container-padding, 20px));
  margin-right: calc(-1 * var(--container-padding, 20px));
  background-color: whitesmoke;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skill-head {
  font-family: "Affigere";
  color: var(--background-color);
  text-align: center;
  font-size: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.skill-grid {
  display: grid;
  padding-top: 1.5rem;
  grid-template-columns: repeat(1, 1fr);
  justify-content: center;
}

.skill {
  color: var(--background-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 10rem;
  padding-bottom: 2rem;
}

.skill-icon {
  font-size: 2rem;
}

.skill-title {
  padding: 1rem;
  font-family: "Affigere";
  font-size: 1.2rem;
}

.skill-description {
  text-align: center;
  display: none; /* on mobile, we don't show the description */
}

/* --- WORK PAGE --- */
.work-page {
  background-color: whitesmoke;
  padding-top: 6rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  z-index: 1;
}

.work-subtitle {
  padding-bottom: 1rem;
  font-size: 1rem;
  max-width: 100vh;
  color: #0b0b0b;
  font-weight: 300;
}

.work-title {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  color: #0b0b0b;
}

/* --- PROJECT-SINGLE ___ */

.project-single .project-hero {
  position: relative;
  width: 100vw; /* full viewport width */
  margin-left: calc(50% - 50vw); /* center the section */
  margin-right: calc(50% - 50vw);
  z-index: 0;
}

.project-single .project-hero .hero-photo img,
.project-single .project-hero .hero-photo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover; /* This ensures it fills the 16/9 area without black bars */
}

.txt {
  padding-top: 4rem;
  padding-bottom: 4rem;
  line-height: 1.2;
}

.txt h1 {
  font-size: 2.2rem;
  letter-spacing: 0.05rem;
}

.txt .subtitle {
  font-size: 1rem;
  font-family: "Lato";
  color: #c4c4c4;
  font-weight: 300;
  opacity: 90%;
}

.txt p {
  padding-top: 2rem;
  font-size: 0.8rem;
  font-weight: 300;
}

.pics-grid {
  padding-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.pics-grid img,
.pics-grid video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.pics-grid .grid-top-left,
.pics-grid .grid-top-right,
.pics-grid .grid-bottom-left,
.pics-grid .grid-bottom-right {
  grid-column: span 1;
  aspect-ratio: 9 / 9;
}

.pics-grid .grid-middle {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.single-image-wide {
  width: 100%;
}

.single-image-wide img,
.single-image-wide video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Update this section to match your actual HTML classes */
.work-page .hero-project-grid .hero-project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 'cover' ensures the container is filled without stretching */
  display: block;
}

/* Ensure the anchor tags in the work grid also maintain the square shape */
.work-page .hero-project-item {
  aspect-ratio: 9 / 9;
  overflow: hidden;
  display: block;
}

.projectpage-spacer {
  padding-bottom: 4rem;
}

/* --- AI-ITEM --- */
.ai-hero {
  position: relative;
  width: 100vw; /* full viewport width */
  margin-left: calc(50% - 50vw); /* center the section */
  margin-right: calc(50% - 50vw);
  z-index: 0;
  aspect-ratio: 16 / 9;
}

.ai-title {
  font-family: "Affigere";
  font-size: 2rem;
  color: whitesmoke;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05rem;
}

.ai-subtitle {
  font-family: "Affigere";
  font-size: 1.5rem;
  color: whitesmoke;
  font-weight: 300;
  margin-bottom: 1rem;
}

.ai-description {
  font-size: 0.8rem;
  line-height: 1.6;
  color: whitesmoke;
  margin-bottom: 2rem;
  font-weight: 300;
}

.ai-pic1,
.ai-pic2,
.ai-pic3 {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.ai-txt {
  padding-top: 4rem;
  line-height: 1.2;
  padding-bottom: 1rem;
}

.ai-spacer {
  margin-top: 4.8rem;
  margin-bottom: 5rem;
  padding-top: 0.2rem;
  background-color: whitesmoke;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 2fr 3fr;
  gap: 1rem;
  padding-top: 2rem;
}

.ai-pic1 {
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-pic2 {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-pic3 {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- CONTACT --- */
.contact-bg {
  background-color: whitesmoke;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.form-container {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.form-header {
  color: #0b0b0b;
  font-size: 3rem;
  padding-bottom: 3rem;
  max-width: 35vh;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-grid .message-field {
  grid-column: 1 / -1;
}

.form-grid label {
  font-family: "lato", sans-serif;
  font-weight: 500;
  color: #0b0b0b;
  font-size: 0.9rem;
  display: block;
  padding-bottom: 0.8rem;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #0b0b0b;
  background-color: whitesmoke;
  font-family: "lato", sans-serif;
  font-size: 0.8rem;
}

.form-grid textarea {
  min-height: 15vh;
  resize: vertical;
}

.submit {
  background-color: #0b0b0b;
  color: whitesmoke;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.5rem;
  text-decoration: none;
  margin-top: 1rem;
  display: inline-block;
  width: 20vh;
  font-weight: bold;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.submit-container {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

#success {
  font-size: 1.8rem;
  color: green;
  align-self: center;
  padding-top: 0.8rem;
}

.contact-pic {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  padding-bottom: 10vh;
}

/* --- FOOTER --- */
.site-footer {
  display: flex;
  flex-direction: column;
  font-size: 0.7rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.site-footer {
  position: relative;
}

.page-template-page-work .site-footer {
  margin-top: 4rem !important;
}

.page-template-page-work .site-footer::before {
  top: -4rem;
}

.page-template-front-page {
  --footer-shadow: var(--background-color);
  --dynamic-footer-opacity: 15%;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: calc(-50vw + 50%);
  right: calc(-50vw + 50%);
  top: 0;
  height: 300px;
  pointer-events: none;
  box-shadow: 0 -10px 40px var(--footer-shadow);
  opacity: var(--dynamic-footer-opacity);
  z-index: 50;
}

.site-footer a {
  color: whitesmoke;
  text-decoration: none;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 2rem;
  align-items: center;
}

.footer-title {
  font-family: "Affigere";
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  font-weight: 200;
  padding-bottom: 1rem;
}

.left-section p {
  padding-bottom: 0.3rem;
}

.center-section {
  text-align: center;
  padding-top: 2rem;
}

.right-section {
  text-align: right;
}

.contact-item {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 0.6rem;
  align-items: center;
  padding-bottom: 0.3rem;
}

/* --- ABOUT PAGE --- */
.sv-about-layout {
  background-color: #0b0b0b;
  color: whitesmoke;
  min-height: 100vh;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.sv-row {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.sv-col {
  width: 100%;
}

.sv-image-col img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.sv-heading {
  font-family: "Affigere", sans-serif;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  font-weight: 300;
  font-size: 2rem;
}

.sv-description p {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 600px;
  font-weight: 300;
}

.sv-divider {
  border: 0;
  border-top: 1px solid whitesmoke;
  margin: 60px 0;
}

@media (max-width: 767px) {
  .header-nav {
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--container-padding, 50px));
    right: calc(-1 * var(--container-padding, 50px));
    width: auto;
    max-height: 0;
    overflow: hidden;
    background-color: var(--background-color);
    transition: max-height 0.3s ease-in-out;
    z-index: 999;
    font-size: 0.8rem;
    font-weight: 300;

    pointer-events: none;
    touch-action: pan-y;
  }

  .header-nav.menu-is-open {
    min-height: 60px;
    max-height: 500px;
    pointer-events: auto;
  }

  .header-nav.menu-is-open .nav-list,
  .header-nav.menu-is-open .nav-list li,
  .header-nav.menu-is-open .nav-list a {
    pointer-events: auto;
  }
}

/* ==========================================================================
   Small Tablets - 576px (min-width)
   ========================================================================== */

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }

  .hero-section h1 {
    font-size: 4rem;
    max-width: 58vh;
  }

  .form-header {
    color: #0b0b0b;
    font-size: 3.5rem;
    padding-bottom: 4rem;
    max-width: 50vh;
  }

  .site-header {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .header-logo {
    font-size: 1.2rem;
  }

  .hero-section {
    padding-top: 1.5rem;
  }

  .hero-project-grid {
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 2rem;
  }

  /* Personal section - full width and taller */
  .personal-section {
    min-height: 40vh;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .cta-content {
    max-width: 300px;
    padding-right: 2rem;
  }

  .cta-head {
    font-size: 2.2rem;
  }

  /* Skills section - full width, 3 columns, show descriptions */
  .skill-section {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-bottom: 3rem;
    padding-top: 2rem;
  }

  .skill-head {
    font-size: 2.2rem;
  }

  .skill-icon {
    font-size: 2.5rem;
    padding-bottom: 1rem;
  }

  .skill-title {
    font-size: 1.4rem;
  }

  .skill-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-left: 20px;
    padding-right: 20px;
  }

  .skill {
    max-width: none;
  }

  .skill-description {
    font-size: 0.6rem;
    display: block;
    line-height: 1.6;
    font-weight: 300;
  }
}

/* ==========================================================================
   Tablets - 768px (min-width)
   ========================================================================== */

@media (min-width: 768px) {
  body {
    font-size: 18px;
  }

  .container {
    max-width: 720px;
  }

  .form-header {
    color: #0b0b0b;
    font-size: 4.2rem;
    padding-bottom: 4rem;
    max-width: 60vh;
  }

  /* Navigation becomes horizontal - hide hamburger */
  .menu-toggle {
    display: none;
  }

  .header-logo {
    transform: translateY(10px);
    font-size: 1.3rem;
  }

  .header-nav,
  .header-nav.menu-is-open {
    position: static;
    max-height: initial;
    overflow: visible;
    background-color: transparent;
    transition: none;
  }

  .txt {
    padding-top: 6rem;
  }

  .txt h1 {
    font-size: 3rem;
  }
  .txt .subtitle {
    font-size: 1.3rem;
    padding-bottom: 1.2rem;
  }

  .txt p {
    font-size: 1rem;
  }

  .header-nav .nav-list {
    justify-content: flex-end;
    gap: 30px;
  }

  .header-nav .nav-list li {
    margin-left: 0;
    padding: 0;
  }

  .site-header {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  .hero-section {
    margin-top: 5rem;
  }

  .hero-section h1 {
    font-size: 5rem;
    max-width: 72vh;
  }

  .hero-cta {
    font-size: 0.7rem;
    padding: 0.6rem 1.2rem;
  }

  .hero-project-grid {
    padding-bottom: 4rem;
  }

  /* Personal section */
  .personal-section {
    min-height: 60vh;
    padding: 60px 40px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .cta-content {
    padding-left: 20vh;
    margin-right: -4vh;
    min-width: 550px;
  }

  .cta-head {
    font-size: 2.5rem;
    padding-bottom: 1rem;
  }

  .cta-description {
    display: block;
    color: whitesmoke;
    font-size: 0.6rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 300;
  }

  .cta-contact {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
    margin-bottom: 2rem;
  }

  /* Skills section */
  .skill-section {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .skill-head {
    font-size: 2rem;
    padding-bottom: 3rem;
  }

  .skill-grid {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .skill-icon {
    font-size: 3rem;
  }

  .skill-title {
    font-size: 1.4rem;
  }

  .skill-description {
    font-size: 0.7rem;
    font-weight: 300;
  }

  .work-page {
    padding-top: 6rem;
  }

  .work-title {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
  }

  .work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-bottom: 15vh;
  }

  /* Footer */
  .site-footer {
    padding-top: 3rem;
    font-size: 0.8rem;
  }

  .sv-image-col img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    padding-bottom: 2rem;
  }

  .sv-heading {
    font-size: 2.5rem;
  }

  .sv-description p {
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
  }

  .sv-button {
    display: inline-block;
    color: #000;
    padding: 10px 35px;
    text-decoration: none;
    background-color: whitesmoke;
    font-weight: 900;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 1rem;
    transition: transform 0.2s ease;
  }

  .sv-button:hover {
    transform: scale(1.05);
  }
}

/* ==========================================================================
   Laptops - 992px (min-width)
   ========================================================================== */

@media (min-width: 992px) {
  .container {
    max-width: 940px;
  }

  .sv-maarten .sv-description p {
    max-width: none;
  }

  .form-header {
    padding-top: 2rem;
    font-size: 4.5rem;
  }

  .site-header {
    padding-bottom: 2rem;
  }

  .header-logo {
    font-size: 1.7rem;
  }

  .header-nav .nav-list {
    gap: 50px;
    font-size: 0.9rem;
  }

  .hero-section h1 {
    font-size: 6rem;
    min-width: 88vh;
  }

  /* Personal section */
  .personal-section {
    min-height: 85vh;
    padding: 80px 60px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .sv-about-layout {
    padding-top: 7rem;
  }

  .sv-row {
    flex-direction: row;
  }
  .sv-maarten .sv-text-col {
    flex: 0 0 45%;
    margin-left: auto;
    padding-left: 2rem;
  }

  .pics-grid {
    gap: 1rem;
  }

  .hero-project-grid {
    gap: 1rem;
  }

  .sv-maarten {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .sv-col {
    flex: 1;
  }

  .nav-links .nav-title {
    font-size: 1.2rem;
  }

  .nav-links .nav-label {
    font-size: 1.2rem;
  }

  .sv-studio {
    flex-direction: row;
  }

  .cta-content {
    max-width: 600px;
  }

  .cta-head {
    font-size: 3rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  /* Skills section */
  .skill-section {
    padding-bottom: 4rem;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .sv-text-col {
    margin-left: auto;
  }

  .skill-grid {
    gap: 3rem;
    max-width: 1000px;
  }

  .skill-head {
    font-size: 3rem;
  }

  .skill-title {
    font-size: 2rem;
  }

  .skill-description {
    font-size: 0.8rem;
  }

  .site-footer {
    padding-top: 4rem;
    font-size: 1rem;
  }

  .footer-title {
    font-size: 1.5rem;
  }

  .work-page {
    padding-top: 8rem;
  }

  .work-subtitle {
    padding-bottom: 2rem;
    font-size: 1.1rem;
  }

  .work-title {
    font-size: 4rem;
    margin-bottom: 1.2rem;
  }

  /* Project page */
  .txt {
    padding-top: 6rem;
  }

  .txt h1 {
    font-size: 3.5rem;
    letter-spacing: 0.05rem;
  }

  .txt .subtitle {
    font-size: 1.5rem;
  }

  .txt p {
    font-size: 1rem;
  }

  #txt-ai {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 10rem;
  }

  #txt-ai h1:first-of-type {
    grid-column: 1;
  }

  #txt-ai h1 .subtitle {
    justify-content: center;
  }

  #txt-ai .subtitle {
    grid-column: 1;
    grid-row: 2;
  }

  #txt-ai p {
    grid-column: 2;
    grid-row: 1 / span 2;
    padding: 0;
  }

  .ai-spacer {
    margin-top: 8.8;
    margin-bottom: 9;
  }

  .nav-links a {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   Desktops - 1200px (min-width)
   ========================================================================== */

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }

  .site-header {
    padding-bottom: 3rem;
  }

  .sv-description p {
    font-size: 1.2rem;
  }

  .contact-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 6rem;
    align-items: flex-start;
    padding-top: 6rem;
    padding-bottom: 8rem;
  }

  .desktop-only {
    display: flex;
    flex-direction: row;
    gap: 4rem;
  }

  .card {
    padding-top: 12rem;
    padding-bottom: 8rem;
  }

  .card-txt-column {
    flex: 1 1 0;
    max-width: 800px;
    min-width: 600px;
    padding-top: 3rem;
  }

  .card-txt-column .txt {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }

  .card-media {
    aspect-ratio: 9/9;
    max-width: 500px;
    width: 100%;
  }

  .card-media img,
  .card-media video {
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .card-left {
    text-align: left;
  }

  .card-right {
    flex-direction: row-reverse;
  }

  .card-media img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
  }

  .form-container {
    flex: 1;
    padding-top: 0;
    padding: 0;
  }

  .form-grid input {
    padding: 0.6rem 0.8rem;
  }

  .form-header {
    font-size: 5rem;
    max-width: 70vh;
    padding-bottom: 2rem;
  }

  .contact-pic {
    flex: 1;
    max-width: 48%;
    padding-bottom: 0;
    padding-top: 3rem;
  }

  .contact-bg {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .nav-list {
    font-size: 1rem;
  }

  .header-logo {
    font-size: 1.5rem;
    margin-top: 1rem;
  }

  .header-nav .nav-list {
    gap: 60px;
    font-size: 1rem;
  }

  .work-grid .work-item::after {
    font-size: 3rem;
  }

  .hero-section {
    padding-top: 8vh;
  }

  .hero-project-grid a::after {
    font-size: 3rem;
  }

  .cta-contact {
    margin-bottom: 4rem;
  }

  .hero-section h1 {
    font-size: 7rem;
    max-width: 100vh;
  }

  .hero-cta {
    font-size: 1rem;
    padding: 0.8rem 1.4rem;
  }

  /* Personal section */
  .personal-section {
    min-height: 90vh;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .cta-content {
    max-width: 650px;
  }

  .cta-head {
    font-size: 3.5rem;
  }

  .cta-contact {
    font-size: 1rem;
    padding: 0.8rem 1.4rem;
  }

  /* Skills section */
  .skill-section {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .skill-description {
    font-size: 1rem;
  }

  .skill-grid {
    gap: 4rem;
  }

  .sv-heading {
    font-size: 3.5rem;
  }

  .sv-text-col {
    min-width: 70vh;
  }

  .sv-about-layout {
    padding-top: 8rem;
  }

  /* Project page */
  .txt {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }

  .txt h1 {
    font-size: 3.5rem;
    letter-spacing: 0.05rem;
  }

  .txt .subtitle {
    font-size: 1.8rem;
  }

  .txt p {
    font-size: 1.2rem;
    padding-top: 4rem;
  }
}

/* ==========================================================================
   Large Desktops - 1400px (min-width)
   ========================================================================== */

@media (min-width: 1400px) {
  .container {
    max-width: 1250px;
  }

  .header-logo {
    font-size: 2rem;
  }

  .work-page {
    padding-top: 10rem;
  }

  .work-title {
    font-size: 5rem;
  }

  .header-nav .nav-list {
    gap: 70px;
    font-size: 1.1rem;
  }

  .hero-section h1 {
    font-size: 8rem;
    max-width: 135vh;
  }

  /* Personal section */
  .personal-section {
    min-height: 95vh;
    padding: 100px 80px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .work-grid .work-item::after {
    font-size: 3rem;
  }

  .cta-content {
    max-width: 800px;
    padding-right: 2rem;
  }

  .cta-head {
    font-size: 4rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  /* Skills section */
  .skill-section {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .skill-head {
    font-size: 4rem;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
  }

  .hero-section h1 {
    font-size: 9rem;
    max-width: 100vh;
  }

  .cta-content {
    max-width: 1000px;
    padding-right: 14rem;
  }

  .cta-head {
    font-size: 6rem;
  }

  .cta-description {
    font-size: 1.2rem;
  }

  .txt h1 {
    font-size: 5rem;
  }
  .txt .subtitle {
    font-size: 1.6rem;
  }

  .txt p {
    font-size: 1.4rem;
  }

  .sv-heading {
    min-width: 60vh;
  }

  .sv-text-col {
    min-width: 85vh;
  }
}
