﻿/* =============================================================================
   HODHOD - MASTER STYLESHEET (PRODUCTION / REUSABLE)

   CONTENT INDEX
   01) Design tokens - colors, typography, spacing, radius, shadows, glass, motion               [S01]
   02) Reset + base - normalization + base element defaults                                      [S02]
   03) Typography - headings, paragraphs, emphasis + title decoration                            [S03]
   04) Layout + rhythm - container, section spacing, header-gap normalization                    [S04]
   05) Links - global anchors + hover                                                            [S05]
   06) Buttons - primary/secondary + focus + press + shine                                       [S06]
   07) Navigation - sticky glass header + navbar + active states                                 [S07]
   08) Footer - grid layout + links + icon links                                                 [S08]
   09) Home patterns - hero overlap, selected work, about/contact previews                       [S09]
   10) Work page - project cards + portfolio download                                            [S10]
   11) Case studies - shared section cards + scoped AI widget add-ons                            [S11]
   12) Forms - global fields + contact layout + feedback blocks                                  [S12]
   13) Thank you page - layout + action row                                                      [S13]
   14) Responsive (primary) - global breakpoints                                                 [S14]
============================================================================= */


/* =============================================================================
   01) DESIGN TOKENS - THEME VARIABLES  [S01]
   Purpose:
   Centralized design variables that define the visual language of the system:
   colors, typography, spacing, radius, shadows, glass effects, and motion.
============================================================================= */

:root {
  /* -----------------------------------------------------------------------------
    01.1 Colors
  ----------------------------------------------------------------------------- */
  --bg-primary: #121922;
  --bg-surface: #1B2632;
  --bg-elevated: #223040;

  --accent-100: #FAD2BB;
  --accent-300: #F39A62;
  --accent-500: #EA6D1E;
  --accent-700: #C95B16;
  --accent-900: #8A360F;

  --teal-300: #1C4D58;
  --teal-500: #0E3A46;
  --teal-700: #082A32;

  --text-primary: #F7EFE6;
  --text-secondary: rgba(247, 239, 230, 0.78);
  --text-muted: rgba(247, 239, 230, 0.58);

  --border-subtle: rgba(247, 239, 230, 0.12);
  --border-strong: rgba(247, 239, 230, 0.24);

  /* -------------------------------------------------------------------------
     01.2 Typography
  ------------------------------------------------------------------------- */

  /* Font families */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-hand: "Caveat", cursive;

  /* Font sizes */
  --fs-h1: clamp(34px, 5vw, 54px);
  --fs-h2: clamp(26px, 3.6vw, 38px);
  --fs-h3: clamp(20px, 2.6vw, 26px);
  --fs-body: clamp(16px, 1.6vw, 18px);

  /* Font weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Line heights */
  --lh-heading: 1.15;
  --lh-body: 1.65;


  /* -----------------------------------------------------------------------------
    01.3 Layout
  ----------------------------------------------------------------------------- */
  --container-max: 1080px;
  --container-width: 86%;
  --page-pad: clamp(18px, 2.4vw, 32px);
  --section-gap: clamp(40px, 5.5vw, 76px);

  /* -----------------------------------------------------------------------------
    01.4 Spacing Scale
  ----------------------------------------------------------------------------- */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 100px;

  /* -----------------------------------------------------------------------------
    01.5 Radius
  ----------------------------------------------------------------------------- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* -----------------------------------------------------------------------------
    01.6 Shadows
  ----------------------------------------------------------------------------- */
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.44);
  --shadow-header: 0 10px 36px rgba(0, 0, 0, 0.36);

  /* -----------------------------------------------------------------------------
    01.7 Glass
  ----------------------------------------------------------------------------- */
  --glass-bg: rgba(16, 24, 32, 0.72);
  --glass-blur: 14px;
  --glass-border: rgba(247, 239, 230, 0.14);

  /* -----------------------------------------------------------------------------
    01.8 Motion
  ----------------------------------------------------------------------------- */
  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
  --transition-slow: 0.45s ease;
}



/* =============================================================================
   02) RESET + BASE  [S02]
   Purpose:
   Normalizes browser default styles and establishes consistent base behavior
   for fundamental HTML elements (body, media, lists, etc.).
============================================================================= */

/* -----------------------------------------------------------------------------
  02.1 Universal reset
----------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* -----------------------------------------------------------------------------
  02.2 Document defaults
----------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

/* =============================================================================
   CUSTOM CHATGPT-STYLE SCROLL INDICATOR
   Minimal centered tick group
============================================================================= */

html {
  scrollbar-width: none;
}

body {
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.hodhod-scroll-rail {
  position: fixed;
  right: 10px;
  top: 50%;
  width: 24px;
  height: auto;
  transform: translateY(-50%);
  z-index: 9998;
  pointer-events: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
}

.hodhod-scroll-tick {
  display: block;
  width: 11px;
  height: 2px;
  border-radius: 999px;
  background: rgba(247, 239, 230, 0.30);
  opacity: 0.75;
  transition:
    width 140ms ease,
    background-color 140ms ease,
    opacity 140ms ease;
}

.hodhod-scroll-tick.is-active {
  width: 22px;
  background: rgba(247, 239, 230, 0.96);
  opacity: 1;
}

@media (max-width: 700px) {
  .hodhod-scroll-rail {
    right: 6px;
    width: 18px;
    gap: 6px;
  }

  .hodhod-scroll-tick {
    width: 8px;
    height: 2px;
  }

  .hodhod-scroll-tick.is-active {
    width: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hodhod-scroll-tick {
    transition: none;
  }
}

@media print {
  .hodhod-scroll-rail {
    display: none !important;
  }
}

/* -----------------------------------------------------------------------------
  02.3 Body defaults
----------------------------------------------------------------------------- */
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

/* -----------------------------------------------------------------------------
  02.4 Media defaults
----------------------------------------------------------------------------- */
img {
  max-width: 100%;
  display: block;
}

/* -----------------------------------------------------------------------------
  02.5 List defaults
----------------------------------------------------------------------------- */
ul {
  padding-left: 1.2rem;
}


/* =============================================================================
   03) TYPOGRAPHY SYSTEM  [S03]
   Purpose:
   Shared heading, paragraph, and emphasis styling.
============================================================================= */

/* -----------------------------------------------------------------------------
  03.1 Heading base
----------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-weight: var(--fw-semibold);
  line-height: var(--lh-heading);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

/* -----------------------------------------------------------------------------
  03.2 Heading sizes
----------------------------------------------------------------------------- */
h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

/* -----------------------------------------------------------------------------
  03.3 Paragraph styling
----------------------------------------------------------------------------- */
p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
}

/* -----------------------------------------------------------------------------
  03.4 Emphasis
----------------------------------------------------------------------------- */
strong {
  color: var(--text-primary);
}

/* -----------------------------------------------------------------------------
  03.5 Section title decoration (divider + accent stroke)
  Applies to: home/work/case/forms titles using h2
----------------------------------------------------------------------------- */
:where(.work-preview h2,
  .portfolio-download h2,
  .contact-form h2,
  .case-overview h2,
  .case-problem h2,
  .case-solution h2,
  .case-ux h2,
  .case-outcome h2,
  .case-feedback h2) {
  margin-bottom: 18px;
}

/* =============================================================================
   03.6) PAGE KICKER (ABOUT / CONTACT / WORK)  [S03-KICKER]
   Purpose: One shared top label style with orange dot, used across pages.
============================================================================= */

.page-kicker,
.about-page .about-kicker,
.contact-page .contact-kicker {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.86);
}

.page-kicker .dot,
.about-page .about-kicker .dot,
.contact-page .contact-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-500);
  box-shadow: 0 0 18px rgba(228, 104, 31, 0.55);
}


/* =============================================================================
   04) LAYOUT + SECTION RHYTHM  [S04]
   Purpose:
   Global container sizing + consistent vertical spacing across pages,
   including a single, consistent top offset for the sticky header.
============================================================================= */

/* -----------------------------------------------------------------------------
  04.1 Universal container
----------------------------------------------------------------------------- */
.container {
  width: min(var(--container-max), calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
}

/* -----------------------------------------------------------------------------
  04.2 Main vertical rhythm (ONE global page top offset)
----------------------------------------------------------------------------- */
main {
  /* One consistent distance from top on ALL pages */
  --page-top: clamp(96px, 10vh, 120px);

  padding-top: var(--page-top);
  padding-bottom: var(--section-gap);

  /* Page enter fade */
  opacity: 0;
  transform: translateY(10px);
  animation: page-enter 520ms ease forwards;
}

@keyframes page-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  main {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* -----------------------------------------------------------------------------
  04.3 Default section spacing
----------------------------------------------------------------------------- */
section {
  padding-block: clamp(28px, 3.5vw, 52px);
}

/* -----------------------------------------------------------------------------
  04.4 Section typography consistency
----------------------------------------------------------------------------- */
section h2 {
  margin-bottom: 14px;
}

section p {
  margin-top: 0;
}

/* -----------------------------------------------------------------------------
  04.5 Utility: remove section padding
----------------------------------------------------------------------------- */
section.no-pad {
  padding-block: 0;
}

/* -----------------------------------------------------------------------------
  04.6 First section normalization
  We keep the global main top offset, and prevent extra top padding/margin on
  the first section so it doesn't "double stack".
----------------------------------------------------------------------------- */
main>section:first-child {
  margin-top: 0 !important;
}

/* If your first block is sometimes a div wrapper, this prevents doubling too */
main>.container:first-child {
  margin-top: 0 !important;
}

/* =============================================================================
   05) LINKS - GLOBAL ANCHORS  [S05]
   Purpose:
   Global link styling and hover interaction behavior for consistency.
============================================================================= */

/* -----------------------------------------------------------------------------
  05.1 Base link style
----------------------------------------------------------------------------- */
a {
  text-decoration: none;
  color: var(--text-primary);
  transition: color var(--transition-base);
}

/* -----------------------------------------------------------------------------
  05.2 Hover state
----------------------------------------------------------------------------- */
a:hover {
  color: var(--accent-500);
}


/* =============================================================================
   06) BUTTON SYSTEM - GLOBAL COMPONENTS  [S06]
   Purpose:
   Defines primary and secondary button styles including interaction states,
   shine effect, press feedback, and accessibility handling.
============================================================================= */

/* -----------------------------------------------------------------------------
  06.1 Base button foundation
----------------------------------------------------------------------------- */
.btn-primary,
.btn-secondary,
button {
  font-family: inherit;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-lg);
  cursor: pointer;
}

/* -----------------------------------------------------------------------------
  06.2 Primary button
----------------------------------------------------------------------------- */
.btn-primary {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);

  background-color: var(--accent-500);
  color: var(--text-primary);
  padding: 12px 22px;
  display: inline-block;

  transition:
    transform var(--transition-fast),
    background-color var(--transition-base),
    color var(--transition-base);
}

.btn-primary:hover {
  background-color: var(--accent-700);
  color: var(--teal-700);
  transform: translateY(-1px);
}

/* -----------------------------------------------------------------------------
  06.3 Secondary button
----------------------------------------------------------------------------- */
.btn-secondary {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);

  border: 1px solid var(--border-strong);
  padding: 12px 22px;
  color: var(--text-primary);
  background: transparent;
  display: inline-block;

  transition:
    transform var(--transition-fast),
    background-color var(--transition-base),
    border-color var(--transition-base);
}

.btn-secondary:hover {
  background-color: var(--bg-surface);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* -----------------------------------------------------------------------------
  06.4 Native button (plain)
----------------------------------------------------------------------------- */
button {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
  padding: 12px 22px;

  transition:
    background-color var(--transition-base),
    transform var(--transition-fast);
}

button:hover {
  background-color: var(--bg-surface);
  transform: translateY(-1px);
}

/* -----------------------------------------------------------------------------
  06.5 Premium shine effect (hover layer)
----------------------------------------------------------------------------- */
.btn-primary::before,
.btn-secondary::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -70%;
  width: 70%;
  height: 220%;

  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.18),
      transparent);

  transform: rotate(25deg);
  opacity: 0;

  transition: transform 650ms ease, opacity 250ms ease;
  pointer-events: none;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
  opacity: 0.35;
  transform: translateX(220%) rotate(25deg);
}

