
/* =========================================
   PRATIK ROY — CREATOR & DEVELOPER
   STYLE.CSS | PART 1 OF 4
   Design system, reset, header, hero
========================================= */

/* ---------- DESIGN SYSTEM ---------- */
:root {
  color-scheme: dark;
  --bg: #111210;
  --bg-soft: #171815;
  --surface: #1c1d19;
  --surface-raised: #23241f;
  --text: #f2f0e9;
  --muted: #a09f95;
  --subtle: #77786e;
  --accent: #f2a65a;
  --accent-bright: #ffc17e;
  --line: rgba(242, 240, 233, 0.12);
  --line-strong: rgba(242, 240, 233, 0.23);
  --success: #8bc99a;
  --danger: #f08b82;
  --header-bg: rgba(17, 18, 16, 0.88);
  --container: 1160px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  --transition: 220ms ease;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f3ed;
  --bg-soft: #ece9e0;
  --surface: #fffdf7;
  --surface-raised: #f0ede4;
  --text: #20211d;
  --muted: #66675e;
  --subtle: #85857a;
  --accent: #b8641f;
  --accent-bright: #91470f;
  --line: rgba(32, 33, 29, 0.12);
  --line-strong: rgba(32, 33, 29, 0.24);
  --header-bg: rgba(245, 243, 237, 0.9);
  --shadow: 0 24px 70px rgba(36, 31, 20, 0.09);
}

/* ---------- RESET & BASE ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  transition: background var(--transition), color var(--transition);
}

body,
button,
input,
select,
textarea {
  font-family: "DM Sans", sans-serif;
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

img,
svg {
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: #17130e;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
  position: relative;
  scroll-margin-top: 78px;
}

section[id] {
  scroll-margin-top: 78px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
.brand-copy {
  font-family: "Space Grotesk", sans-serif;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.045em;
  line-height: 1.13;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 600;
}

h3 {
  font-size: 1.3rem;
}

p {
  color: var(--muted);
}

.accent-text {
  color: var(--accent);
}

.muted-text {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(139, 201, 154, 0.1);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #17130e;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- BUTTONS ---------- */
.button {
  min-height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--accent);
  color: #1b1712;
}

.button-primary:hover {
  background: var(--accent-bright);
}

.button-secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button span {
  font-size: 1.1rem;
  transition: transform var(--transition);
}

