:root {
  --bg: #020612;
  --panel: rgba(12, 20, 42, 0.82);
  --panel-strong: rgba(10, 17, 38, 0.96);
  --text: #f5f7fb;
  --muted: rgba(233, 240, 251, 0.72);
  --line: rgba(124, 145, 198, 0.18);
  --accent: #d96b3b;
  --accent-2: #184c3a;
  --dark: #161616;
  --light-text: rgba(255, 255, 255, 0.75);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.40);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 16%, rgba(39, 89, 210, 0.18), transparent 24%),
    radial-gradient(circle at 85% 20%, rgba(48, 88, 187, 0.12), transparent 30%),
    linear-gradient(180deg, #020612 0%, #040914 34%, #050a16 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(137, 160, 214, 0.12);
  background: rgba(3, 8, 19, 0.72);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand,
h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(243, 247, 255, 0.84);
}

.brand-logo {
  height: 34px;
  width: auto;
  border-radius: 6px;
  flex-shrink: 0;
}

.identity-logo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.main-nav,
.nav-actions,
.hero-actions,
.inline-links,
.quick-links,
.metric-row,
.footer-shell {
  display: flex;
}

.main-nav {
  gap: 28px;
}

.main-nav a {
  color: rgba(243, 247, 255, 0.75);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a:hover,
.text-link:hover {
  color: #ffffff;
}

.nav-actions {
  gap: 10px;
}

.lang-toggle {
  border: 1px solid rgba(145, 163, 212, 0.2);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.84);
}

.lang-toggle.active {
  background: #2c6dff;
  border-color: #2c6dff;
  color: #fff;
}

.hero,
.page-main,
.section {
  padding: 64px 0;
}

.hero-grid,
.contact-layout,
.info-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  min-height: calc(100vh - 120px);
}

.eyebrow,
.section-kicker,
.feature-label,
.contact-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 800;
}

.eyebrow,
.section-kicker {
  color: rgba(233, 240, 251, 0.45);
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.42);
}

