/* ==========================================================================
   Prachiti Kamle | Portfolio
   Design system: cream background, navy type, sticky-note hero,
   cobalt-blue footer bar. Rebuilt as a plain static site (HTML/CSS/JS).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Jost:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Sometype+Mono:wght@400;700&display=swap');

:root {
  --bg: #f9f9f9;
  --bg-card: #ffffff;
  --navy: #182449;
  --navy-soft: #33406b;
  --gray-text: #6b7280;
  --gray-line: #e3e0d8;
  --blue: #3d6bf5;
  --blue-dark: #2c52d6;
  --yellow: #f0dd8c;
  --yellow-soft: #f7ecc0;
  --orange: #e8622c;
  --pink: #f0a8d4;
  --pink-text: #d6247a;
  --maroon: #6e1e38;
  --lightblue: #a9dbea;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Jost', sans-serif;
  --font-mono: 'Sometype Mono', monospace;

  --max-w: 1040px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.dotted-bg {
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(24, 36, 73, 0.16) 1px, transparent 1.5px);
  background-size: 24px 24px;
}

img { max-width: 100%; height: auto; display: block; }   /* height follows width, so width/height attributes never stretch an image */

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.25;
}

p { margin: 0 0 1em; color: var(--gray-text); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus {
  left: 0;
}

/* ---------------------------------- Header ---------------------------- */

.site-header {
  padding: 28px 0 8px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-avatar {
  width: 36px;
  height: auto;
  display: block;
  transform: rotate(-5deg);
  transition: transform 0.2s ease;
  filter: drop-shadow(0 3px 6px rgba(24, 36, 73, 0.3));
}
.brand:hover .brand-avatar { transform: rotate(0deg) scale(1.06); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 20px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.main-nav a:hover {
  background: var(--yellow-soft);
  transform: translateY(-1px);
}

.main-nav a.active {
  background: var(--yellow);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--navy);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: 0 12px 30px rgba(24, 36, 73, 0.14);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    gap: 4px;
    display: none;
    z-index: 50;
  }
  .main-nav.open { display: flex; }
  .main-nav a { text-align: center; }
  .site-header .container { position: relative; }
}

/* ---------------------------------- Hero / sticky notes ---------------- */

.hero {
  padding: 40px 0 20px;
  text-align: left;
  position: relative;
}

.sticky-board {
  position: relative;
  max-width: 820px;
  margin: 20px auto 60px;
  height: 595px;
}
.sticky-board.has-photo { height: 609px; }

.note {
  position: absolute;
  transition: transform 0.25s ease;
}
.note:hover { transform: translateY(-4px) rotate(0deg) !important; }
.note img { display: block; width: 100%; }

.note-name {
  left: 13px;
  top: -8px;
  width: 476px;
  transform: rotate(-6deg);
  z-index: 1;
}
.has-photo .note-name {
  left: -5px;
  top: 24px;
  width: 254px;
}

.note-empathy {
  right: 10px;
  top: 14px;
  width: 364px;
  transform: rotate(7deg);
  z-index: 3;
}
.has-photo .note-empathy {
  right: 49px;
  top: 32px;
  width: 212px;
}

.note-blurb {
  left: 308px;
  top: 279px;
  width: 325px;
  transform: rotate(-4deg);
  z-index: 2;
}
.has-photo .note-blurb {
  left: 73px;
  top: 400px;
  width: 179px;
}

.note-shadow-stain {
  position: absolute;
  left: 308px;
  top: 273px;
  width: 431px;
  height: 431px;
  z-index: 0;
  mix-blend-mode: multiply;
  opacity: 0.85;
  pointer-events: none;
}
.has-photo .note-shadow-stain {
  left: 426px;
  top: 178px;
  width: 311px;
  height: 307px;
}

.note-photo {
  position: absolute;
  left: 222px;
  top: 121px;
  width: 329px;
  height: 385px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(24, 36, 73, 0.22);
  z-index: 4;
}
.note-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 480px) {
  .sticky-board { max-width: 340px; height: 385px; }
  .sticky-board.has-photo { height: 253px; }
  .note-name { width: 261px; left: 0; top: 0; }
  .has-photo .note-name { left: -2px; top: 10px; width: 105px; }
  .note-photo { left: 92px; top: 50px; width: 136px; height: 160px; }
  .note-empathy { width: 147px; right: 0; top: 113px; }
  .has-photo .note-empathy { right: 20px; top: 13px; width: 88px; }
  .note-blurb { left: 113px; top: 187px; width: 187px; }
  .has-photo .note-blurb { left: 30px; top: 166px; width: 74px; }
  .note-shadow-stain { left: 113px; top: 184px; width: 248px; height: 248px; }
  .has-photo .note-shadow-stain { left: 177px; top: 74px; width: 129px; height: 127px; }
}

