:root{
  --royal:#4169E1; 
  --royal-dark:#3154b2; 
  --sky:#87CEFA; 
  --gold:#FFD700; 
  --ink:#0f172a; 
  --muted:#475569; 
  --paper:#fffdf8;

  --shadow:0 10px 28px rgba(15,23,42,.1); 
  --ring:rgba(65,105,225,.35); 
  --maxw:1100px; 
  --r:16px;

  color-scheme: light dark;

  --surface-soft: #f7fbff;     /* testimonials background */
  --surface: #ffffff;          /* cards, inputs, list items */
  --surface-raised: #eef4ff;   /* slightly darker than surface-soft */
  --border: #e5e7eb;

  --bg: var(--surface-soft);
  --text: var(--ink);
}

[data-theme="dark"]{
  color-scheme: dark;

  --bg: #0b0f14;
  --text: #e6eaf0;
  --muted: #d0d7e2;

  --surface-soft: #0b1220;   /* slightly darker */
  --surface: #0f172a;        /* deep ink navy */
  --surface-raised: #111a2e; /* slightly lighter than surface */
  --border: rgba(255,215,0,.18);

  /* slightly softer shadow in dark mode */
  --shadow: 0 10px 28px rgba(0,0,0,.45);
  --ring: rgba(135,206,250,.25);
}

[data-theme="dark"] body{
  -webkit-font-smoothing: antialiased;
}

[data-theme="dark"] .cta:hover{
  color:#111;
}

/* Subtle gold glow in dark mode for raised panels */
[data-theme="dark"] #portfolio .card,
[data-theme="dark"] #services li,
[data-theme="dark"] #contact form,
[data-theme="dark"] #contact .grid > div,
[data-theme="dark"] #testimonials blockquote{
  box-shadow:
    0 12px 30px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,215,0,.10),
    0 0 18px rgba(255,215,0,.10);
}

@media (hover: hover) and (pointer: fine){
  [data-theme="dark"] .cta:hover{
    background: linear-gradient(
      135deg,
      var(--gold) 0%,
      #ffea8a 100%
    );
    color:#1a1a1a;
    box-shadow:
      0 16px 40px rgba(0,0,0,.65),
      0 0 22px rgba(255,215,0,.55);
  }
}

*{
  box-sizing:border-box;
}

/* Smooth theme transition */
html,
body,
.card,
#services li,
#testimonials blockquote,
input,
textarea,
footer{
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

/* Raised panels (portfolio cards, services items, contact columns) */
#portfolio .card,
#services li,
#contact form,
#contact .grid > div,
#testimonials blockquote{
  background: var(--surface-raised);
  border: 1px solid var(--border);
}

/* Hover lift */
@media (hover: hover) and (pointer: fine){
  #portfolio .card:hover,
  #services li:hover,
  #contact form:hover,
  #contact .grid > div:hover,
  #testimonials blockquote:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0,0,0,.12);
  }
}

/* Keep motion accessible */
@media (prefers-reduced-motion: reduce){
  #portfolio .card:hover,
  #services li:hover,
  #contact form:hover,
  #contact .grid > div:hover,
  #testimonials blockquote:hover{
    transform: none;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce){
  html,
  body,
  .card,
  #services li,
  #testimonials blockquote,
  input,
  textarea,
  footer{
    transition: none;
  }
}

body{
  margin:0;
  font-family:Lato,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.7;
  font-size: clamp(16px, 1.6vw, 18px);
}

/* Sticky site header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
    135deg,
    var(--royal) 0%,
    #1E90FF 50%,
    var(--sky) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,215,0,.25);
}

/* Underline effect */
/* Global link styles */
.top-nav a{
  position: relative;
  display: inline-flex;          
  align-items: center;           
  justify-content: center;  
  /* existing nav link styles */
  color: #f9fafb;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  padding: 4px 8px;
  border-radius: 999px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

[data-theme="dark"] .top-nav a{
  color: var(--text);
}

.top-nav a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}

/* Pill-shaped halo glow */
.top-nav a::before{
  content:"";
  position:absolute;
  inset:-6px;                 /* glow spread */
  border-radius: inherit;     /* key line */
  box-shadow: 0 0 18px rgba(255,215,0,.35);
  opacity: 0;
  pointer-events:none;
  transition: opacity .18s ease;
}




.top-nav a:hover::after{
  width: 100%;
}

/* Active link state */
.top-nav a.active::after{
  width: 100%;
}