/* -----------------------------------------------------------------------------
  06.6 Press interaction (active)
----------------------------------------------------------------------------- */
.btn-primary:active,
.btn-secondary:active {
  transform: translateY(1px) scale(0.99);
}

/* -----------------------------------------------------------------------------
  06.7 Keyboard accessibility (focus-visible)
----------------------------------------------------------------------------- */
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: 2px solid var(--accent-300);
  outline-offset: 4px;
}


/* =============================================================================
   07) NAVIGATION (HEADER + NAVBAR)  [S07]
   Purpose:
   Sticky glass header with a flexible navbar layout, including logo styling
   and navigation link active/hover states.
============================================================================= */

/* -----------------------------------------------------------------------------
  07.1 Header shell (sticky + glass)
----------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;

  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));

  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-header);

  overflow: visible;
}

/* -----------------------------------------------------------------------------
  07.2 Navbar layout (container + flex)
----------------------------------------------------------------------------- */
.navbar {
  width: var(--container-width);
  max-width: var(--container-max);
  margin: 0 auto;

  padding: 18px 0;
  min-height: 88px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;

  overflow: visible;
}

/* -----------------------------------------------------------------------------
  07.3 Logo block (link + mark + text)
----------------------------------------------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  line-height: 0;
  flex-shrink: 0;
  text-decoration: none;

  color: var(--accent-500);
  transition: color var(--transition-base);
}

.logo:hover {
  color: var(--teal-300);
}

.hodhod-mark {
  height: 42px;
  width: auto;
  display: block;
  overflow: visible;
}

.logo-text {
  line-height: 1;
  font-size: 20px;
  font-weight: var(--fw-bold);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: currentColor;
}

/* -----------------------------------------------------------------------------
  07.4 Navigation links (list + states)
----------------------------------------------------------------------------- */
.nav-links {
  list-style: none;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-left: 0;
  margin: 0;
}

.nav-links a {
  color: var(--text-secondary);
  padding: 7px 10px;
  border-radius: var(--radius-lg);
  font-size: 14px;

  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
  background-color: var(--bg-surface);
}

.nav-links a.active {
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
}


/* =============================================================================
   08) FOOTER  [S08]
   Purpose:
   Footer layout grid and typography hierarchy, including link states and
   shared icon-link behavior.
============================================================================= */

/* -----------------------------------------------------------------------------
  08.1 Footer shell (spacing + surface)
----------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-surface);
  margin-top: var(--space-lg);
  padding: var(--space-lg) 0 var(--space-md) 0;
}

/* -----------------------------------------------------------------------------
  08.2 Footer grid (3 columns)
----------------------------------------------------------------------------- */
.footer-container {
  width: var(--container-width);
  max-width: var(--container-max);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  column-gap: var(--space-lg);
}

/* -----------------------------------------------------------------------------
  08.3 Footer type resets (no extra margins)
----------------------------------------------------------------------------- */
.footer h4,
.footer h5,
.footer p {
  margin: 0;
}

/* -----------------------------------------------------------------------------
  08.4 Footer columns (stack layout)
----------------------------------------------------------------------------- */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand {
  justify-self: start;
}

.footer-nav {
  justify-self: center;
}

.footer-contact {
  justify-self: end;
}

.footer-brand,
.footer-nav,
.footer-contact {
  text-align: left;
}

/* -----------------------------------------------------------------------------
  08.5 Footer text hierarchy
----------------------------------------------------------------------------- */
.footer-title {
  font-size: 16px;
  font-weight: var(--fw-semibold);
  line-height: 1.25;
  color: var(--accent-500);
}

.footer-label {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent-500);
}

.footer-sub,
.footer-nav a,
.footer-contact a {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* -----------------------------------------------------------------------------
  08.6 Footer links (hover behavior)
----------------------------------------------------------------------------- */
.footer-nav a,
.footer-contact a {
  display: inline-block;
  transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--accent-500);
}

/* -----------------------------------------------------------------------------
  08.7 Footer bottom bar (divider + small text)
----------------------------------------------------------------------------- */
.footer-bottom {
  width: var(--container-width);
  max-width: var(--container-max);
  margin: var(--space-md) auto 0 auto;

  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-subtle);

  font-size: 13px;
  color: var(--text-muted);
}

.storyset-credit {
  width: var(--container-width);
  max-width: var(--container-max);
  margin: var(--space-md) auto 0;
  font-size: 11.5px;
  color: rgba(247, 239, 230, 0.48);
}

.storyset-credit a {
  color: rgba(247, 239, 230, 0.72);
}

.storyset-credit a:hover {
  color: var(--accent-300);
}

/* -----------------------------------------------------------------------------
  08.8 Footer icon links (shared pattern)
----------------------------------------------------------------------------- */
.footer-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.footer-icon-link:hover {
  color: var(--accent-500);
}

/* -----------------------------------------------------------------------------
  08.9 Icon base (SVG sizing + micro motion)
----------------------------------------------------------------------------- */
.icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.footer-icon-link:hover .icon {
  transform: translateY(-1px) scale(1.05);
}


/* =============================================================================
   09) PAGE PATTERNS - HOME  [S09]
   Purpose:
   Home page hero overlap layout, selected works grid, inquiry CTA,
   and About/Contact preview cards.
============================================================================= */

/* -----------------------------------------------------------------------------
  09.1 Hero section wrapper (HOME)
  Goal: bring the hero higher so more of it is visible on first load.
----------------------------------------------------------------------------- */

/* Home only: slightly tighter top offset than other pages */
.home-main {
  padding-top: 60px;
  /* was using the global main top spacing */
}

.hero {
  /* was: padding: var(--space-xl) 0 var(--space-lg) 0; */
  padding: clamp(18px, 3.2vw, 44px) 0 var(--space-lg) 0;
}

.hero-overlap {
  position: relative;
}

/* -----------------------------------------------------------------------------
  09.2 Hero main card (reserved space for image)
----------------------------------------------------------------------------- */
.hero-overlap-card {
  position: relative;

  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;

  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(14px);

  padding: 48px;
  padding-right: 360px;
  overflow: hidden;
}

/* -----------------------------------------------------------------------------
  09.3 Hero content
----------------------------------------------------------------------------- */
.hero-overlap-content {
  max-width: 60ch;
}

.hero-overlap-content h1 {
  margin-bottom: 16px;
}

.hero-subtext {
  margin-bottom: 22px;
  color: var(--text-secondary);
}

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

/* -----------------------------------------------------------------------------
  09.4 Hero image (controlled overlap)
----------------------------------------------------------------------------- */
.hero-overlap-visual {
  position: absolute;
  right: -80px;
  top: 35%;
  transform: translateY(-35%);

  width: min(420px, 36vw);
  aspect-ratio: 1 / 1;

  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-overlap-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.60));
}

/* -----------------------------------------------------------------------------
  09.5 Selected work wrapper + title
  NOTE: divider decoration is applied globally in [S03] (no per-title ::after here)
----------------------------------------------------------------------------- */
.work-preview {
  padding: 56px 0 34px;
}

.work-preview h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.section-intro {
  max-width: 70ch;
  margin: 0 0 24px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.portfolio-strengths {
  padding-top: 18px;
}

.portfolio-strengths-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(27, 38, 50, 0.88), rgba(27, 38, 50, 0.76));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  padding: 34px;
}

.portfolio-strengths-card::before,
.portfolio-strengths-card::after {
  content: "";
  position: absolute;
  inset: -22%;
  pointer-events: none;
  opacity: 0.38;
}

.portfolio-strengths-card::before {
  background: radial-gradient(circle at 18% 18%, rgba(228, 104, 31, 0.20), rgba(18, 25, 34, 0) 58%);
}

.portfolio-strengths-card::after {
  background: radial-gradient(circle at 88% 22%, rgba(14, 58, 70, 0.16), rgba(18, 25, 34, 0) 62%);
}

.portfolio-strengths-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.portfolio-strengths-card .home-about-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.strength-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.strength-card {
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.strength-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.96);
}

.strength-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

/* -----------------------------------------------------------------------------
  09.6 Projects grid + project card
----------------------------------------------------------------------------- */
.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.project {
  position: relative;
  overflow: hidden;

  background: linear-gradient(145deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.project::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 60%;
  height: 200%;

  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: rotate(25deg);
  transition: transform 800ms ease;
  pointer-events: none;
}

.project:hover::before {
  transform: translateX(220%) rotate(25deg);
}

.project:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

/* -----------------------------------------------------------------------------
  09.7 Project link layout + text styles
----------------------------------------------------------------------------- */
.project-link {
  height: 100%;
  padding: 20px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
}

.project-preview {
  width: 100%;
  min-height: 164px;
  max-height: 164px;
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid rgba(247, 239, 230, 0.12);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  position: relative;
  overflow: hidden;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.project-preview::before,
.project-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.project-preview::before {
  opacity: 0.52;
}

.project-preview::after {
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.1), transparent 66%);
  opacity: 0.45;
}

.project-preview-img {
  width: 88%;
  height: 100%;
  max-height: 136px;
  object-fit: contain;
  object-position: center;
  position: relative;
  z-index: 1;
  filter: saturate(0.95) contrast(1.03);
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.project-preview--ai::before {
  background:
    linear-gradient(155deg, rgba(243, 154, 98, 0.34), rgba(234, 109, 30, 0.14) 42%, rgba(22, 34, 48, 0.22));
}

.project-preview--chat::before {
  background:
    linear-gradient(155deg, rgba(110, 135, 196, 0.24), rgba(91, 120, 178, 0.14) 42%, rgba(18, 28, 44, 0.26));
}

.project-preview--kiosk::before {
  background:
    linear-gradient(155deg, rgba(243, 154, 98, 0.2), rgba(130, 163, 212, 0.2) 46%, rgba(22, 35, 49, 0.22));
}

.project:hover .project-preview-img {
  transform: scale(1.018);
  filter: saturate(1.02) contrast(1.05);
}

@media (prefers-color-scheme: light) {
  .project-preview {
    border-color: rgba(33, 43, 58, 0.16);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(248, 242, 234, 0.74));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  }

  .project-preview::before {
    opacity: 0.3;
  }

  .project-preview::after {
    opacity: 0.26;
  }

  .project-preview-img {
    filter: saturate(0.92) contrast(1.01);
  }
}

.project-link h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.project-link p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.project-tags {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: auto;
}

.project-cta {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--accent-300);

  display: inline-flex;
  align-items: center;
  gap: 6px;

  transition: color var(--transition-fast), transform var(--transition-fast);
}

.project:hover .project-cta {
  color: var(--accent-500);
  transform: translateX(2px);
}

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

  .project:hover .project-preview-img {
    transform: none;
  }
}

/* -----------------------------------------------------------------------------
  09.8 View all projects link (pill)
----------------------------------------------------------------------------- */
.section-action {
  margin-top: var(--space-md);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 16px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);

  font-weight: 650;
  color: rgba(255, 255, 255, 0.9);

  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
}

.text-link:hover {
  transform: translateY(-2px);
  background: rgba(228, 104, 31, 0.12);
  border-color: rgba(228, 104, 31, 0.35);
  color: rgba(255, 255, 255, 0.98);
}

/* -----------------------------------------------------------------------------
  09.9 Inquiry CTA card
----------------------------------------------------------------------------- */
.inquiry-cta {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;

  padding: 28px;
  margin-top: var(--space-lg);

  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.inquiry-cta h2 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.2vw, 28px);
}

.inquiry-cta p {
  margin-bottom: 16px;
  max-width: 65ch;
  color: rgba(255, 255, 255, 0.75);
}


/* =============================================================================
   09.10 Home - About preview card  [S09]
============================================================================= */

.home-about {
  padding-top: var(--space-lg);
}

