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

  :root {
    --cream: #FAF3F1;
    --cream-warm: #F3E3E1;
    --sage: #C08A9B;
    --sage-deep: #6B2E43;
    --sage-pale: #EAD6DA;
    --gold: #A34C63;
    --black: #332428;
    --white: #FFFFFF;
    --border: rgba(107,46,67,0.14);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--black);
    overflow-x: hidden;
  }

  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--cream-warm); }
  ::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 2px; }

  /* ─── NAV ─── */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 4rem;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(250,243,241,0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    animation: navSlide 0.8s ease forwards;
  }

  @keyframes navSlide {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--sage-deep);
    text-decoration: none;
  }
  .nav-logo span { color: var(--gold); }
  .nav-logo { display: inline-flex; align-items: center; color: var(--sage-deep); transition: color 0.3s, transform 0.4s ease; }
  .nav-monogram { height: 58px; width: auto; display: block; overflow: visible; }
  .nav-monogram .nav-spark { fill: var(--gold); transform-box: fill-box; transform-origin: center; transition: transform 0.5s ease; }
  .nav-logo:hover { color: var(--gold); }
  .nav-logo:hover .nav-spark { transform: rotate(90deg) scale(1.25); }
  @media (max-width: 760px) { .nav-monogram { height: 46px; } }

  .nav-links {
    display: flex;
    gap: 2.6rem;
    list-style: none;
  }
  .nav-links a {
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage-deep);
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
  }
  .nav-links a:hover { color: var(--gold); }
  .nav-links a:hover::after { width: 100%; }

  .nav-mark {
    font-size: 1.2rem;
    color: var(--gold);
  }

  /* ─── HERO ─── */
 .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 0 4rem;
    padding-top: 78px;
    padding-bottom: 4rem;
    position: relative;
    background: var(--cream);
}

  .hero-content { animation: fadeUp 1s ease 0.3s both; }

  .hero-script {
    font-family: 'Tangerine', cursive;
    font-size: 2.6rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.3rem;
  }

  .hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.4rem, 6vw, 5.6rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 0.98;
    color: var(--sage-deep);
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.4rem;
  }

  .hero-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: #6E5A60;
    max-width: 400px;
    margin-bottom: 2.2rem;
  }

  .btn-primary {
    background: var(--sage-deep);
    color: var(--cream);
    padding: 0.95rem 2.1rem;
    margin-top: 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background 0.3s, transform 0.2s;
  }
  .btn-primary:hover { background: var(--gold); transform: translateY(-2px); }

