@charset "UTF-8";

/* ==========================================================
   GAN DESIGNS | WEBSITE DESIGN PORTFOLIO
   GENERAL CSS — PART 1 OF 2
   Fonts, Global Styles, Hero, Wave & Gallery Introduction

   Shared navigation remains in css/portfolio-nav.css
========================================================== */



/* 01 | CUSTOM WEB FONTS */

@font-face {
  font-family: "GrandeMagical";
  src: url("../webfonts/grande_magical_font/GrandeMagical.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Brullos";
  src: url("../webfonts/brullos_font/Brullos.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}



/* 02 | COLORS, FONTS & VARIABLES */
:root {
  --navy: #020b22;
  --midnight: #041432;
  --deep-blue: #061d49;
  --sapphire: #0a388a;
  --royal: #1764d8;
  --electric: #1595ff;
  --cyan: #20d9ff;
  --aqua: #80f5ff;
  --turquoise: #28d8e8;
  --lavender: #ad9aff;
  --violet: #7958df;
  --magenta: #f347c8;
  --white: #fff;
  --ice: #eaf9ff;
  --muted: #c5d9f1;

  --ombre: linear-gradient(105deg,
    #ff53c7 0%,
    #c45aff 22%,
    #7775ff 46%,
    #258dff 72%,
    #22e2f4 100%);

  --ombre-blue: linear-gradient(115deg,
    #123d9d, #176bd9 52%, #0db7e7);

  --card-shadow:
    0 12px 32px rgba(0,7,35,.5),
    0 0 15px rgba(0,155,255,.13);

  --glow:
    0 0 8px rgba(0,196,255,.7),
    0 0 22px rgba(0,133,255,.3);

  --font-display: "GrandeMagical", Georgia, serif;
  --font-script: "Brullos", "Brush Script MT", cursive;
  --font-body: Arial, Helvetica, sans-serif;

  --page-width: 1650px;
  --page-gutter: clamp(16px, 2.5vw, 42px);
}


/* 03 | GLOBAL RESET */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.websites-page {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(180deg,
    #020e2a 0%, #020b22 48%, #02091d 100%);
  color: var(--white);
  font: 14px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.websites-page img { display: block; max-width: 100%; }
body.websites-page a { color: inherit; text-decoration: none; }
body.websites-page button { font: inherit; }

body.websites-page h1,
body.websites-page h2,
body.websites-page h3,
body.websites-page p { margin-top: 0; }

::selection { background: var(--royal); color: #fff; }

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}


/* 04 | MAIN PAGE LAYOUT
   Hero and wave are full-bleed.
   Gallery sections manage their own maximum width.
========================================================== */
#mainContent {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}


/* ==========================================================
   05 | RESPONSIVE LAKE TAHOE HERO
========================================================== */

.websites-hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 650px;
  overflow: hidden;
  isolation: isolate;
  background: #061936;
}

/* Responsive picture and image */
.websites-hero-picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
}

.websites-hero-image {
  width: 100%;
  height: 100%;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
}

/* Left-side dark overlay for readable HTML text */
.websites-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(2,9,29,.96) 0%,
    rgba(2,12,36,.91) 24%,
    rgba(2,13,39,.76) 42%,
    rgba(2,13,39,.30) 65%,
    rgba(2,13,39,.05) 100%);
}

/* Soft transition into neon wave */
.websites-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 115px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(0deg,
    rgba(2,11,34,.88), transparent);
}

/* Main text container */
.websites-hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1750px);
  margin: 0 auto;
  padding: 60px clamp(24px, 5vw, 95px);
  text-align: left;
}

.websites-hero-content > * {
  max-width: 710px;
}


/* 06 | HERO EYEBROW */
.hero-eyebrow {
  margin: 0 0 13px;
  color: var(--aqua);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .22em;
  text-shadow: 0 2px 8px #00132c;
}

.hero-eyebrow span { color: var(--magenta); }


/* 07 | MAIN HERO TITLE */
.websites-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 5.1vw, 82px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
  filter: drop-shadow(2px 4px 4px rgba(0,0,0,.75));
}