.home-about-card {
  position: relative;
  overflow: hidden;

  background: linear-gradient(145deg, rgba(27, 38, 50, 0.88), rgba(27, 38, 50, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;

  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);

  padding: 34px;
}

.home-about-card::before,
.home-about-card::after {
  content: "";
  position: absolute;
  inset: -22%;
  pointer-events: none;
  opacity: 0.38;
}

.home-about-card::before {
  background: radial-gradient(circle at 18% 18%, rgba(228, 104, 31, 0.20), rgba(18, 25, 34, 0) 58%);
}

.home-about-card::after {
  background: radial-gradient(circle at 88% 22%, rgba(14, 58, 70, 0.16), rgba(18, 25, 34, 0) 62%);
}

/* -----------------------------------------------------------------------------
  09.10.1 About preview - top row
----------------------------------------------------------------------------- */
.home-about-top {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  margin-bottom: 18px;
  padding-bottom: 14px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.home-about-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.home-about-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-500);
  box-shadow: 0 0 18px rgba(228, 104, 31, 0.55);
}

.home-about-link {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);

  color: rgba(255, 255, 255, 0.86);
  font-weight: 650;
  font-size: 13px;

  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
}

.home-about-link:hover {
  transform: translateY(-2px);
  background: rgba(228, 104, 31, 0.12);
  border-color: rgba(228, 104, 31, 0.35);
  color: rgba(255, 255, 255, 0.96);
}

.home-about-link .arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.home-about-link:hover .arrow {
  transform: translateX(3px);
}

/* -----------------------------------------------------------------------------
  09.10.2 About preview - grid
----------------------------------------------------------------------------- */
.home-about-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

/* Left */
.home-about-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.02em;

  color: rgba(255, 255, 255, 0.96);
  max-width: 26ch;
}

.home-about-title .hl {
  color: var(--accent-500);
  font-weight: 750;
}

.home-about-text {
  margin: 0 0 16px;
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

/* Chips */
.home-about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-about .chip {
  padding: 9px 14px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);

  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 600;

  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.home-about .chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(228, 104, 31, 0.30);
}

/* Right panels */
.home-about-panels {
  display: grid;
  gap: 12px;
}

.home-about-panel {
  padding: 16px 16px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(228, 104, 31, 0.70);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);

  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.home-about-panel:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.panel-k {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-500);
}

.panel-v {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

/* -----------------------------------------------------------------------------
  09.10.3 Responsive (Home + About preview)
  NOTE: removed duplicate .projects + hero overlap overrides to avoid conflicts
----------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .home-about-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .home-about-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-about-link {
    width: 100%;
    justify-content: space-between;
  }

  .home-about-card {
    padding: 22px 18px;
    border-radius: 22px;
  }
}


/* =============================================================================
   09.11 Home - Contact preview card  [S09]
============================================================================= */

.home-contact {
  padding-top: var(--space-lg);
}

.home-contact-card {
  position: relative;
  overflow: hidden;

  background: linear-gradient(145deg, rgba(27, 38, 50, 0.88), rgba(27, 38, 50, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;

  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);

  padding: 34px;
}

.home-contact-card::before,
.home-contact-card::after {
  content: "";
  position: absolute;
  inset: -22%;
  pointer-events: none;
  opacity: 0.38;
}

.home-contact-card::before {
  background: radial-gradient(circle at 18% 18%, rgba(228, 104, 31, 0.20), rgba(18, 25, 34, 0) 58%);
}

.home-contact-card::after {
  background: radial-gradient(circle at 88% 22%, rgba(14, 58, 70, 0.16), rgba(18, 25, 34, 0) 62%);
}

/* Top row */
.home-contact-top {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  margin-bottom: 18px;
  padding-bottom: 14px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.home-contact-kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.home-contact-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-500);
  box-shadow: 0 0 18px rgba(228, 104, 31, 0.55);
}

.home-contact-link {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);

  color: rgba(255, 255, 255, 0.86);
  font-weight: 650;
  font-size: 13px;

  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
}

.home-contact-link:hover {
  transform: translateY(-2px);
  background: rgba(228, 104, 31, 0.12);
  border-color: rgba(228, 104, 31, 0.35);
  color: rgba(255, 255, 255, 0.96);
}

.home-contact-link .arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.home-contact-link:hover .arrow {
  transform: translateX(3px);
}

/* Grid */
.home-contact-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

/* Left */
.home-contact-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
  max-width: 26ch;
}

.home-contact-title .hl {
  color: var(--accent-500);
  font-weight: 750;
}

.home-contact-text {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
  max-width: 70ch;
}

/* Rows */
.home-contact-rows {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.home-contact-row {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 10px 0;
}

.home-contact-row .k {
  color: var(--accent-500);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

.home-contact-row .v {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  word-break: break-word;
  display: inline-block;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.home-contact-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
}

.home-contact-row a.v {
  text-decoration: none;
}

.home-contact-row a.v:hover {
  color: var(--accent-500);
  transform: translateX(2px);
}

.home-contact-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

/* Right (form card shell) */
.home-contact-right {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(228, 104, 31, 0.70);

  border-radius: 18px;
  padding: 20px;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.home-contact-formtitle {
  margin: 0 0 10px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.94);
}

/* Responsive (Contact preview) */
@media (max-width: 980px) {
  .home-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .home-contact-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

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

  .home-contact-link {
    width: 100%;
    justify-content: space-between;
  }

  .home-contact-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


/* =============================================================================
   10) PAGE PATTERNS - WORK PAGE  [S10]
   Purpose:
   Work page layout including intro text, project grid cards, and portfolio download block.
============================================================================= */

/* -----------------------------------------------------------------------------
  10.1 Work page shell
  Fix:
  - Do NOT override main padding-top (global page top spacing)
  - Normalize h1 top margin so Work matches About/Contact visually
----------------------------------------------------------------------------- */
.work-page {
  padding-top: var(--page-top);
}

.work-intro h1 {
  margin: 0 0 10px;
  /* remove default top margin */
}

.work-intro p {
  max-width: 62ch;
  color: var(--text-secondary);
}

/* -----------------------------------------------------------------------------
  10.2 Work grid
----------------------------------------------------------------------------- */
.work-list {
  padding: var(--space-md) 0 var(--space-lg) 0;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

/* -----------------------------------------------------------------------------
  10.3 Work card
----------------------------------------------------------------------------- */
.work-item {
  position: relative;
  overflow: hidden;
  min-height: 455px;

  background: linear-gradient(145deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.work-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 60%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: rotate(25deg);
  transition: transform 800ms ease;
  pointer-events: none;
}

.work-item:hover::before {
  transform: translateX(220%) rotate(25deg);
}

.work-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

/* -----------------------------------------------------------------------------
  10.4 Work card inner layout (link)
----------------------------------------------------------------------------- */
.work-link {
  height: 100%;
  padding: 24px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
}

.work-visual {
  width: 100%;
  min-height: 168px;
  max-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(247, 239, 230, 0.08);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.work-visual img {
  width: 100%;
  max-height: 176px;
  object-fit: contain;
  transform-origin: center;
  transition: transform var(--transition-base);
}

.work-link h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  text-align: left;
}

.work-link>p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-link:focus-visible {
  outline: 2px solid var(--accent-300);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

/* -----------------------------------------------------------------------------
  10.5 Bottom group (meta + cta)
----------------------------------------------------------------------------- */
.work-bottom {
  margin-top: auto;
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-meta {
  margin: 0;
  font-size: 12px;
  color: rgba(247, 239, 230, 0.52);
  letter-spacing: 0.01em;
  text-align: left;
}

.work-cta {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--accent-300);

  display: inline-flex;
  align-items: center;
  gap: 6px;

  align-self: flex-start;

  transition: color var(--transition-fast), transform var(--transition-fast);
}

.case-hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 460px);
  min-height: 310px;
  margin: 0 auto;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(247, 239, 230, 0.10);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.case-hero-illustration img {
  width: 100%;
  max-height: 286px;
  object-fit: contain;
  transform-origin: center;
  transition: transform var(--transition-base);
}

.work-item:hover .work-cta {
  color: var(--accent-500);
  transform: translateX(2px);
}

.work-item:hover .work-visual {
  transform: translateY(-1px);
  border-color: rgba(247, 239, 230, 0.15);
}

.work-item:hover .work-visual img {
  transform: scale(1.03);
}

.work-link h2 {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* -----------------------------------------------------------------------------
  10.5.1 Shared case hero layout baseline
----------------------------------------------------------------------------- */
.case-hero--with-mockup {
  padding: 76px 0 58px;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: end;
}

.case-hero-content {
  align-self: center;
}

.case-hero-mockup {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 330px;
}

.case-hero-mockup>img {
  width: min(100%, 500px);
  max-height: 300px;
  object-fit: contain;
}

.case-hero-mockup:hover .case-hero-illustration {
  transform: translateY(-2px);
  border-color: rgba(247, 239, 230, 0.17);
}

.case-hero-mockup:hover .case-hero-illustration img {
  transform: scale(1.02);
}

/* -----------------------------------------------------------------------------
  10.5.2 CRM Redesign illustration polish (scoped)
----------------------------------------------------------------------------- */
.crm-redesign-card-visual {
  padding: 18px;
}

.work-visual .crm-redesign-card-art {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  animation: crmArtFadeIn 280ms ease forwards;
}

.crm-redesign-hero-visual {
  width: min(100%, 500px);
  min-height: 340px;
  padding: 24px;
}

.case-hero-illustration .crm-redesign-hero-art {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  animation: crmArtFadeIn 300ms ease forwards;
}

.work-item:hover .crm-redesign-card-art {
  transform: scale(1.03);
}

@keyframes crmArtFadeIn {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* -----------------------------------------------------------------------------
  10.5.3 Checklist AI illustration polish (scoped)
----------------------------------------------------------------------------- */
.checklist-ai-card-visual {
  padding: 18px;
}

.work-visual .checklist-ai-card-art {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  animation: crmArtFadeIn 280ms ease forwards;
}

.checklist-ai-hero-visual {
  width: min(100%, 500px);
  min-height: 340px;
  padding: 24px;
}

.case-hero-illustration .checklist-ai-hero-art {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  animation: crmArtFadeIn 300ms ease forwards;
}

.work-item:hover .checklist-ai-card-art {
  transform: scale(1.03);
}

/* -----------------------------------------------------------------------------
  10.5.4 Writing Assistant illustration polish (scoped)
----------------------------------------------------------------------------- */
.writing-assistant-card-visual {
  padding: 18px;
}

.work-visual .writing-assistant-card-art {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  animation: crmArtFadeIn 280ms ease forwards;
}

.writing-assistant-hero-visual {
  width: min(100%, 500px);
  min-height: 340px;
  padding: 24px;
}

.case-hero-illustration .writing-assistant-hero-art {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  animation: crmArtFadeIn 300ms ease forwards;
}

.writing-assistant-item:hover {
  transform: translateY(-3px) scale(1.03);
}

.work-item:hover .writing-assistant-card-art {
  transform: scale(1.03);
}

/* -----------------------------------------------------------------------------
  10.5.5 Product Tour illustration polish (work card only)
----------------------------------------------------------------------------- */
.product-tour-card-visual {
  padding: 18px;
}

.work-visual .product-tour-card-art {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  animation: crmArtFadeIn 280ms ease forwards;
}

.product-tour-item:hover {
  transform: translateY(-3px) scale(1.03);
}

.work-item:hover .product-tour-card-art {
  transform: scale(1.03);
}

/* -----------------------------------------------------------------------------
  10.5.6 Mobile UX illustration polish (work card only)
----------------------------------------------------------------------------- */
.mobile-ux-card-visual {
  padding: 18px;
}

.work-visual .mobile-ux-card-art {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  animation: crmArtFadeIn 280ms ease forwards;
}

.mobile-ux-item:hover {
  transform: translateY(-3px) scale(1.03);
}

.work-item:hover .mobile-ux-card-art {
  transform: scale(1.03);
}

/* -----------------------------------------------------------------------------
  10.5.7 Risk Assistant illustration polish (work card only)
----------------------------------------------------------------------------- */
.risk-assistant-card-visual {
  padding: 18px;
}

.work-visual .risk-assistant-card-art {
  width: 84%;
  max-height: 160px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  animation: crmArtFadeIn 280ms ease forwards;
}

/* -----------------------------------------------------------------------------
  10.5.8 Totem kiosk previews (work cards only)
----------------------------------------------------------------------------- */
.kiosk-preview-item:hover {
  transform: translateY(-3px) scale(1.03);
}

.kiosk-preview-visual {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.kiosk-preview-visual::before {
  content: none;
}

.work-visual .kiosk-preview-art {
  width: 84%;
  max-height: 160px;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  position: relative;
  z-index: 2;
  animation: crmArtFadeIn 280ms ease forwards;
}

.kiosk-accent {
  display: none;
}

.kiosk-accent--bubble {
  width: 26px;
  height: 18px;
  top: 18px;
  left: 18px;
  border-radius: 12px;
  background: rgba(143, 99, 235, 0.14);
}

.kiosk-accent--dot {
  width: 10px;
  height: 10px;
  top: 30px;
  right: 22px;
  border-radius: 999px;
  background: rgba(150, 219, 251, 0.28);
}

.kiosk-accent--spark {
  width: 14px;
  height: 14px;
  bottom: 30px;
  right: 30px;
  border-radius: 4px;
  transform: rotate(45deg);
  background: rgba(48, 33, 78, 0.18);
}

.kiosk-preview-visual--civic .kiosk-accent--bubble {
  left: auto;
  right: 20px;
}

.kiosk-preview-visual--civic .kiosk-accent--dot {
  right: auto;
  left: 24px;
}

.work-item:hover .kiosk-preview-art {
  transform: scale(1.03);
}

/* -----------------------------------------------------------------------------
  10.6 Portfolio download block
----------------------------------------------------------------------------- */
.portfolio-download {
  background: linear-gradient(145deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);

  padding: var(--space-lg);
  margin: var(--space-lg) 0 var(--space-xl) 0;
}

.portfolio-download p {
  max-width: 65ch;
  margin-bottom: var(--space-md);
}

/* =============================================================================
   11) PAGE PATTERNS - CASE STUDY PAGES  [S11]
   Purpose:
   Shared case-study section cards + spacing + scoped AI widget blocks.
============================================================================= */

/* -----------------------------------------------------------------------------
  11.1 Case page shell
----------------------------------------------------------------------------- */
.case-study {
  padding-top: var(--page-top);
}

.case-hero h1 {
  margin-bottom: 10px;
  max-width: 22ch;
}

.case-hero p {
  max-width: 72ch;
}

.case-hero p strong {
  color: var(--text-primary);
}

.case-hero p+p strong {
  color: var(--accent-300);
}

/* -----------------------------------------------------------------------------
  11.2 Shared section blocks (generic case studies)
----------------------------------------------------------------------------- */
.case-overview,
.case-problem,
.case-solution,
.case-ux,
.case-outcome,
.case-feedback {
  background: linear-gradient(145deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  margin: 0 0 var(--space-md) 0;
}

.case-solution h3 {
  margin-top: var(--space-md);
  margin-bottom: 10px;
  color: var(--accent-300);
}

.case-overview p:last-child,
.case-problem p:last-child,
.case-solution p:last-child,
.case-ux p:last-child,
.case-outcome p:last-child {
  margin-bottom: 0;
}

.case-problem ul,
.case-solution ul,
.case-ux ul,
.case-outcome ul {
  margin-top: 10px;
  padding-left: 1.2rem;
}

.case-problem li,
.case-solution li,
.case-ux li,
.case-outcome li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.case-problem li:last-child,
.case-solution li:last-child,
.case-ux li:last-child,
.case-outcome li:last-child {
  margin-bottom: 0;
}

.case-ux li strong,
.case-problem li strong,
.case-solution li strong {
  color: var(--text-primary);
}

/* -----------------------------------------------------------------------------
  11.3 Feedback grouping
----------------------------------------------------------------------------- */
.case-feedback h3 {
  margin-top: var(--space-md);
  margin-bottom: 10px;
}

.case-feedback p {
  max-width: 72ch;
}

.case-feedback .feedback-buttons {
  margin-top: 8px;
}

/* -----------------------------------------------------------------------------
  11.4 Back button area
----------------------------------------------------------------------------- */
.case-back {
  padding: var(--space-md) 0 var(--space-xl) 0;
  display: flex;
  justify-content: flex-start;
}

/* =============================================================================
   11.5 AI Assistant Widget - Intro cards + panels (SCOPED)  [S11-AI]
============================================================================= */

/* -----------------------------------------------------------------------------
  11.5.1 Intro spacing
----------------------------------------------------------------------------- */
.case-ai-widget .case-hero {
  padding-bottom: 42px;
}

.case-ai-widget .case-intro {
  margin-top: 22px;
  margin-bottom: 64px;
}

.case-ai-widget .case-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 22px;
  align-items: stretch;
}

.case-ai-widget .accent-title {
  color: var(--accent-500);
}

/* -----------------------------------------------------------------------------
  11.5.2 Intro card surface
----------------------------------------------------------------------------- */
.case-ai-widget .case-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  padding: 26px 26px;
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
  will-change: transform;
}

.case-ai-widget .case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 122, 33, 0.35), rgba(255, 255, 255, 0.06));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.75;
}

.case-ai-widget .case-card h2 {
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.case-ai-widget .case-card p {
  font-size: 16.5px;
  line-height: 1.7;
  opacity: 0.92;
  max-width: 60ch;
}

.case-ai-widget .case-card ul {
  margin-top: 10px;
  padding-left: 18px;
}

.case-ai-widget .case-card li {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
  opacity: 0.92;
}

.case-ai-widget .case-card li::marker {
  opacity: 0.55;
}

.case-ai-widget .case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 33, 0.22);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.38);
}

.case-ai-widget .case-card:hover::before {
  opacity: 1;
}

/* -----------------------------------------------------------------------------
  11.5.3 Inner panels
----------------------------------------------------------------------------- */
.case-ai-widget .case-panel {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  padding: 34px;
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.case-ai-widget .case-panel>h2 {
  margin-bottom: 12px;
}

.case-ai-widget .case-panel>p {
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.78);
}

.case-ai-widget .case-solution,
.case-ai-widget .case-ux,
.case-ai-widget .case-outcome {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* -----------------------------------------------------------------------------
  11.5.4 Interaction States - 3-up grid
----------------------------------------------------------------------------- */
.case-ai-widget .case-interaction-states {
  margin-bottom: 72px;
}

.case-ai-widget .case-states-flat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}

.case-ai-widget .case-state {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 14px;
  overflow: visible;
}

.case-ai-widget .case-state-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
  margin: 0 0 14px;
  border-radius: 16px;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.02);
}