.hero-stats {
    grid-column: 1 / -1;

    background: var(--sage);

    padding: 1.2rem 2rem;

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

    width: 100%;
    height: auto;

    box-shadow: 0 20px 50px rgba(63,74,54,0.18);
}
  .stat-item { text-align: center; color: var(--cream); flex: 1; position:relative; }
  .stat-item + .stat-item ::before {
    content: "";
    position: absolute;
    left: 0;
    top: 25%;
    height: 35%;
    width: 1px;
    background: rgba(244,239,228,0.25);}
  .stat-mark { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.4rem; }
  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
  }
  .stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-top: 2px;
  }

  .hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeUp 1s ease 0.5s both;
  }

  .hero-photo-frame {
    width: clamp(280px, 30vw, 400px);
    aspect-ratio: 3/4;
    border-radius: 200px 200px 4px 4px;
    overflow: hidden;
    background: var(--sage-pale);
    border: 1px solid var(--border);
    position: relative;
  }
  .hero-photo-frame img,
  .hero-photo-frame .hero-photo-placeholder {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .hero-photo-placeholder {
    display: flex; align-items: center; justify-content: center;
    color: var(--sage);
  }
  .hero-photo-placeholder .initials {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-style: italic;
    opacity: 0.45;
  }

  .hero-badge-ring {
    position: absolute;
    top: 1.2rem; right: -1.5rem;
    width: 110px; height: 110px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    font-size: 0.6rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sage-deep);
    padding: 0.8rem;
    line-height: 1.3;
    animation: spin 22s linear infinite;
  }
  .hero-badge-ring span { display: block; animation: unspin 22s linear infinite; }
  @keyframes spin { from { transform: rotate(0deg);} to { transform: rotate(360deg);} }
  @keyframes unspin { from { transform: rotate(0deg);} to { transform: rotate(-360deg);} }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ─── SECTION SHARED ─── */
  .section-label {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
  }
  .section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.1rem, 3.6vw, 2.9rem);
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--sage-deep);
  }

  /* ─── PROJECTS ─── */
  .projects { padding: 7rem 4rem; background: var(--cream); }

  .projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
  }

  .view-all {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage-deep);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 3px;
    transition: color 0.3s;
  }
  .view-all:hover { color: var(--gold); }

 .project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.project-card {
    background: var(--sage-deep);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3.1;
    animation: cardReveal 0.7s ease both;
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.15s ease-out, box-shadow 0.3s;
}
.project-card:hover { box-shadow: 0 25px 50px rgba(38,38,32,0.28); }
  .project-card:nth-child(1) { animation-delay: 0.05s; }
  .project-card:nth-child(2) { animation-delay: 0.15s; }
  .project-card:nth-child(3) { animation-delay: 0.25s; }
  .project-card:nth-child(4) { animation-delay: 0.35s; }
  .project-card:nth-child(5) { animation-delay: 0.45s; }
  .project-card:nth-child(6) { animation-delay: 0.55s; }

  @keyframes cardReveal {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .project-card img,
  .project-img-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2.6rem;
    color: rgba(244,239,228,0.35);
  }
  .p1 { background: linear-gradient(135deg, #c98a9b 0%, #6b2e43 100%); }
  .p2 { background: linear-gradient(135deg, #6b2e43 0%, #332428 100%); }
  .p3 { background: linear-gradient(135deg, #d8b0bb 0%, #c08a9b 100%); }
  .p4 { background: linear-gradient(135deg, #a34c63 0%, #6b2e43 100%); }
  .p5 { background: linear-gradient(135deg, #332428 0%, #6b2e43 100%); }
  .p6 { background: linear-gradient(135deg, #c08a9b 0%, #332428 100%); }
  .p7 { background: #FFFFFF; }
  .p8, .p9 { background: #332428; }
  .p-spruce { background: #0E2E52; }
  .p-spruce img { object-fit: cover; object-position: center 12%; }
  .p7 + .project-overlay { background: linear-gradient(0deg, rgba(38,38,32,0.95) 0%, rgba(38,38,32,0.92) 50%, rgba(38,38,32,0) 64%); }
  .p7 img { object-fit: contain; padding: 0.8rem 1rem 9.8rem; }

  .project-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(38,38,32,0.92) 0%, rgba(38,38,32,0.15) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.6rem;
  }

  .project-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
  .tag {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F0C9D3;
    border: 1px solid rgba(240,201,211,0.45);
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
  }
  .project-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.35rem;
  }
  .project-desc {
    font-size: 0.78rem;
    line-height: 1.6;
    color: rgba(244,239,228,0.7);
    margin-bottom: 0.8rem;
  }
  .project-link {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-bottom: 1px solid var(--gold);
    width: fit-content;
    padding-bottom: 2px;
  }

  .project-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }

  button.project-link { background: none; border: 0; border-bottom: 1px solid var(--gold); padding: 0 0 2px; font: inherit; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream); cursor: pointer; }

  /* ─── CRYSTAL POP-UP ─── */
  .crystal {
    border: 0; padding: 0; background: transparent; color: var(--cream);
    width: min(560px, calc(100vw - 2rem)); margin: auto; overflow: visible;
  }
  .crystal::backdrop { background: rgba(51, 36, 40, 0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .crystal-inner {
    position: relative; overflow: hidden;
    padding: 2.4rem 2.2rem 2rem; border-radius: 22px;
    background:
      linear-gradient(145deg, rgba(255,255,255,0.30), rgba(255,255,255,0.06) 45%, rgba(234,214,218,0.18)),
      rgba(107, 46, 67, 0.62);
    backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), inset 0 -1px 0 rgba(255,255,255,0.12), 0 40px 90px -30px rgba(51,36,40,0.75);
  }
  /* Faceted, iridescent edge like cut crystal */
  .crystal-inner::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: conic-gradient(from 210deg, #ffffff, #EAD6DA, #C9B6F0, #B7E3F2, #FAF3F1, #F0C9D3, #ffffff);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
  }
  /* Light catching the glass */
  .crystal-inner::after {
    content: ''; position: absolute; top: -40%; left: -30%; width: 60%; height: 180%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: rotate(18deg);
  }
  .crystal[open] .crystal-inner { animation: crystalIn 0.45s cubic-bezier(.2,.8,.2,1); }
  .crystal[open] .crystal-inner::after { animation: shine 1.6s ease 0.15s both; }
  @keyframes crystalIn { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }
  @keyframes shine { from { left: -60%; } to { left: 120%; } }
  @media (prefers-reduced-motion: reduce) { .crystal[open] .crystal-inner, .crystal[open] .crystal-inner::after { animation: none; } }

  .crystal-close {
    position: absolute; top: 0.9rem; right: 1rem; z-index: 1;
    width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
    border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.12); color: var(--cream);
    font-size: 1.3rem; line-height: 1;
  }
  .crystal-close:hover { background: rgba(255,255,255,0.25); }
  .crystal-status { font-size: 0.72rem; letter-spacing: 0.08em; color: #F0C9D3; margin-bottom: 0.5rem; }
  .crystal-title { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 600; line-height: 1; }
  .crystal-lead { font-size: 0.98rem; line-height: 1.65; margin: 0.9rem 0 1.4rem; color: rgba(250,243,241,0.92); }
  .crystal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,0.18); }
  .crystal-label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #F0C9D3; margin-bottom: 0.45rem; }
  .crystal-text { font-size: 0.86rem; line-height: 1.65; color: rgba(250,243,241,0.85); }
  .crystal-list { list-style: none; display: grid; gap: 0.35rem; font-size: 0.86rem; color: rgba(250,243,241,0.85); }
  .crystal-list li::before { content: '✦'; color: #F0C9D3; font-size: 0.6rem; margin-right: 0.55rem; vertical-align: 2px; }
  .crystal-go { margin-top: 1.2rem; }
  .crystal-go[hidden], [data-os][hidden] { display: none !important; }
  a.testimonial-author { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
  .crystal-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
  @media (max-width: 560px) {
    .crystal-inner { padding: 2.2rem 1.4rem 1.6rem; }
    .crystal-grid { grid-template-columns: 1fr; gap: 1rem; }
    .crystal-title { font-size: 2rem; }
  }

  /* ─── TOOLS + ABOUT ─── */
  .about {
    padding: 6rem 4rem 7rem;
    background: var(--cream-warm);
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 5rem;
    align-items: start;
  }

  .tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
    margin-top: 1.5rem;
  }
  .tool-pill {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.1rem 0.6rem;
    text-align: center;
  }
  .tool-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--cream);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.6rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 0.85rem;
  }
  .tool-label {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage-deep);
  }

  .about-text {
    font-size: 0.95rem;
    line-height: 1.85;
    color: #6E5A60;
    margin-bottom: 1.1rem;
  }
  .about-signature {
    font-family: 'Tangerine', cursive;
    font-size: 2.4rem;
    color: var(--gold);
    margin-top: 0.8rem;
  }

  .exp-item {
    display: flex;
    gap: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }
  .exp-year {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    min-width: 50px;
    padding-top: 3px;
  }
  .exp-role { font-size: 0.9rem; font-weight: 500; color: var(--sage-deep); }
  .exp-company { font-size: 0.78rem; color: #8F7A80; margin-top: 2px; }

  /* ─── PROCESS ─── */
  .process { padding: 6rem 4rem 7rem; background: var(--cream); text-align: center; }
  .process .section-label, .process .section-heading { text-align: center; }
  .process-heading-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 3.5rem; }

  .process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
  }
  .process-step { position: relative; padding: 0 0.6rem; }
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px; right: -0.6rem;
    width: 1.2rem; height: 1px;
    background: var(--border);
  }
  .process-num {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--sage-pale);
    color: var(--sage-deep);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
  }
  .process-title {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sage-deep);
    margin-bottom: 0.5rem;
  }
  .process-desc { font-size: 0.78rem; line-height: 1.6; color: #8F7A80; }

  /* ─── TESTIMONIAL / CTA ─── */
  .testimonial {
    background: var(--sage-deep);
    color: var(--cream);
    padding: 5rem 4rem;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  .testimonial-mark { font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: var(--gold); margin-bottom: 1rem; }
  .testimonial-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  .testimonial-author {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .testimonial-cta { text-align: left; border-left: 1px solid rgba(244,239,228,0.2); padding-left: 3rem; }
  .testimonial-cta h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
  }
  .testimonial-cta p { font-size: 0.85rem; color: rgba(244,239,228,0.7); margin-bottom: 1.5rem; line-height: 1.6; }
  .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--gold);
    color: var(--cream);
    text-decoration: none;
    padding: 0.85rem 1.8rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.3s;
  }
  .btn-outline:hover { background: var(--gold); color: var(--sage-deep); }

  /* ─── FOOTER ─── */
  footer {
    background: var(--cream-warm);
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
  }
  .footer-left { display: flex; align-items: center; gap: 1rem; }
  .footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--sage-deep); }
  .footer-logo span { color: var(--gold); }
  .footer-info { font-size: 0.78rem; color: #8F7A80; }
  .footer-social {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

  .footer-social a {
    width: 38px; height: 38px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--sage-deep);
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
  }
  .footer-social a svg { width: 16px; height: 16px; fill: currentColor; }
  .footer-social a:hover { background: var(--sage-deep); color: var(--cream); }
  .footer-copy { font-size: 0.7rem; color: #8F7A80; width: 100%; text-align: center; margin-top: 1.5rem; }

  /* ─── SCROLL REVEAL ─── */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    nav { padding: 0 1.5rem; }
    .nav-links { display: none; }
    .about { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 3rem; }
    .projects { padding: 4rem 1.5rem; }
    .process { padding: 4rem 1.5rem; }
    .process-steps { grid-template-columns: 1fr; gap: 2rem; }
    .process-step::after { display: none; }
    .testimonial { grid-template-columns: 1fr; padding: 3.5rem 1.5rem; }
    .testimonial-cta { border-left: none; padding-left: 0; border-top: 1px solid rgba(244,239,228,0.2); padding-top: 2rem; }
    footer { padding: 2.5rem 1.5rem; flex-direction: column; text-align: center; }
  }

  /* ─── PHONE: photo left, info right, side-by-side like the reference ─── */
 @media (max-width: 760px) {

    .hero {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: flex-start;

        padding: 0 1.1rem;
        padding-top: 88px;
        padding-bottom: 2.5rem;
        gap: 1rem;

        min-height: 0;
    }

    .hero-image-wrapper {
        order: 1;
        flex: 0 0 38%;
        max-width: 38%;
        align-self: flex-start;
    }
    .hero-photo-frame {
      height: 215px;
    }

    .hero-photo-frame {
        width: 100%;
        border-radius: 100px 100px 4px 4px;
    }

    .hero-badge-ring {
        width: 74px;
        height: 74px;
        font-size: 0.44rem;
        top: 0.4rem;
        right: -0.9rem;
    }

    .hero-content {
        order: 2;
        flex: 1 1 0;
        min-width: 0;
    }

    .hero-script {
    font-size: 1.5rem;
    margin-bottom: 0;
    }

    .hero-name {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
        margin-bottom: 0.35rem;
    }

    .hero-title {
        font-size: 0.56rem;
        letter-spacing: 0.16em;
        margin-bottom: 0.65rem;
    }

    .hero-bio {
        font-size: 0.8rem;
        line-height: 1.5;
        max-width: none;
        margin-bottom: 0.8rem;
    }

    .btn-primary {
        padding: 0.7rem 1.2rem;
        font-size: 0.62rem;
    }

    /* ─── STATS BAR ─── */

   .hero-stats {
    order: 3;

    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    margin-top: -1.1rem;
    padding: 0.65rem 0.8rem;

    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0;
}

    .stat-item {
        flex: 1 1 0;
        text-align: center;
    }

    .stat-item + .stat-item {
        border-left: 1px solid rgba(244,239,228,0.25);
    }

    .stat-mark {
    font-size: 0.55rem;
    margin-bottom: 0.15rem;
    }

    .stat-num {
        font-size: 1.05rem;
    }

    .stat-label {
        font-size: 0.5rem;
    }

    /* ─── PROJECTS: horizontal scroll on phone only ─── */
    .project-grid {
        display: flex;
        gap: 1.1rem;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;

        scrollbar-width: none;
    }

    .project-grid::-webkit-scrollbar {
        display: none;
    }

    .project-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
        aspect-ratio: 4/3.6;
    }
}