.websites-title .title-gradient {
  display: block;
  background: var(--ombre);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cyan);
}

.websites-title .title-secondary {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(39px, 3.8vw, 59px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  color: #fff;
  text-shadow: 2px 3px 4px #000,
    0 0 14px rgba(0,156,255,.4);
}


/* 08 | SPECIALTIES */
.websites-specialties {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--ice);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.9;
  letter-spacing: .09em;
  text-shadow: 0 2px 5px #000;
}

.websites-specialties span {
  margin: 0 5px;
  color: var(--aqua);
}


/* 09 | DECORATIVE DIVIDER */
.hero-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(420px, 85%);
  margin: 21px 0 18px;
  color: var(--aqua);
}

.hero-divider::before,
.hero-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, rgba(29,204,255,.85));
  box-shadow: 0 0 8px rgba(0,196,255,.5);
}

.hero-divider::after { transform: rotate(180deg); }
.hero-divider span { line-height: 1; }


/* 10 | HERO SCRIPT TAGLINE */
.websites-tagline {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(27px, 2.5vw, 39px);
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
  text-shadow: 2px 3px 4px #000,
    0 0 14px rgba(0,156,255,.35);
}


/* 11 | HERO INTRODUCTION */
.websites-intro-text {
  max-width: 670px;
  margin: 20px 0 0;
  text-align: left;
}

.websites-intro-text p {
  margin: 0 0 12px;
  color: #f0f8ff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: .005em;
  text-shadow: 0 2px 5px rgba(0,0,0,.8);
}

.websites-intro-text p:last-child { margin-bottom: 0; }



/* ==========================================================
   12 | PIXELATED NEON WAVE TRANSITION
   IMAGE SIZE: 1920 x 250px
========================================================== */

.websites-wave-transition {
  position: relative;
  display: block;

  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 250;

  margin: 0;
  padding: 0;
  overflow: hidden;

  background-color: var(--navy);
  background-image: url("../img/websites_page/websites-hero-wave.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
}

/* Blend wave edges into surrounding navy */
.websites-wave-transition::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(2,11,34,.15) 0%,
    transparent 35%,
    transparent 65%,
    rgba(2,11,34,.45) 100%
  );
}


/* ==========================================================
   13 | WEBSITE GALLERY INTRODUCTION
========================================================== */

.websites-gallery-intro {
  position: relative;
  width: min(calc(100% - 2 * var(--page-gutter)), 1050px);
  margin: 26px auto 30px;
}

.websites-gallery-intro-content {
  position: relative;
  padding: 24px 30px;
  overflow: hidden;
  border: 1px solid rgba(29,172,255,.35);
  border-radius: 16px;
  background: linear-gradient(145deg,
    rgba(3,24,66,.88), rgba(3,19,55,.94));
  box-shadow: 0 8px 25px rgba(0,5,28,.2),
    inset 0 0 18px rgba(0,119,255,.04);
  text-align: center;
}

.gallery-eyebrow {
  margin: 0 0 8px;
  color: var(--aqua);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.gallery-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.1vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
  background: var(--ombre);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(1px 3px 2px rgba(0,0,0,.8));
}

.gallery-description {
  max-width: 900px;
  margin: 0 auto;
  color: #f0f8ff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}


/* ==========================================================
   GAN DESIGNS | WEBSITE DESIGN PORTFOLIO
   GENERAL CSS — PART 2 OF 2
   Project Grid, Cards, Buttons, Footer & Accessibility
========================================================== */


/* 14 | WEBSITE PROJECT GALLERY */
.websites-gallery {
  position: relative;
  width: min(calc(100% - 2 * var(--page-gutter)), var(--page-width));
  margin: 0 auto;
  padding: 0 0 45px;
}


/* 15 | THREE-COLUMN PROJECT GRID */
.websites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  width: 100%;
}


/* 16 | PROJECT CARDS */
.website-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(27,180,255,.65);
  border-radius: 15px;
  background: linear-gradient(155deg,
    rgba(10,49,113,.94) 0%,
    rgba(3,22,66,.96) 52%,
    rgba(4,33,84,.95) 100%);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.website-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(74,201,255,.1),
    transparent 35%,
    rgba(111,83,242,.05));
}