/* Keep active nav link styled like hover */
.top-nav a.active{
  background: rgba(255, 215, 0, 0.18);
  color: #fffbe8;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Top nav content inside sticky header */
.top-nav{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Links row */
.top-nav-links{
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  overflow-x: auto;
  overflow-y: hidden;          /* key */
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;

  touch-action: pan-x;         /* key: lock gestures to x */
  overscroll-behavior-x: contain;
}

[data-theme="dark"] .site-header{
  background: rgba(15, 23, 42, 0.55); /* ink navy glass */
  border-bottom-color: rgba(255,215,0,.2);
}

/* Hover state */
.top-nav a:hover{
  background: rgba(255, 215, 0, 0.18);
  color: #fffbe8;
  transform: translateY(-1px);
  text-decoration: none;
}

/* Small screens: stack a bit tighter */
@media (max-width: 640px){
  .top-nav{
    padding-inline: 10px;
  }

  .top-nav-links{
    overflow-x: auto;
    white-space: nowrap;
  }

  .top-nav-links::-webkit-scrollbar{
    display: none;
  }
}



.top-nav-links > a{
  flex: 0 0 auto;
}

.pronounce{
  font-size: 0.9em;
  opacity: 0.9;
  font-style: italic;
}

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

/* Global link styles */
a{
  color:var(--royal);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

[data-theme="dark"] a{
  color: var(--sky);
}

[data-theme="dark"] a:hover{
  color: #b6e3ff;
}

/* Layout */
.section{
  position: relative;
  max-width:var(--maxw);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 6.5rem) 1.25rem;
  background: transparent;
}

.section::before{
  content:"";
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:64px;
  height:2px;
  background:linear-gradient(
    90deg,
    transparent,
    var(--royal),
    transparent
  );
  opacity:.35;
}

[data-theme="dark"] .section::before{
  opacity:.6;
}

.section h2{
  font-size:clamp(24px,3.6vw,36px);
  margin:0 0 clamp(16px, 2vw, 50px);
  text-align:center;
}

.section h2::after{
  content:"";
  display:block;
  width: clamp(72px, 10vw, 220px);
  height:3px;
  background:var(--gold);
  margin:clamp(14px, 2vw, 18px) auto 0;
  border-radius:2px;
}

.section + .section{
  border-top: 1px solid var(--border);
}

:root:not([data-theme="dark"]) .section + .section{
  border-top-color: var(--royal);
}

.hero + .section{
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.lead{
  max-width:72ch;
  margin:0 auto 40px;
  color:var(--muted);
  text-align:center; 
  font-size: larger;
}

/* Hero (simple, classic) */
.hero{
  position:relative;
  text-align:center;
  color:#fff;
  padding: 72px 20px 125px;
  background:
    radial-gradient(1200px 440px at 50% -30%, rgba(255,215,0,.22) 0%, rgba(255,215,0,0) 60%),
    linear-gradient(135deg, var(--royal) 0%, #1E90FF 50%, var(--sky) 100%);
  overflow:hidden;
}


/* Dark mode toggle (blue + gold) */
/* Theme toggle as a regular inline button inside the nav */
.theme-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,215,0,.55);

  background: linear-gradient(135deg, rgba(65,105,225,.28), rgba(255,215,0,.18));
  box-shadow: 0 10px 22px rgba(0,0,0,.18), 0 0 14px rgba(255,215,0,.22);

  color: #fff;
  cursor:pointer;

  font-size: 0.9rem;
  line-height: 1;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transform: translateZ(0);
}

.theme-toggle:hover{
  background: linear-gradient(135deg, rgba(65,105,225,.36), rgba(255,215,0,.26));
  box-shadow: 0 12px 28px rgba(0,0,0,.22), 0 0 18px rgba(255,215,0,.32);
  transform: translateY(-1px);
}

.theme-toggle:active{
  transform: translateY(0px) scale(.98);
}

.theme-toggle:focus-visible{
  outline: 2px solid transparent;
  box-shadow: 0 0 0 4px var(--ring), 0 0 16px rgba(255,215,0,.35);
}

/* Light/Dark toggle — dual labels */
.theme-toggle .toggle-text{
  display:inline-flex;
  gap:4px;
  font-weight:800;
  letter-spacing:.2px;
  font-size:14px;
}

.theme-toggle .label-light,
.theme-toggle .label-dark{
  opacity: .55;
}

:root:not([data-theme="dark"]) .theme-toggle .label-light{ opacity: 1; }
:root:not([data-theme="dark"]) .theme-toggle .label-dark{ opacity: .55; }

[data-theme="dark"] .theme-toggle .label-light{ opacity: .55; }
[data-theme="dark"] .theme-toggle .label-dark{ opacity: 1; }

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(255,215,0,.08),rgba(255,215,0,.05));
  pointer-events:none;
}