.case-ai-widget .case-state h3 {
  margin: 8px 0 10px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.case-ai-widget .case-state ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.case-ai-widget .case-state li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.92;
}

.case-ai-widget .case-state li:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------------------------
  11.5.5 Hero meta pills
----------------------------------------------------------------------------- */
.case-ai-widget .case-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.case-ai-widget .meta-item {
  background: rgba(255, 122, 33, 0.12);
  border: 1px solid rgba(255, 122, 33, 0.35);
  border-radius: 999px;
  padding: 10px 18px;
  display: flex;
  gap: 8px;
  align-items: center;
  transition: 0.2s ease;
}

.case-ai-widget .meta-item:hover {
  background: rgba(255, 122, 33, 0.18);
  transform: translateY(-2px);
}

.case-ai-widget .meta-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}

.case-ai-widget .meta-value {
  font-size: 15px;
  font-weight: 600;
  color: #ff7a21;
}

/* -----------------------------------------------------------------------------
  11.5.6 Hero layout
----------------------------------------------------------------------------- */
.case-ai-widget .case-hero--with-mockup {
  padding-top: 80px;
  padding-bottom: 56px;
}

.case-ai-widget .case-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
}

.case-ai-widget .case-hero-content .case-hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

/* Right mockup container */
.case-ai-widget .case-hero-mockup {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 30px;
}

/* Image - NO glass look */
.case-ai-widget .case-hero-mockup img {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;

  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;

  transition: transform 0.4s ease;
}

/* Hover */
.case-ai-widget .case-hero-mockup img:hover {
  transform: translateY(-4px);
}



/* -----------------------------------------------------------------------------
  11.5.7 Interaction Flow arrows
----------------------------------------------------------------------------- */
.case-ai-widget .case-states-wrapper {
  position: relative;
}

.case-ai-widget .states-connector {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  height: 260px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

/* -----------------------------------------------------------------------------
  11.5.8 Lightbox - Interaction States only
----------------------------------------------------------------------------- */
.case-ai-widget .zoom-trigger {
  display: block;
  cursor: zoom-in;
}

.case-ai-widget .zoom-trigger:focus-visible {
  outline: 2px solid rgba(255, 122, 33, 0.75);
  outline-offset: 6px;
  border-radius: 18px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px;
  background: rgba(5, 8, 18, 0.48);
  backdrop-filter: blur(4px);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 18, 0.48);
  cursor: zoom-out;
}

.image-lightbox__dialog,
.lightbox-content {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(88vw, 1180px);
  max-height: 82vh;
}

.image-lightbox__image,
.lightbox-content img {
  display: block;
  max-width: min(88vw, 1180px);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  opacity: 1;
}

.image-lightbox__close,
.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(20, 20, 24, 0.94);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10001;
  box-sizing: border-box;
  appearance: none;
  font-size: 0;
  line-height: 0;
}

.image-lightbox__close:hover,
.lightbox-close:hover {
  background: rgba(40, 40, 46, 0.98);
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  top: 50%;
  left: 50%;
  transform-origin: center;
}

.lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.magnifier-lens {
  position: fixed;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5000;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.94);
  transition: opacity 140ms ease, transform 140ms ease;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  background-repeat: no-repeat;
  background-color: rgba(10, 10, 14, 0.25);
  backdrop-filter: none;
}

.magnifier-lens.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.js-lightbox-image,
.js-magnifier-image {
  cursor: zoom-in;
}

@media (hover: none),
(pointer: coarse) {
  .magnifier-lens {
    display: none;
  }
}

body.lightbox-open {
  overflow: hidden;
}

.case-ai-widget .zoom-trigger img {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.case-ai-widget .zoom-trigger:hover img {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

/* -----------------------------------------------------------------------------
  11.5.9 Annotations
----------------------------------------------------------------------------- */
.case-ai-widget .state-anno {
  position: relative;
  display: block;
}

.case-ai-widget .anno {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.50);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.02em;
  pointer-events: none;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.case-ai-widget .anno--hover {
  left: 14px;
  top: 14px;
}

.case-ai-widget .anno--click {
  right: 14px;
  bottom: 14px;
}

.case-ai-widget .anno--toggle {
  right: 16px;
  top: 14px;
}

.case-ai-widget .anno--full {
  right: 16px;
  bottom: 14px;
}

.case-ai-widget .zoom-trigger .anno {
  opacity: 0.92;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease;
}

.case-ai-widget .zoom-trigger:hover .anno {
  opacity: 1;
  transform: translateY(-1px);
}

/* -----------------------------------------------------------------------------
  11.5.10 Interaction Flow - simple image, no glass card
----------------------------------------------------------------------------- */
.case-ai-widget .interaction-flow-header {
  margin-top: 42px;
}

.case-ai-widget .interaction-flow-header h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.case-ai-widget .interaction-flow-header p {
  margin: 0;
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.78);
}

.case-ai-widget .interaction-flow-visual {
  margin-top: 22px;
}

.case-ai-widget .interaction-flow-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: default;
}

/* -----------------------------------------------------------------------------
  11.5.11 Platform Adaptation - image first, text below
----------------------------------------------------------------------------- */
.case-ai-widget .case-platform-adaptation {
  margin-bottom: 72px;
}

.case-ai-widget .case-platform-adaptation .case-panel>p {
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.78);
}

.case-ai-widget .platform-adaptation-media {
  margin-top: 26px;
  margin-bottom: 30px;
}

.case-ai-widget .platform-adaptation-media img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: default;
}

.case-ai-widget .platform-adaptation-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.case-ai-widget .platform-adaptation-copy::before {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
}

.case-ai-widget .platform-adaptation-block h3 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.case-ai-widget .platform-adaptation-block ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.case-ai-widget .platform-adaptation-block li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.92;
}