.website-card:hover {
  transform: translateY(-4px);
  border-color: var(--aqua);
  box-shadow: 0 17px 35px rgba(0,5,28,.55),
    0 0 20px rgba(0,172,255,.3);
}


/* 17 | WEBSITE PREVIEW IMAGES */
.website-preview {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 195px;
  overflow: hidden;
  border-bottom: 1px solid rgba(35,180,255,.35);
  background: linear-gradient(145deg, #061738, #164b9c);
  cursor: pointer;
}

.website-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .4s ease, filter .4s ease;
}

.website-card:hover .website-preview img {
  transform: scale(1.035);
  filter: brightness(1.08);
}


/* 18 | PREVIEW HOVER OVERLAY */
.preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(1,12,43,.6);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .04em;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.website-preview:hover .preview-overlay,
.website-preview:focus-visible .preview-overlay {
  opacity: 1;
}


/* 19 | PROJECT CARD CONTENT */
.website-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 16px 18px 18px;
}

.website-card-content h3 {
  margin: 0 0 9px;
  font-family: var(--font-script);
  font-size: clamp(22px, 1.9vw, 29px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--aqua);
  text-shadow: 0 2px 5px rgba(0,0,0,.7);
}

.website-card-content p {
  flex: 1;
  margin: 0 0 16px;
  color: #f4faff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .005em;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  overflow-wrap: break-word;
}


/* 20 | VIEW SITE BUTTONS */
.website-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 125px;
  min-height: 35px;
  margin-top: auto;
  padding: 8px 16px;
  border: 1px solid var(--electric);
  border-radius: 22px;
  background: linear-gradient(110deg,
    #073e9c, #0752c4 65%, #073783);
  box-shadow: 0 0 9px rgba(0,153,255,.6),
    inset 0 0 9px rgba(33,187,255,.17);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s ease,
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.website-view-btn:hover {
  transform: translateY(-2px);
  border-color: var(--aqua);
  background: var(--ombre-blue);
  box-shadow: 0 0 15px rgba(0,199,255,.85),
    0 0 25px rgba(0,102,255,.3);
}

.website-view-btn:active { transform: translateY(0); }


/* 21 | KEYBOARD ACCESSIBILITY */
.website-preview:focus-visible,
.website-view-btn:focus-visible,
.footer-back:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}


/* ==========================================================
   22 | WEBSITE FOOTER
========================================================== */

.websites-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 22px var(--page-gutter) 28px;
  border-top: 1px solid rgba(29,172,255,.35);
  background: rgba(1,12,38,.9);
  text-align: center;
}

.websites-footer p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .05em;
}

.websites-footer p span { color: var(--cyan); }


/* 23 | FOOTER HOME BUTTON */
.footer-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 35px;
  margin: 0 auto 12px;
  padding: 8px 16px;
  border: 1px solid rgba(35,190,255,.65);
  border-radius: 999px;
  background: linear-gradient(115deg,
    rgba(4,45,105,.9),
    rgba(12,99,189,.78));
  box-shadow: 0 0 12px rgba(5,146,255,.15);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .5px;
  transition: transform .25s ease,
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

.footer-back:hover {
  transform: translateY(-2px);
  border-color: var(--aqua);
  background: var(--ombre-blue);
  box-shadow: var(--glow);
}


/* 24 | IMAGE FALLBACK */
.website-preview img:not([src]),
.website-preview img[src=""] {
  visibility: hidden;
}


/* 25 | CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #020b24; }

::-webkit-scrollbar-thumb {
  border: 2px solid #020b24;
  border-radius: 10px;
  background: linear-gradient(180deg, #1454c7, #13bfe9);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}


/* 26 | REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* ==========================================================
   OPTIONAL | PROJECT CARD SCROLL REVEAL
========================================================== */

:root { --website-card-reveal: enabled; }