/* Duct-tape label: matte yellow strip with a torn/frayed edge on each end */
.featured-tag {
  --tape-rot: -2deg;
  position: relative;
  display: inline-block;
  background: #f7ecab;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  padding: 12px 30px 12px 22px;
  transform: rotate(var(--tape-rot));
  margin-bottom: 36px;
  box-shadow: 0 10px 18px rgba(24, 36, 73, 0.14);
}
/* peeling corner, like a torn-off piece of tape */
.featured-tag::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, #fffdf2 46%, #f7ecab 47%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  box-shadow: -2px 2px 5px rgba(24, 36, 73, 0.18);
}

/* ---------------------------------- Project cards ----------------------- */

.projects {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-bottom: 60px;
}

.project-card {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(.2,.7,.3,1), transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.project-card.in-view { opacity: 1; transform: translateY(0); }

.project-card .thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(24, 36, 73, 0.1);
  transition: box-shadow 0.35s ease;
}
.project-card:hover .thumb {
  box-shadow: 0 18px 36px rgba(24, 36, 73, 0.2);
}

.project-card .thumb .photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1151 / 302;
  overflow: hidden;
}

.project-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: filter 0.4s ease, transform 0.4s ease;
}
.project-card:hover .thumb img {
  filter: blur(3px) brightness(0.82);
  transform: scale(1.04);
}