/* Hero fades into the page background */
.hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height: 70px;
  background: radial-gradient(ellipse at bottom, rgba(0,0,0,0.04), transparent 70%); /* linear-gradient(to bottom, rgba(0,0,0,0), var(--bg)); */
  pointer-events:none;
}

.hero h1{
  margin:0 0 12px;
  font-size:clamp(26px,4.6vw,50px);
  line-height:1.1;
  letter-spacing:-.01em;
  display:inline-flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  text-shadow:0 0 10px rgba(255,215,0,.35);
}

.hero h1::after{
  content:"★";
  color:var(--gold);
  font-size:1.35em;
  filter:drop-shadow(0 0 6px rgba(255,215,0,.65));
}

.hero p{
  margin:0 auto 14px;
  max-width:720px;
  font-size:clamp(16px,2.3vw,20px);
}

.hero .cta{
  margin-top: 2.25rem;
}

/* CTA: keep transitions ONLY on the base class */
.cta{
  display:inline-block;
  margin-top:6px;
  padding:14px 22px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--royal) 0%, var(--royal-dark) 100%);
  color:#fff;
  font-weight:800;
  letter-spacing:.3px;
  box-shadow:var(--shadow),0 0 10px rgba(255,215,0,.35);
  text-decoration:none;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background-color .25s ease,
    color .25s ease,
    filter .25s ease;
}

.cta:hover{
  background: var(--gold);
  color:#222;
  text-decoration:none;
  filter:brightness(1.05);
  transform: translateY(-2px);
}

/* Brighter CTA text in dark mode */
[data-theme="dark"] .cta{
  background: linear-gradient(
    135deg,
    #5b7cff 0%,
    var(--royal) 55%,
    #2f4ed6 100%
  );
  color:#f8fafc;

}

.cta-row{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 28px;
}

.cta-row .cta{
  margin-top: 0; /* remove extra top margin so they align */
}

.cta-center{
  text-align:center;
  margin: 28px 0 56px;
  text-align: center; margin-top: 28px; 
}

/* If a .section comes right after the Support button block, give it the same divider */
.cta-center + .section{
  border-top: 1px solid var(--border);
}

/* Keep light-mode royal divider behavior consistent */
:root:not([data-theme="dark"]) .cta-center + .section{
  border-top-color: var(--royal);
}

/* About */
#about .grid{
  margin-top: 20px;     
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 4vw, 56px); 
  display: grid;
  align-items: center;
}

.coming-soon{
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.profile{
  width:260px;
  height:300px;
  border-radius:50%;
  object-fit:cover;
  margin: 40px auto 0;  
  box-shadow: 
    0 0 10px rgba(255, 215, 0, 0.7),
    0 0 25px rgba(255, 215, 0, 0.6),
    0 0 40px rgba(255, 215, 0, 0.5),
    var(--shadow); /* gold glow + existing shadow */
  outline: 4px solid rgb(105, 147, 245) 
}

/* Portfolio */
.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:22px;
}

.panel{
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition:
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    transform .2s ease;
}

.card{
  grid-column:span 6;
  border-radius:var(--r);
  box-shadow:var(--shadow);
  overflow:hidden;
  border:1px solid rgba(255,215,0,.22);
  transition:transform .15s ease, box-shadow .15s ease;
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 36px rgba(0,0,0,.12),0 0 14px rgba(255,215,0,.28);
}

.card img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}

.pad{
  padding:16px;
}

.card h3{
  margin:0 0 6px;
  color:var(--royal);
}

.card p{
  margin:0 0 10px;
  color:var(--muted);
}

.card a{
  display:inline-block;
  font-weight:700;
  color:#fff;
  background:var(--royal);
  padding:8px 14px;
  border-radius:10px;
  box-shadow:0 0 8px rgba(255,215,0,.3);
}

.card a:hover{
  background:var(--gold);
  color:#222;
  text-decoration:none;
}

/* Services */
#services ul{
  list-style:none;
  margin:16px auto;
  padding:0;
  max-width:820px;
  display:grid;
  gap:12px;
}

#services li{
  position:relative;
  padding:12px 16px 12px 36px;
  background: var(--surface-raised);
  border-radius:12px;
  box-shadow:0 2px 10px rgba(15,23,42,.06);
  border:1px solid rgba(255,215,0,.25);
}

#services li::before{
  content:"★";
  position:absolute;
  left:12px;
  top:10px;
  color:var(--gold);
}