/* Cards remain visible by default */
.website-card {
  opacity: 1;
  visibility: visible;
}

/* Only animate cards prepared by JavaScript */
.website-card.will-reveal {
  opacity: 0;
  transform: translateY(22px);
}

.website-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.website-card.will-reveal,
.website-card.is-visible {
  transition:
    opacity .55s ease,
    transform .55s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

/* Preserve hover lift after reveal */
.website-card.is-visible:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .website-card.will-reveal,
  .website-card.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ==========================================================
   HERO | SCROLL TO EXPLORE INDICATOR
========================================================== */

.websites-scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 14px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transform: translateX(-50%);
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 6px #00132d;
  transition: opacity .25s ease;
}

.scroll-cue-label {
  color: #a8f4ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  white-space: nowrap;
}

.scroll-cue-mouse {
  position: relative;
  display: block;
  width: 22px;
  height: 33px;
  border: 2px solid #46dbff;
  border-radius: 13px;
  box-shadow: 0 0 10px rgba(0,195,255,.65);
}

.scroll-cue-wheel {
  position: absolute;
  top: 6px;
  left: 8px;
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: #fff;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

.scroll-cue-arrow {
  color: #ff56cf;
  font-size: 23px;
  line-height: 1;
  animation: scrollArrow 1.8s ease-in-out infinite;
}

.websites-scroll-cue:hover { opacity: .8; }

@keyframes scrollWheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(9px); opacity: 0; }
}

