  /* ===== Palette (accents only; no swatches shown) ===== */
  :root{
    --clay:#993300;          /* Wimbledon Green */
    --blue:#0d1a2d;          /* US Open Blue */
    --ball:#b5d331;          /* Tennis Ball Yellow */
    --page:#0d1a2d;      /* soft navy background */
    --card:#0d1a2d;          /* Card surface */
    --ink:#Fefff3;
    --border-dark:#0d1a2d;  /* border on navy */
    --radius:20px;
    --gap:16px;
    --hero-h:520px;          /* equal height for the two hero cards */
  }


  /* ===== Reset & Base ===== */
  *,*::before,*::after{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{
    margin:0; background:var(--page); color:#E9EEF9;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    line-height:1.6; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  }
  img{ max-width:100%; display:block; }
  a{ color:inherit; text-decoration:none; }
  :focus-visible{ outline:2px solid #fefff3; outline-offset:3px; }


  /* ===== Layout helpers ===== */
  .container{ width:min(1200px,92vw); margin-inline:auto; }
  .stack-xxl > * + *{ margin-top:5rem; }
  .stack-xl  > * + *{ margin-top:3.5rem; }
  .stack-lg  > * + *{ margin-top:2.25rem; }
  .stack-md  > * + *{ margin-top:1.25rem; }


  /* ===== Type ===== */
  h1,h2,h3{
    font-family: Montserrat, Inter, sans-serif;
    letter-spacing:-.015em; margin:0; line-height:1.15;
  }
  h1{ font-weight:800; font-size:clamp(2.4rem,4vw + 1rem,4.6rem); color:#FFFFFF; }
  h2{ font-weight:700; font-size:clamp(1.6rem,1.2vw + 1.2rem,2.4rem); color:#fefff3; }
  h3{ font-weight:600; font-size:1.12rem; color:#FFFFFF; }
  .eyebrow{ text-transform:uppercase; letter-spacing:.14em; font-size:.78rem; color:#FFFFFF; font-weight:500; }
  .lead{ font-size:clamp(1.02rem,.5vw + 1rem,1.2rem); color:#fefff3; }
  .small{ font-size:.9rem; color:#FFFFFF; }


  /* ===== Top-left Menu ===== */
  .top-left{
    position:fixed; top:18px; left:18px; z-index:1000;
    display:flex; align-items:center; gap:10px;
  }
  .brand{
    font-family: Montserrat, Inter, sans-serif; font-weight:800; letter-spacing:.06em;
    font-size:.95rem; text-transform:uppercase;
    padding:.6rem .8rem; border:1px solid var(--border-dark); border-radius:999px; background:#b5d331; color:var(--ball);
  }
  .menu-toggle{
    width:46px; height:46px; border-radius:50%; display:grid; place-items:center;
    border:1px solid var(--ball); background:#fefff3; color: var(--border-dark); cursor:pointer; transition:transform .2s ease;
  }
  .menu-toggle:hover{ transform:translateY(-1px); }


  .drawer{
    position:fixed; inset:0 0 0 auto; width:min(380px,86vw);
    background:var(--page); color:#Fefff3; border-left:1px solid #Fefff3;
    transform:translateX(102%); transition:transform .28s ease-in-out; z-index:999;
    display:grid; grid-template-rows:auto 1fr auto;
  }
  .drawer.open{ transform:translateX(0); }
  .drawer header{ padding:1.1rem 1.25rem; border-bottom:1px solid #Fefff3; }
  .drawer h3{ font-size:1rem; letter-spacing:.08em; text-transform:uppercase; }
  .drawer nav a{ display:flex; align-items:center; gap:.9rem; padding:1rem 1.25rem; border-bottom:1px solid #eee; font-weight:600; font-family: Montserrat, Inter, sans-serif; }
  .drawer nav a svg{ width:22px; height:22px; }
  .drawer footer{ padding:1rem 1.25rem; font-size:.9rem; color:#666; }


  /* ===== Sections ===== */
  section{ padding-block:4.2rem; border-top:1px solid var(--border-dark); }
  #home{ border-top:none; padding-top:6.2rem; }


  /* Accent bar under the H1 (name) */
.bio .accent{
display:block;
width:84px;                 /* a touch wider than section bars */
height:3px;
border-radius:4px;
margin:1.4rem auto 0;       /* centered under the name */
background-image:linear-gradient(
  90deg,
  #fefff3 0 40%,
  var(--clay) 40% 70%,
  var(--ball) 70% 100%
);
}
  /* ===== Cards (rounded rectangles) ===== */
  .card{
    border:1px solid var(--border-dark);
    border-radius:var(--radius);
    background:var(--ball);
    overflow:hidden;
    color:var(--card);
  }


  /* ===== Top Bio Card (name centered + paragraph) ===== */
  .bio{
    padding:1.4rem 1.6rem;
    text-align:center;
  }
  .bio p{ margin:.75rem auto 0; max-width:60ch; color: #000;; }


  /* ===== Hero (two equal compact cards) ===== */
  /* --- FINAL lock for hero pair --- */
.hero{
display: grid;                  /* keep grid */
grid-template-columns: 560px 420px;    /* left | right */
justify-content: center;
align-items: start;                     /* align tops exactly */
gap: var(--gap);
}
/* Nudge the hero grid slightly down for spacing below H1 */
.hero{
margin-top: 2.4rem; /* adjust this if you want more/less gap */
}
/* Right card: remove default figure margin + remove aspect-ratio */
.profile{
width: 420px;
height: var(--hero-h);
margin: 0;                              /* <-- IMPORTANT: figure default margin removed */
border: 1px solid var(--border-dark);
border-radius: var(--radius);
background: #0d1a2d;
display: grid;
place-items: center;
color: #000;
font-size: .95rem;
/* kill older rule */
aspect-ratio: auto;      
}


/* Left card: same fixed height so edges line up */
.intro{
height: var(--hero-h);
box-sizing: border-box;
}


/* Center the two buttons perfectly under the paragraph */
.cta-row{
display: flex;
align-items: center;
justify-content: center;
gap: .6rem;
flex-wrap: wrap;
margin-top: 1.8rem;     /* adjust this to move up/down */
transform: translateY(-18px); /* lift the row up elegantly without shifting box height */
}
  .intro{
    padding:1.6rem;
    height:var(--hero-h);
    display:flex; flex-direction:column; justify-content:space-between;
  }
  .intro .eyebrow{ color:#000; }
  .profile{
    height:var(--hero-h);
    border:1px solid var(--border-dark);
    border-radius:var(--radius);
    background:#0d1a2d;
    display:grid; place-items:center; color:#7a7a7a; font-size:.95rem;
    aspect-ratio:4/5;
    color: #000;
    text-align: center;
  }


  .intro p{color: #000;
   }
  /* ===== Buttons (same size, elegant) ===== */
  .cta-row{ display:flex; align-items:center; gap:.6rem; flex-wrap:wrap; }
  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
    min-width:200px; height: 40px; padding:0 1rem;
    border:1px solid #000; background:#fefff3; color:#000;
    text-transform:uppercase; letter-spacing:.1em; font-weight:700; border-radius:999px;
    transition:background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
    font-size:.9rem;
  }
  .btn:hover{ transform:translateY(-1px); }
  .btn svg{ width:16px; height:16px; }


  /* Primary button — Asuntha green */
.btn--primary{
background: var(--clay);          /* solid clay fill */
border-color: var(--clay);
color: #fefff3;                        /* white text */
transition: background-color .2s ease, color .2s ease, transform .2s ease;
}


.btn--primary:hover{
background: #0d1a2d;                /* a deeper green tone for hover */
border-color: #0d1a2d;
color: #fefff3;
transform: translateY(-2px);        /* gentle lift on hover */
}
  .btn--ghost{ border-color:#cfcfcf; }
  .btn--ghost:hover{ border-color:var(--blue); color:var(--blue); }


  /* ===== Headline accent ===== */
  h2 + .accent{ width:64px; height:3px; border-radius:4px; margin-top:.8rem;
    background-image:linear-gradient(90deg, #fefff3 0 40%, var(--clay) 40% 70%, var(--ball) 70% 100%);
  }


  /* ===== Gallery (navy section, 1 large square + 4 small squares) ===== */
  .gallery{
    display:grid; grid-template-columns:1.1fr .9fr; gap:var(--gap);
  }
  .big{
    border:1px solid var(--border-dark); border-radius:var(--radius);
    aspect-ratio:1/1; display:grid; place-items:center;
    background:rgba(255,255,255,.06); color:#e8e8e8;
  }
  .quad{ display:grid; grid-template-columns:1fr 1fr; gap:var(--gap); }
  .tile{
    border:1px solid var(--border-dark); border-radius:var(--radius);
    aspect-ratio:1/1; display:grid; place-items:center;
    background:rgba(255,255,255,.06); color:#e8e8e8;
  }


  @media (max-width:900px){
    .hero{ grid-template-columns:1fr; }
    .intro,.profile{ height:auto; }
    .gallery{ grid-template-columns:1fr; }
  }


  /* ===== Booking strip ===== */
  .booking{
    border:1px solid var(--border-dark); border-radius:var(--radius);
    padding:1.25rem; display:flex; gap:1rem; align-items:center; justify-content:space-between; flex-wrap:wrap;
    background:var(--card); color:#0a0a0a;
  }
  .booking h3{ margin:0; }


  /* ===== Quote (small, elegant color) ===== */
  .quote{
    border:1px solid var(--clay);
    background:linear-gradient(0deg, rgba(205,228,58,.16), rgba(205,228,58,.16));
    color:#0a0a0a; border-radius:var(--radius);
    padding:1rem 1.2rem; font-family: Montserrat, Inter, sans-serif;
    font-weight:700; letter-spacing:.01em; text-align:center; font-size:1rem;
  }


  /* ===== Footer ===== */
  footer{ border-top:1px solid var(--border-dark); padding:1.1rem 0; color:#d8e1f5; }
  .foot-grid{ display:grid; grid-template-columns:1fr auto; align-items:center; }
  .social{ display:inline-flex; gap:14px; align-items:center; }
  .social a svg *{ stroke:#fefff3; }
  .social a svg circle[fill], .social a svg path[fill]{ fill:#fefff3; }




/* Limit width and center key blocks */
.limit { width: min(980px, 94vw); margin-inline: auto; }


/* Bio (name row) centered with same limit */
.bio { max-width: 980px; margin-inline: auto; }


/* Two hero cards: fixed, elegant proportions and centered together */
.hero{
grid-template-columns: 560px 420px;   /* left text | right photo */
justify-content: center;              /* center the pair in the page */
align-items: stretch;
gap: var(--gap);
}
/* ===== Ready to train? circular grid ===== */
.train { margin-top: 2.2rem; }
.train .accent { margin-top: .6rem; }


/* grid of 3 × 2 circles */
/* Compact grid layout */
.skills{
display:grid;
grid-template-columns: repeat(3, 150px);
justify-content:center;
gap:20px 40px;
margin: 1.4rem auto 2rem;
max-width:640px;
}
.skill:hover{
background:rgba(255,255,255,.05);
border-color:var(--ball);
backdrop-filter:blur(3px);
transform:translateY(-1px);
}


/* smaller, elegant circles */
.skill{
width:120px; height:120px;
border-radius:50%;
border:1px solid rgba(255,255,255,.2);
background:transparent;
display:grid; place-items:center;
font-weight:600;
font-size:.9rem;
color:#fefff3;
transition:all .2s ease;
}


/* Glass hover — delicate, not glowing */
.cta-circle{
width:130px; height:130px;
border-radius:50%;
display:grid; place-items:center;
margin:1.2rem auto 0;
background:var(--clay);
color:var(--ball);
font-weight:700;
font-size:.9rem;
letter-spacing:.04em;
border: 2px solid #b5d331
}
.skill {
border-color: var(--ball) !important;
}
.skill:hover {
border-color: var(--ball) !important;
}
/* book a session button - match header style */


.cta-button{
display:inline-flex; align-items:center; justify-content:center;
min-width:220px; height:44px; padding:0 24px;
border-radius:999px;
background:var(--clay);              /* lime fill */
border:2px var(--ball);               /* white border */
color:#fefff3;                       /* text */
font-weight:700; letter-spacing:.08em;
transition: all .18s ease;
}
.cta-button:hover{
background:#fefff3;
color:var(--clay);
transform:translateY(-2px);
}


.train-cta{
display:flex; justify-content:center;
margin: 50px 0 70px; /* top = gap from grid, bottom = gap before contact */
}


/* circular “bubbles” — calmer base */


.skill{
width: 148px;
height: 148px;
border-radius: 50%;
display: grid;
place-items: center;
text-align: center;
padding: 0 14px;
border: 1px solid rgba(255,255,255,.18);      /* softer ring */
background: rgba(255,255,255,.03);            /* very subtle */
color: #fefff3;
font-weight: 700;
line-height: 1.25;
letter-spacing: .02em;
}




/* frosted-glass on hover */
.skill:hover{
background: rgba(255,255,255,.07);
border-color: rgba(255,255,255,.28);
backdrop-filter: blur(6px) saturate(140%);
transform: translateY(-2px);
}


/* nice breathing room between headline bar and grid */
#train { padding-top: 2.2rem; }
/* keep the whole section contained */
.train-limit{ width:min(980px, 94vw); margin-inline:auto; }


/* three-color bar */
.accent-bar{
width:90px;
height:4px;
margin:2.4rem auto 1.6rem;
border-radius:4px;
background:linear-gradient(to right, #fefff3 40%, var(--clay) 70%, var(--ball) 100%);
}


/* Contact strip (no divider, more air) */
/* CONTACT SECTION — Left aligned, elegant spacing */
.contact-strip {
border-top: none;
margin-top: 2.4rem;
padding-bottom: 2.4rem;
}


.contact-row {
display: flex;
flex-direction: column;
align-items: flex-start;  /* aligned left */
justify-content: center;
gap: 10px;
text-align: left;
font-weight: 600;
font-size: 0.95rem;
color: #fefff3;
line-height: 1.6;
margin-left: 7.5vw; /* gentle left margin for visual harmony */
}


/* Lime green icons with high-end refinement */
.contact-row svg path,
.contact-row svg rect,
.contact-row svg circle {
stroke: var(--ball);
stroke-width: 1.6;
}


.contact-row svg path[fill],
.contact-row svg rect[fill],
.contact-row svg circle[fill] {
fill: var(--ball);
}


/* copyright centered below but shifted left subtly */
footer {
border-top: none;
padding: 0;
margin-top: 1rem;
display: flex;
justify-content: flex-start; /* aligns to left */
align-items: center;
margin-left: 7.5vw; /* match contact-row alignment */
}


footer .small {
color: #dfe7f5;
font-size: 0.9rem;
letter-spacing: 0.02em;
}
/* Responsive: circles stack gracefully */
@media (max-width: 560px){
.skills { grid-template-columns: 1fr 1fr; }
.skill { width: 140px; height: 140px; }
}
/* Same height so top/bottom edges line up perfectly */
.intro, .profile{ height: var(--hero-h); }


/* Buttons centered in that left hero card */
.cta-row{ justify-content: center; }


/* Gallery cards centered; headings can stay left */
.gallery{
max-width: 980px;                     /* center the grid, not the heading */
margin-inline: auto;
grid-template-columns: 560px 420px;   /* big square | 2x2 squares */
}


/* About card centered under its left-aligned heading */
.about-card{
max-width: 820px;
margin-inline: auto;
}
/* ===== Neat bottom layout ===== */


/* shared paddings/limits */
.section-pad{ padding-block: 3.25rem; }
.limit-xl{ width:min(1100px,92vw); margin-inline:auto; }


/* About grid: left content + right photo */
.about-grid{
display:grid;
grid-template-columns: 1.05fr .95fr;
gap: 28px;
align-items:start;
}


/* left column pieces */
.about-left h2{ margin-bottom:.4rem; }
.about-card{
border:1px solid var(--border-dark);
border-radius: var(--radius);
background: var(--ball);
color:#0A0A0A;
padding: 1.25rem 1.2rem;
max-width: 520px;
}


/* soft “dot” list under bio (optional) */
.keypoints{ margin: 1rem 0 0; padding:0; list-style:none; }
.keypoints li{
display:flex; align-items:flex-start; gap:.6rem;
margin:.45rem 0; color:#dfe8ff;
}
.keypoints li::before{
content:""; width:8px; height:8px; border-radius:50%;
background: var(--clay); margin-top:.45rem;
}


/* right image card */
.about-photo{
aspect-ratio: 4/5; border-radius: var(--radius);
border:1px solid var(--border-dark);
background:#0d1a2d; display:grid; place-items:center;
color:#7a7a7a; font-size:.95rem;
}


/* contact panel */
.contact-panel{
margin-top: 1.25rem;
border-top:1px solid var(--border-dark);
padding-top: 1rem;
display:grid; grid-template-columns: 1fr 1fr 1fr; gap:16px;
max-width:620px;
}
.contact-item{ display:flex; align-items:center; gap:.7rem; color:#cfe0ff; }
.contact-item svg{ width:18px; height:18px; }


/* booking CTA aligned like the example */
.contact-cta{
margin-top: 1rem;
display:flex; gap:.6rem; flex-wrap:wrap;
}
.contact-cta .btn{ min-width:unset; padding:0 .95rem; height:40px; }
.contact-cta .btn--primary{
background:var(--clay); border-color:var(--clay); color:#fefff3;
}
.contact-cta .btn--ghost{ border-color:#a6b4d6; color:#e6edff; }


/* small accent bar under “About” heading */
.about-accent{
width:72px; height:4px; border-radius:4px; margin:.45rem 0 1rem;
background-image: linear-gradient(90deg,#fefff3 0 35%, var(--clay) 35% 70%, var(--ball) 70% 100%);
}


@media (max-width:900px){
.about-grid{ grid-template-columns: 1fr; }
.about-photo{ order:-1; }           /* photo first on mobile */
.contact-panel{ grid-template-columns:1fr; }
}
/* ===== About two-column layout (centered) ===== */
.about-grid{
display:grid;
grid-template-columns: 560px 420px;   /* left card | right photo */
justify-content:center;
align-items:center;                   /* centers the left card vertically vs tall photo */
gap: var(--gap);
}
.about-card{ padding:1.25rem 1.5rem; }
.about-photo{
height: 520px;           /* keep the tall feel */
aspect-ratio: 4 / 5;
}


/* ===== Services (pill bubbles) ===== */
#services { border-top: 1px solid var(--border-dark); }
.bubble-grid{
display:flex; flex-wrap:wrap; gap:10px 12px; justify-content:center;
margin-top:.6rem;
}
.bubble{
border:1px solid var(--border-dark);
border-radius:999px;
padding:.55rem .95rem;
background:rgba(255,255,255,.06);
color:#fefff3; font-weight:700; letter-spacing:.02em; white-space:nowrap;
transition:transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.bubble:hover{ transform:translateY(-1px); border-color:var(--ball); background:rgba(205,228,58,.12); }


/* One-line contact (wraps gracefully on small screens) */
.contact-line{
display:flex; align-items:center; justify-content:center; gap:14px;
flex-wrap:wrap; margin-top:1rem; color:#dfe7f5;
}
.contact-line .dot{ opacity:.5; }


/* Keep the “Book a session” button aligned center */
#services .cta-row{ justify-content:center; }
/* ——————— PERFECT CENTERING FIX ——————— */
#services {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh; /* full screen height */
margin: 0;
padding: 0;
}


.train {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}


.skills {
margin-bottom: 40px; /* space below the circles */
}


.train-cta {
margin-bottom: 50px; /* space between button and contact info */
}


.contact-strip {
margin-top: 0; /* reset any earlier spacing */
padding-bottom: 40px; /* give breathing room above footer */
}
/* ——————— CENTER COPYRIGHT TEXT UNDER CONTACT INFO ——————— */
footer {
border-top: none; /* remove divider line */
padding: 0;
margin-top: 6px; /* space below contact info */
display: flex;
justify-content: center;
align-items: center;
position: relative;
top: -8px;
}


footer .small {
text-align: center;
color: #dfe7f5;
font-size: 0.9rem;
}
/* ===== FIX CONTACT ICON SIZE + COLOR (override) ===== */
.contact-row .item {
display: flex;
align-items: center;
gap: 10px;
}


/* lock icon dimensions no matter what */
.contact-row .item svg{
width: 18px !important;
height: 18px !important;
display: inline-block;
vertical-align: -2px;
flex: 0 0 18px;
}


/* lime strokes/fills only inside contact row */
.contact-row .item svg *[stroke] { stroke: var(--ball) !important; stroke-width: 1.6; }
.contact-row .item svg *[fill]   { fill:   var(--ball) !important; }


/* copyright now part of the contact block */
.copyright-line {
text-align: right;
margin-top: 1rem;
margin-left: 7.5vw; /* same left offset as contact */
color: #dfe7f5;
font-size: 0.9rem;
letter-spacing: 0.02em;
font-weight: 500;
}
/* ===== MOBILE-ONLY OPTIMIZATION (paste at end of your <style>) ===== */
/* Limits: only apply under 900px so desktop stays untouched */
@media (max-width: 900px) {
/* Make the hero a single-column stack and keep desktop layout untouched */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-top: 1.6rem; /* slightly tighter on mobile */
}


/* Put the profile photo BEFORE the intro content on mobile */
/* (profile card will appear visually first) */
.profile {
  order: -1;         /* move photo above the intro card */
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: calc(var(--radius) / 1.6);
  padding: 0;
}
.intro { order: 0; }


/* Make images behave: true-to-size without distortion */
.profile img,
.about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover; /* crops elegantly when needed */
  display: block;
  border-radius: inherit;
}


/* Name size: reduce on phone so it fits in one line */
/* desktop unaffected because this only applies under 900px */
h1 {
  font-size: clamp(1.8rem, 6.4vw, 2.8rem); /* smaller + responsive */
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: .6rem;
}


/* Keep the little accent bar centered under the name (always) */
.bio .accent {
  margin-left: auto;
  margin-right: auto;
  width: clamp(56px, 20vw, 84px);
}


/* Buttons: keep centered and scale */
.cta-row { justify-content: center; gap: .5rem; margin-top: 1rem; transform: none; }
.btn { min-width: 180px; height: 44px; font-size: .9rem; padding: 0 .9rem; }


/* Train area: center grid + spacing tweaks */
#services, .train {
  padding-top: 1.6rem;
}
.skills {
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 16px;
  margin: 0 auto 18px;
  max-width: 420px;
}
.skill { width: 100%; height: 120px; }


/* CTA (book a session) - keep lime visual and centered */
.train-cta { width: 100%; display:flex; justify-content:center; margin: 18px 0 22px; }
.cta-button { min-width: 220px; }


/* CONTACT: center and stack nicely */
.contact-row {
  margin-left: 0;             /* remove desktop left offset */
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 12px;
  flex-direction: column;
  padding: 6px 12px 0;
}
.contact-row .item { font-weight:700; }


/* lime icon strokes on mobile too */
.contact-row .item svg *[stroke] { stroke: var(--ball) !important; stroke-width:1.6 !important; }
.contact-row .item svg *[fill] { fill: var(--ball) !important; }


/* copyright: center directly underneath contact block */
.copyright-line, footer .small {
  text-align: right;
  margin: 12px 0 28px;
  display:block;
  width:100%;
  color: #fefff3;;
  font-size: .92rem;
  font-weight:500;
}


/* Tighten section padding on small phones so content fits better */
section { padding-block: 2rem; }
#home { padding-top: 3.5rem; }


/* Prevent the hero's fixed heights from forcing scroll / shrinking */
.intro, .profile { height: auto; min-height: 160px; }


/* small tweak to the top-left fixed FA badge on very small screens */
.top-left { gap:8px; left:10px; top:10px; }
.brand { padding:.5rem .7rem; font-size:.85rem; }


/* make sure the accent under h2 keeps scale on mobile */
h2 { font-size: clamp(1.2rem, 4.8vw, 1.6rem); }
h2 + .accent { width: clamp(48px, 18vw, 64px); }


/* ensure the gallery stacks cleanly */
.gallery { grid-template-columns: 1fr; gap: 12px; }
.big, .tile { aspect-ratio: 1/1; }
}


/* Extra tiny-device polish: reduce H1 further at very small widths */
@media (max-width: 360px) {
h1 { font-size: 1.7rem; }
.skills { gap: 12px; }
.skill { height: 112px; }
}
/* ---------------- Mobile-only About tweaks (paste at end of your stylesheet) ---------------- */


/* Tighter, consistent section breathing on small screens */
@media (max-width: 900px) {
/* Slightly reduce overall section padding so everything breathes equally */
section { padding-block: 2.2rem; }


/* STACK the about-grid vertically and force paragraph first, photo second */
.about-grid {
  display: flex;
  flex-direction: column;    /* stack vertically on mobile */
  gap: 28px;                 /* consistent breathing between the two cards */
  align-items: stretch;
  max-width: 92vw;
  margin-inline: auto;
  padding-inline: 12px;
}
.about-card { order: 1; }    /* paragraph box first */
.about-photo { order: 2; }   /* image below the paragraph */


/* make the about-card (lime) full width and balanced padding */
.about-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.35rem;
  border-radius: 16px;
}


/* scale the photo card to full width and keep aspect ratio */
.about-photo {
  width: 100%;
  height: auto; /* let aspect-ratio or content decide height */
  padding: 0;   /* remove inner padding on the photo card */
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
}
.about-photo > img,
.about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;  /* keep image visually pleasing */
  display: block;
}


/* Make the H1 smaller on phones so “ASUNTHA FLEMING” fits as desired */
h1 {
  font-size: clamp(1.6rem, 6.2vw, 2.6rem); /* tuned for mobile */
  line-height: 1.05;
  letter-spacing: -0.01em;
}


/* Reduce the accent bar size slightly and keep it centered */
.bio .accent,
h2 + .accent {
  width: 64px;
  height: 3px;
  margin-top: .9rem;
}


/* tighten CTA row spacing and keep buttons center */
.cta-row { gap: .5rem; margin-top: 1.1rem; transform: translateY(-6px); }
.btn { min-width: 160px; font-size: .85rem; height: 40px; padding: 0 .9rem; }


/* Tools: ensure the skills grid wraps nicely */
.skills {
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  justify-items: center;
  margin-inline: auto;
}


/* Footer / contact breathing — keep consistent spacing */
.contact-strip { padding-bottom: 2.6rem; }
.contact-row { margin-left: 0; align-items: flex-start; text-align: left; gap: 14px; }
.contact-row .item { justify-content: left; }


.copyright-line { margin-left: 0; text-align: right; margin-top: 40px; }
}


/* ---------------- Desktop preservation guard ---------------- */
/* Prevent the desktop layout from subtly changing between 900–1100px.
 This lock ensures the desktop grid keeps its exact columns until a stricter breakpoint. */
@media (min-width: 1100px) {
.hero, .about-grid, .gallery { grid-template-columns: 560px 420px; justify-content:center; }
.intro, .profile { height: var(--hero-h); }
}


/* ========= TWEAKS: BOOK BUTTON + CONTACT ALIGNMENT ========= */


/* 1) Drop the BOOK A SESSION button further away from the circles */
.train-cta{
margin: 70px 0 60px;  /* more space above the button, nice breathing below */
}
/* FINAL MOBILE TWEAK — center intro card + book-style text */
@media (max-width: 900px) {


/* keep hero stacked but perfectly centered */
.hero.limit{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  margin-inline: auto;
}


/* lime intro card: centered and same padding on both sides */
.card.intro{
  width: 100%;
  max-width: 92vw;
  margin: 0 auto;
  padding: 1.6rem 1.5rem 1.9rem;
  border-radius: 18px;
  text-align: justify;
  text-align-last: left;
  line-height: 1.7;
}


.card.intro p{
  margin: 0 0 1.2rem;
}


/* buttons: dead center under the text */
.card.intro .cta-row{
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
  transform: none;
}


/* make sure the profile card lines up with the intro card width */
.hero.limit .profile{
  width: 92vw;
  max-width: 92vw;
  margin: 0 auto;
  border-radius: 18px;
}
}
/* ==== HARD OVERRIDE: hero centering + name spacing on mobile ==== */
@media (max-width: 900px) {


/* More breathing under ASUNTHA FLEMING + accent bar */
#home .panel.bio h1 {
  margin-bottom: 0.3rem;
}


#home .panel.bio .accent {
  margin-top: 0.7rem;      /* space below name */
  margin-bottom: 1.4rem;   /* space before the first card */
  margin-left: auto;
  margin-right: auto;
  width: 64px;
}


/* Center the whole hero stack itself */
#home .hero.limit {
  max-width: 430px;        /* Tight column */
  width: 100%;
  margin: 0 auto;          /* dead center horizontally */
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: stretch;
}


/* Make BOTH cards fill that centered column exactly */
#home .hero.limit .profile,
#home .hero.limit .card.intro {
  width: 100%;
  margin: 0;               /* no random side offsets */
  border-radius: 18px;
}


/* Don’t let the buttons pull the card visually down */
#home .hero.limit .cta-row {
  transform: none;
  margin-top: 1.3rem;
  justify-content: center;
}
}


/* Move hamburger menu button to top-right elegantly */
.top-right {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1000;
  display: flex;
  align-items: center;
}


/* Mobile precision (Tight) */
@media (max-width: 900px) {
  .top-right {
      top: 12px;
      right: 12px;
  }
}
/* ===== MENU DRAWER ICONS → Lime Green (var(--ball)) ===== */
.drawer nav a svg *[stroke] {
  stroke: var(--ball) !important;
}


.drawer nav a svg *[fill] {
  fill: var(--ball) !important;
}


/* Optional: make the text turn lime on hover (classy touch) */
.drawer nav a:hover {
  color: var(--ball);
}
.drawer header h3 {
  color: var(--ball) !important;
  letter-spacing: .12em;
  font-weight: 700;
}


.drawer header{
border-bottom:1px solid #Fefff3;
padding:1.1rem 1.25rem;
display:flex;
align-items:center;
justify-content:flex-end;   /* ← pushes MENU to the RIGHT */
padding-right:0.75rem;      /* ← adjust this to control how far right */
}


.drawer h3{
margin:0;
font-size:1rem;
letter-spacing:.08em;
text-transform:uppercase;
}
/* Make gallery and about images fill their existing cards */
.big img,
.tile img,
.about-photo img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
border-radius: inherit;
}


.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* ===== Lightbox ===== */
.lightbox {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.85);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
transition: opacity .25s ease;
z-index: 2000;
}


.lightbox.open {
opacity: 1;
pointer-events: auto;
}


.lightbox__inner {
position: relative;
max-width: 90vw;
max-height: 90vh;
}


.lightbox__img {
width: 100%;
height: auto;
border-radius: 10px;
}


.lightbox__close {
position: absolute;
top: -40px;
right: 0;
font-size: 32px;
background: none;
border: none;
color: white;
cursor: pointer;
}
/* FORCE PERFECT SQUARE IMAGE GRID */
.gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1.5rem;
}


.gallery .item {
width: 100%;
aspect-ratio: 1 / 1; /* SQUARE */
overflow: hidden;
border-radius: 20px;
background: #1c2a3a;
}


/* Make image fill the square (crop) */
.gallery .item img {
width: 100%;
height: 100%;
object-fit: cover; /* CROPS but keeps layout perfect */
display: block;
}
img {
border-radius: 25px !important;
overflow: hidden;
}


/* Add breathing room below the About image on desktop */
@media (min-width: 900px) {
.about__image {
  margin-bottom: 80px !important;
}
}
#profile-photo {
border: none !important;
border-radius: 25px !important;
}
/* Scroll reveal */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.6s ease, transform 0.6s ease;
}


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