.services-note{
  max-width: 720px;
  margin: 10px auto 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.98em;
}

/* Reuse Services list styling on other pages */
.services-list ul{
  list-style:none;
  margin:16px auto;
  padding:0;
  max-width:820px;
  display:grid;
  gap:12px;
}

.services-list li{
  position:relative;
  padding:12px 16px 12px 36px;
  background: var(--surface-raised);
  border-radius:12px;
  box-shadow:0 2px 10px rgba(15,23,42,.06);
  border:1px solid rgba(255,215,0,.25);
}

.services-list li::before{
  content:"★";
  position:absolute;
  left:12px;
  top:10px;
  color:var(--gold);
}

#process ol{
  max-width: 640px;
  margin: 0 auto;
  padding-left: 1.4rem;
  font-size: larger;
  color: var(--muted);
}

#process strong{
  color: var(--royal);
}

/* AI Art */
#ai-art .chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  list-style:none;
  padding:0;
  margin: 12px 0 clamp(32px, 4vw, 44px);
}

#ai-art .chips li{
  padding:8px 12px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--royal) 0%, var(--royal-dark) 100%);
  color:#fff;
  border:1px solid rgba(255,215,0,.55);
  box-shadow:0 0 10px rgba(255,215,0,.25);
  font-weight:700;
  letter-spacing:.2px;
}

.ai-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
  margin-bottom: 22px;
}



/* AI gallery thumbnails */
.ai-thumb {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 14px;
  display: block;
}

/* Image inside the button */
.ai-thumb img{
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,215,0,.25);
  box-shadow: 0 6px 16px rgba(0,0,0,.08), 0 0 12px rgba(255,215,0,.18);
  transition: transform .25s ease, box-shadow .25s ease;
}


/* Hover */
.ai-thumb:hover img{
  transform: scale(1.03);
  box-shadow: var(--shadow), 0 0 12px rgba(255, 215, 0, 0.25);
}

/* Keyboard focus */
.ai-thumb:focus-visible{
  outline: 2px solid transparent;
  box-shadow: 0 0 0 4px var(--ring), 0 0 16px rgba(255,215,0,.35);
  border-radius: 14px;
}

/* Modal overlay */
.img-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Force-hide modal unless aria-hidden is false */
.img-modal[aria-hidden="true"] { display: none; }
.img-modal[aria-hidden="false"] { display: flex; }


/* Stage wraps image + caption */
.img-stage{
  margin: 0;
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: 92vw;
  max-height: 92vh;
}

.img-modal-content {
  max-width: 92vw;
  max-height: 80vh;
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(0,0,0,.6);
}

.img-caption{
  color: #fff;
  opacity: .9;
  font-size: 0.95rem;
  text-align: center;
  max-width: 70ch;
}

/* Close button */
.img-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 42px;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
  line-height: 1;
}

.img-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  color: #fff;

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

  font-size: 34px;
  line-height: 1;
  padding: 0;
  font-family: inherit;
  cursor: pointer;

  backdrop-filter: blur(6px);
}

.img-close,
.img-nav{
  z-index: 2;
  user-select: none;
}


.img-prev{ left: 16px; }
.img-next{ right: 16px; }

.img-nav:hover{
  background: rgba(0,0,0,.55);
}


.img-close:focus-visible{
  outline: 2px solid transparent;
  box-shadow: 0 0 0 4px rgba(255,215,0,.25);
}

.img-nav:focus-visible{
  box-shadow: 0 0 0 4px var(--ring);
}

.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}


/* On small screens, keep arrows reachable */
@media (max-width: 520px){
  .img-prev{ left: 8px; }
  .img-next{ right: 8px; }
  .img-nav{
    width: 46px;
    height: 46px;
    font-size: 30px;
  }
}



/* Testimonials */
#testimonials blockquote{
  margin:0 auto;
  max-width:820px;

  background: var(--surface-raised);
  padding: 26px 28px;

  border: 1px solid var(--border);
  border-left: 6px solid var(--gold);
  border-radius:16px;

  box-shadow:var(--shadow);
  font-style:italic;
}

[data-theme="dark"] #testimonials blockquote{
  box-shadow:
    0 14px 34px rgba(0,0,0,.60),
    0 0 0 1px rgba(255,215,0,.14),
    0 0 26px rgba(255,215,0,.14);
}

#testimonials cite{
  display:block;
  margin-top:10px;
  color:var(--muted);
  font-style:normal;
}

/* Contact */
#contact .grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:start;
}