.case-ai-widget .platform-adaptation-block li:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------------------------
  11.5.12 Responsive
----------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .case-ai-widget .case-states-flat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .case-ai-widget .case-state {
    padding: 0;
  }

  .case-ai-widget .case-hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .case-ai-widget .case-hero-mockup {
    justify-content: center;
    margin-top: 30px;
  }

  .case-ai-widget .case-hero-mockup img {
    max-width: 500px;
  }

  .case-ai-widget .states-connector {
    display: none;
  }

  .case-ai-widget .platform-adaptation-copy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .case-ai-widget .case-intro-grid {
    grid-template-columns: 1fr;
  }

  .case-ai-widget .case-intro {
    margin-top: 18px;
  }
}

@media (max-width: 620px) {
  .case-ai-widget .case-states-flat {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .case-ai-widget .case-state {
    padding: 0;
  }

  .case-ai-widget .platform-adaptation-media {
    margin-bottom: 24px;
  }

  .case-ai-widget .platform-adaptation-copy {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .case-ai-widget .platform-adaptation-block h3 {
    font-size: 20px;
  }

  .case-ai-widget .platform-adaptation-block li {
    font-size: 15.5px;
    line-height: 1.55;
  }
}

/* -----------------------------------------------------------------------------
  11.5.13 AI Assistant Widget - refined text accents + summary blocks
----------------------------------------------------------------------------- */

.case-ai-widget .case-mini-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.case-ai-widget .accent-title {
  color: var(--accent-500);
}

.case-ai-widget .case-summary-block {
  padding-top: 12px;
  padding-bottom: 12px;
}

.case-ai-widget .case-summary-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  padding: 30px 34px;
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.case-ai-widget .case-summary-card h2 {
  margin-bottom: 14px;
}

.case-ai-widget .case-summary-card ul {
  margin: 0;
  padding-left: 20px;
}

.case-ai-widget .case-summary-card li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.case-ai-widget .case-summary-card li:last-child {
  margin-bottom: 0;
}

/* Shared case-study rhythm and hierarchy across all case pages */
.case-ai-widget .case-intro {
  margin-top: 18px;
  margin-bottom: 56px;
}

.case-ai-widget .case-section-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.case-ai-widget .case-flow-grid,
.case-ai-widget .case-decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.case-ai-widget .case-flow-step,
.case-ai-widget .case-decision-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.case-ai-widget .case-flow-step h3,
.case-ai-widget .case-decision-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.94);
}

.case-ai-widget .case-flow-step p,
.case-ai-widget .case-decision-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.62;
}

.case-ai-widget .case-project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.95fr);
  gap: 16px;
  align-items: start;
}

.case-ai-widget .case-visual-placeholder {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 20px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 20%, rgba(234, 109, 30, 0.18), rgba(15, 27, 38, 0.12) 55%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.case-ai-widget .case-visual-label {
  text-align: center;
  max-width: 30ch;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: rgba(247, 239, 230, 0.78);
}

.case-ai-widget .case-visual-placeholder img {
  width: min(100%, 460px);
  max-height: 260px;
  object-fit: contain;
}

.case-ai-widget .case-mini-stat,
.case-ai-widget .case-highlight-strip {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.80);
}

@media (max-width: 900px) {
  .case-ai-widget .case-project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {

  .case-ai-widget .case-flow-step,
  .case-ai-widget .case-decision-card {
    padding: 12px;
  }

  .case-ai-widget .case-flow-step h3,
  .case-ai-widget .case-decision-card h3 {
    font-size: 16px;
  }
}

.case-ai-widget .framework-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.case-ai-widget .framework-step {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.case-ai-widget .framework-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: rgba(234, 109, 30, 0.16);
  color: var(--accent-300);
  font-size: 13px;
  font-weight: 700;
}

.case-ai-widget .framework-step strong {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.96);
}

.case-ai-widget .framework-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .case-ai-widget .framework-rail {
    grid-template-columns: 1fr;
  }
}

/* .case-ai-widget .interaction-flow-header h3::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 10px;
  background: var(--accent-500);
  border-radius: 999px;
  opacity: 0.95;
} */



/* -----------------------------------------------------------------------------
11.5.14 Case Study Kicker (orange dot label)
----------------------------------------------------------------------------- */

.case-ai-widget .case-kicker {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 14px;

  font-size: 13px;
  font-weight: 650;

  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.75);
}

.case-ai-widget .kicker-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--accent-500);
}

/* =============================================================================
   11.6 Chat Interface Case Study
============================================================================= */

.case-ai-widget .case-hero-mockup img {
  width: 100%;
  max-width: 760px;
  display: block;
  margin-inline: auto;
}

.case-ai-widget .case-states-flat--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.case-ai-widget .case-state-img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

@media (max-width: 900px) {
  .case-ai-widget .case-states-flat--two {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   11.7 Writing Assistant Case Study
   Purpose:
   Compact selection-based AI document editing case study.
============================================================================= */

/* -----------------------------------------------------------------------------
   11.7.1 Page scope
----------------------------------------------------------------------------- */

.case-writing-assistant .case-hero-mockup img {
  max-width: 680px;
}

/* -----------------------------------------------------------------------------
   11.7.2 Workflow list
----------------------------------------------------------------------------- */

.case-writing-assistant .writing-flow-list {
  margin: 18px 0 0;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.82);
}

.case-writing-assistant .writing-flow-list li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.case-writing-assistant .writing-flow-list li:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------------------------
   11.7.3 Compact action cards
----------------------------------------------------------------------------- */

.case-writing-assistant .writing-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.case-writing-assistant .writing-action-card {
  position: relative;

  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  padding: 14px;
  overflow: visible;

  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    box-shadow var(--transition-fast);
}

.case-writing-assistant .writing-action-card:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 104, 31, 0.28);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.case-writing-assistant .writing-action-card>.zoom-trigger>img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  margin-bottom: 14px;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.case-writing-assistant .writing-action-card .zoom-trigger:hover img {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.38);
}

.case-writing-assistant .writing-action-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.case-writing-assistant .writing-action-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* -----------------------------------------------------------------------------
   11.7.4 Lightbox for AI Action States only
----------------------------------------------------------------------------- */

.js-lightbox-image {
  cursor: zoom-in;
}

.case-writing-assistant .writing-action-card .zoom-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
  font: inherit;
}

.case-writing-assistant .writing-action-card .zoom-trigger:focus-visible {
  outline: 2px solid rgba(255, 122, 33, 0.75);
  outline-offset: 6px;
  border-radius: 18px;
}

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

@media (max-width: 980px) {
  .case-writing-assistant .writing-action-grid {
    grid-template-columns: 1fr;
  }

  .case-writing-assistant .writing-action-card>.zoom-trigger>img {
    height: auto;
    max-height: 360px;
    object-fit: contain;
  }
}

/* =============================================================================
   12) FORMS (CONTACT + FEEDBACK)  [S12]
   Purpose: Global form fields + Contact page + Case feedback.
============================================================================= */

/* -----------------------------------------------------------------------------
  12.1 Contact form section spacing
----------------------------------------------------------------------------- */
.contact-form {
  padding-top: var(--space-lg);
}

/* -----------------------------------------------------------------------------
  12.2 Form elements (global)
----------------------------------------------------------------------------- */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--space-md);
}

form>div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--accent-300);
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

input,
select,
textarea {
  width: 100%;
  background: rgba(27, 38, 50, 0.45);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);

  padding: 12px 14px;
  border-radius: var(--radius-md);

  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;

  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: rgba(242, 233, 221, 0.45);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, rgba(242, 233, 221, 0.55) 50%),
    linear-gradient(135deg, rgba(242, 233, 221, 0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;

  padding-right: 40px;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(228, 104, 31, 0.25);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(228, 104, 31, 0.55);
  box-shadow: 0 0 0 4px rgba(228, 104, 31, 0.12);
  background: rgba(27, 38, 50, 0.55);
}

/* -----------------------------------------------------------------------------
  12.3 Feedback (case studies)
----------------------------------------------------------------------------- */
.case-feedback form {
  margin-top: var(--space-md);
}

.case-feedback .feedback-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* -----------------------------------------------------------------------------
  12.4 Contact page layout (contact.html)
----------------------------------------------------------------------------- */
.contact-page {
  padding-top: var(--page-top);
}

.contact-hero {
  padding: var(--space-xl) 0 var(--space-md);
}

.contact-wrap {
  width: var(--container-width);
  max-width: var(--container-max);
  margin: 0 auto;
}

.contact-kicker {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.contact-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-500);
  box-shadow: 0 0 18px rgba(228, 104, 31, 0.55);
}

.contact-h1 {
  margin: 0 0 14px;
  max-width: 22ch;
}

