/* ShopInVelvet · About & Portfolio page */

:root {
  --bg: #FBF1F5;
  --ink: #2A1022;
  --accent: #763661;
  --accent-dark: #5A2549;
  --sun: #F6C3D6;
  --lilac: #E4D4F0;
  --peach: #FBDCC6;
  --white: #FFFFFF;
  --muted: #6B4760;
  --line: #EBCADB;
  --red: #E0457B;
  --border: 2.5px solid var(--ink);
  --pad: clamp(20px, 7vw, 120px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.02; }
h1 { font-size: clamp(44px, 5.6vw, 76px); letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -0.03em; }
h3 { font-size: 24px; letter-spacing: -0.01em; }

.lede { color: var(--muted); font-size: 18px; max-width: 34em; margin: 16px 0 0; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  padding: 14px 24px;
  border: var(--border);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
  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: 2px 2px 0 var(--ink); }
.btn-big { font-size: 20px; padding: 18px 28px; }
.btn-light { background: var(--sun); color: var(--ink); }

.link {
  color: var(--muted);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link:hover { color: var(--accent); }

/* ---------- Nav ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--pad);
  border-bottom: var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 22px; font-weight: 800; color: var(--ink); text-decoration: none; }
.logo-mark { height: 1.35em; width: auto; flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--ink); font-weight: 600; text-decoration: none; }
.nav-links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) var(--pad);
}
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 4px 12px;
  background: var(--white);
  border: var(--border);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.hl {
  background: linear-gradient(transparent 58%, var(--sun) 58%);
  padding: 0 .08em;
}
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 32px; }

.hero-art { position: relative; justify-self: center; width: min(100%, 400px); }
.photo-frame {
  aspect-ratio: 4 / 5;
  background: var(--white);
  border: var(--border);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 10px 10px 0 var(--accent);
  transform: rotate(-2deg);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: 50% 30%;
}

.sticky {
  background: var(--sun);
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 18px 20px;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
}
.sticky-hero {
  position: absolute;
  bottom: -28px;
  left: -48px;
  max-width: 230px;
  transform: rotate(6deg);
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(56px, 7vw, 96px) var(--pad);
}
.about { background: var(--white); border-top: var(--border); border-bottom: var(--border); }
.about-body p { margin: 0 0 18px; font-size: 19px; }
.about-body p:last-child { margin-bottom: 0; }

/* ---------- Skills ---------- */

.skills { padding: 0 var(--pad) clamp(64px, 8vw, 112px); }
.chips {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.chips li {
  padding: 10px 18px;
  background: var(--white);
  border: var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
}
.chips li:nth-child(3n+1) { background: var(--sun); }
.chips li:nth-child(3n+2) { background: var(--lilac); }
.chips li:nth-child(3n) { background: var(--peach); }

/* ---------- Portfolio ---------- */

.work { padding: clamp(64px, 8vw, 112px) var(--pad); }
.work-head { margin-bottom: 48px; }
.work-group + .work-group { margin-top: 64px; }
.group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--line);
}
.group-head h3 { font-size: clamp(24px, 2.4vw, 30px); }
.group-count { color: var(--muted); font-size: 16px; font-weight: 600; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-grid.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.wordmark small {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.white-label {
  max-width: 560px;
  margin: 40px 0 0 auto;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.45;
  transform: rotate(-1.2deg);
}
.white-label strong { display: block; font-size: 21px; font-weight: 800; margin-bottom: 4px; }
.project {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: var(--border);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.project:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 9px 9px 0 var(--accent); }
.project-logo {
  display: grid;
  place-items: center;
  height: 170px;
  padding: 28px;
  background: var(--bg);
  border-bottom: var(--border);
}
.project:nth-child(3n+1) .project-logo { background: #FCE4ED; }
.project:nth-child(3n+2) .project-logo { background: #F1E8F8; }
.project:nth-child(3n) .project-logo { background: #FDEBDD; }
.project-logo img { max-height: 90px; max-width: 80%; object-fit: contain; }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.project-body p { color: var(--muted); font-size: 16px; margin: 10px 0 4px; }
.tag {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 3px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  background: var(--sun);
}
.tag-alt { background: var(--lilac); }
.tag-peach { background: var(--peach); }
.tag-soon { background: var(--ink); color: var(--sun); }

/* Coming soon: spans the full row, logo on the left */
.project-soon {
  grid-column: 1 / -1;
  flex-direction: row;
  border-style: dashed;
  background: var(--white);
}
.project-soon .project-logo {
  flex: 0 0 34%;
  height: auto;
  min-height: 170px;
  border-bottom: 0;
  border-right: 2.5px dashed var(--ink);
}
.project-soon .project-body { justify-content: center; }
.project-soon:hover { transform: none; box-shadow: 6px 6px 0 var(--ink); }
.soon-note { color: var(--muted); }
.project-link {
  margin-top: auto;
  padding-top: 14px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}
.project-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Values (dark) ---------- */

.dark { background: var(--ink); color: var(--white); }
.dark .lede { color: var(--line); }
.value-notes { display: grid; gap: 22px; }
.value-notes .sticky {
  color: var(--ink);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.45;
  box-shadow: 5px 5px 0 var(--accent);
  border-color: var(--ink);
}
.value-notes .sticky strong { display: block; font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.value-notes .sticky:nth-child(1) { transform: rotate(-1.5deg); }
.value-notes .sticky:nth-child(2) { transform: rotate(1.2deg); margin-left: 24px; }
.value-notes .sticky:nth-child(3) { transform: rotate(-.8deg); }
.sticky-lilac { background: var(--lilac); }
.sticky-peach { background: var(--peach); }

/* ---------- Testimonials ---------- */

.words { padding: clamp(64px, 8vw, 112px) var(--pad); }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
  align-items: start;
}
.quote {
  margin: 0;
  background: var(--white);
  border: var(--border);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 26px;
}
.quote-feature { background: var(--sun); transform: translateY(24px); }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.5; }
.quote figcaption { margin-top: 20px; padding-top: 16px; border-top: 2px dashed var(--line); }
.quote-feature figcaption { border-top-color: var(--accent); }
.quote figcaption strong { display: block; font-weight: 800; }
.quote figcaption span { font-size: 15px; color: var(--muted); }

/* ---------- Final CTA ---------- */

.final-wrap { padding: 24px var(--pad) clamp(64px, 8vw, 112px); }
.final {
  background: var(--accent);
  color: var(--white);
  border: var(--border);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--ink);
  padding: clamp(36px, 6vw, 72px);
  text-align: center;
}
.final p { color: var(--line); max-width: 32em; margin: 16px auto 32px; }

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

footer {
  padding: 36px var(--pad) 28px;
  border-top: var(--border);
  color: var(--muted);
  font-size: 16px;
}
.foot-top { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; }
.foot-top strong { color: var(--ink); font-size: 20px; }
.legal { display: flex; gap: 20px; margin-top: 14px; }
.legal a { color: var(--muted); }
.copy { margin: 14px 0 0; font-size: 14px; }
.disclaimer { margin: 14px 0 0; font-size: 14px; max-width: 60em; }
.fine-print { margin: 40px 0 0; font-size: 14px; color: var(--muted); max-width: 46em; }
.nav-links a.lang { font-size: 15px; font-weight: 800; padding: 4px 9px; border: 2px solid var(--ink); border-radius: 8px; text-decoration: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .work-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .work-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-feature { transform: none; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-links a:not(.btn):not(.lang) { display: none; }
  .nav-links .btn { padding: 10px 16px; font-size: 16px; white-space: nowrap; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 320px); margin-bottom: 32px; }
  .sticky-hero { left: -12px; font-size: 17px; max-width: 200px; }
  .work-grid, .work-grid.grid-4, .quote-grid { grid-template-columns: 1fr; }
  .white-label { margin-left: 0; }
  .project-soon { flex-direction: column; }
  .project-soon .project-logo { border-right: 0; border-bottom: 2.5px dashed var(--ink); }
  .value-notes .sticky:nth-child(2) { margin-left: 0; }
}

@media (max-width: 480px) {
  .logo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .logo-mark { height: 34px; }
}

@media (max-width: 420px) {
  .top { gap: 10px; }
  .logo { font-size: 18px; }
  .nav-links { gap: 10px; }
  .nav-links .btn { padding: 9px 12px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .project { transition: none; }
}

/* menu: midnight */
nav.top { background: var(--ink); border-bottom-color: var(--ink); }
nav.top .logo { color: #fff; }
nav.top .logo-mark { filter: brightness(0) invert(1); }
nav.top .nav-links a:not(.btn) { color: #fff; }
nav.top .nav-links a:not(.btn):hover { color: var(--sun); }
nav.top .nav-links a.lang { border-color: #fff; }
nav.top .btn { background: var(--sun); color: var(--ink); box-shadow: 4px 4px 0 var(--accent); }
nav.top .btn:hover { color: var(--ink); box-shadow: 5px 5px 0 var(--accent); }

/* client screenshots in little browser frames (matches the homepage) */
.project { border-radius: 20px; }
.project:hover { transform: translate(-3px, -3px); }
.project-logo.has-shot { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; padding: 20px 22px 0; }
.shot-window { display: flex; flex-direction: column; flex: 1; min-height: 0; transition: transform .25s ease; }
.shot-bar { display: flex; gap: 5px; padding: 8px 10px; background: #fff; border: 2px solid var(--ink); border-bottom: 1.5px solid var(--line); border-radius: 10px 10px 0 0; }
.shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.shot-page { flex: 1; min-height: 0; overflow: hidden; background: #fff; border: 2px solid var(--ink); border-top: 0; border-bottom: 0; }
.project-logo .shot-page img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: 50% 0; }
.project:hover .shot-window { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .shot-window { transition: none; } }

/* footer, restyled (matches the homepage) */
footer.site-foot { margin: 0; padding: clamp(48px, 6vw, 72px) var(--pad) 28px; color: var(--line); background: var(--ink); border-top: 0; font-size: 16px; }
.sf-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; max-width: 1120px; margin: 0 auto; }
.sf-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sf-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.sf-logo img { width: 40px; height: auto; filter: brightness(0) invert(1); }
.sf-brand p { margin: 0; font-size: 17px; color: var(--sun); font-weight: 700; }
.sf-brand .btn { margin-top: 6px; padding: 12px 20px; font-size: 16px; color: var(--ink); background: var(--sun); box-shadow: 4px 4px 0 var(--accent); }
.sf-brand .btn:hover { color: var(--ink); box-shadow: 5px 5px 0 var(--accent); }
.sf-col h3 { margin: 4px 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); }
.sf-col ul { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
footer.site-foot a { color: #fff; text-decoration: none; }
footer.site-foot a:hover { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }
.sf-col .sf-mail { overflow-wrap: anywhere; }
.sf-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 32px; max-width: 1120px; margin: 44px auto 0; padding-top: 22px; border-top: 1.5px dashed rgba(246, 195, 214, .35); }
.sf-bottom .disclaimer { flex: 1 1 520px; margin: 0; max-width: 62em; font-size: 13px; color: var(--line); opacity: .8; }
.sf-bottom .copy { margin: 0; font-size: 14px; color: var(--line); }
.sf-top { font-size: 14px; font-weight: 800; }
@media (max-width: 860px) {
  .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-brand { grid-column: 1 / -1; }
}

/* final call-to-action: dark */
.final { background: var(--ink); box-shadow: 8px 8px 0 var(--accent); }
.final .btn { box-shadow: 4px 4px 0 var(--accent); }
.final .btn:hover { box-shadow: 6px 6px 0 var(--accent); }

/* floating pill menu (matches the homepage) */
nav.top {
  position: sticky; top: 12px; z-index: 20;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  margin: 12px; padding: 10px 10px 10px 26px;
  background: rgba(42, 16, 34, .94); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; box-shadow: 0 12px 30px rgba(42, 16, 34, .22);
}
nav.top .logo { justify-self: center; }
nav.top .nav-left { justify-self: start; gap: 26px; font-weight: 500; }
nav.top .nav-right { justify-self: end; gap: 10px; }
nav.top .nav-links a.lang { padding: 10px 14px; font-size: 15px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 12px; }
nav.top .nav-links a.lang:hover { border-color: #fff; color: #fff; }
nav.top .btn { padding: 11px 20px; font-size: 16px; border: 0; border-radius: 12px; box-shadow: none; }
nav.top .btn:hover { transform: none; box-shadow: none; background: #fff; }
nav.top .nav-links a:not(.btn):hover { text-decoration: none; }
@media (max-width: 1240px) {
  nav.top .logo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  nav.top .nav-left { gap: 18px; font-size: 15px; }
}
@media (max-width: 860px) {
  nav.top { grid-template-columns: auto minmax(0, 1fr); margin: 8px; top: 8px; padding: 8px 8px 8px 16px; border-radius: 16px; }
  nav.top .nav-left { display: none; }
  nav.top .logo { justify-self: start; }
}