h1 {
  margin: 16px 0 0;
  max-width: 820px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.lead,
.section-heading p,
.info-card p,
.contact-panel p,
.contact-method p,
.legal-card p,
.form-status {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.hero-actions {
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--accent-2);
  color: #fff;
}

.button-primary:hover {
  background: #0f3326;
}

.button-secondary {
  background: #2c6dff;
  border-color: #2c6dff;
  color: #ffffff;
}

.button-secondary:hover {
  background: #1a56e0;
  border-color: #1a56e0;
  color: #ffffff;
}

.hero-panel {
  position: relative;
}

.hero-panel-dark,
.section-dark,
.info-card,
.contact-panel,
.contact-form,
.legal-card,
.portfolio-card,
.quick-link {
  box-shadow: var(--shadow);
}

.hero-panel-dark {
  background: linear-gradient(145deg, #191919 0%, #101010 100%);
  border-radius: 32px;
  padding: 28px;
  color: #fff;
}

.metric-row {
  gap: 16px;
}

.metric-card {
  flex: 1;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-card strong {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
}

.metric-card span {
  color: var(--light-text);
  font-size: 0.95rem;
}

.feature-note {
  margin-top: 18px;
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(217, 107, 59, 0.24), rgba(216, 185, 92, 0.14));
}

.feature-label {
  color: rgba(255, 255, 255, 0.54);
}

.feature-note h2 {
  margin-top: 10px;
  font-size: 1.8rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 460px);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading.compact p {
  color: var(--light-text);
}

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

.portfolio-card,
.info-card,
.contact-panel,
.contact-form,
.legal-card,
.quick-link {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(233, 240, 251, 0.55);
}

.card-head {
  margin-top: 18px;
  border-radius: 26px;
  padding: 1px;
}

.card-head-inner {
  border-radius: 25px;
  background: #151515;
  padding: 24px;
  color: #fff;
}

.card-head-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.card-head-inner h3 {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 2rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.card-tags span {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(233, 240, 251, 0.65);
  font-size: 0.8rem;
  font-weight: 700;
}

.card-footer {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(233, 240, 251, 0.5);
  font-weight: 700;
}

.section-dark {
  background: linear-gradient(180deg, #171717 0%, #111111 100%);
  color: #fff;
}

.quick-links {
  gap: 18px;
  flex-wrap: wrap;
}

.quick-link {
  min-width: 240px;
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 22px;
}

.quick-link p {
  color: rgba(255, 255, 255, 0.7);
  word-break: break-all;
}

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

.info-card,
.contact-panel,
.contact-form,
.legal-card {
  padding: 28px;
}

.contact-panel-solo {
  max-width: 860px;
  margin: 0 auto;
}

.inline-links {
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.text-link {
  color: #5ecba5;
  font-weight: 800;
}

.contact-method .text-link {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.site-footer {
  padding: 28px 0 34px;
  border-top: 1px solid rgba(124, 145, 198, 0.12);
  background: rgba(4, 9, 20, 0.72);
}

.footer-shell {
  justify-content: space-between;
  gap: 12px;
  color: rgba(233, 240, 251, 0.72);
  font-size: 0.92rem;
}

.page-main {
  padding-top: 28px;
}

.page-hero {
  padding: 42px 0 8px;
}

.contact-layout {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.contact-method + .contact-method {
  margin-top: 22px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(124, 145, 198, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(92, 156, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(44, 109, 255, 0.12);
}

.form-status {
  margin: 0;
}

.legal-layout {
  display: block;
}

.legal-card h2 {
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.legal-card p + h2 {
  margin-top: 28px;
}

.home-showcase {
  padding: 56px 0 72px;
}

.showcase-grid,
.capability-grid,
.service-grid,
.contact-strip {
  display: grid;
}

.showcase-grid {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.45fr);
  gap: 36px;
  align-items: stretch;
}

.identity-panel,
.capability-card,
.service-board,
.contact-chip {
  border: 1px solid rgba(124, 145, 198, 0.16);
  background: linear-gradient(180deg, rgba(10, 17, 33, 0.88) 0%, rgba(7, 13, 27, 0.96) 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.identity-panel {
  border-radius: 36px;
  padding: 40px 28px;
  text-align: center;
}

.identity-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 32px;
}

.identity-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  border: 9px solid #ffffff;
  border-radius: 34px;
  font-family: "Outfit", sans-serif;
  font-size: 3.25rem;
  font-weight: 800;
  color: transparent;
  position: relative;
}

.identity-logo span:first-child {
  border-right-color: transparent;
  transform: skewX(-7deg);
}

.identity-logo span:last-child {
  border-left-color: transparent;
  transform: skewX(7deg);
}

.identity-title {
  margin: 0;
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.2em;
}

.identity-subtitle {
  margin: 18px 0 0;
  color: rgba(239, 245, 255, 0.92);
  font-size: 1.55rem;
  letter-spacing: 0.18em;
}

.identity-tagline {
  margin: 28px 0 0;
  color: #3d8cff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.showcase-stats {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.identity-actions {
  margin-top: 20px;
  justify-content: center;
}

.identity-actions .button {
  flex: 1;
  justify-content: center;
}

.stat-chip {
  padding: 18px 20px;
  border: 1px solid rgba(124, 145, 198, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.stat-chip strong,
.stat-chip span {
  display: block;
}

.stat-chip strong {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
}

.stat-chip span {
  margin-top: 8px;
  color: rgba(233, 240, 251, 0.72);
  line-height: 1.6;
}

.intro-panel {
  padding: 8px 0;
}

.intro-panel h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(3rem, 4vw, 4.6rem);
  line-height: 1.08;
  color: #ffffff;
}

.title-accent {
  color: #2f82ff;
}

.intro-lead {
  margin: 18px 0 0;
  color: rgba(233, 240, 251, 0.82);
  font-size: 1.65rem;
  line-height: 1.55;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px 24px;
  border-radius: 18px;
  border: 1px solid rgba(124, 145, 198, 0.24);
  background: rgba(8, 14, 28, 0.72);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.tech-icon,
.capability-icon,
.service-icon,
.contact-chip-icon,
.point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tech-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
}

.tech-icon.android {
  background: linear-gradient(135deg, #80d100, #c7ff55);
  color: #0d1400;
}

.tech-icon.kotlin {
  background: linear-gradient(135deg, #3f75ff, #ff7b4d);
}

.tech-icon.java {
  background: linear-gradient(135deg, #e0432d, #ffaf38);
}

.tech-icon.flutter {
  background: linear-gradient(135deg, #34c0ff, #1e65ff);
}

.tech-icon.harmony {
  width: 50px;
  font-size: 0.7rem;
  background: linear-gradient(135deg, #1d2638, #111724);
  border: 1px solid rgba(255, 70, 70, 0.64);
}

.intro-points {
  margin-top: 28px;
}

.point-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.point-item + .point-item {
  margin-top: 18px;
}

.point-icon {
  width: 28px;
  height: 28px;
  margin-top: 4px;
  border: 2px solid #2e83ff;
  border-radius: 999px;
  color: #2e83ff;
  font-size: 0.92rem;
  font-weight: 800;
}

.point-item p {
  margin: 0;
  color: rgba(237, 243, 251, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
}

.capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid rgba(124, 145, 198, 0.14);
}

.capability-card {
  min-height: 100%;
  padding: 34px 28px;
  border-radius: 0;
  border-top: 0;
  border-bottom: 0;
  border-left-width: 0;
}

.capability-card:first-child {
  border-left-width: 1px;
  border-top-left-radius: 28px;
  border-bottom-left-radius: 28px;
}

.capability-card:last-child {
  border-top-right-radius: 28px;
  border-bottom-right-radius: 28px;
}

.capability-icon {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #4f95ff, #214db0);
  color: #f6f9ff;
  font-size: 1.5rem;
  font-weight: 800;
}

.capability-card h2 {
  margin: 18px 0 0;
  color: #ffffff;
  font-size: 1.9rem;
}

.capability-card p,
.capability-list {
  margin: 20px 0 0;
  color: rgba(233, 240, 251, 0.8);
  font-size: 1.04rem;
  line-height: 1.8;
}

.capability-list {
  padding-left: 20px;
}

.service-board {
  margin-top: 24px;
  border-radius: 28px;
  padding: 22px 28px 10px;
}

.service-board-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 2rem;
}

.service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
}

.service-item {
  padding: 18px 20px 24px;
  border-right: 1px solid rgba(124, 145, 198, 0.14);
}

.service-item:last-child {
  border-right: 0;
}

.service-icon,
.contact-chip-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #4f95ff, #214db0);
  color: #ffffff;
  font-size: 1.55rem;
}

.service-item h3 {
  margin-top: 18px;
  color: #ffffff;
  font-size: 1.45rem;
}

.service-item p {
  margin: 12px 0 0;
  color: rgba(233, 240, 251, 0.78);
  line-height: 1.7;
}

.contact-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  border-radius: 24px;
  color: #ffffff;
}

.contact-chip strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-chip small {
  display: block;
  margin-top: 6px;
  color: rgba(233, 240, 251, 0.74);
  font-size: 0.98rem;
}

.portfolio-stage {
  margin-top: 24px;
}

.featured-card {
  min-height: 360px;
}

.portfolio-summary {
  margin: 20px 0 0;
  color: rgba(233, 240, 251, 0.8);
  line-height: 1.8;
  font-size: 1rem;
}

.card-head-gradient-one {
  background:
    radial-gradient(circle at top right, rgba(82, 155, 255, 0.3), transparent 30%),
    linear-gradient(145deg, #0f2247 0%, #111827 100%);
}

.card-head-gradient-two {
  background:
    radial-gradient(circle at top right, rgba(70, 214, 173, 0.22), transparent 30%),
    linear-gradient(145deg, #0f2f32 0%, #111827 100%);
}

.card-head-gradient-three {
  background:
    radial-gradient(circle at top right, rgba(255, 149, 93, 0.24), transparent 30%),
    linear-gradient(145deg, #352015 0%, #111827 100%);
}

.portfolio-link {
  color: #ffffff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.process-card {
  padding: 26px;
  border: 1px solid rgba(124, 145, 198, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10, 17, 33, 0.88) 0%, rgba(7, 13, 27, 0.96) 100%);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.process-card h3 {
  margin: 18px 0 0;
  color: #ffffff;
  font-size: 1.55rem;
}

.process-card p {
  margin: 14px 0 0;
  color: rgba(233, 240, 251, 0.76);
  line-height: 1.75;
}

@media (max-width: 920px) {
  .showcase-grid,
  .hero-grid,
  .section-heading,
  .contact-layout,
  .info-grid,
  .portfolio-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    border-top: 0;
  }

  .capability-card,
  .capability-card:first-child,
  .capability-card:last-child {
    border: 1px solid rgba(124, 145, 198, 0.16);
    border-radius: 24px;
  }

  .main-nav {
    display: none;
  }

  .quick-links,
  .footer-shell {
    flex-direction: column;
  }

  .service-grid,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .service-item {
    border-right: 0;
    border-bottom: 1px solid rgba(124, 145, 198, 0.14);
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .nav-shell {
    flex-wrap: wrap;
  }

  .hero,
  .section,
  .page-main {
    padding: 44px 0;
  }

  .hero-grid {
    min-height: auto;
  }

  .metric-row {
    flex-direction: column;
  }

  .hero-panel-dark,
  .portfolio-card,
  .info-card,
  .contact-panel,
  .contact-form,
  .legal-card {
    border-radius: 24px;
  }

  .identity-logo span {
    width: 92px;
    height: 92px;
    font-size: 2.4rem;
  }

  .showcase-stats,
  .process-grid {
    gap: 16px;
  }

  .identity-title {
    font-size: 1.15rem;
    letter-spacing: 0.14em;
  }

  .identity-subtitle,
  .identity-tagline,
  .intro-lead {
    font-size: 1.08rem;
    letter-spacing: 0.04em;
  }

  .tech-pill {
    min-height: 60px;
    padding: 12px 18px;
  }

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

  .contact-chip {
    padding: 20px;
  }
}

/* Editorial home refresh inspired by the Stitch reference. */
body[data-page="home"] {
  --bg: #fbf9f8;
  --surface: #fbf9f8;
  --surface-low: #f2f0ef;
  --surface-mid: #e8e6e4;
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --text: #1b1c1c;
  --muted: #5f6264;
  --line: rgba(27, 28, 28, 0.14);
  --accent: #111111;
  --accent-2: #111111;
  --shadow: 0 34px 90px rgba(35, 32, 29, 0.08);
  --light-text: #686b6d;
}

body[data-page="home"] {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body[data-page="home"] .brand,
body[data-page="home"] h1,
body[data-page="home"] h2,
body[data-page="home"] h3 {
  font-family: "Libre Caslon Text", Georgia, serif;
  letter-spacing: 0;
}

body[data-page="home"] .site-header {
  position: fixed;
  width: 100%;
  background: rgba(251, 249, 248, 0.82);
  border-bottom: 1px solid rgba(27, 28, 28, 0.08);
  box-shadow: 0 20px 60px rgba(27, 28, 28, 0.04);
}

body[data-page="home"] .nav-shell {
  min-height: 80px;
  padding: 0;
}

body[data-page="home"] .brand {
  color: #111111;
  font-size: 1.5rem;
  font-weight: 400;
}

body[data-page="home"] .brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 0;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
}

body[data-page="home"] .main-nav {
  gap: 30px;
}

body[data-page="home"] .main-nav a,
body[data-page="home"] .section-kicker,
body[data-page="home"] .card-badge,
body[data-page="home"] .lang-toggle,
body[data-page="home"] .tech-pill,
body[data-page="home"] .card-tags span {
  font-family: "Inter", sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

body[data-page="home"] .main-nav a {
  color: rgba(27, 28, 28, 0.52);
}

body[data-page="home"] .main-nav a:hover {
  color: #111111;
}

body[data-page="home"] .lang-toggle {
  border-radius: 0;
  border-color: rgba(27, 28, 28, 0.15);
  background: transparent;
  color: rgba(27, 28, 28, 0.65);
}

body[data-page="home"] .lang-toggle.active,
body[data-page="home"] .button-primary,
body[data-page="home"] .button-secondary:hover {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

body[data-page="home"] .home-showcase {
  padding: 132px 0 0;
}

body[data-page="home"] .showcase-grid {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: 64px;
  align-items: center;
  min-height: min(620px, calc(100vh - 128px));
}

body[data-page="home"] .identity-panel {
  order: 2;
  position: relative;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  text-align: left;
}

body[data-page="home"] .hero-skill-panel {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 38px;
  border: 1px solid rgba(27, 28, 28, 0.12);
  background: #ffffff;
  box-shadow: var(--shadow);
}

body[data-page="home"] .hero-skill-panel h2 {
  max-width: 480px;
  color: #111111;
  font-size: clamp(1.65rem, 2.9vw, 2.65rem);
  font-weight: 400;
  line-height: 1.12;
}

body[data-page="home"] .hero-skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(27, 28, 28, 0.12);
  border-left: 1px solid rgba(27, 28, 28, 0.12);
}

body[data-page="home"] .hero-skill-grid div {
  min-height: 124px;
  padding: 20px 22px;
  border-right: 1px solid rgba(27, 28, 28, 0.12);
  border-bottom: 1px solid rgba(27, 28, 28, 0.12);
}

body[data-page="home"] .hero-skill-grid strong {
  display: block;
  color: #111111;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1.42rem;
  font-weight: 400;
}

body[data-page="home"] .hero-skill-grid span {
  display: block;
  margin-top: 9px;
  color: #5c5f60;
  line-height: 1.55;
  font-size: 0.96rem;
}

body[data-page="home"] .showcase-stats {
  position: static;
  width: 100%;
  margin: 24px 0 0;
  gap: 0;
  background: rgba(251, 249, 248, 0.95);
  border: 1px solid rgba(27, 28, 28, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

body[data-page="home"] .stat-chip {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 18px 22px;
}

body[data-page="home"] .stat-chip + .stat-chip {
  border-top: 1px solid rgba(27, 28, 28, 0.09);
}

body[data-page="home"] .stat-chip strong {
  color: #111111;
  font-size: 1.02rem;
}

body[data-page="home"] .stat-chip span {
  color: var(--muted);
}

body[data-page="home"] .identity-actions {
  display: none;
}

body[data-page="home"] .intro-actions {
  margin-top: 28px;
}

body[data-page="home"] .intro-panel {
  padding: 0;
}

body[data-page="home"] .section-kicker.light,
body[data-page="home"] .section-kicker {
  color: #676866;
}

body[data-page="home"] .intro-panel h1 {
  max-width: 560px;
  color: #111111;
  font-size: clamp(2.65rem, 4.35vw, 4.25rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.02;
}

body[data-page="home"] .title-accent {
  display: block;
  color: #111111;
  font-style: normal;
}

body[data-page="home"] .intro-lead {
  max-width: 540px;
  color: #4d5051;
  font-size: 1.03rem;
  line-height: 1.75;
  letter-spacing: 0;
}

body[data-page="home"] .tech-stack {
  gap: 10px;
  margin-top: 28px;
}

body[data-page="home"] .tech-pill {
  min-height: auto;
  border-radius: 999px;
  padding: 12px 16px;
  background: transparent;
  border-color: rgba(27, 28, 28, 0.18);
  color: #111111;
  font-weight: 700;
}

body[data-page="home"] .tech-icon {
  display: none;
}

body[data-page="home"] .intro-points {
  display: none;
}

body[data-page="home"] .hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(27, 28, 28, 0.12);
  max-width: 700px;
}

body[data-page="home"] .hero-proof strong,
body[data-page="home"] .hero-proof span {
  display: block;
}

body[data-page="home"] .hero-proof strong {
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: #111111;
}

body[data-page="home"] .hero-proof span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

body[data-page="home"] .button {
  border-radius: 0;
  padding: 16px 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

body[data-page="home"] .button-secondary {
  background: transparent;
  border-color: #111111;
  color: #111111;
}

body[data-page="home"] .capability-grid,
body[data-page="home"] .portfolio-stage,
body[data-page="home"] .service-board,
body[data-page="home"] .process-grid,
body[data-page="home"] .contact-strip {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

body[data-page="home"] .capability-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 110px;
  border-top: 1px solid rgba(27, 28, 28, 0.12);
  border-bottom: 1px solid rgba(27, 28, 28, 0.12);
  background: #ffffff;
}

body[data-page="home"] .capability-card {
  border: 0;
  border-left: 1px solid rgba(27, 28, 28, 0.1);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 44px 32px;
}

body[data-page="home"] .capability-card:first-child {
  border-left: 0;
}

body[data-page="home"] .capability-icon,
body[data-page="home"] .service-icon,
body[data-page="home"] .contact-chip-icon,
body[data-page="home"] .point-icon {
  background: transparent;
  color: #111111;
  border: 1px solid rgba(27, 28, 28, 0.16);
}

body[data-page="home"] .capability-card h2 {
  color: #111111;
  font-size: 1.6rem;
}

body[data-page="home"] .capability-card p,
body[data-page="home"] .capability-list {
  color: #56595a;
}

body[data-page="home"] .portfolio-stage {
  margin-top: 0;
  padding: 118px max(24px, calc((100vw - 1120px) / 2)) 120px;
  background: var(--surface-low);
}

body[data-page="home"] .section-heading {
  margin-bottom: 64px;
}

body[data-page="home"] .section-heading h2,
body[data-page="home"] .service-board-head h2 {
  color: #111111;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
}

body[data-page="home"] .section-heading.compact p {
  color: #5d6062;
}

body[data-page="home"] .portfolio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px 48px;
}

body[data-page="home"] .portfolio-card {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page="home"] .portfolio-card:nth-child(even) {
  transform: translateY(72px);
}

body[data-page="home"] .portfolio-card:hover {
  transform: translateY(-6px);
}

body[data-page="home"] .portfolio-card:nth-child(even):hover {
  transform: translateY(60px);
}

body[data-page="home"] .card-badge {
  margin-bottom: 18px;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: rgba(27, 28, 28, 0.48);
}

body[data-page="home"] .card-head {
  margin: 0 0 24px;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

body[data-page="home"] .card-head-inner {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 0;
  padding: 34px;
  color: #111111;
  background: #dedbd8;
}

body[data-page="home"] .card-head-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 26%, rgba(251, 249, 248, 0.92) 100%);
}

body[data-page="home"] .card-head-inner p,
body[data-page="home"] .card-head-inner h3 {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .card-head-inner p {
  color: rgba(27, 28, 28, 0.58);
}

body[data-page="home"] .card-head-inner h3 {
  color: #111111;
  font-size: 2.4rem;
  font-weight: 400;
}

body[data-page="home"] .card-head-gradient-one {
  background: linear-gradient(135deg, #ece7de 0%, #d6d9d1 100%);
}

body[data-page="home"] .card-head-gradient-two {
  background: linear-gradient(135deg, #e4e5df 0%, #d5ddd7 100%);
}

body[data-page="home"] .card-head-gradient-three {
  background: linear-gradient(135deg, #e6e1da 0%, #d7d2cc 100%);
}

body[data-page="home"] .project-visual {
  position: absolute;
  inset: 32px 34px 88px;
  display: grid;
  gap: 12px;
  opacity: 0.72;
  filter: grayscale(1);
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.6s ease;
}

body[data-page="home"] .portfolio-card:hover .project-visual {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.02);
}

body[data-page="home"] .project-visual span {
  display: block;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(27, 28, 28, 0.09);
}

body[data-page="home"] .habit-visual {
  grid-template-columns: repeat(3, 1fr);
}

body[data-page="home"] .habit-visual span {
  border-radius: 999px 999px 18px 18px;
}

body[data-page="home"] .harmony-visual {
  grid-template-columns: 1.4fr 0.8fr;
  grid-template-rows: 1fr 1fr;
}

body[data-page="home"] .harmony-visual span:first-child {
  grid-row: span 2;
}

body[data-page="home"] .read-visual {
  grid-template-columns: 0.85fr 1.15fr 0.85fr;
}

body[data-page="home"] .read-visual span {
  border-radius: 4px;
}

body[data-page="home"] .portfolio-summary {
  color: #4d5051;
}

body[data-page="home"] .card-tags span {
  border-radius: 999px;
  background: #ffffff;
  color: rgba(27, 28, 28, 0.64);
}

body[data-page="home"] .portfolio-link,
body[data-page="home"] .text-link {
  color: #111111;
  border-bottom: 1px solid #111111;
}

body[data-page="home"] .service-board {
  margin-top: 0;
  padding: 116px max(24px, calc((100vw - 1120px) / 2)) 40px;
  border: 0;
  border-radius: 0;
  background: var(--bg);
  box-shadow: none;
}

body[data-page="home"] .service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid rgba(27, 28, 28, 0.12);
}

body[data-page="home"] .service-item {
  padding: 28px 24px;
  border-color: rgba(27, 28, 28, 0.1);
}

body[data-page="home"] .service-item h3,
body[data-page="home"] .process-card h3,
body[data-page="home"] .contact-chip strong {
  color: #111111;
  font-family: "Inter", sans-serif;
}

body[data-page="home"] .service-item p,
body[data-page="home"] .process-card p,
body[data-page="home"] .contact-chip small {
  color: #5d6062;
}

body[data-page="home"] .process-grid,
body[data-page="home"] .contact-strip {
  padding-left: max(24px, calc((100vw - 1120px) / 2));
  padding-right: max(24px, calc((100vw - 1120px) / 2));
}

body[data-page="home"] .process-card,
body[data-page="home"] .contact-chip {
  border-radius: 0;
  border-color: rgba(27, 28, 28, 0.12);
  background: #ffffff;
  box-shadow: none;
}

body[data-page="home"] .contact-strip {
  padding-bottom: 118px;
}

body[data-page="home"] .site-footer {
  border-color: rgba(27, 28, 28, 0.12);
  background: #ffffff;
}

body[data-page="home"] .footer-shell {
  color: #5d6062;
}

body[data-page="privacy"],
body[data-page="terms"],
body[data-page="contact"] {
  --bg: #fbf9f8;
  --surface-low: #f2f0ef;
  --text: #1b1c1c;
  --muted: #5f6264;
  --line: rgba(27, 28, 28, 0.14);
  --shadow: 0 34px 90px rgba(35, 32, 29, 0.08);
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
}

body[data-page="privacy"] .brand,
body[data-page="privacy"] h1,
body[data-page="privacy"] h2,
body[data-page="terms"] .brand,
body[data-page="terms"] h1,
body[data-page="terms"] h2,
body[data-page="contact"] .brand,
body[data-page="contact"] h1,
body[data-page="contact"] h2 {
  font-family: "Libre Caslon Text", Georgia, serif;
  letter-spacing: 0;
}

body[data-page="privacy"] .site-header,
body[data-page="terms"] .site-header,
body[data-page="contact"] .site-header {
  position: sticky;
  background: rgba(251, 249, 248, 0.86);
  border-bottom: 1px solid rgba(27, 28, 28, 0.08);
  box-shadow: 0 20px 60px rgba(27, 28, 28, 0.04);
}

body[data-page="privacy"] .nav-shell,
body[data-page="terms"] .nav-shell,
body[data-page="contact"] .nav-shell {
  min-height: 80px;
  padding: 0;
}

body[data-page="privacy"] .brand,
body[data-page="terms"] .brand,
body[data-page="contact"] .brand {
  color: #111111;
  font-size: 1.45rem;
  font-weight: 400;
}

body[data-page="privacy"] .brand-logo,
body[data-page="terms"] .brand-logo,
body[data-page="contact"] .brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 0;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
}

body[data-page="privacy"] .main-nav,
body[data-page="terms"] .main-nav,
body[data-page="contact"] .main-nav {
  gap: 30px;
}

body[data-page="privacy"] .main-nav a,
body[data-page="privacy"] .section-kicker,
body[data-page="privacy"] .lang-toggle,
body[data-page="privacy"] .legal-meta span,
body[data-page="terms"] .main-nav a,
body[data-page="terms"] .section-kicker,
body[data-page="terms"] .lang-toggle,
body[data-page="terms"] .legal-meta span,
body[data-page="contact"] .main-nav a,
body[data-page="contact"] .section-kicker,
body[data-page="contact"] .contact-label,
body[data-page="contact"] .lang-toggle {
  font-family: "Inter", sans-serif;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

body[data-page="privacy"] .main-nav a,
body[data-page="terms"] .main-nav a,
body[data-page="contact"] .main-nav a {
  color: rgba(27, 28, 28, 0.52);
}

body[data-page="privacy"] .main-nav a:hover,
body[data-page="terms"] .main-nav a:hover,
body[data-page="contact"] .main-nav a:hover {
  color: #111111;
}

body[data-page="privacy"] .lang-toggle,
body[data-page="terms"] .lang-toggle,
body[data-page="contact"] .lang-toggle {
  border-radius: 0;
  border-color: rgba(27, 28, 28, 0.15);
  background: transparent;
  color: rgba(27, 28, 28, 0.65);
}

body[data-page="privacy"] .lang-toggle.active,
body[data-page="terms"] .lang-toggle.active,
body[data-page="contact"] .lang-toggle.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

body[data-page="privacy"] .page-main,
body[data-page="terms"] .page-main,
body[data-page="contact"] .page-main {
  padding: 0;
}

body[data-page="privacy"] .page-hero,
body[data-page="terms"] .page-hero,
body[data-page="contact"] .page-hero {
  padding: 54px 0 42px;
  border-bottom: 1px solid rgba(27, 28, 28, 0.1);
}

body[data-page="privacy"] .page-hero .container,
body[data-page="terms"] .page-hero .container,
body[data-page="contact"] .page-hero .container {
  display: block;
  max-width: 920px;
}

body[data-page="privacy"] .section-kicker,
body[data-page="terms"] .section-kicker,
body[data-page="contact"] .section-kicker {
  color: #696a68;
}

body[data-page="privacy"] .page-hero h1,
body[data-page="terms"] .page-hero h1,
body[data-page="contact"] .page-hero h1 {
  margin-top: 14px;
  max-width: 760px;
  color: #111111;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.08;
}

body[data-page="privacy"] .page-hero .lead,
body[data-page="terms"] .page-hero .lead,
body[data-page="contact"] .page-hero .lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: #4f5253;
  font-size: 1.02rem;
  line-height: 1.8;
}

body[data-page="privacy"] .section,
body[data-page="terms"] .section,
body[data-page="contact"] .section {
  padding: 56px 0 88px;
}

body[data-page="privacy"] .legal-layout,
body[data-page="terms"] .legal-layout {
  display: block;
  max-width: 920px;
}

body[data-page="privacy"] .legal-meta,
body[data-page="terms"] .legal-meta {
  display: grid;
  grid-template-columns: 150px 180px minmax(0, 1fr) 170px;
  grid-template-areas: "type date text action";
  gap: 28px;
  align-items: start;
  margin-bottom: 42px;
  padding: 18px 0;
  border-top: 1px solid rgba(27, 28, 28, 0.12);
  border-bottom: 1px solid rgba(27, 28, 28, 0.12);
}

body[data-page="privacy"] .legal-meta span,
body[data-page="terms"] .legal-meta span {
  display: block;
  grid-area: type;
  color: rgba(27, 28, 28, 0.5);
  font-weight: 800;
  min-width: 0;
}

body[data-page="privacy"] .legal-meta strong,
body[data-page="terms"] .legal-meta strong {
  display: block;
  grid-area: date;
  margin-top: 0;
  color: #111111;
  font-size: 1.05rem;
  line-height: 1.45;
  min-width: 0;
}

body[data-page="privacy"] .legal-meta p,
body[data-page="terms"] .legal-meta p {
  grid-area: text;
  margin: 0;
  color: #5c5f60;
  line-height: 1.75;
  min-width: 0;
}

body[data-page="privacy"] .legal-meta-link,
body[data-page="terms"] .legal-meta-link {
  display: inline-flex;
  grid-area: action;
  justify-self: end;
  margin-top: 0;
  color: #111111;
  border-bottom: 1px solid #111111;
  font-weight: 700;
  line-height: 1.45;
  min-width: 0;
}

body[data-page="privacy"] .legal-card,
body[data-page="terms"] .legal-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page="privacy"] .legal-card h2,
body[data-page="terms"] .legal-card h2 {
  margin: 0 0 14px;
  padding-top: 34px;
  border-top: 1px solid rgba(27, 28, 28, 0.12);
  color: #111111;
  font-family: "Inter", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.4;
}

body[data-page="privacy"] .legal-card h2:first-child,
body[data-page="terms"] .legal-card h2:first-child {
  padding-top: 0;
  border-top: 0;
}

body[data-page="privacy"] .legal-card p,
body[data-page="terms"] .legal-card p {
  max-width: 860px;
  margin: 0;
  color: #4f5253;
  font-size: 1.04rem;
  line-height: 1.9;
}

body[data-page="privacy"] .legal-card p + h2,
body[data-page="terms"] .legal-card p + h2 {
  margin-top: 44px;
}

body[data-page="privacy"] .site-footer,
body[data-page="terms"] .site-footer,
body[data-page="contact"] .site-footer {
  border-color: rgba(27, 28, 28, 0.12);
  background: #ffffff;
}

body[data-page="privacy"] .footer-shell,
body[data-page="terms"] .footer-shell,
body[data-page="contact"] .footer-shell {
  color: #5d6062;
}

body[data-page="contact"] .contact-panel {
  max-width: 920px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page="contact"] .contact-panel h2 {
  margin: 0 0 12px;
  color: #111111;
  font-size: 1.45rem;
  font-weight: 400;
}

body[data-page="contact"] .contact-panel p {
  color: #4f5253;
}

body[data-page="contact"] .contact-method {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(27, 28, 28, 0.12);
}

body[data-page="contact"] .contact-label {
  color: rgba(27, 28, 28, 0.5);
  font-weight: 800;
}

body[data-page="contact"] .contact-method .text-link {
  color: #111111;
  border-bottom: 1px solid #111111;
  font-size: 1.25rem;
  letter-spacing: 0;
}

@media (max-width: 920px) {
  body[data-page="home"] .home-showcase {
    padding-top: 104px;
  }

  body[data-page="home"] .showcase-grid,
  body[data-page="home"] .portfolio-grid,
  body[data-page="home"] .capability-grid,
  body[data-page="home"] .service-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .identity-panel {
    order: 0;
  }

  body[data-page="home"] .showcase-stats {
    position: static;
    width: 100%;
  }

  body[data-page="home"] .hero-skill-panel {
    min-height: auto;
  }

  body[data-page="home"] .capability-card {
    border-left: 0;
    border-top: 1px solid rgba(27, 28, 28, 0.1);
  }

  body[data-page="home"] .portfolio-card:nth-child(even),
  body[data-page="home"] .portfolio-card:nth-child(even):hover {
    transform: none;
  }

  body[data-page="home"] .service-item {
    border-right: 0;
  }

  body[data-page="privacy"] .page-hero .container,
  body[data-page="terms"] .page-hero .container,
  body[data-page="contact"] .page-hero .container {
    grid-template-columns: 1fr;
  }

  body[data-page="privacy"] .legal-meta,
  body[data-page="terms"] .legal-meta {
    grid-template-columns: 1fr;
    grid-template-areas:
      "type"
      "date"
      "text"
      "action";
    align-items: start;
  }

  body[data-page="privacy"] .legal-meta-link,
  body[data-page="terms"] .legal-meta-link {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  body[data-page="home"] .nav-shell {
    min-height: 72px;
  }

  body[data-page="home"] .brand {
    font-size: 1.15rem;
  }

  body[data-page="home"] .showcase-grid {
    gap: 34px;
  }

  body[data-page="home"] .hero-skill-panel {
    padding: 28px;
  }

  body[data-page="home"] .hero-skill-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  body[data-page="home"] .intro-panel h1 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  body[data-page="home"] .hero-proof {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body[data-page="home"] .portfolio-stage,
  body[data-page="home"] .service-board {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  body[data-page="home"] .card-head-inner {
    min-height: 260px;
    padding: 24px;
  }

  body[data-page="home"] .project-visual {
    inset: 24px 24px 76px;
  }

  body[data-page="privacy"] .nav-shell,
  body[data-page="terms"] .nav-shell,
  body[data-page="contact"] .nav-shell {
    min-height: 72px;
  }

  body[data-page="privacy"] .brand,
  body[data-page="terms"] .brand,
  body[data-page="contact"] .brand {
    font-size: 1.05rem;
  }

  body[data-page="privacy"] .page-hero,
  body[data-page="terms"] .page-hero,
  body[data-page="contact"] .page-hero {
    padding: 42px 0 30px;
  }

  body[data-page="privacy"] .page-hero h1,
  body[data-page="terms"] .page-hero h1,
  body[data-page="contact"] .page-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  body[data-page="privacy"] .section,
  body[data-page="terms"] .section,
  body[data-page="contact"] .section {
    padding: 52px 0 76px;
  }
}


body[data-page="home"] .card-head {
  overflow: hidden;
  background: #dedbd8;
}

body[data-page="home"] .product-promo {
  display: block;
  width: 100%;
  aspect-ratio: 1458 / 1279;
  object-fit: cover;
  background: #dedbd8;
  filter: grayscale(0.1);
  transition: filter 0.6s ease, transform 0.6s ease;
}

body[data-page="home"] .portfolio-card:hover .product-promo {
  filter: grayscale(0);
  transform: scale(1.015);
}

body[data-page="home"] .work-store {
  margin: 0 0 8px;
  color: rgba(27, 28, 28, 0.58);
  font-size: 0.96rem;
  line-height: 1.5;
}

body[data-page="home"] .work-title {
  margin: 0;
  color: #111111;
  font-family: "Libre Caslon Text", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