#contact form,
#contact .grid > div{
  background: var(--surface-raised);
  padding: 24px;
  border-radius: 16px;
}

/* CONTACT: form + sidebar */
.contact-grid{
  align-items: start;
  gap: 26px;
}

.contact-form{
  display: grid;
  gap: 14px;
}

.form-help{
  margin: 0 0 6px;
  opacity: .9;
  font-size: .95rem;
}

.field{
  display: grid;
  gap: 8px;
}

.field label{
  font-weight: 800;
  letter-spacing: .2px;
}

.contact-aside .contact-panel{
  padding: 18px;
  border-radius: 18px;
}

.contact-title{
  margin: 0 0 10px;
}

.contact-line{
  margin: 10px 0;
}

.contact-note{
  margin: 14px 0 0;
  opacity: .9;
  font-size: .95rem;
}

@media (max-width: 820px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
}

[data-theme="dark"] input,
[data-theme="dark"] textarea{
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

form{
  display:grid;
  gap:12px;
}

input,
textarea{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font:inherit;
  box-shadow: inset 0 1px 0 rgba(15,23,42,.06);
}

input::placeholder,
textarea::placeholder{
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}

textarea{
  min-height:140px;
  resize:vertical;
}

input:focus,
textarea:focus{
  outline:2px solid transparent;
  box-shadow:
    0 0 0 4px var(--ring),
    0 0 0 7px rgba(255,215,0,.18);
  border-color: #c8d1ff;
}

button[type="submit"]{
  border:0;
  cursor:pointer;
  font:inherit;
  border-radius:12px;
  padding:12px 18px;
  background:var(--royal);
  color:#fff;
  font-weight:800;
  box-shadow:var(--shadow),0 0 8px rgba(255,215,0,.3);
}

button[type="submit"]:hover{
  background:var(--gold);
  color:#222;
}

/* Footer */
footer{
  text-align:center;
  color: var(--muted);
  padding:28px 20px;
  border-top:2px solid var(--gold);
}

footer .footer-link{
  color: var(--royal);
  font-weight: 700;
  text-decoration: underline;
  padding: 2px 6px;
  border-radius: 10px;
  border: 1px solid transparent;
}

footer .footer-link:hover{
  text-decoration: none;
  border-color: rgba(255,215,0,.45);
  box-shadow: 0 0 0 3px rgba(255,215,0,.14);
}

[data-theme="dark"] footer .footer-link:hover{
  color: var(--sky);
  border-color: rgba(255,215,0,.55);
  box-shadow: 0 0 0 3px rgba(255,215,0,.18);
}


/* Responsive */
@media (max-width:900px){
  #about .grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  #about .profile{
    margin-top: 24px;
  }

  #contact .grid{
    grid-template-columns:1fr;
  }

  .card{
    grid-column:span 12;
  }
}

.toggle-label{
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 14px;
  opacity: .95;
}

@media (max-width: 600px){
  .toggle-label{
    display:none;
  }
}

@media (hover: hover) and (pointer: fine){
  .panel:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0,0,0,.12);
  }
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 9999;
  text-decoration: none;
}

.skip-link:focus{
  left: 12px;
}

html{
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior: auto;
  }
}

.contact-line .availability-days{
  color: var(--royal);
  font-weight: 700;
}

.contact-line .availability-note{
  color: var(--text);                 /* keep it same as body text */
  font-weight: 600;                   /* optional: slight emphasis */
  text-decoration: underline;
  text-decoration-color: var(--gold); /* gold underline */
  text-underline-offset: 3px;         /* a bit of breathing room */
}

/* Pricing / Support layout */
.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.pricing-card{
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--r);
}

.pricing-card .cta{
  margin-top:auto;
}

.pricing-card h3{
  margin: 0 0 6px;
  color: var(--royal);
}

.pricing-price{
  margin: 0 0 10px;
  font-size: 1.05em;
}

.pricing-desc{
  margin: 0 0 14px;
  color: var(--muted);
}



@media (max-width: 900px){
  .pricing-grid{
    grid-template-columns: 1fr;
  }
}

/* Two-card layout (support) */
@media (min-width: 901px){
  .pricing-grid--two{
    grid-template-columns: repeat(2, minmax(320px, 1fr));
  }
}

@media (max-width: 950px){
  .top-nav-links{
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
 
}

 .top-nav-links::-webkit-scrollbar{ display:none; }

.back-link{
  display:inline-block;
  margin: 0 0 14px;
  color:#9fb7ff;
  text-decoration:none;
  font-weight:700;
  opacity:.95;
}

.back-link:hover{ text-decoration: underline; }
