/* ==========================================================
   FAJAR — PHOTOGRAPHY PORTFOLIO
   Neo Brutalism · Mobile First · Vanilla CSS
   ========================================================== */

:root {
  --cream:  #f3eedf;
  --navy:   #171932;
  --ink:    #1e1e2f;
  --pink:   #f56fa1;
  --cyan:   #58d2cf;
  --yellow: #ffe600;
  --purple: #a55df6;
  --orange: #ff9800;
  --green:  #8bd61a;
  --red:    #f05454;
  --white:  #ffffff;

  --border: 4px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius: 18px;
  --radius-sm: 12px;

  --font-head: 'Space Grotesk', 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============ SVG ICONS ============ */
.icon {
  width: 1.1em; height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.18em;
  flex-shrink: 0;
  display: inline-block;
}
.icon-heart { stroke: var(--pink); fill: var(--pink); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

.section { padding: 70px 0; position: relative; }
.section-cream { background: var(--cream); }
.section-dark {
  background: var(--navy);
  color: var(--cream);
  background-image: radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-box {
  background: var(--white);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 44px; text-align: center;
}
.loader-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 74px; height: 74px;
  background: var(--yellow);
  border: var(--border); border-radius: 18px;
  box-shadow: var(--shadow-sm);
  animation: bounce 0.8s infinite alternate ease-in-out;
}
.loader-icon .icon { width: 38px; height: 38px; stroke-width: 2; }
@keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-12px); } }
.loader-text {
  font-family: var(--font-mono); font-weight: 700;
  margin-top: 10px; font-size: 1.05rem;
}
.dots span { animation: blink 1.2s infinite; }
.dots span:nth-child(2) { animation-delay: .2s; }
.dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,100% { opacity: .2; } 50% { opacity: 1; } }
.loader-bar {
  margin-top: 14px; height: 14px; width: 200px;
  border: 3px solid var(--ink); border-radius: 99px;
  overflow: hidden; background: var(--cream);
}
.loader-bar-fill {
  height: 100%; width: 0; background: var(--pink);
  animation: loadbar 1.4s ease forwards;
}
@keyframes loadbar { to { width: 100%; } }

/* ============ NAVBAR ============ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: var(--yellow);
  border-bottom: var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 42px; height: 42px; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan); border: 3px solid var(--ink);
  border-radius: 10px; box-shadow: 3px 3px 0 var(--ink);
}
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
}
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-btn {
  font-family: var(--font-mono); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .5px;
  background: var(--white); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 8px 14px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.nav-btn:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.nav-btn.active { background: var(--pink); color: var(--white); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: var(--white); border: 3px solid var(--ink);
  border-radius: 10px; box-shadow: 3px 3px 0 var(--ink);
  padding: 11px 10px; cursor: pointer;
}
.hamburger span {
  width: 22px; height: 3px; background: var(--ink);
  border-radius: 4px; transition: transform .25s ease, opacity .25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--navy); color: var(--yellow);
  border-bottom: var(--border);
  overflow: hidden; white-space: nowrap;
  padding: 8px 0;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 700;
  font-size: .8rem; letter-spacing: 2px;
}
.marquee-track .icon { width: .85em; height: .85em; fill: var(--yellow); }
.ticker-track span { display: inline-flex; align-items: center; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ DOODLES ============ */
.doodle { position: absolute; z-index: 0; pointer-events: none; }
.doodle-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: #c8a2f0; border: 3px solid var(--ink);
  top: 6%; left: 8%;
}
.doodle-circle-2 {
  width: 40px; height: 40px; background: var(--pink);
  top: auto; bottom: 6%; left: 12%;
}
.doodle-square {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--cyan); border: 3px solid var(--ink);
  top: 9%; right: 6%; transform: rotate(-10deg);
}
.doodle-diamond {
  width: 46px; height: 46px;
  background: var(--orange); border: 3px solid var(--ink);
  transform: rotate(45deg);
  top: 42%; right: 10%;
}
.doodle-star {
  width: 36px; height: 36px;
  background: var(--purple);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  top: 30%; left: 4%;
}
.doodle-star-2 {
  background: var(--orange);
  width: 26px; height: 26px;
  top: 65%; left: auto; right: 5%;
}