.contact-lead {
  margin: 0 0 18px;
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-chips .chip {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 600;
}

.contact-shell {
  padding: var(--space-md) 0 var(--space-xl);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.contact-card {
  background: linear-gradient(145deg, rgba(27, 38, 50, 0.88), rgba(27, 38, 50, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(12px);
  padding: 22px;
}

.contact-card h2 {
  margin: 0 0 14px;
}

.contact-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.contact-row:last-of-type {
  border-bottom: 0;
}

.contact-label {
  color: var(--accent-500);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

.contact-value {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
  word-break: break-word;
}

a.contact-value:hover {
  color: var(--accent-500);
}

.contact-note {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.contact-prelude {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-projects h2,
.contact-next h2 {
  margin: 0 0 12px;
}

.project-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.project-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(228, 104, 31, 0.34);
  background: rgba(255, 255, 255, 0.10);
}

.next-steps {
  display: grid;
  gap: 10px;
}

.next-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.next-step:last-child {
  border-bottom: 0;
}

.next-step-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--accent-500);
  font-size: 12px;
  font-weight: 800;
  background: rgba(228, 104, 31, 0.12);
  border: 1px solid rgba(228, 104, 31, 0.24);
}

.next-step p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .contact-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .next-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-card {
    padding: 18px;
  }
}

/* =============================================================================
   13) THANK YOU PAGE  [S13]
   Purpose: Thank-you layout + action buttons row.
============================================================================= */

.thankyou-section {
  max-width: 72ch;
}

.thankyou-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}


/* =============================================================================
   14) RESPONSIVE RULES (PRIMARY)  [S14]
   Purpose: Global breakpoints for grids, header, and hero overlap.
============================================================================= */

@media (max-width: 980px) {
  section {
    padding: var(--space-md) 0;
  }

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

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

  .work-item {
    min-height: 430px;
  }

  .work-visual {
    min-height: 156px;
  }

  .work-visual img {
    max-height: 168px;
  }

  .case-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .case-hero-mockup {
    min-height: 0;
    justify-content: flex-start;
  }

  .case-hero-illustration,
  .case-hero-mockup>img {
    width: min(100%, 460px);
  }

  .crm-redesign-hero-visual {
    min-height: 310px;
  }

  .case-hero-illustration .crm-redesign-hero-art {
    max-height: 340px;
  }

  .checklist-ai-hero-visual {
    min-height: 310px;
  }

  .case-hero-illustration .checklist-ai-hero-art {
    max-height: 340px;
  }

  .writing-assistant-hero-visual {
    min-height: 310px;
  }

  .case-hero-illustration .writing-assistant-hero-art {
    max-height: 340px;
  }

  .work-visual .product-tour-card-art {
    max-height: 160px;
  }

  .work-visual .mobile-ux-card-art {
    max-height: 160px;
  }

  .work-visual .risk-assistant-card-art {
    max-height: 160px;
  }

  .work-visual .kiosk-preview-art {
    max-height: 160px;
  }

  .hero-overlap-card {
    padding: 40px 28px;
    padding-right: 28px;
  }

  .hero-overlap-visual {
    position: static;
    transform: none;
    width: min(420px, 80vw);
    margin: 26px auto 0 auto;
    pointer-events: auto;
  }
}

@media (max-width: 700px) {
  .footer-container {
    grid-template-columns: 1fr;
    row-gap: var(--space-md);
  }

  .footer-brand,
  .footer-nav,
  .footer-contact {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .navbar {
    padding: 14px 0;
    min-height: 76px;
  }

  .hodhod-mark {
    height: 40px;
  }

  .logo-text {
    display: none;
  }

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

  .work-list {
    grid-template-columns: 1fr;
  }

  .work-item {
    min-height: 0;
  }

  .work-link {
    padding: 20px;
  }

  .work-visual {
    min-height: 148px;
    max-height: 176px;
    padding: 12px;
  }

  .work-visual img {
    max-height: 162px;
  }

  .case-hero--with-mockup {
    padding: 64px 0 44px;
  }

  .case-hero-illustration {
    min-height: 260px;
    padding: 14px;
  }

  .work-visual .crm-redesign-card-art {
    max-height: 152px;
  }

  .crm-redesign-hero-visual {
    min-height: 270px;
    padding: 16px;
  }

  .case-hero-illustration .crm-redesign-hero-art {
    max-height: 300px;
  }

  .work-visual .checklist-ai-card-art {
    max-height: 152px;
  }

  .checklist-ai-hero-visual {
    min-height: 270px;
    padding: 16px;
  }

  .case-hero-illustration .checklist-ai-hero-art {
    max-height: 300px;
  }

  .work-visual .writing-assistant-card-art {
    max-height: 152px;
  }

  .writing-assistant-hero-visual {
    min-height: 270px;
    padding: 16px;
  }

  .case-hero-illustration .writing-assistant-hero-art {
    max-height: 300px;
  }

  .work-visual .product-tour-card-art {
    max-height: 152px;
  }

  .work-visual .mobile-ux-card-art {
    max-height: 152px;
  }

  .work-visual .risk-assistant-card-art {
    max-height: 152px;
  }

  .work-visual .kiosk-preview-art {
    max-height: 152px;
  }

  .case-hero-illustration img,
  .case-hero-mockup>img {
    max-height: 248px;
  }

  .hero {
    padding: var(--space-lg) 0 var(--space-md) 0;
  }

  .inquiry-cta,
  .portfolio-download,
  .contact-form form,
  .case-feedback form,
  .case-overview,
  .case-problem,
  .case-solution,
  .case-ux,
  .case-outcome,
  .case-feedback {
    padding: var(--space-md);
  }

  .footer {
    padding: var(--space-md) 0;
  }

  .case-hero h1 {
    max-width: 100%;
  }

  .hero-overlap {
    padding: var(--space-lg) 0 var(--space-md) 0;
  }

  .hero-overlap-card {
    padding: 26px 18px;
  }

  .hero-overlap-visual {
    width: min(340px, 86vw);
    margin-top: 18px;
  }
}

@media (max-width: 420px) {

  .btn-primary,
  .btn-secondary,
  button {
    width: 100%;
    text-align: center;
  }

  .project-link,
  .work-link {
    padding: 16px;
  }

  .work-visual {
    min-height: 138px;
    max-height: 164px;
    padding: 10px;
  }

  .work-visual img {
    max-height: 150px;
  }

  .case-hero-illustration {
    min-height: 230px;
  }

  .work-visual .crm-redesign-card-art {
    max-height: 145px;
  }

  .crm-redesign-hero-visual {
    min-height: 238px;
    padding: 12px;
  }

  .case-hero-illustration .crm-redesign-hero-art {
    max-height: 250px;
  }

  .work-visual .checklist-ai-card-art {
    max-height: 145px;
  }

  .checklist-ai-hero-visual {
    min-height: 238px;
    padding: 12px;
  }

  .case-hero-illustration .checklist-ai-hero-art {
    max-height: 250px;
  }

  .work-visual .writing-assistant-card-art {
    max-height: 145px;
  }

  .writing-assistant-hero-visual {
    min-height: 238px;
    padding: 12px;
  }

  .case-hero-illustration .writing-assistant-hero-art {
    max-height: 250px;
  }

  .work-visual .product-tour-card-art {
    max-height: 145px;
  }

  .work-visual .mobile-ux-card-art {
    max-height: 145px;
  }

  .work-visual .risk-assistant-card-art {
    max-height: 145px;
  }

  .work-visual .kiosk-preview-art {
    max-height: 145px;
  }

  .case-hero-illustration img,
  .case-hero-mockup>img {
    max-height: 220px;
  }
}

/* -----------------------------------------------------------------------------
  14.1 Hero stacked layout support (legacy)
----------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
    margin-top: 0;
    display: flex;
    justify-content: center;
  }

  .hero-visual img {
    width: 100%;
    max-width: 340px;
    height: auto;
    transform: none;
    margin-bottom: 20px;
  }
}


/* =============================================================================
   15) MOTION SYSTEM (ANIMATIONS + MICRO-INTERACTIONS)
   Purpose: Animations + micro-interactions + reduced motion.
   Search tag: [S15]
============================================================================= */

/* -----------------------------------------------------------------------------
   15.1 Page-load reveal (keyframes)
----------------------------------------------------------------------------- */
@keyframes hodhod-reveal-up {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* -----------------------------------------------------------------------------
   15.1 Page-load reveal (targets)
----------------------------------------------------------------------------- */
.hero h1,
.work-intro h1,
.cv-intro h1,
.about-intro h1,
.about-hero h1,
.about-h1,
.contact-intro h1,
.contact-hero h1,
.contact-h1,
.case-hero h1,
.thankyou-section h1 {
  opacity: 0;
  animation: hodhod-reveal-up 720ms ease forwards;
  animation-delay: 80ms;
}

/* -----------------------------------------------------------------------------
   15.2 Navigation + footer underline indicator (hover)
----------------------------------------------------------------------------- */
.nav-links a,
.footer a {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size var(--transition-base), color var(--transition-base);
}

.nav-links a:hover,
.footer a:hover {
  background-size: 100% 2px;
}

/* -----------------------------------------------------------------------------
   15.3 Keep active without underline  (NOTE: your original label said 15.1)
----------------------------------------------------------------------------- */
.nav-links a.active {
  background-size: 0% 2px;
}

/* -----------------------------------------------------------------------------
   15.4 Rotating highlight word (utility)
----------------------------------------------------------------------------- */
.rot-on-hover {
  display: inline-block;
  cursor: pointer;

  border-bottom: 2px solid var(--accent-500);
  padding-bottom: 2px;

  transition: transform var(--transition-base), border-color var(--transition-base);
  animation: rotate-orange 2s ease-in-out infinite;
}

.rot-on-hover:hover {
  transform: rotate(-6deg);
  color: var(--accent-500);
  border-color: var(--accent-700);
}

@keyframes rotate-orange {

  0%,
  60% {
    transform: rotate(0deg);
    color: var(--text-primary);
    border-color: var(--accent-500);
  }

  70% {
    transform: rotate(-6deg);
    color: var(--accent-500);
    border-color: var(--accent-700);
  }

  80% {
    transform: rotate(5deg);
    color: var(--accent-500);
  }

  90% {
    transform: rotate(-3deg);
    color: var(--accent-500);
  }

  100% {
    transform: rotate(0deg);
    color: var(--text-primary);
    border-color: var(--accent-500);
  }
}

/* -----------------------------------------------------------------------------
   15.5 Word sweep (optional utility effect)
----------------------------------------------------------------------------- */
.word-sweep {
  position: relative;
  display: inline-block;
  color: var(--text-primary);

  -webkit-text-fill-color: transparent;
  background-image:
    linear-gradient(90deg, rgba(242, 233, 221, 0.70), rgba(242, 233, 221, 0.70)),
    linear-gradient(120deg, transparent 0%, rgba(228, 104, 31, 0.55) 40%, transparent 80%);

  background-size: 100% 100%, 60% 100%;
  background-repeat: no-repeat;
  background-position: 0 0, -80% 0;

  -webkit-background-clip: text;
  background-clip: text;

  animation: word-sweep 2s ease-in-out infinite;
}

@keyframes word-sweep {

  0%,
  60% {
    background-position: 0 0, -80% 0;
  }

  100% {
    background-position: 0 0, 180% 0;
  }
}

/* -----------------------------------------------------------------------------
   15.6 Logo sweep (optional)
----------------------------------------------------------------------------- */
.logo-sweep {
  position: relative;
  display: inline-block;

  background-image:
    linear-gradient(var(--accent-500), var(--accent-500)),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.85) 38%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.85) 62%, transparent 78%);

  background-size: 100% 100%, 70% 100%;
  background-repeat: no-repeat;
  background-position: 0 0, -90% 0;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: logo-sweep-5s 5s ease-in-out infinite;
}

@keyframes logo-sweep-5s {

  0%,
  72% {
    background-position: 0 0, -90% 0;
  }

  100% {
    background-position: 0 0, 190% 0;
  }
}

/* -----------------------------------------------------------------------------
   15.7 Reduced motion (accessibility)
----------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  .btn-primary::before,
  .btn-secondary::before,
  .project::before,
  .work-item::before,
  .rot-on-hover,
  .word-sweep,
  .logo-sweep {
    animation: none !important;
    transition: none !important;
  }

  .hero h1,
  .work-intro h1,
  .about-intro h1,
  .contact-intro h1,
  .case-hero h1,
  .thankyou-section h1 {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .rot-on-hover:hover {
    transform: none;
  }
}


/* =============================================================================
   16) BACKGROUND VISUAL EFFECTS (BLOBS)
   Purpose: Background blob system (bg-spots) + keyframes.
   Search tag: [S16]
============================================================================= */

/* -----------------------------------------------------------------------------
   16.0 Stage container (fixed canvas behind everything)
----------------------------------------------------------------------------- */
.bg-spots {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

/* -----------------------------------------------------------------------------
   16.0 Base blob
----------------------------------------------------------------------------- */
.bg-spot {
  position: absolute;
  border-radius: 55% 45% 60% 40% / 55% 35% 65% 45%;
  transform: translate3d(0, 0, 0);
  will-change: transform, border-radius;
}

/* -----------------------------------------------------------------------------
   16.1 Depth layers (near / mid / far)
----------------------------------------------------------------------------- */
.bg-spot--near {
  filter: blur(8px);
  opacity: 0.92;
}

.bg-spot--mid {
  filter: blur(12px);
  opacity: 0.70;
}

.bg-spot--far {
  filter: blur(18px);
  opacity: 0.48;
}

/* -----------------------------------------------------------------------------
   16.2 A - Orange (near)
----------------------------------------------------------------------------- */
.bg-spot--a {
  width: 38vmax;
  height: 34vmax;
  top: -12vmax;
  left: -16vmax;

  background: radial-gradient(circle at 35% 35%, rgba(228, 104, 31, 1.0), rgba(228, 104, 31, 0.30) 56%, rgba(18, 25, 34, 0) 78%);

  animation: bg-morph-a 13s ease-in-out infinite;
}

/* -----------------------------------------------------------------------------
   16.3 B - Teal (far)
----------------------------------------------------------------------------- */
.bg-spot--b {
  width: 44vmax;
  height: 40vmax;
  top: -18vmax;
  right: -14vmax;

  background: radial-gradient(circle at 55% 45%, rgba(14, 58, 70, 0.95), rgba(14, 58, 70, 0.28) 60%, rgba(18, 25, 34, 0) 82%);

  animation: bg-morph-b 17s ease-in-out infinite;
}

/* -----------------------------------------------------------------------------
   16.4 C - Warm (mid)
----------------------------------------------------------------------------- */
.bg-spot--c {
  width: 30vmax;
  height: 28vmax;
  top: 52vh;
  left: 8vw;

  background: radial-gradient(circle at 45% 45%, rgba(242, 138, 84, 0.70), rgba(242, 138, 84, 0.16) 62%, rgba(18, 25, 34, 0) 82%);

  animation: bg-morph-c 18s ease-in-out infinite;
}

/* -----------------------------------------------------------------------------
   16.5 D - Deep teal (mid)
----------------------------------------------------------------------------- */
.bg-spot--d {
  width: 42vmax;
  height: 44vmax;
  bottom: -18vmax;
  right: -18vmax;

  background: radial-gradient(circle at 55% 55%, rgba(8, 42, 50, 0.75), rgba(8, 42, 50, 0.14) 64%, rgba(18, 25, 34, 0) 84%);

  animation: bg-morph-b 21s ease-in-out infinite reverse;
}

/* -----------------------------------------------------------------------------
   16.6 E - Small accent (near/mid)
----------------------------------------------------------------------------- */
.bg-spot--e {
  width: 22vmax;
  height: 20vmax;
  top: 28vh;
  right: 12vw;

  background: radial-gradient(circle at 40% 45%, rgba(228, 104, 31, 0.65), rgba(228, 104, 31, 0.12) 64%, rgba(18, 25, 34, 0) 86%);

  animation: bg-morph-a 15s ease-in-out infinite reverse;
}

/* -----------------------------------------------------------------------------
   16.7 F - Far mist (far)
----------------------------------------------------------------------------- */
.bg-spot--f {
  width: 46vmax;
  height: 42vmax;
  bottom: -22vmax;
  left: -10vmax;

  background: radial-gradient(circle at 50% 55%, rgba(14, 58, 70, 0.55), rgba(14, 58, 70, 0.10) 66%, rgba(18, 25, 34, 0) 88%);

  animation: bg-morph-c 24s ease-in-out infinite;
}

/* -----------------------------------------------------------------------------
   16.8 Blob morph keyframes
----------------------------------------------------------------------------- */
@keyframes bg-morph-a {

  0%,
  100% {
    border-radius: 62% 38% 70% 30% / 45% 55% 45% 55%;
    transform: translate(0, 0) rotate(-10deg) scale(1);
  }

  50% {
    border-radius: 28% 72% 30% 70% / 70% 30% 65% 35%;
    transform: translate(10vw, 7vh) rotate(10deg) scale(1.18);
  }
}

@keyframes bg-morph-b {

  0%,
  100% {
    border-radius: 35% 65% 40% 60% / 65% 35% 60% 40%;
    transform: translate(0, 0) rotate(12deg) scale(1);
  }

  50% {
    border-radius: 70% 30% 65% 35% / 35% 65% 30% 70%;
    transform: translate(-12vw, 8vh) rotate(-12deg) scale(1.20);
  }
}

@keyframes bg-morph-c {

  0%,
  100% {
    border-radius: 58% 42% 72% 28% / 48% 52% 38% 62%;
    transform: translate(0, 0) rotate(-8deg) scale(1);
  }

  50% {
    border-radius: 22% 78% 30% 70% / 75% 25% 70% 30%;
    transform: translate(-10vw, -8vh) rotate(12deg) scale(1.22);
  }
}

/* -----------------------------------------------------------------------------
   16.9 Mobile: reduce intensity
----------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .bg-spot--near {
    opacity: 0.62;
    filter: blur(12px);
  }

  .bg-spot--mid {
    opacity: 0.40;
    filter: blur(18px);
  }

  .bg-spot--far {
    opacity: 0.28;
    filter: blur(26px);
  }
}

/* -----------------------------------------------------------------------------
   16.10 Reduced motion: no blob animation
----------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .bg-spot {
    animation: none;
  }
}


/* =============================================================================
   18) ABOUT PAGE (SCOPED)
   Purpose: About page styles scoped under .about-page.
   Search tag: [S18]
============================================================================= */

/* -----------------------------------------------------------------------------
   18.0 Helpers + layout wrapper
----------------------------------------------------------------------------- */
.about-page .hl {
  color: var(--accent-500);
  font-weight: 650;
}

.about-page .about-wrap {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* -----------------------------------------------------------------------------
   18.1 HERO (base)
----------------------------------------------------------------------------- */
.about-page .about-hero {
  position: relative;

  /* IMPORTANT: do NOT add extra top padding here.
     The global "main" padding-top controls the page distance. */
  padding: 0 0 var(--space-md) 0;
}

.about-page .about-kicker {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.about-page .about-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-500);
  box-shadow: 0 0 20px rgba(228, 104, 31, 0.6);
}

.about-page .about-h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.97);
  max-width: 22ch;
}