@keyframes scrollArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 700px) {
  .websites-scroll-cue { bottom: 8px; gap: 3px; }
  .scroll-cue-label { font-size: 8px; }
  .scroll-cue-mouse { width: 19px; height: 29px; }
  .scroll-cue-wheel { left: 6px; }
  .scroll-cue-arrow { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue-wheel,
  .scroll-cue-arrow { animation: none; }
}


/* ==========================================================
   END GENERAL CSS
   RESPONSIVE MEDIA QUERIES FOLLOW BELOW
========================================================== */




/* ==========================================================
   GAN DESIGNS | WEBSITE DESIGN PORTFOLIO
   RESPONSIVE CSS — PART 1 OF 2
   Desktop, Laptop & Tablet | 701px and Above

   Shared navigation is controlled by portfolio-nav.css
========================================================== */


/* 01 | ULTRAWIDE DESKTOP — 1921px+ */
@media (min-width: 1921px) {

  .websites-hero { min-height: 690px; max-height: 790px; }

  .websites-hero-content {
    padding: 65px clamp(80px, 5vw, 110px);
  }

  .websites-hero-content > * { max-width: 740px; }

  .websites-title { font-size: 85px; }
  .websites-title .title-secondary { font-size: 61px; }
  .websites-tagline { font-size: 40px; }

  .websites-intro-text p { font-size: 13.5px; }

  .websites-wave-transition { height: 155px; }

  .websites-gallery-intro { margin: 25px auto 30px; }

  .websites-grid { gap: 20px; }
  .website-preview { height: 225px; }
  .website-card-content { padding: 20px 22px; }
  .website-card-content p { font-size: 14px; }
}


/* 02 | LARGE DESKTOP — 1601px TO 1920px */
@media (min-width: 1601px) and (max-width: 1920px) {

  .websites-hero { min-height: 625px; }

  .websites-hero-content {
    padding: 48px clamp(60px, 5vw, 95px);
  }

  .websites-hero-content > * { max-width: 680px; }

  .websites-title { font-size: clamp(69px, 4.4vw, 82px); }

  .websites-title .title-secondary {
    font-size: clamp(47px, 3.2vw, 58px);
  }

  .websites-tagline { font-size: 36px; }

  .websites-intro-text {
    max-width: 620px;
    margin-top: 15px;
  }

  .websites-intro-text p {
    font-size: 12.5px;
    line-height: 1.65;
  }

  .websites-wave-transition { height: 135px; }

  .websites-gallery-intro { margin: 22px auto 28px; }

  .website-preview { height: 205px; }
}


/* 03 | STANDARD DESKTOP — 1401px TO 1600px */
@media (min-width: 1401px) and (max-width: 1600px) {

  .websites-hero { min-height: 600px; }

  .websites-hero-content {
    padding: 42px 60px;
  }

  .websites-hero-content > * { max-width: 615px; }

  .websites-title { font-size: 65px; }
  .websites-title .title-secondary { font-size: 47px; }

  .websites-specialties { font-size: 9px; }
  .websites-tagline { font-size: 33px; }

  .websites-intro-text {
    max-width: 590px;
    margin-top: 14px;
  }

  .websites-intro-text p {
    font-size: 12px;
    line-height: 1.6;
  }

  .hero-divider { margin: 16px 0 13px; }

  .websites-wave-transition { height: 130px; }

  .website-preview { height: 190px; }
}


/* 04 | SMALL DESKTOP — 1201px TO 1400px */
@media (min-width: 1201px) and (max-width: 1400px) {

  .websites-hero { min-height: 570px; }

  .websites-hero-content {
    padding: 35px 45px;
  }

  .websites-hero-content > * { max-width: 540px; }

  .websites-title { font-size: 56px; }
  .websites-title .title-secondary { font-size: 41px; }

  .hero-eyebrow { font-size: 9px; }

  .websites-specialties {
    max-width: 510px;
    font-size: 8.5px;
    line-height: 1.8;
  }

  .websites-tagline { font-size: 29px; }

  .websites-intro-text {
    max-width: 515px;
    margin-top: 13px;
  }

  .websites-intro-text p {
    font-size: 11.5px;
    line-height: 1.6;
  }

  .hero-divider { margin: 13px 0 12px; }
  .websites-wave-transition { height: 120px; }

  .websites-grid { gap: 13px; }
  .website-preview { height: 175px; }
  .website-card-content { padding: 14px; }
  .website-card-content h3 { font-size: 24px; }
  .website-card-content p { font-size: 12px; }
}


/* 05 | TABLET LANDSCAPE — 1001px TO 1200px */
@media (min-width: 1001px) and (max-width: 1200px) {

  .websites-hero {
    min-height: 545px;
    align-items: center;
  }

  .websites-hero-image { object-position: center; }

  /* Keep the laptop and tablet bright on the right */
  .websites-hero::before {
    background: linear-gradient(90deg,
      rgba(2,9,29,.94) 0%,
      rgba(2,12,36,.83) 30%,
      rgba(2,13,39,.48) 47%,
      rgba(2,13,39,.08) 68%,
      transparent 100%);
  }

  .websites-hero-content { padding: 30px 36px; }
  .websites-hero-content > * { max-width: 480px; }

  .hero-eyebrow { font-size: 9px; }

  .websites-title { font-size: 50px; }
  .websites-title .title-secondary { font-size: 38px; }

  .websites-specialties {
    max-width: 460px;
    margin-top: 14px;
    font-size: 8.5px;
    line-height: 1.7;
  }

  .hero-divider { margin: 13px 0 11px; }
  .websites-tagline { font-size: 27px; }

  .websites-intro-text {
    max-width: 450px;
    margin-top: 12px;
  }

  .websites-intro-text p {
    font-size: 11.5px;
    line-height: 1.55;
  }

  .websites-wave-transition { height: 115px; }

  .websites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .website-preview { height: 205px; }
}


/* 06 | TABLET PORTRAIT — 701px TO 1000px */
@media (min-width: 701px) and (max-width: 1000px) {

  .websites-hero {
    min-height: 555px;
    align-items: flex-start;
  }

  .websites-hero-image { object-position: 58% center; }

  /* Confine the stronger overlay to the text area */
  .websites-hero::before {
    background: linear-gradient(90deg,
      rgba(2,9,29,.96) 0%,
      rgba(2,12,36,.91) 30%,
      rgba(2,13,39,.67) 47%,
      rgba(2,13,39,.12) 70%,
      transparent 100%);
  }

  .websites-hero-content { padding: 34px 28px; }

  .websites-hero-content > * {
    max-width: min(380px, 50vw);
  }

  .hero-eyebrow {
    margin-bottom: 10px;
    font-size: 8px;
    letter-spacing: .12em;
  }

  .websites-title {
    font-size: clamp(39px, 4.8vw, 47px);
    line-height: 1.06;
  }

  .websites-title .title-secondary {
    font-size: clamp(31px, 3.8vw, 37px);
  }

  .websites-specialties {
    margin-top: 12px;
    font-size: 8px;
    line-height: 1.65;
    letter-spacing: .035em;
  }

  .websites-specialties span { margin: 0 2px; }

  .hero-divider {
    width: 75%;
    margin: 12px 0 10px;
  }

  .websites-tagline {
    font-size: clamp(23px, 2.8vw, 28px);
    line-height: 1.25;
  }

  .websites-intro-text {
    margin-top: 11px;
  }

  .websites-intro-text p {
    margin-bottom: 9px;
    font-size: 11.5px;
    line-height: 1.55;
  }

  .websites-wave-transition { height: 105px; }

  .websites-gallery-intro { margin: 18px auto 24px; }
  .websites-gallery-intro-content { padding: 20px 24px; }

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

  .website-preview { height: 180px; }
  .website-card-content h3 { font-size: 25px; }
}



/* ==========================================================
   GAN DESIGNS | WEBSITE DESIGN PORTFOLIO
   RESPONSIVE CSS — PART 2 OF 2
   Mobile Phones | 700px and Below
========================================================== */


/* 07 | MOBILE BASE — 700px AND BELOW */
@media (max-width: 700px) {

  body.websites-page { font-size: 13px; }

  .websites-hero {
    display: block;
    width: 100%;
    min-height: 0;
    height: auto;
    overflow: hidden;
    background: #04132f;
  }

  /* Preserve the portrait image composition */
  .websites-hero-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .websites-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }

  /* Readable text above the devices */
  .websites-hero::before {
    background: linear-gradient(180deg,
      rgba(2,9,29,.97) 0%,
      rgba(2,11,34,.94) 22%,
      rgba(2,13,39,.83) 40%,
      rgba(2,13,39,.48) 56%,
      rgba(2,13,39,.10) 76%,
      transparent 100%);
  }

  .websites-hero::after {
    height: 65px;
    background: linear-gradient(0deg,
      rgba(2,11,34,.75), transparent);
  }

  .websites-hero-content {
    width: 100%;
    margin: 0;
    padding: 30px 20px clamp(290px, 72vw, 460px);
    text-align: center;
  }

  .websites-hero-content > * {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-eyebrow {
    margin-bottom: 10px;
    font-size: 9px;
    letter-spacing: .14em;
  }

  .websites-title {
    align-items: center;
    gap: 0;
    font-size: clamp(37px, 8vw, 54px);
    line-height: 1.07;
    text-align: center;
  }

  .websites-title .title-secondary {
    font-size: clamp(32px, 7vw, 47px);
  }

  .websites-specialties {
    margin-top: 12px;
    font-size: 8.5px;
    line-height: 1.8;
    letter-spacing: .035em;
  }

  .websites-specialties span { margin: 0 2px; }

  .hero-divider {
    width: min(300px, 80%);
    margin-top: 13px;
    margin-bottom: 12px;
  }

  .websites-tagline {
    font-size: clamp(24px, 5.5vw, 33px);
    line-height: 1.23;
  }

  .websites-intro-text {
    max-width: 480px;
    margin-top: 13px;
    text-align: center;
  }

  .websites-intro-text p {
    margin-bottom: 9px;
    font-size: 11.5px;
    line-height: 1.55;
  }

  /* Neon wave */
  .websites-wave-transition {
    height: 90px;
    background-position: center;
    background-size: cover;
  }

  /* Gallery introduction */
  .websites-gallery-intro {
    width: calc(100% - 28px);
    margin: 17px auto 21px;
  }

  .websites-gallery-intro-content {
    padding: 19px 16px;
    border-radius: 13px;
  }

  .gallery-eyebrow {
    font-size: 9px;
    letter-spacing: .1em;
  }

  .gallery-title {
    font-size: clamp(29px, 6vw, 39px);
  }

  .gallery-description {
    font-size: 12px;
    line-height: 1.6;
  }

  /* Single-column project gallery */
  .websites-gallery {
    width: calc(100% - 28px);
    padding-bottom: 30px;
  }

  .websites-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .website-preview {
    height: clamp(185px, 48vw, 285px);
  }

  .website-card-content { padding: 17px; }
  .website-card-content h3 { font-size: 28px; }

  .website-card-content p {
    font-size: 12.5px;
    line-height: 1.65;
  }

  .website-view-btn {
    min-height: 39px;
    padding: 10px 19px;
    font-size: 11px;
  }

  .websites-footer { padding: 20px 18px 25px; }
}


/* 08 | LARGE PHONES — 481px TO 700px */
@media (min-width: 481px) and (max-width: 700px) {

  .websites-hero-content {
    padding-top: 38px;
    padding-bottom: clamp(350px, 70vw, 460px);
  }

  .websites-title { font-size: clamp(44px, 7.5vw, 54px); }
  .websites-title .title-secondary { font-size: 43px; }

  .websites-intro-text { max-width: 440px; }
  .websites-wave-transition { height: 95px; }
}


/* 09 | STANDARD PHONES — 376px TO 480px */
@media (min-width: 376px) and (max-width: 480px) {

  .websites-hero-content {
    padding: 27px 17px 300px;
  }

  .hero-eyebrow { font-size: 8.5px; }

  .websites-title { font-size: clamp(35px, 8vw, 40px); }
  .websites-title .title-secondary { font-size: 35px; }

  .websites-specialties {
    margin-top: 10px;
    font-size: 8px;
    line-height: 1.7;
  }

  .hero-divider { margin-top: 11px; margin-bottom: 10px; }

  .websites-tagline { font-size: 26px; }

  .websites-intro-text {
    max-width: 390px;
    margin-top: 11px;
  }

  .websites-intro-text p {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .websites-wave-transition { height: 82px; }
  .website-preview { height: 205px; }
  .website-card-content h3 { font-size: 27px; }
}


/* 10 | SMALL PHONES — 375px AND BELOW */
@media (max-width: 375px) {

  .websites-hero-content {
    padding: 23px 12px 240px;
  }

  .hero-eyebrow {
    margin-bottom: 8px;
    font-size: 7.5px;
    letter-spacing: .09em;
  }

  .websites-title {
    font-size: clamp(29px, 8.7vw, 33px);
    line-height: 1.04;
  }

  .websites-title .title-secondary { font-size: 29px; }

  .websites-specialties {
    margin-top: 9px;
    font-size: 7px;
    line-height: 1.65;
    letter-spacing: .015em;
  }

  .websites-specialties span { margin: 0 1px; }

  .hero-divider {
    width: 75%;
    margin-top: 9px;
    margin-bottom: 9px;
  }

  .websites-tagline {
    font-size: 22px;
    line-height: 1.18;
  }

  .websites-intro-text { margin-top: 10px; }

  .websites-intro-text p {
    margin-bottom: 8px;
    font-size: 11.5px;
    line-height: 1.45;
  }

  .websites-wave-transition { height: 70px; }

  .gallery-title { font-size: 28px; }
  .website-preview { height: 170px; }

  .website-card-content { padding: 15px; }
  .website-card-content h3 { font-size: 25px; }
  .website-card-content p { font-size: 12px; }
}


/* 11 | SHORT LANDSCAPE MOBILE SCREENS */
@media (max-width: 900px) and (max-height: 500px)
       and (orientation: landscape) {

  .websites-hero {
    min-height: 0;
    height: auto;
  }

  .websites-hero-content {
    padding-top: 25px;
    padding-bottom: 40px;
  }

  .websites-title { font-size: 39px; }
  .websites-title .title-secondary { font-size: 32px; }
  .websites-tagline { font-size: 25px; }

  .websites-wave-transition { height: 75px; }
}


/* ==========================================================
   END RESPONSIVE CSS
========================================================== */