.button:hover span {
  transform: translate(2px, -2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.text-link span {
  transition: transform var(--transition);
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

/* ---------- HEADER & NAVIGATION ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
}

.brand-mark span {
  color: var(--accent);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  padding: 9px 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
}

.nav-contact::after {
  display: none;
}

.nav-contact span {
  color: var(--accent);
}

.nav-contact:hover {
  border-color: var(--accent);
}

.theme-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}

.theme-toggle:hover {
  transform: rotate(25deg);
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 92px;
  padding-bottom: 35px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 5%;
  left: -260px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 166, 90, 0.065), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 55px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow {
  margin-bottom: 27px;
}

.hero h1 {
  margin: 0 0 27px;
  font-size: clamp(3.8rem, 7.5vw, 7.1rem);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.085em;
}

.hero-intro {
  max-width: 490px;
  margin-bottom: 30px;
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-intro strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 46px;
  color: var(--subtle);
  font-size: 0.72rem;
}

.footnote-line {
  width: 35px;
  height: 1px;
  background: var(--accent);
}

.hero-visual {
  min-height: 460px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.portrait-frame {
  position: relative;
  z-index: 1;
  width: min(340px, 80%);
  aspect-ratio: 0.83;
  padding: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 180px 180px 20px 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 170px 170px 13px 13px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 193, 126, 0.21), transparent 45%),
    linear-gradient(145deg, #35352d, #1b1c18 65%);
}

.portrait-placeholder::before,
.portrait-placeholder::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(242, 166, 90, 0.19);
  border-radius: 50%;
}

.portrait-placeholder::after {
  width: 270px;
  height: 270px;
}

.portrait-initial {
  position: relative;
  z-index: 1;
  color: rgba(242, 240, 233, 0.92);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(8rem, 15vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 1;
}

.portrait-initial span {
  color: var(--accent);
}

.portrait-caption {
  position: absolute;
  right: 18px;
  bottom: 22px;
  color: rgba(242, 240, 233, 0.68);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.8;
  text-align: right;
}

.portrait-index {
  position: absolute;
  right: 0;
  bottom: -27px;
  left: 0;
  color: var(--subtle);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-align: center;
  transform: rotate(-2deg);
}

.visual-orbit {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-two {
  width: 510px;
  height: 510px;
  border-style: dashed;
  border-color: rgba(242, 166, 90, 0.12);
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-raised);
  box-shadow: var(--shadow);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
}

.floating-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 400;
}

.floating-card-top {
  top: 55px;
  right: -7px;
  animation: float-y 5s ease-in-out infinite;
}

.floating-card-bottom {
  bottom: 53px;
  left: -14px;
  animation: float-y 5s ease-in-out 1s infinite;
}

.floating-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: rgba(242, 166, 90, 0.13);
  color: var(--accent);
  font-size: 1.4rem;
}

.code-symbol {
  color: var(--accent);
  font-family: monospace;
  font-size: 1.5rem;
}

.hero-decoration {
  position: absolute;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  pointer-events: none;
}

.decoration-one {
  top: 10%;
  left: 5%;
  font-size: 2rem;
}

.decoration-two {
  right: 7%;
  bottom: 8%;
  font-size: 2rem;
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 80px;
  color: var(--subtle);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.scroll-line {
  width: 55px;
  height: 1px;
  background: var(--line-strong);
}

/* ---------- SKILLS STRIP ---------- */
.skills-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.skills-track {
  min-height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.skills-track span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.skills-track i {
  color: var(--accent);
  font-size: 0.8rem;
  font-style: normal;
}

/* ---------- MOTION ---------- */
@keyframes float-y {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================
   PRATIK ROY PORTFOLIO
   CSS PART 2 — ABOUT + WORK + PROJECT ART
   Append this below Part 1
   ========================================= */

/* ---------- SHARED SECTION HEADINGS ---------- */

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
}

.section-heading h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(2.25rem, 5vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.065em;
  font-weight: 600;
}

.section-heading h2 span {
  color: var(--accent);
}

.heading-note {
  max-width: 250px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ---------- ABOUT SECTION ---------- */

.about-section {
  padding: 112px 0;
  background: var(--bg-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 72px;
}

.about-lead {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.55;
  letter-spacing: -0.035em;
  font-weight: 400;
}

.about-lead strong {
  color: var(--text);
  font-weight: 600;
}

.about-lead em {
  color: var(--accent);
  font-style: normal;
}

.about-note {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.note-number {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
}

.about-note p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ---------- EXPERTISE PANEL ---------- */

.expertise-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 25px;
  border-bottom: 1px solid var(--line);
}

.panel-topline h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.panel-topline span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.expertise-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 21px 25px;
  border-bottom: 1px solid var(--line);
  transition:
    background var(--transition),
    padding var(--transition);
}

.expertise-item:last-child {
  border-bottom: 0;
}

.expertise-item:hover {
  padding-left: 30px;
  background: var(--surface-raised);
}

.expertise-index {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.expertise-item h4 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
}

.expertise-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.6;
}

.expertise-arrow {
  color: var(--subtle);
  font-size: 1.15rem;
  transition:
    color var(--transition),
    transform var(--transition);
}

.expertise-item:hover .expertise-arrow {
  color: var(--accent);
  transform: translate(3px, -3px);
}

/* ---------- VALUES STRIP ---------- */

.values-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 50px;
}

.values-row > div {
  padding: 23px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.values-row h3 {
  margin: 0 0 8px;
  font-size: 0.94rem;
  font-weight: 600;
}

.values-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

/* ---------- WORK SECTION ---------- */

.work-section {
  padding: 112px 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 30px;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.filter-button:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.filter-button:active {
  transform: scale(0.97);
}

.filter-button.active,
.filter-button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #17130e;
  font-weight: 700;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.project-card[hidden] {
  display: none !important;
}

.project-card-large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.project-card-large .project-art {
  min-height: 340px;
  height: 100%;
}

.project-card-large .project-info {
  align-self: center;
  padding: 34px;
}

.project-art {
  position: relative;
  display: grid;
  min-height: 285px;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
}

.art-label {
  position: absolute;
  z-index: 5;
  top: 17px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  background: rgb(15 15 14 / 68%);
  color: #f8f6f1;
  font-size: 0.68rem;
  backdrop-filter: blur(12px);
}

.art-label::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.art-open {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 50%;
  background: rgb(18 18 16 / 65%);
  color: #fff;
  font-size: 1.1rem;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.project-card:hover .art-open {
  transform: rotate(45deg);
  background: var(--accent);
  color: #17130e;
}

.project-info {
  padding: 26px;
}

.project-info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.project-type {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-info h3 {
  margin: 12px 0 9px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.project-info > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
}

.icon-button {
  display: inline-grid;
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.icon-button:hover {
  transform: rotate(45deg);
  border-color: var(--accent);
  background: var(--accent);
  color: #17130e;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.69rem;
}

.sample-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding: 15px 17px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.sample-disclaimer strong {
  color: var(--text);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

/* ---------- PROJECT ART: LIBRARY / WEB ---------- */

.art-library {
  background:
    radial-gradient(ellipse at 18% 12%, rgb(255 157 64 / 17%), transparent 40%),
    linear-gradient(145deg, #24231f 0%, #171815 58%, #29251f 100%);
}

.library-graphic {
  position: relative;
  width: min(82%, 420px);
  padding: 17px;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 13px;
  background: #f5f1e9;
  box-shadow: 0 22px 55px rgb(0 0 0 / 30%);
  color: #22231f;
  transform: rotate(-2deg);
  transition: transform 500ms ease;
}

.project-card:hover .library-graphic {
  transform: rotate(0deg) translateY(-3px);
}

.library-window {
  overflow: hidden;
  border: 1px solid #dedbd3;
  border-radius: 7px;
  background: #fffdf8;
}

.mini-window-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 11px;
  border-bottom: 1px solid #e9e6de;
  background: #f5f3ed;
}

.mini-window-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c6c1b7;
}

.library-main {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 15px;
  padding: 20px 16px;
}

.library-copy small {
  display: block;
  margin-bottom: 8px;
  color: #b66a23;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.library-copy strong {
  display: block;
  max-width: 180px;
  font-size: clamp(1.1rem, 2.4vw, 1.8rem);
  line-height: 1.05;
  letter-spacing: -0.07em;
}

.library-copy p {
  max-width: 160px;
  margin: 10px 0 0;
  color: #77766f;
  font-size: 0.58rem;
  line-height: 1.6;
}

.book-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 125px;
}

.book-stack span {
  position: absolute;
  display: block;
  width: 57px;
  height: 84px;
  border: 2px solid rgb(34 35 31 / 12%);
  border-radius: 3px 7px 7px 3px;
  box-shadow: 4px 6px 10px rgb(0 0 0 / 13%);
}

.book-stack span:nth-child(1) {
  z-index: 1;
  background: #e9b46c;
  transform: translate(-24px, 8px) rotate(-14deg);
}

.book-stack span:nth-child(2) {
  z-index: 2;
  background: #52665a;
  transform: translate(0, -1px) rotate(3deg);
}

.book-stack span:nth-child(3) {
  z-index: 3;
  background: #d47c4a;
  transform: translate(25px, 7px) rotate(13deg);
}

.library-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid #e9e6de;
  color: #77766f;
  font-size: 0.54rem;
}

/* ---------- PROJECT ART: VISUAL DESIGN ---------- */

.art-visual {
  background:
    radial-gradient(circle at 70% 20%, rgb(255 200 128 / 20%), transparent 35%),
    #e9d9c2;
}

.visual-poster {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(58%, 235px);
  min-height: 245px;
  padding: 20px;
  overflow: hidden;
  background: #f6efe3;
  color: #28271f;
  box-shadow: 0 18px 40px rgb(62 45 24 / 22%);
  transform: rotate(4deg);
  transition: transform 500ms ease;
}

.project-card:hover .visual-poster {
  transform: rotate(0deg) scale(1.025);
}

.poster-small {
  position: relative;
  z-index: 2;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.poster-title {
  position: relative;
  z-index: 2;
  margin: 22px 0;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 0.91;
  letter-spacing: -0.09em;
  font-weight: 800;
}

.poster-circle {
  position: absolute;
  right: -32px;
  bottom: 35px;
  width: 135px;
  height: 135px;
  border: 19px solid #d66e43;
  border-radius: 50%;
  background: #e7b16e;
}

.poster-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgb(40 39 31 / 25%);
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
}


/* ---------- PROJECT ART: GAME DESIGN ---------- */

.art-game {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 285px;
  padding: 24px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(
      circle at 80% 18%,
      rgb(255 183 98 / 20%),
      transparent 32%
    ),
    linear-gradient(145deg, #293c3d, #151b20 78%);
}

.art-game .game-scene {
  position: relative;
  display: block;
  width: 100%;
  max-width: 400px;
  height: 215px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 12px;
  background:
    linear-gradient(
      180deg,
      transparent 0 62%,
      rgb(30 55 48 / 15%) 62%
    ),
    linear-gradient(180deg, #7caaa8, #c5c9a2 65%, #edbd7b);
  box-shadow: 0 18px 38px rgb(0 0 0 / 28%);
  isolation: isolate;
  transition: transform 350ms ease;
}

.project-card:hover .game-scene {
  transform: translateY(-4px);
}

.art-game .game-sun {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffe3a1;
  box-shadow: 0 0 35px rgb(255 227 161 / 45%);
}

.art-game .game-platform {
  position: absolute;
  height: 16px;
  border: 2px solid rgb(37 49 46 / 25%);
  border-radius: 4px;
  background: #4b6657;
  box-shadow: 0 6px 0 rgb(39 50 44 / 15%);
}

.art-game .platform-one {
  right: -5px;
  bottom: 48px;
  width: 48%;
}

.art-game .platform-two {
  bottom: 96px;
  left: 10%;
  width: 35%;
  background: #7d7855;
}

.art-game .game-player {
  position: absolute;
  z-index: 3;
  bottom: 65px;
  left: 43%;
  width: 29px;
  height: 37px;
  border: 3px solid #27352e;
  border-radius: 9px 9px 5px 5px;
  background: #e6a45e;
  box-shadow: 0 5px 0 rgb(39 53 46 / 20%);
  font-size: 0;
}

.art-game .game-player::before {
  position: absolute;
  top: -13px;
  left: 2px;
  width: 19px;
  height: 16px;
  border: 3px solid #27352e;
  border-radius: 6px 6px 4px 4px;
  background: #f3d5a3;
  content: "";
}

.art-game .game-hud {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 5px;
  background: rgb(27 39 36 / 55%);
  color: #fff9e9;
  font-size: 0.57rem;
}

.art-game .game-hud i {
  font-style: normal;
  color: #ffe3a1;
}

.art-game .game-title {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 16px;
  color: #253a34;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.art-game .game-title span {
  color: #d66e43;
}

@media (max-width: 600px) {
  .art-game {
    min-height: 245px;
    padding: 20px;
  }

  .art-game .game-scene {
    width: 100%;
    height: 195px;
  }
}

/* ---------- PR MONOGRAM OPTION ---------- */

/* Use <span class="brand-mark">PR</span> in the HTML
   wherever you want the compact logo. */

.brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgb(255 157 64 / 45%);
  border-radius: 13px;
  background: linear-gradient(
    145deg,
    rgb(255 157 64 / 18%),
    rgb(255 157 64 / 5%)
  );
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

/* ---------- PART 2 END ---------- */

/* =========================================
   PRATIK ROY PORTFOLIO
   CSS PART 3 — PROJECT DETAILS + CONTENT
   Append below Part 2
   ========================================= */

/* ---------- PROJECT DETAIL VIEW ---------- */

.project-detail-section {
  min-height: 70vh;
  padding: 70px 0 110px;
  background: var(--bg-soft);
}

.project-detail-section[hidden] {
  display: none !important;
}

.detail-container {
  width: min(100% - 48px, 920px);
  margin-inline: auto;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: color var(--transition);
}

.detail-back:hover {
  color: var(--accent);
}

.detail-category {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.detail-category::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.detail-container > h1 {
  max-width: 850px;
  margin: 20px 0 24px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
  font-weight: 600;
}

.detail-intro {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.9;
}

.detail-hero-visual {
  display: grid;
  min-height: 290px;
  margin: 42px 0 55px;
  padding: 35px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 50% 20%, rgb(255 157 64 / 16%), transparent 50%),
    var(--surface);
}

.detail-hero-visual .project-art {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-md);
}

.detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
  gap: 50px;
}

.detail-main {
  min-width: 0;
}

.detail-main section + section {
  margin-top: 38px;
}

.detail-main h2 {
  margin: 0 0 13px;
  font-size: 1.4rem;
  letter-spacing: -0.045em;
}

.detail-main p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.95;
}

.detail-sidebar {
  position: sticky;
  top: 105px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.detail-sidebar h3 {
  margin: 0 0 17px;
  font-size: 0.95rem;
}

.detail-sidebar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-sidebar li {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.73rem;
}

.detail-cta {
  margin-top: 25px;
}

.detail-cta p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.detail-cta .button {
  width: 100%;
  justify-content: center;
}

/* ---------- CONTENT / BLOG SECTION ---------- */

.content-section {
  padding: 112px 0;
  background: var(--bg-soft);
}

.content-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 30px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 380px);
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color var(--transition);
}

.search-box:focus-within {
  border-color: var(--accent);
}

.search-box > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.search-box input {
  width: 100%;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
}

.search-box input::placeholder {
  color: var(--subtle);
}

.search-box input:focus-visible {
  outline: none;
}

.search-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.8rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.content-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.content-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.content-card[hidden] {
  display: none !important;
}

.article-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 165px;
  padding: 20px;
  overflow: hidden;
  isolation: isolate;
}

.article-art::before,
.article-art::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.article-art-one {
  background: #e5b58c;
  color: #34261e;
}

.article-art-one::before {
  top: -38px;
  right: -15px;
  width: 155px;
  height: 155px;
  border: 24px solid rgb(110 58 35 / 25%);
  border-radius: 50%;
}

.article-art-one::after {
  right: 32px;
  bottom: -48px;
  width: 95px;
  height: 125px;
  border-radius: 48% 48% 4px 4px;
  background: #b45d3d;
  transform: rotate(25deg);
}

.article-art-two {
  background: #a9b6a2;
  color: #25352b;
}

.article-art-two::before {
  top: 18px;
  right: 23px;
  width: 105px;
  height: 105px;
  border: 1px solid rgb(37 53 43 / 30%);
  border-radius: 50%;
  box-shadow:
    0 0 0 13px rgb(37 53 43 / 7%),
    0 0 0 27px rgb(37 53 43 / 6%);
}

.article-art-two::after {
  right: 60px;
  bottom: -10px;
  width: 45px;
  height: 95px;
  background: #e6d8b5;
  transform: rotate(34deg);
}

.article-art-three {
  background: #d8c6e5;
  color: #362746;
}

.article-art-three::before {
  top: 20px;
  right: 25px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: #9678b4;
}

.article-art-three::after {
  top: 44px;
  right: 49px;
  width: 95px;
  height: 95px;
  border: 2px solid rgb(54 39 70 / 50%);
  border-radius: 50%;
}

.article-art > span {
  position: relative;
  z-index: 1;
  max-width: 190px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.article-art > small {
  position: absolute;
  top: 15px;
  left: 16px;
  z-index: 1;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-body {
  padding: 22px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
}

.article-meta span + span::before {
  margin-right: 8px;
  color: var(--subtle);
  content: "·";
}

.article-body h3 {
  margin: 14px 0 9px;
  font-size: 1.12rem;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.article-body > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.8;
}

.article-expand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition);
}

.article-expand:hover {
  color: var(--accent);
}

.article-expand span {
  transition: transform var(--transition);
}

.article-expand[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.article-full {
  margin-top: 17px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.85;
}

.article-full[hidden] {
  display: none !important;
}

.article-full h4 {
  margin: 15px 0 7px;
  color: var(--text);
  font-size: 0.9rem;
}

.article-full p {
  margin: 0 0 12px;
}

.article-full ul {
  display: grid;
  gap: 7px;
  padding-left: 19px;
}

.no-results {
  margin-top: 18px;
  padding: 30px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.no-results[hidden] {
  display: none !important;
}

/* ---------- COLLABORATION BANNER ---------- */

.collaboration-section {
  padding: 30px 0 110px;
  background: var(--bg-soft);
}

.collaboration-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-height: 255px;
  padding: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 90% 10%, rgb(255 157 64 / 13%), transparent 43%),
    var(--surface);
}

.collaboration-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.collaboration-copy .eyebrow {
  margin-bottom: 15px;
}

.collaboration-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.065em;
  font-weight: 600;
}

.collaboration-copy h2 span {
  color: var(--accent);
}

.collaboration-copy p {
  max-width: 490px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.collaboration-action {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.collaboration-decoration {
  position: absolute;
  right: 8%;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid rgb(255 157 64 / 25%);
  border-radius: 50%;
  pointer-events: none;
}

.collaboration-decoration::before,
.collaboration-decoration::after {
  position: absolute;
  border: 1px solid rgb(255 157 64 / 22%);
  border-radius: 50%;
  content: "";
}

.collaboration-decoration::before {
  inset: 22px;
}

.collaboration-decoration::after {
  inset: 46px;
}

/* ---------- PART 3 END ---------- */

/* =========================================
   PRATIK ROY PORTFOLIO
   CSS PART 4 — CONTACT + FOOTER + RESPONSIVE
   FINAL STYLESHEET PART
   Append below Part 3
   ========================================= */

/* ---------- CONTACT SECTION ---------- */

.contact-section {
  padding: 112px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 70px;
}

.contact-details h2 {
  max-width: 560px;
  margin: 13px 0 20px;
  font-size: clamp(2.5rem, 5.4vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.075em;
  font-weight: 600;
}

.contact-details h2 span {
  color: var(--accent);
}

.contact-details > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.9;
}

.contact-label {
  display: block;
  margin: 36px 0 13px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  text-decoration: none;
  transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.contact-method:hover {
  transform: translateX(3px);
  border-color: var(--line-strong);
  background: var(--surface);
}

.contact-method-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--accent);
  font-size: 1rem;
}

.contact-method-copy {
  flex: 1;
  min-width: 0;
}

.contact-method-copy strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.87rem;
  font-weight: 600;
}

.contact-method-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.method-arrow {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 1rem;
  transition:
    color var(--transition),
    transform var(--transition);
}

.contact-method:hover .method-arrow {
  transform: translate(2px, -2px);
  color: var(--accent);
}

.response-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.8;
}

.response-note::before {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--success);
  content: "";
}