.thumb-logo {
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.project-card:hover .thumb-logo { opacity: 0; }

/* "See case study" reveal on hover */
.case-cta {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.project-card:hover .case-cta { opacity: 1; }
.case-cta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--navy);
  padding: 12px 22px;
  border-radius: 30px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(24, 36, 73, 0.22);
  transform: translateY(6px);
  transition: transform 0.3s ease;
}
.project-card:hover .case-cta span { transform: translateY(0); }
/* a tile with no case study yet: same hover blur, "Coming soon" instead of a link */
.project-card.coming-soon { cursor: default; }
.cta-lock { width: 0.85em; height: 0.85em; margin-left: -3px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.project-card .meta {
  padding: 20px 4px 0;
}

.project-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.project-card .tag-line {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gray-text);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.project-card .desc { margin: 0; }

/* thumb color themes matching the original screens */
.thumb-ibm { background: linear-gradient(135deg, #cfd3d8, #8d939c); }
.thumb-adobe { background: linear-gradient(135deg, #5b2bd6, #0b0740); }
.thumb-haven { background: linear-gradient(135deg, #f7d9e6, #f0aecb); }
.thumb-wopet { background: linear-gradient(135deg, var(--lightblue), #dff3fa); }

/* ---------------------------------- Footer bar -------------------------- */

.site-footer {
  background: var(--blue);
  border-radius: 28px 28px 0 0;
  color: #fff;
  padding: 26px 0 30px;
  margin-top: 40px;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.footer-nav a:hover { text-decoration: underline; }

.footer-name { font-family: var(--font-head); font-weight: 600; opacity: 0.9; }

/* ---------------------------------- Case study template ----------------- */

.case-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0 32px;
}
.case-hero img { width: 100%; height: auto; display: block; }
.case-hero .thumb { width: 100%; aspect-ratio: 16/7; }

.case-title h1 { font-size: 30px; margin-bottom: 6px; }
.case-title .sub { font-size: 16px; color: var(--gray-text); margin-bottom: 24px; }

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  margin-bottom: 40px;
}
.meta-grid .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 4px;
}
.meta-grid .value { font-weight: 600; font-size: 14px; }

@media (max-width: 640px) {
  .meta-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
}

.case-section {
  margin-bottom: 52px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.case-section.in-view { opacity: 1; transform: translateY(0); }

.case-section h2 {
  font-size: 20px;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}
.case-section h2::before {
  content: '';
  position: absolute;
  left: -6px; right: -6px;
  bottom: 2px;
  height: 40%;
  background: rgba(240, 221, 140, 0.55);
  z-index: -1;
  transform: rotate(-0.6deg);
  border-radius: 2px;
}
.case-section:nth-of-type(even) h2::before { background: rgba(169, 219, 234, 0.55); transform: rotate(0.6deg); }

.highlight { font-weight: 700; }
.highlight-orange { color: var(--orange); }
.highlight-pink { color: var(--pink-text); }
.highlight-blue { color: var(--blue); }

/* links inside case-study text: underlined so they read as links, blue on hover */
.case-section p a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.case-section p a:hover { color: var(--blue); }
.case-section p a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

.stat-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.stat-box {
  flex: 1 1 220px;
  border-radius: 12px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-box.filled { background: var(--blue); color: #fff; }
.stat-box.outline { background: #fff; border: 1px solid var(--gray-line); }
.stat-box .num { font-family: var(--font-head); font-weight: 700; font-size: 28px; }
.stat-box.outline .num { color: var(--blue); }
.stat-box .label { font-size: 13px; }

.img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}
.img-grid img, .img-grid .ph { border-radius: 10px; width: 100%; height: auto; }
.img-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) {
  .img-grid, .img-grid.cols-3 { grid-template-columns: 1fr 1fr; }
}
/* screenshots of different shapes, two across: centred against each other, never stretched */
.img-grid.shots { gap: 18px; align-items: center; }
@media (max-width: 640px) {
  .img-grid.shots { grid-template-columns: 1fr; }
}

/* Full-width stack for dense composite images that go illegible in a grid column */
.stacked-images {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0;
}
.stacked-images img { width: 100%; height: auto; border-radius: 10px; display: block; }

.figma-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  margin: 24px 0;
  box-shadow: 0 10px 26px rgba(24, 36, 73, 0.16);
}
.figma-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Full-width product walkthrough video (IBM final designs) */
.walkthrough { margin: 24px 0; }
.walkthrough video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1668 / 844;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(24, 36, 73, 0.16);
}

.ph {
  background: linear-gradient(135deg, #e7e4db, #d9d5c8);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: 12px;
  font-family: var(--font-mono);
  text-align: center;
  padding: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.two-col > img, .two-col img { width: 100%; height: auto; border-radius: 10px; display: block; }
.two-col > div > p:last-child { margin-bottom: 0; }
/* text + a wide image side by side: give the image a bit more room */
.two-col.text-left { grid-template-columns: 1fr 1.15fr; align-items: center; }
.two-col.reflect-photo { grid-template-columns: 1fr 420px; gap: 40px; align-items: center; }
/* text with a small cut-out illustration beside it */
.two-col.side-art { grid-template-columns: 1fr 140px; gap: 48px; align-items: center; }
@media (max-width: 640px) {
  .two-col, .two-col.text-left, .two-col.reflect-photo, .two-col.side-art { grid-template-columns: 1fr; }
  .two-col.side-art > [role="img"] { max-width: 110px !important; }
}

.reflection {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.reflection img { flex: 0 0 160px; width: 160px; height: auto; border-radius: 8px; }
.reflection .ph { flex: 0 0 160px; width: 160px; height: 160px; }
@media (min-width: 641px) {
  .reflection.photo-lg img { flex-basis: 260px; width: 260px; }
}
@media (max-width: 640px) {
  .reflection { flex-direction: column; }
  .reflection img { flex: none; width: 100%; height: auto; }            /* keep the photo's own proportions */
  .reflection .ph { flex: none; width: 100%; height: auto; aspect-ratio: 4/3; }
}

/* Fanned-out overlapping screenshots, like a hand of cards */
.fan-stack {
  position: relative;
  height: 400px;
  max-width: 520px;
  margin: 30px auto;
}
.fan-stack img {
  position: absolute;
  top: 10px;
  height: 380px;
  width: auto;
  filter: drop-shadow(0 16px 26px rgba(24, 36, 73, 0.22));
  transition: transform 0.3s ease;
}
.fan-stack img:nth-child(1) { left: 10px; z-index: 1; }
.fan-stack img:nth-child(2) { left: 50%; transform: translateX(-50%); z-index: 3; top: 0; }
.fan-stack img:nth-child(3) { right: 10px; left: auto; z-index: 2; }
.fan-stack:hover img:nth-child(1) { transform: translate(-6px, -4px); }
.fan-stack:hover img:nth-child(2) { transform: translateX(-50%) translateY(-8px); }
.fan-stack:hover img:nth-child(3) { transform: translate(6px, -4px); }
@media (max-width: 640px) {
  .fan-stack { height: 320px; }
  .fan-stack img { height: 300px; }
}

.case-nav {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
  border-top: 1px solid var(--gray-line);
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 600;
}
.case-nav a { display: flex; align-items: center; gap: 8px; }
.case-nav a:hover { color: var(--blue); }

/* ---------------------------------- About page --------------------------- */

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
  padding: 20px 0 60px;
}
@media (max-width: 720px) {
  .about-layout { grid-template-columns: 1fr; }
}
.about-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--yellow-soft), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-family: var(--font-mono);
  text-align: center;
  padding: 20px;
}
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.skills-list span {
  background: #fff;
  border: 1px solid var(--gray-line);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-family: var(--font-mono);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  margin-top: 20px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn:hover { background: var(--blue); transform: translateY(-2px); }

/* ---------------------------------- Paintings page ------------------------ */

.paintings-grid {
  columns: 3 260px;
  column-gap: 18px;
  padding: 20px 0 60px;
}
.paintings-grid figure {
  margin: 0 0 18px;
  break-inside: avoid;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(24,36,73,0.08);
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.paintings-grid figure.in-view { opacity: 1; transform: translateY(0) scale(1); }
.paintings-grid img { width: 100%; display: block; transition: transform 0.4s ease; }
.paintings-grid figure:hover img { transform: scale(1.04); }
.paintings-grid figcaption {
  padding: 12px 14px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-text);
}

/* ---------------------------------- About collage + shared contact blurb -- */

.about-collage {
  position: relative;
  width: 330px;
  max-width: 100%;
  margin: 0 auto;
  height: 800px;
}
.about-collage .art {
  position: absolute;
  margin: 0;
  transition: transform 0.3s ease, z-index 0s;
}
.about-collage .art img { width: 100%; height: auto; border-radius: 4px; }
.about-collage .art:nth-child(1) { top: 30px; left: 0; width: 220px; z-index: 1; }
.about-collage .art:nth-child(2) { top: 280px; left: 115px; width: 200px; z-index: 3; }
.about-collage .art:nth-child(3) { top: 555px; left: 0; width: 190px; z-index: 2; }
.about-collage .art:hover {
  transform: scale(1.06) translateY(-6px);
  z-index: 5;
}
@media (max-width: 480px) {
  .about-collage { width: 260px; height: 700px; }
  .about-collage .art:nth-child(1) { width: 175px; top: 30px; }
  .about-collage .art:nth-child(2) { width: 160px; top: 250px; left: 95px; }
  .about-collage .art:nth-child(3) { width: 150px; top: 480px; left: 0; }
}

.contact-blurb {
  padding: 60px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 640px) {
  .contact-blurb { grid-template-columns: 1fr; }
}
.contact-blurb p { font-size: 17px; color: var(--navy); }
.contact-blurb .email-line { font-weight: 600; margin-top: 8px; }

.icon-links {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.icon-links a {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.icon-links a:hover { transform: translateY(-3px); }
.icon-links .fill { background: var(--navy); color: #fff; }
.icon-links .outline { border: 2px solid var(--navy); color: var(--navy); }

/* ---------------------------------- Review / quote cards ------------------ */

.quote-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 24px 0 30px;
}
@media (max-width: 640px) {
  .quote-row { grid-template-columns: 1fr; }
}
/* Reviews as notes: key phrases highlighted, stars pencilled in (js/main.js) */
.quote-card {
  margin: 0;
  background: #fffdf6;
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(61, 107, 245, 0.1) 31px 32px);
  background-position: 0 14px;
  border-radius: 4px;
  padding: 22px 22px 18px;
  text-align: center;
  box-shadow: 0 1px 0 #ece6d4, 0 10px 22px rgba(24, 36, 73, 0.1);
  transform: rotate(-1.2deg);
}
.quote-card:nth-child(2) { transform: rotate(1deg) translateY(6px); }
.quote-card:nth-child(3) { transform: rotate(-0.6deg); }
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  color: var(--navy);
}
/* highlighter swipe: uneven ends, slightly lower than the text like a real marker pass */
.hl {
  color: inherit;
  padding: 0 0.15em;
  margin: 0 -0.05em;
  border-radius: 0.35em 0.2em 0.4em 0.25em;
  background: linear-gradient(100deg, transparent 0.6%, rgba(255, 222, 60, 0.75) 2.4%, rgba(255, 222, 60, 0.55) 60%, rgba(255, 222, 60, 0.7) 96%, transparent 99%) 0 0.3em / 100% 0.95em no-repeat;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.hl-pink { background-image: linear-gradient(100deg, transparent 0.6%, rgba(255, 141, 220, 0.6) 2.4%, rgba(255, 141, 220, 0.42) 60%, rgba(255, 141, 220, 0.6) 96%, transparent 99%); }
.quote-card .stars { display: flex; justify-content: center; gap: 4px; margin-top: 12px; color: #d8a300; letter-spacing: 2px; }
.quote-card .star { width: 26px; height: 26px; overflow: visible; }
.star-line { fill: none; stroke: #5f6268; stroke-width: 1.3; stroke-linejoin: round; }
.star-line.faint { stroke-width: 0.7; opacity: 0.6; }
.star-hl { fill: rgba(255, 214, 50, 0.62); stroke: rgba(255, 214, 50, 0.5); stroke-width: 2.2; stroke-linejoin: round; mix-blend-mode: multiply; }

/* ---------------------------------- Contact page -------------------------- */

.contact-card {
  max-width: 480px;
  margin: 30px auto 70px;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(24,36,73,0.1);
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.contact-links a {
  border: 1px solid var(--gray-line);
  border-radius: 30px;
  padding: 12px 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.contact-links a:hover { background: var(--yellow-soft); transform: translateY(-2px); }

/* ---------------------------------- Placeholder banner --------------------- */

.placeholder-note {
  background: var(--yellow-soft);
  border: 1px dashed #c9b96a;
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--navy-soft);
  margin-bottom: 30px;
}

/* ---------------------------------- Page intro (non-home) ------------------ */

.page-hero {
  padding: 30px 0 10px;
}
.page-hero h1 { font-size: 34px; }
.page-hero p.lede { font-size: 16px; max-width: 560px; }

/* Reveal-on-scroll generic helper */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