.about-page .about-lead {
  margin: 0 0 18px;
  max-width: 70ch;
  font-size: 1.08rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.82);
}

.about-page .about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.about-page .chip {
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.about-page .chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(228, 104, 31, 0.35);
}

/* -----------------------------------------------------------------------------
   18.2 SECTION HEAD (title + intro)
----------------------------------------------------------------------------- */
.about-page .section-head {
  margin-bottom: 14px;
  max-width: 78ch;
}

.about-page .section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.2vw, 2.0rem);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.about-page .section-head p {
  margin: 0;
  line-height: 1.7;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 72ch;
}

/* -----------------------------------------------------------------------------
   18.3 SURFACE (generic glass container utility)
----------------------------------------------------------------------------- */
.about-page .surface {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  border-radius: 18px;
}

/* -----------------------------------------------------------------------------
   18.4 WHAT (3 cards)
----------------------------------------------------------------------------- */
.about-page .about-what {
  padding: 16px 0 16px;
}

.about-page .what-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.about-page .what-card {
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;

  background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  border-radius: 18px;
}

.about-page .what-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(228, 104, 31, 0.14), rgba(18, 25, 34, 0) 60%);
  opacity: 0.75;
  pointer-events: none;
}

.about-page .what-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border-color: rgba(228, 104, 31, 0.28);
}

/* Icon container */
.about-page .what-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(228, 104, 31, 0.10);
  border: 1px solid rgba(228, 104, 31, 0.26);
  margin-bottom: 12px;
}

.about-page .what-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent-500);
}

.about-page .what-ico--build svg {
  stroke: var(--accent-500);
}

.about-page .what-ico--work svg {
  stroke: var(--accent-300);
}

.about-page .what-ico--get svg {
  stroke: var(--accent-700);
}

/* Titles */
.about-page .what-card h2 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 650;
  color: var(--accent-500);
}

.about-page .what-card p {
  margin: 0;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.78);
}

/* -----------------------------------------------------------------------------
   18.5 METHOD (numbered rows)
----------------------------------------------------------------------------- */
.about-page .about-method {
  padding: 18px 0 18px;
}

.about-page .method-panel {
  margin-top: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  overflow: hidden;
}

.about-page .method-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 16px 16px;
  align-items: start;
}

.about-page .method-row+.method-row {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.about-page .method-num {
  width: 52px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 750;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--accent-500);
  background: rgba(228, 104, 31, 0.12);
  border: 1px solid rgba(228, 104, 31, 0.24);
}

.about-page .method-copy h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
}

.about-page .method-copy p {
  margin: 0;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
}

/* -----------------------------------------------------------------------------
   18.6 SKILLS (grid + cards)
----------------------------------------------------------------------------- */
.about-page .about-skills {
  padding: 18px 0 24px;
}

.about-page .skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.about-page .skill-card {
  padding: 16px 16px 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  border-radius: 18px;
}

.about-page .skill-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.about-page .skill-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(228, 104, 31, 0.10);
  border: 1px solid rgba(228, 104, 31, 0.22);
}

.about-page .skill-ico svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent-500);
}

.about-page .skill-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.94);
}

.about-page .skill-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

/* -----------------------------------------------------------------------------
   18.7 CTA (facts + action box)
----------------------------------------------------------------------------- */
.about-page .about-cta {
  padding: 18px 0 44px;
}

.about-page .about-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  align-items: stretch;
}

.about-page .facts {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  display: grid;
  gap: 10px;
}

.about-page .fact {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.about-page .fact-k {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
}

.about-page .fact-v {
  color: rgba(255, 255, 255, 0.90);
}

.about-page .cta-box {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.about-page .cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(228, 104, 31, 0.16), rgba(18, 25, 34, 0) 62%);
  opacity: 0.75;
  pointer-events: none;
}

.about-page .cta-box h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.95);
}

.about-page .cta-box p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.65;
}

.about-page .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* -----------------------------------------------------------------------------
   18.8 RESPONSIVE
----------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .about-page .about-hero {
    padding: 0 0 20px 0;
  }

  .about-page .what-grid {
    grid-template-columns: 1fr;
  }

  .about-page .skills-grid {
    grid-template-columns: 1fr;
  }

  .about-page .about-cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .about-page .method-row {
    grid-template-columns: 54px 1fr;
    padding: 14px;
  }

  .about-page .method-num {
    width: 46px;
    height: 32px;
    font-size: 0.9rem;
  }
}

/* -----------------------------------------------------------------------------
   18.9 ACCESSIBILITY + TYPOGRAPHY POLISH
----------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

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

.about-page .about-lead {
  text-wrap: pretty;
}

.about-page .what-card p,
.about-page .method-copy p,
.about-page .cta-box p {
  text-wrap: pretty;
}

.about-page .about-h1 {
  text-wrap: balance;
}

/* -----------------------------------------------------------------------------
   18.10 OPTIONAL: Section title divider utility (used like Selected Works)
----------------------------------------------------------------------------- */
.section-head--lined {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 26px;
}

.section-head--lined::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* -----------------------------------------------------------------------------
   18.11 MATCH HOME SYSTEM OVERRIDES (kept inside Section 18, not duplicated)
   Note: These are your previous -second 18 block- overrides, now properly scoped.
----------------------------------------------------------------------------- */

/* Hero as one dominant glass card */
.about-page .about-hero {
  /* keep consistent with global main top spacing */
  padding: 0 0 var(--space-md) 0;
}

.about-page .about-hero-card {
  position: relative;
  overflow: hidden;

  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;

  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(14px);

  padding: 44px;
}

/* Kicker tweak (match home weight/size) */
.about-page .about-kicker {
  font-size: 13px;
  font-weight: 750;
  color: rgba(255, 255, 255, 0.82);
}

.about-page .about-kicker .dot {
  box-shadow: 0 0 18px rgba(228, 104, 31, 0.55);
}

/* Headline + lead tweaks */
.about-page .about-h1 {
  margin: 0 0 14px;
  max-width: 24ch;
  font-size: clamp(2.2rem, 4.6vw, 4.0rem);
}

.about-page .about-lead {
  max-width: 72ch;
  line-height: 1.75;
}

/* Section cards wrapper */
.about-page .about-section-card {
  padding: var(--space-md) 0;
}

.about-page .about-section-card>.about-wrap {
  background: linear-gradient(145deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
}

/* Neutralize extra glass on inner cards (match home system) */
.about-page .what-card,
.about-page .skill-card,
.about-page .method-panel,
.about-page .facts,
.about-page .cta-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: none;
}

/* Titles pop */
.about-page .what-card h2,
.about-page .panel-k {
  color: var(--accent-500);
}

/* Skills (match Home cards) */
.about-page .skills-grid {
  gap: 18px;
  align-items: stretch;
}

.about-page .skill-card {
  position: relative;
  overflow: hidden;
  padding: 18px;

  background: linear-gradient(145deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);

  transition: transform var(--transition-fast), box-shadow var(--transition-base), border-color var(--transition-base);
}

.about-page .skill-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 60%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: rotate(25deg);
  transition: transform 800ms ease;
  pointer-events: none;
}

.about-page .skill-card:hover::before {
  transform: translateX(220%) rotate(25deg);
}

.about-page .skill-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.about-page .skill-ico {
  width: 40px;
  height: 40px;
  border-radius: 14px;
}

/* Responsive (match-home overrides) */
@media (max-width: 900px) {
  .about-page .about-hero-card {
    padding: 28px 18px;
  }

  .about-page .about-section-card>.about-wrap {
    padding: var(--space-md);
  }

  .about-page .what-grid,
  .about-page .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------------------------------------------
   18.12 New About content blocks (How I Think / Process / Working With Me)
----------------------------------------------------------------------------- */
.about-page .about-think {
  padding: 16px 0 18px;
}

.about-page .think-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
}

.about-page .think-card,
.about-page .process-step,
.about-page .collab-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-base), border-color var(--transition-base);
}

.about-page .what-card,
.about-page .think-card,
.about-page .process-step,
.about-page .collab-card {
  background: linear-gradient(145deg, var(--bg-surface), var(--bg-elevated));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.about-page .what-card:hover,
.about-page .think-card:hover,
.about-page .process-step:hover,
.about-page .collab-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.about-page .think-card p,
.about-page .collab-card p {
  margin: 0 0 10px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.80);
}