.float-1 { animation: floaty 5s ease-in-out infinite; }
.float-2 { animation: floaty 6.5s ease-in-out infinite reverse; }
.float-3 { animation: floaty2 7s ease-in-out infinite; }
.float-4 { animation: spinFloat 9s linear infinite; }
@keyframes floaty {
  0%,100% { translate: 0 0; }
  50%     { translate: 0 -18px; }
}
@keyframes floaty2 {
  0%,100% { translate: 0 0; }
  50%     { translate: 12px -14px; }
}
@keyframes spinFloat {
  0%   { transform: rotate(0deg) translateY(0); }
  50%  { transform: rotate(180deg) translateY(-12px); }
  100% { transform: rotate(360deg) translateY(0); }
}

/* ============ BUTTONS / BADGES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .5px;
  padding: 13px 22px;
  border: var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-pink   { background: var(--pink);   color: var(--white); }
.btn-white  { background: var(--white);  color: var(--ink); }
.btn-dark   { background: var(--navy);   color: var(--cream); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-insta  { background: #e1306c;       color: var(--white); }
.btn-wa     { background: #5b5bf0;       color: var(--white); }
.btn-block  { width: 100%; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-weight: 700; font-size: .78rem;
  letter-spacing: .5px;
  padding: 8px 16px;
  border: 3px solid var(--ink); border-radius: 99px;
  box-shadow: var(--shadow-sm);
}
.badge-green { background: var(--green); color: var(--ink); }

/* ============ HERO ============ */
.hero { padding-top: 56px; overflow: hidden; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  font-weight: 700; line-height: 1.1;
  margin: 20px 0 16px;
}
.hl-underline {
  color: var(--pink);
  box-shadow: inset 0 -14px 0 var(--yellow);
  padding: 0 4px;
}
.dot-pink { color: var(--pink); }
.hero-desc { font-size: 1.02rem; color: #4d4d63; max-width: 520px; }

mark { padding: 1px 6px; border-radius: 5px; font-weight: 600; color: var(--ink); }
.hl-cyan   { background: #b8ecea; }
.hl-pink   { background: #fcd2e2; }
.hl-yellow { background: var(--yellow); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; }
.stat-card {
  background: var(--white);
  border: var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 12px 20px; min-width: 92px;
  display: flex; flex-direction: column;
}
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.stat-label { font-size: .78rem; color: #6a6a80; }

/* hero mockup */
.hero-right { display: flex; justify-content: center; }
.mockup-card {
  position: relative;
  background: var(--white);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px; width: 100%; max-width: 440px;
  transform: rotate(1deg);
}
.mockup-screen {
  background: var(--navy);
  border: 3px solid var(--ink); border-radius: 14px;
  padding: 18px; font-family: var(--font-mono); font-size: .82rem;
}
.mockup-dots { display: flex; gap: 7px; margin-bottom: 12px; }
.mockup-dots i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.term-line { margin: 4px 0; }
.t-green { color: #4be37a; } .t-yellow { color: var(--yellow); }
.t-pink { color: var(--pink); } .t-cyan { color: var(--cyan); }
.t-arrow { color: #8888aa; }

.mockup-profile {
  display: flex; align-items: center; gap: 14px; margin-top: 18px;
}
.mockup-avatar {
  width: 58px; height: 58px; object-fit: cover;
  border: 3px solid var(--ink); border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--yellow);
}
.mockup-name { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.mockup-handle { font-family: var(--font-mono); font-size: .78rem; color: #8a8a9d; }

.sticker {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  padding: 6px 13px;
  border: 3px solid var(--ink); border-radius: 9px;
  box-shadow: 3px 3px 0 var(--ink);
  z-index: 2; white-space: nowrap;
}
.tilt-l { transform: rotate(-6deg); }
.tilt-r { transform: rotate(5deg); }
.sticker-cyan   { background: var(--cyan);   top: -16px; left: -8px; }
.sticker-purple { background: var(--purple); color: var(--white); }
.sticker-mid    { top: 42%; right: -14px; }
.sticker-orange { background: var(--orange); }
.sticker-bottom { bottom: -16px; right: 18px; }
.sticker-yellow { background: var(--yellow); }

/* ============ SECTION HEADERS ============ */
.section-head { margin-bottom: 40px; }
.section-label {
  display: inline-block;
  font-family: var(--font-mono); font-weight: 700; font-size: .8rem;
  letter-spacing: 1px;
  padding: 8px 18px;
  border: 3px solid var(--ink); border-radius: 10px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.label-cyan   { background: var(--cyan); }
.label-orange { background: var(--orange); }
.label-pink   { background: var(--pink); color: var(--white); }
.label-purple { background: var(--purple); color: var(--white); }

.section-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.9rem, 5.5vw, 2.8rem);
  line-height: 1.15;
}
.section-title.on-dark { color: var(--cream); }
.title-pink   { color: var(--pink); }
.title-yellow { color: var(--yellow); }
.title-purple { color: var(--purple); }
.title-orange { color: var(--orange); }
.title-icon {
  font-size: .65em; vertical-align: middle;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5em; height: 1.5em;
  background: var(--white); color: var(--ink);
  border: 3px solid var(--ink); border-radius: .4em;
  box-shadow: 3px 3px 0 var(--ink);
}
.section-sub { color: #7a7a90; margin-top: 8px; max-width: 560px; }
.section-sub.on-dark { color: #9c9cb8; }

/* ============ CARD COLORS ============ */
.card-cyan   { background: var(--cyan); }
.card-pink   { background: var(--pink); }
.card-yellow { background: var(--yellow); }
.card-purple { background: var(--purple); }
.card-orange { background: var(--orange); }
.card-green  { background: var(--green); }
.card-red    { background: var(--red); }

/* ============ ABOUT ============ */
.about-card {
  background: var(--white);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 24px;
  margin-bottom: 26px;
}
.about-icon {
  width: 60px; height: 60px; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan);
  border: var(--border); border-radius: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.about-card h3 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 12px; }
.about-card p { color: #4d4d63; margin-bottom: 12px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-weight: 700; font-size: .75rem;
  background: #ddf3b9;
  border: 3px solid var(--ink); border-radius: 99px;
  padding: 6px 14px;
  box-shadow: 2px 2px 0 var(--ink);
}

.about-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-bottom: 26px;
}
.mini-card {
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex; flex-direction: column; gap: 3px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mini-card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.mini-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; font-size: 1.5rem;
  background: rgba(255,255,255,.85);
  border: 3px solid var(--ink); border-radius: 12px;
  box-shadow: 2px 2px 0 var(--ink);
  margin-bottom: 8px;
  color: var(--ink);
}
.mini-card strong { font-family: var(--font-head); font-size: .98rem; }
.mini-card small { font-size: .76rem; opacity: .75; }
.card-purple strong, .card-purple small,
.card-red strong, .card-red small { color: var(--white); }
.card-red small, .card-purple small { opacity: .85; }

.quote-card {
  background: var(--navy); color: var(--cream);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  font-family: var(--font-mono);
}
.quote-mark { color: var(--yellow); font-size: 1.4rem; font-weight: 700; display: block; line-height: 1; }
.quote-card p { margin: 8px 0; font-size: .95rem; }
.quote-author { text-align: right; color: var(--yellow); font-weight: 700; margin-top: 8px; }

/* ============ CAMERA ============ */
.camera-section { padding-top: 0; }
.camera-card {
  background: var(--white);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
.camera-img-wrap {
  position: relative;
  border: var(--border); border-radius: var(--radius);
  overflow: visible;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}
.camera-img-wrap img {
  width: 100%; height: 100%; min-height: 220px; max-height: 340px;
  object-fit: cover; border-radius: 14px;
}
.camera-sticker { top: -16px; right: -8px; left: auto; }
.camera-info h3 { font-family: var(--font-head); font-size: 1.6rem; margin-bottom: 10px; }
.camera-info p { color: #4d4d63; }

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.gallery-card {
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  color: var(--ink);
}
.gallery-card:hover { transform: translate(-3px,-3px) rotate(-1deg); box-shadow: 9px 9px 0 var(--ink); }
.gallery-img-wrap {
  border: 3px solid var(--ink); border-radius: 12px;
  overflow: hidden; background: var(--navy);
}
.gallery-img-wrap img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .3s ease;
}
.gallery-card:hover .gallery-img-wrap img { transform: scale(1.07); }
.gallery-card figcaption {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  padding: 9px 4px 3px; line-height: 1.3;
}
.card-purple figcaption, .card-red figcaption { color: var(--white); }

/* ============ MODAL ============ */
.modal {
  position: fixed; inset: 0; z-index: 5000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23,25,50,.92); }
.modal-content {
  position: relative; z-index: 1;
  width: min(92vw, 860px);
  display: flex; align-items: center; gap: 10px;
}
.modal-figure {
  flex: 1;
  background: var(--white);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  transform: scale(.92);
  transition: transform .3s ease;
}
.modal.open .modal-figure { transform: scale(1); }
.modal-figure img {
  width: 100%; max-height: 70vh; object-fit: contain;
  border: 3px solid var(--ink); border-radius: 12px;
  background: var(--navy);
}
.modal-figure figcaption {
  font-family: var(--font-head); font-weight: 700;
  text-align: center; padding-top: 10px; font-size: 1rem;
}
.modal-close {
  position: absolute; top: -18px; right: -10px; z-index: 3;
  width: 46px; height: 46px; font-size: 1.2rem; font-weight: 700;
  background: var(--pink); color: var(--white);
  border: var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm); cursor: pointer;
  font-family: var(--font-head);
}
.modal-nav {
  width: 46px; height: 46px; flex-shrink: 0;
  font-size: 1.6rem; font-weight: 700; line-height: 1;
  background: var(--yellow); color: var(--ink);
  border: var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm); cursor: pointer;
  font-family: var(--font-head);
  transition: transform .15s ease;
}
.modal-nav:hover { transform: translate(-2px,-2px); }

/* ============ PROJECTS ============ */
.projects-section { padding-top: 0; }
.project-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
.project-card {
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.project-card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.card-purple.project-card { color: var(--white); }
.project-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.project-icon {
  width: 52px; height: 52px; font-size: 1.4rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 3px solid var(--ink); border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
}
.project-top h3 { font-family: var(--font-head); font-size: 1.3rem; }
.project-card p { font-size: .92rem; margin-bottom: 14px; opacity: .92; }
.feature-list {
  list-style: none;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px;
  font-size: .85rem; font-weight: 600;
  margin-bottom: 16px;
}
.feature-list li { display: flex; align-items: center; gap: 6px; }
.feature-list .icon { width: .95em; height: .95em; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.badge-sm {
  font-family: var(--font-mono); font-weight: 700; font-size: .72rem;
  background: var(--white); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 8px;
  padding: 4px 11px;
  box-shadow: 2px 2px 0 var(--ink);
}

.coming-soon {
  margin-top: 34px;
  background: var(--yellow); color: var(--ink);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
  max-width: 460px; margin-left: auto; margin-right: auto;
}
.coming-soon strong {
  font-family: var(--font-head); font-size: 1.1rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.coming-soon span { font-size: .85rem; opacity: .75; }

/* ============ SKILLS ============ */
.skills-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.skill-card {
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  color: var(--ink);
}
.card-purple.skill-card { color: var(--white); }
.skill-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.skill-icon {
  width: 50px; height: 50px; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 3px solid var(--ink); border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
}
.skill-head h3 { font-family: var(--font-head); font-size: 1.25rem; }
.skill-row { margin-bottom: 14px; }
.skill-info {
  display: flex; justify-content: space-between;
  font-weight: 600; font-size: .9rem; margin-bottom: 6px;
}
.skill-pct { font-family: var(--font-mono); opacity: .75; }
.bar {
  height: 16px;
  background: rgba(255,255,255,.65);
  border: 3px solid var(--ink); border-radius: 99px;
  overflow: hidden;
}
.card-purple .bar { background: rgba(255,255,255,.35); }
.bar-fill {
  height: 100%; width: 0;
  background: var(--navy);
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(.25,.8,.3,1);
}

.ticker {
  margin-top: 34px;
  background: var(--white);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden; white-space: nowrap;
  padding: 14px 0;
}
.ticker-track { display: inline-flex; animation: marquee 24s linear infinite; }
.ticker-track span {
  font-family: var(--font-head); font-weight: 600;
  font-size: .95rem; color: #7a7a90;
}

/* ============ CONTACT ============ */
.contact-form {
  background: var(--white); color: var(--ink);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 24px;
  margin-bottom: 26px;
}
.contact-form h3 {
  font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body); font-size: .95rem;
  background: var(--cream);
  border: 3px solid var(--ink); border-radius: var(--radius-sm);
  padding: 13px 16px;
  outline: none;
  transition: box-shadow .15s ease, transform .15s ease;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-2px,-2px);
  background: var(--white);
}

.info-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin-bottom: 26px;
}
.info-card {
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  color: var(--ink);
  display: flex; flex-direction: column; gap: 3px;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.info-card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--ink); }
.info-card small {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-weight: 700; font-size: .72rem; opacity: .7;
}
.info-card strong { font-family: var(--font-head); font-size: 1rem; word-break: break-word; }

.social-card {
  background: var(--white); color: var(--ink);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  margin-bottom: 26px;
}
.social-card h3 {
  font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.social-row { display: grid; grid-template-columns: 1fr; gap: 14px; }

.cta-card {
  background: var(--yellow); color: var(--ink);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 24px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.cta-icon {
  width: 58px; height: 58px; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  border: var(--border); border-radius: 14px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}
.cta-card strong { font-family: var(--font-head); font-size: 1.2rem; }
.cta-card span { font-size: .88rem; opacity: .7; }

/* ============ FOOTER ============ */
.footer {
  background: var(--cream);
  border-top: var(--border);
  padding: 0 0 30px;
}
.footer-inner { text-align: center; }
.back-top-inline {
  margin-top: -28px; position: relative; z-index: 2;
}
.footer-row {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; margin-top: 28px;
}
.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.footer-menu a {
  font-size: .85rem; font-weight: 600; color: #6a6a80;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.footer-menu a:hover { color: var(--ink); border-color: var(--pink); }
.footer-made { font-size: .85rem; color: #6a6a80; }
.footer-copy {
  margin-top: 20px; font-family: var(--font-mono);
  font-size: .75rem; color: #9a9aae;
}

/* ============ BACK TO TOP (FLOATING) ============ */
.back-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 1500;
  width: 52px; height: 52px;
  font-size: 1.3rem; font-weight: 700;
  font-family: var(--font-head);
  background: var(--pink); color: var(--white);
  border: var(--border); border-radius: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--yellow); color: var(--ink); }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================
   RESPONSIVE — TABLET & DESKTOP
   ========================================================== */
@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: calc(100% + 0px); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--yellow);
    border-bottom: var(--border);
    padding: 14px 18px 18px;
    gap: 10px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-btn { text-align: center; }
  .hamburger { display: flex; }
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .social-row { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: repeat(3, 1fr); }
  .camera-card { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer-row { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 980px) {
  .section { padding: 90px 0; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