/* ---------- CONTACT FORM PANEL ---------- */

.contact-form-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-form-panel h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.contact-form-panel > p {
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  margin-bottom: 19px;
}

.form-field label {
  color: var(--text);
  font-size: 0.79rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.form-field input {
  min-height: 47px;
}

.form-field textarea {
  min-height: 145px;
  resize: vertical;
  line-height: 1.7;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--subtle);
  opacity: 1;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(255 157 64 / 12%);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.form-field .field-hint {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  justify-content: center;
  min-height: 49px;
}

.form-status {
  margin: 15px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.form-status:empty {
  display: none;
}

.form-status.success {
  border-color: var(--success);
  color: var(--success);
}

.form-status.error {
  border-color: var(--danger);
  color: var(--danger);
}

.form-privacy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.75;
  text-align: center;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ---------- FOOTER ---------- */

.site-footer {
  padding: 36px 0 22px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.footer-brand strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.7;
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.78rem;
  text-decoration: none;
  transition: color var(--transition);
}

.back-top:hover {
  color: var(--accent);
}

.noscript-message {
  margin: 0;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

/* ---------- FOCUS ACCESSIBILITY ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ---------- TABLET RESPONSIVE ---------- */

@media (max-width: 1000px) {
  :root {
    --container: 900px;
  }

  .about-grid {
    gap: 38px;
  }

  .contact-grid {
    gap: 38px;
  }

  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-columns {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 30px;
  }

  .project-card-large .project-info {
    padding: 25px;
  }
}

/* ---------- MOBILE NAVIGATION + LAYOUT ---------- */

@media (max-width: 760px) {
  :root {
    --container: 100%;
  }

  .container {
    width: min(100% - 36px, 620px);
  }

  .site-header {
    padding-inline: 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav,
  #primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--header-bg);
    box-shadow: 0 18px 30px rgb(0 0 0 / 12%);
  }

  .primary-nav.is-open,
  #primary-nav.is-open {
    display: flex;
  }

  .primary-nav a,
  #primary-nav a {
    padding: 14px 5px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a:last-child,
  #primary-nav a:last-child {
    border-bottom: 0;
  }

  .header-actions {
    gap: 8px;
  }

  .hero-section {
    padding-top: 65px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-content {
    max-width: 650px;
  }

  .hero-visual {
    width: min(100%, 440px);
    margin-inline: auto;
  }

  .hero-title {
    font-size: clamp(3rem, 11vw, 5rem);
  }

  .hero-description {
    max-width: 560px;
  }

  .skills-strip {
    margin-top: 65px;
  }

  .skills-list {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .about-section,
  .work-section,
  .content-section,
  .contact-section {
    padding: 80px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .heading-note {
    max-width: 440px;
    margin-top: 17px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .values-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .values-row > div {
    padding: 19px 21px;
  }

  .project-grid {
    gap: 17px;
  }

  .project-card-large {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .project-card-large .project-art {
    min-height: 270px;
  }

  .project-card-large .project-info {
    padding: 23px;
  }

  .project-art {
    min-height: 235px;
  }

  .project-info {
    padding: 20px;
  }

  .content-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .search-box {
    width: 100%;
  }

  .detail-container {
    width: min(100% - 36px, 620px);
  }

  .detail-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .detail-sidebar {
    position: static;
  }

  .detail-hero-visual {
    min-height: 230px;
    padding: 20px;
  }

  .collaboration-section {
    padding: 20px 0 80px;
  }

  .collaboration-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
    padding: 32px 25px;
  }

  .collaboration-decoration {
    right: -80px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-form-panel {
    padding: 25px;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

/* ---------- SMALL MOBILE ---------- */

@media (max-width: 480px) {
  .container {
    width: calc(100% - 30px);
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 11px;
  }

  .hero-title {
    font-size: clamp(2.65rem, 12vw, 3.8rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .section-heading h2 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }

  .filter-bar {
    gap: 7px;
  }

  .filter-button {
    min-height: 37px;
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card-large {
    grid-column: auto;
  }

  .project-card-large .project-art {
    min-height: 235px;
  }

  .project-art {
    min-height: 245px;
  }

  .library-graphic {
    width: 86%;
  }

  .visual-poster {
    width: 60%;
    min-height: 225px;
  }

  .game-scene {
    width: 88%;
    height: 195px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .article-art {
    min-height: 185px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-panel {
    padding: 20px;
  }

  .contact-details h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .detail-container {
    width: calc(100% - 30px);
  }

  .detail-container > h1 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .collaboration-inner {
    padding: 27px 21px;
  }

  .collaboration-action,
  .collaboration-action .button {
    width: 100%;
    justify-content: center;
  }

  .footer-links {
    gap: 13px 17px;
  }
}

/* ---------- REDUCED MOTION PREFERENCE ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================
   END OF CSS PART 4
   END OF STYLESHEET
   ========================================= */

/* =========================================
   THE CURIOUS JOURNAL — PORTFOLIO PROJECT
   ========================================= */

.art-journal {
  padding: 28px;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(242, 166, 90, 0.17),
      transparent 38%
    ),
    linear-gradient(145deg, #24251f, #151612);
  text-decoration: none;
}

.journal-preview {
  position: relative;
  width: min(88%, 330px);
  min-height: 235px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border: 1px solid rgba(242, 240, 233, 0.2);
  background: #eee9dc;
  color: #24251f;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  transform: rotate(-2deg);
  transition: transform var(--transition);
}

.art-journal:hover .journal-preview {
  transform: rotate(0deg) translateY(-3px);
}

.journal-kicker {
  margin-bottom: 20px;
  color: #79664d;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.journal-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.journal-name span {
  color: #b8641f;
}

.journal-rule {
  width: 48px;
  height: 2px;
  margin: 20px 0 12px;
  background: #b8641f;
}

.journal-caption {
  color: #79664d;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

@media (prefers-reduced-motion: reduce) {
  .art-journal .journal-preview {
    transition: none;
  }
}


/* =========================================
   FORMA & CO. — LIVE PROJECT PREVIEW
   Editorial storefront-inspired card
========================================= */

.art-forma {
  position: relative;
  display: block;
  min-height: 320px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(219, 205, 178, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(199, 166, 119, 0.22),
      transparent 35%
    ),
    #eae4d8;
  color: #292a24;
  text-align: left;
  isolation: isolate;
}

.art-forma .art-label {
  position: absolute;
  z-index: 5;
  top: 13px;
  left: 14px;
  color: #68675c;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.forma-preview {
  position: relative;
  display: flex;
  min-height: 278px;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 15px 13px;
  overflow: hidden;
  border: 1px solid rgba(41, 42, 36, 0.12);
  background: rgba(250, 247, 240, 0.55);
}

.forma-topline {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #303129;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.forma-topline i {
  color: #a36d42;
  font-style: normal;
}

.forma-topline > span {
  color: #79766b;
  font-family: "DM Sans", sans-serif;
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.forma-heading {
  position: relative;
  z-index: 2;
  margin: 17px 0;
  color: #303129;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.55rem, 3.3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.075em;
}

.forma-heading i {
  color: #a36d42;
  font-family: Georgia, serif;
  font-weight: 400;
}

.forma-orbit {
  position: absolute;
  z-index: 1;
  width: 145px;
  height: 145px;
  border: 1px solid rgba(163, 109, 66, 0.4);
  border-radius: 50%;
  pointer-events: none;
}

.forma-orbit-one {
  top: 48px;
  right: -38px;
}

.forma-orbit-two {
  top: 74px;
  right: -10px;
  width: 100px;
  height: 100px;
  border-color: rgba(163, 109, 66, 0.25);
}

.forma-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(41, 42, 36, 0.2);
  color: #68675c;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.art-forma .art-open {
  z-index: 6;
  border-color: rgba(41, 42, 36, 0.25);
  background: #f7f3eb;
  color: #303129;
}

.art-forma:hover .forma-orbit-one {
  transform: translate(-8px, 5px);
}

.art-forma .forma-orbit {
  transition: transform 350ms ease;
}

@media (max-width: 600px) {
  .art-forma {
    min-height: 280px;
    padding: 15px;
  }

  .forma-preview {
    min-height: 244px;
    padding-inline: 12px;
  }

  .forma-heading {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .art-forma .forma-orbit {
    transition: none;
  }
}


/* =========================================
   DIGITAL VAULT — LIVE PROJECT CARD
   Editorial digital-library aesthetic
========================================= */

.art-vault {
  position: relative;
  display: block;
  min-height: 320px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(69, 69, 53, 0.15);
  border-radius: 16px;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(190, 151, 99, 0.22),
      transparent 38%
    ),
    #e9e3d6;
  color: #292b25;
  text-decoration: none;
  isolation: isolate;
}

.art-vault .art-label {
  color: #f8f5ed;
}

.vault-preview {
  position: relative;
  display: flex;
  min-height: 278px;
  flex-direction: column;
  justify-content: space-between;
  padding: 35px 17px 14px;
  overflow: hidden;
  border: 1px solid rgba(41, 43, 37, 0.13);
  background:
    linear-gradient(
      140deg,
      rgba(255, 253, 246, 0.94),
      rgba(240, 234, 220, 0.88)
    );
}

.vault-topline {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vault-logo {
  color: #30382f;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.09em;
}

.vault-logo > span {
  color: #b47742;
}

.vault-topline > span:last-child {
  color: #79776b;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: right;
}

.vault-heading {
  position: relative;
  z-index: 3;
  margin: 20px 0;
  color: #30382f;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.075em;
}

.vault-heading i {
  color: #a76e40;
  font-family: Georgia, serif;
  font-weight: 400;
}

.vault-graphic {
  position: absolute;
  top: 48px;
  right: 12px;
  width: 155px;
  height: 170px;
  pointer-events: none;
}

.vault-document {
  position: absolute;
  width: 78px;
  height: 104px;
  border: 1px solid rgba(48, 56, 47, 0.15);
  border-radius: 5px;
  box-shadow: 0 9px 20px rgba(48, 42, 30, 0.12);
}

.vault-document-one {
  top: 22px;
  left: 15px;
  background: #b6c0a7;
  transform: rotate(-18deg);
}

.vault-document-two {
  top: 10px;
  left: 48px;
  background: #d7b58a;
  transform: rotate(12deg);
}

.vault-document-three {
  top: 34px;
  left: 55px;
  display: grid;
  place-items: center;
  border-color: rgba(255, 255, 255, 0.2);
  background: #35463a;
  color: #f4e9d4;
  transform: rotate(5deg);
  transition: transform 350ms ease;
}

.vault-document-three > span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.1em;
}

.art-vault:hover .vault-document-three {
  transform: translateY(-6px) rotate(0deg);
}

.vault-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(41, 43, 37, 0.18);
  color: #696b5e;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.055em;
}

.art-vault .art-open {
  z-index: 6;
  border-color: rgba(41, 43, 37, 0.2);
  background: #fffdf6;
  color: #30382f;
}

@media (max-width: 600px) {
  .art-vault {
    min-height: 280px;
    padding: 15px;
  }

  .vault-preview {
    min-height: 244px;
    padding-inline: 12px;
  }

  .vault-heading {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
  }

  .vault-graphic {
    right: 0;
    transform: scale(0.85);
    transform-origin: center right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .art-vault .vault-document-three {
    transition: none;
  }
}

/* ---------- END DIGITAL VAULT ---------- */


/* =========================================
   PORTFOLIO PROJECT CARD — VISUAL POLISH
========================================= */

.project-card {
  position: relative;
  border-color: var(--line);
  background:
    linear-gradient(145deg, var(--surface), var(--bg-soft));
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: var(--accent);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.project-art {
  min-height: 300px;
  border-bottom: 1px solid var(--line);
}

.project-info {
  padding: 25px 25px 12px;
}

.project-info h3 {
  margin-top: 9px;
  transition: color var(--transition);
}

.project-card:hover .project-info h3 {
  color: var(--accent);
}

.project-card > p {
  padding: 0 25px;
  margin-bottom: 0;
  font-size: 0.86rem;
  line-height: 1.85;
}

.project-card .tag-list {
  padding: 0 25px 25px;
}

.tag-list span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-raised);
  color: var(--muted);
  font-size: 0.68rem;
  transition: border-color var(--transition), color var(--transition);
}

.project-card:hover .tag-list span {
  border-color: var(--line-strong);
}

/* Clear distinction for published demos */

.art-label.demo-label {
  border-color: rgba(139, 201, 154, 0.55);
  background: rgba(19, 45, 31, 0.88);
  color: #b8e9c3;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.art-label.demo-label::before {
  background: #8bc99a;
  box-shadow: 0 0 9px rgba(139, 201, 154, 0.6);
}

/* Eduvance project artwork */

.art-eduvance {
  padding: 28px;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 166, 90, 0.22), transparent 38%),
    linear-gradient(145deg, #263b50, #101d2b);
  text-decoration: none;
}

.eduvance-preview {
  position: relative;
  width: min(90%, 350px);
  min-height: 235px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #f2eee3;
  color: #172b3d;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  transform: rotate(-2deg);
  transition: transform 350ms ease;
}

.project-card:hover .eduvance-preview {
  transform: rotate(0deg) translateY(-3px);
}

.eduvance-topline {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.eduvance-topline i {
  color: #a66c34;
  font-family: "DM Sans", sans-serif;
  font-size: 0.55rem;
  font-style: normal;
  letter-spacing: 0.13em;
}

.eduvance-heading {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.eduvance-heading i {
  color: #b66d32;
  font-style: normal;
}

.eduvance-graphic {
  position: absolute;
  top: 65px;
  right: 22px;
  width: 125px;
  height: 125px;
}

.edu-circle {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(182, 109, 50, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(182, 109, 50, 0.07);
}

.edu-book {
  position: absolute;
  top: 29px;
  left: 29px;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 9px;
  background: #243e54;
  color: #f2eee3;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  transform: rotate(7deg);
}

.edu-line {
  position: absolute;
  right: -8px;
  bottom: 7px;
  width: 45px;
  height: 3px;
  background: #b66d32;
  transform: rotate(-35deg);
}

.eduvance-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 43, 61, 0.2);
  color: #5f625e;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Smaller screens */

@media (max-width: 600px) {
  .project-art {
    min-height: 255px;
  }

  .project-info {
    padding: 21px 20px 10px;
  }

  .project-card > p {
    padding-inline: 20px;
  }

  .project-card .tag-list {
    padding-inline: 20px;
    padding-bottom: 21px;
  }

  .eduvance-preview {
    min-height: 220px;
    padding: 20px;
  }

  .eduvance-graphic {
    right: 12px;
    transform: scale(0.82);
    transform-origin: top right;
  }
}