.about-page .think-card p:last-child,
.about-page .collab-card p:last-child {
  margin-bottom: 0;
}

.about-page .think-card h3,
.about-page .collab-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.94);
}

.about-page .think-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.7;
}

.about-page .process-track {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  overflow: visible;
  padding-bottom: 4px;
}

.about-page .process-step {
  min-width: 0;
  padding: 12px;
}

.about-page .process-step h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  color: var(--accent-500);
}

.about-page .process-step p {
  margin: 0;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.about-page .process-arrow {
  display: none;
}

.about-page .collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 980px) {
  .about-page .process-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {

  .about-page .think-grid,
  .about-page .collab-grid {
    grid-template-columns: 1fr;
  }

  .about-page .process-track {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* =============================================================================
   19) CV PAGE (SCOPED)
   Purpose: Premium one-page A4 CV layout with print-safe behavior.
============================================================================= */

.cv-page {
  --cv-sidebar: #103846;
  --cv-accent: #F47A20;
  --cv-text: #1F2937;
  --cv-bg: #F7F4EF;
  --cv-muted: #5f6872;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 14px;
  --space-lg: 20px;
  font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.cv-page .cv-main {
  padding: 20px 0 30px;
}

.cv-page .cv-wrap {
  width: min(230mm, 96vw);
  margin: 0 auto;
}

.cv-page .cv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.cv-page .cv-pdf-note {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.cv-page .cv-sheet {
  width: 210mm;
  max-width: 100%;
  height: auto;
  min-height: 297mm;
  max-height: none;
  margin: 0 auto;
  background: var(--cv-bg);
  color: var(--cv-text);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  display: grid;
  grid-template-columns: 33% 67%;
  font-size: 13px;
  line-height: 1.3;
}

.cv-page .cv-sidebar {
  background: var(--cv-sidebar);
  color: rgba(255, 255, 255, 0.92);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
}

.cv-page .cv-photo-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid rgba(244, 122, 32, 0.78);
  box-shadow: 0 0 0 4px rgba(244, 122, 32, 0.18);
}

.cv-page .cv-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cv-page .cv-id {
  text-align: center;
  border-bottom: 1px solid rgba(244, 122, 32, 0.36);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.cv-page .cv-id h1 {
  margin: 0;
  font-size: 27px;
  letter-spacing: 0.02em;
  line-height: 1.02;
  color: #ffffff;
}

.cv-page .cv-id p {
  margin: 5px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cv-page .cv-signature-wrap {
  margin-top: auto;
  padding-top: 12px;
  padding-bottom: 6px;
  border-top: 1px solid rgba(244, 122, 32, 0.28);
  display: flex;
  justify-content: center;
}

.cv-page .cv-signature {
  width: 178px;
  max-width: 100%;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  object-position: center;
  filter: brightness(0) saturate(100%) invert(68%) sepia(93%) saturate(3425%) hue-rotate(346deg) brightness(103%) contrast(96%) drop-shadow(0 0 0.4px rgba(255, 185, 140, 0.6));
  opacity: 0.95;
}

.cv-page .cv-side-block {
  break-inside: avoid;
}

.cv-page .cv-side-block+.cv-side-block {
  margin-top: 15px;
}

.cv-page .cv-side-block h2 {
  margin: 0 0 7px;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cv-accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cv-page .cv-sec-ico {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(68%) sepia(93%) saturate(3425%) hue-rotate(346deg) brightness(99%) contrast(93%);
}

.cv-page .cv-side-block ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 3px;
}

.cv-page .cv-side-block li {
  margin: 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.cv-page .cv-item-ico {
  color: var(--cv-accent);
  font-size: 9pt;
  line-height: 1.2;
  transform: translateY(1px);
}

.cv-page .cv-side-block a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.cv-page .cv-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cv-page .cv-section {
  break-inside: avoid;
}

.cv-page .cv-section h2 {
  margin: 0 0 var(--space-sm);
  font-size: 12px;
  color: var(--cv-text);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cv-page .cv-section h2 .cv-sec-ico {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
}

.cv-page .cv-section p,
.cv-page .cv-section li {
  font-size: 10.8px;
  color: #1f2937;
  line-height: 1.34;
}

.cv-page .cv-section p {
  margin: 0;
}

.cv-page .cv-role+.cv-role {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(31, 41, 55, 0.14);
}

.cv-page .cv-role header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: var(--space-sm);
}

.cv-page .cv-role h3 {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  color: #1e2e3d;
}

.cv-page .cv-role span {
  font-size: 10px;
  font-weight: 700;
  color: #d86511;
  white-space: nowrap;
}

.cv-page .cv-role ul,
.cv-page .cv-grid-2 ul {
  margin: 0;
  padding-left: 14px;
  display: grid;
  gap: 3px;
}

.cv-page .cv-projects {
  margin: var(--space-xs) 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 8px;
}

.cv-page .cv-projects a {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(244, 122, 32, 0.07);
  color: #243547;
  text-decoration: none;
  border: 1px solid rgba(244, 122, 32, 0.16);
  font-size: 10px;
  overflow-wrap: anywhere;
}

.cv-page .cv-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 0;
}

.cv-page .cv-grid-2 article {
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-radius: 7px;
  padding: 8px 9px;
  min-height: 100%;
}

body.cv-print-mode .header,
body.cv-print-mode .footer,
body.cv-print-mode .web-only,
body.cv-print-mode .bg-spots {
  display: none !important;
}

.cv-page .cv-focus-list {
  margin: 2px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 8px;
}

.cv-page .cv-focus-list li {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(31, 41, 55, 0.14);
  background: rgba(255, 255, 255, 0.34);
  font-size: 10px;
}

@media (max-width: 980px) {
  .cv-page .cv-sheet {
    width: 100%;
    height: auto;
    min-height: auto;
    max-height: none;
    grid-template-columns: 1fr;
  }

  .cv-page .cv-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 10px;
    display: grid;
  }

  .cv-page .cv-id,
  .cv-page .cv-photo-wrap {
    grid-column: 1 / -1;
  }

  .cv-page .cv-projects,
  .cv-page .cv-grid-2,
  .cv-page .cv-focus-list {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  html,
  body {
    width: 210mm;
    height: 297mm;
    margin: 0;
    padding: 0;
    background: #ffffff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .cv-page,
  .cv-page * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  body.cv-page {
    width: 210mm;
    height: 297mm;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #1f2937;
    overflow: hidden;
  }

  .cv-page .header,
  .cv-page .footer,
  .cv-page .bg-spots,
  .cv-page .web-only {
    display: none !important;
  }

  .cv-page .cv-main,
  .cv-page .cv-wrap {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
  }

  .cv-page .cv-sheet {
    width: 210mm !important;
    height: 297mm !important;
    min-height: 297mm !important;
    max-height: 297mm !important;
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    grid-template-columns: 69.5mm 140.5mm;
    font-size: 8.5pt;
    line-height: 1.27;
    page-break-inside: avoid;
  }

  .cv-page .cv-sidebar {
    padding: 11px 12px 10px;
    gap: 0;
    display: flex;
    flex-direction: column;
    background: #103846 !important;
    color: #ffffff !important;
    break-inside: avoid;
  }

  .cv-page .cv-id {
    margin-bottom: 13px;
  }

  .cv-page .cv-side-block+.cv-side-block {
    margin-top: 11px;
  }

  .cv-page .cv-photo-wrap {
    width: 68px;
    height: 68px;
    box-shadow: none;
  }

  .cv-page .cv-id h1 {
    font-size: 21pt;
  }

  .cv-page .cv-id p {
    font-size: 8.2pt;
  }

  .cv-page .cv-signature-wrap {
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .cv-page .cv-signature {
    width: 162px;
    max-height: 62px;
    opacity: 0.95;
  }

  .cv-page .cv-content {
    padding: 12px 12px 8px;
    gap: 2px;
    break-inside: avoid;
  }

  .cv-page .cv-section h2 {
    margin-bottom: 1px;
    font-size: 9pt;
  }

  .cv-page .cv-role+.cv-role {
    margin-top: 3px;
    padding-top: 3px;
  }

  .cv-page .cv-role header {
    margin-bottom: 0;
  }

  .cv-page .cv-role h3 {
    font-size: 8.4pt;
  }

  .cv-page .cv-role span {
    font-size: 7.9pt;
  }

  .cv-page .cv-role ul,
  .cv-page .cv-grid-2 ul,
  .cv-page .cv-side-block ul {
    gap: 1px;
  }

  .cv-page .cv-projects {
    gap: 1px 5px;
  }

  .cv-page .cv-grid-2 {
    gap: 4px;
    margin-top: 0;
  }

  .cv-page .cv-grid-2 article {
    padding: 5px 6px;
    border-color: rgba(31, 41, 55, 0.14);
    background: rgba(255, 255, 255, 0.56);
  }

  .cv-page .cv-projects a {
    padding: 2px 4px;
    border-radius: 999px;
    font-size: 7.8pt;
    border-color: rgba(244, 122, 32, 0.18);
  }

  .cv-page .cv-side-block h2 {
    margin-bottom: 5px;
    font-size: 8.2pt;
  }

  .cv-page .cv-side-block li {
    gap: 4px;
    font-size: 7.9pt;
  }

  .cv-page .cv-focus-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 6px;
  }

  .cv-page .cv-focus-list li {
    font-size: 7.6pt;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .cv-page .cv-section,
  .cv-page .cv-role,
  .cv-page .cv-side-block,
  .cv-page .cv-grid-2 article {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .cv-page .cv-section p,
  .cv-page .cv-section li,
  .cv-page .cv-side-block li,
  .cv-page .cv-side-block a {
    font-size: 8.5pt;
  }

  .cv-page .cv-side-block li,
  .cv-page .cv-side-block a {
    font-size: 7.9pt;
    line-height: 1.28;
  }

  .cv-page .cv-section li,
  .cv-page .cv-section p {
    line-height: 1.29;
  }

  .cv-page a,
  .cv-page a:visited {
    color: inherit;
    text-decoration: none;
  }

}

/* =============================================================================
   CV HUB PAGE
============================================================================= */

.cv-hub-page {
  min-height: 100vh;
}

.cv-hub-page-main {
  padding-top: var(--page-top);
  padding-bottom: var(--space-lg);
}

.cv-intro h1 {
  margin: 0 0 10px;
}

.cv-intro p {
  max-width: 72ch;
  color: var(--text-secondary);
}

.cv-hub-section {
  padding: var(--space-md) 0 var(--space-md);
}

.cv-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  align-items: stretch;
}

.cv-hub-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background:
    linear-gradient(160deg, rgba(243, 154, 98, 0.14), rgba(243, 154, 98, 0.02) 42%),
    linear-gradient(180deg, rgba(34, 48, 64, 0.92), rgba(27, 38, 50, 0.92));
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.cv-hub-card-top {
  flex: 1;
  display: grid;
  gap: 10px;
}

.cv-hub-card h2 {
  margin: 0;
  font-size: clamp(1.14rem, 2.1vw, 1.4rem);
}

.cv-hub-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

.cv-hub-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: rgba(247, 239, 230, 0.86);
}

.cv-hub-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(247, 239, 230, 0.05);
  color: var(--accent-300);
  font-weight: 600;
}

.cv-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cv-hub-card .cv-hub-actions {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
}

.cv-hub-note {
  margin: 0 0 clamp(24px, 4.6vw, 36px);
  padding: 14px 16px;
  border-left: 3px solid var(--accent-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(34, 48, 64, 0.76);
  color: var(--text-secondary);
}

.cv-hub-cta {
  padding: clamp(22px, 3.8vw, 34px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 84% -12%, rgba(234, 109, 30, 0.25), transparent 52%),
    var(--bg-surface);
  box-shadow: var(--shadow-md);
}

.cv-hub-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(1.24rem, 2.8vw, 1.8rem);
}

.cv-hub-cta p {
  max-width: 62ch;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .cv-hub-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cv-hub-page-main {
    padding-bottom: var(--space-md);
  }

  .cv-hub-card,
  .cv-hub-cta {
    padding: 18px;
  }

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

  .cv-hub-actions .btn-primary,
  .cv-hub-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}