/* ============================================================
   369 LAB — Design System
   Premium creative studio website
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* ── Emerald Lux palette ── */
  --black:          #090E0B;   /* Night Black — deepest anchor */
  --white:          #F5F5F0;   /* Warm white — softer than pure white */
  --off-white:      #003E29;   /* Deep Forest Green — alternate sections */
  --gray-100:       #0F2A1E;   /* subtle surfaces — visible green tint */
  --gray-200:       #1A4030;   /* borders — clearly visible */
  --gray-400:       #5A9A7E;   /* muted text / icons — brighter */
  --gray-600:       #A8D5BE;   /* secondary text — high readability */
  --emerald:        #00AC7D;   /* Emerald Green — primary accent */
  --emerald-deep:   #003E29;   /* Deep Forest Green — dark sections */
  --emerald-glow:   rgba(0,172,125,0.12); /* subtle emerald luminance */
  --accent:         #E0B95B;   /* Gold — logo / premium highlights */
  --accent-light:   #F0D48A;
  --accent-dark:    #B8923A;

  --font-display: 'Syne', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  --container-max:     1440px;
  --container-padding: clamp(20px, 5vw, 80px);
  --grid-gap:          24px;
  --nav-height:        72px;

  --transition-fast:   0.2s ease;
  --transition-std:    0.35s ease;
  --transition-slow:   0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-reveal: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--white);
  background-color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Emerald glow utility */
.glow-emerald { filter: drop-shadow(0 0 18px rgba(0,172,125,0.45)); }
.glow-gold    { filter: drop-shadow(0 0 18px rgba(224,185,91,0.45)); }

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 8.5vw, 120px);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.035em;
}

.display-2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h4, .h4 {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 600;
  line-height: 1.3;
}

.body-large {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.75;
  font-weight: 300;
}

.body-std  { font-size: 15px; line-height: 1.65; }
.body-small{ font-size: 13px; line-height: 1.55; }

.label {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gray-400);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section {
  padding-block: clamp(72px, 11vw, 148px);
}

.section--sm  { padding-block: clamp(48px, 7vw, 88px); }

/* Section skins — strong visual alternation */
.section--dark {
  background: linear-gradient(170deg, #004E35 0%, var(--emerald-deep) 100%);
  color: var(--white);
}
.section--gray {
  background-color: var(--emerald-deep);
  color: var(--white);
}
.section--black { background-color: var(--black); color: var(--white); }

/* Emerald accent section — premium gradient with visible emerald glow */
.section--accent {
  background: linear-gradient(135deg, #003E29 0%, #00261A 50%, #090E0B 100%);
  color: var(--white);
  position: relative;
}
.section--accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,172,125,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.grid { display: grid; gap: var(--grid-gap); }
.grid--2    { grid-template-columns: repeat(2, 1fr); }
.grid--3    { grid-template-columns: repeat(3, 1fr); }
.grid--4    { grid-template-columns: repeat(4, 1fr); }
.grid--auto-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-std), box-shadow var(--transition-std);
}

.nav--scrolled {
  background-color: rgba(0, 38, 26, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,172,125,0.12);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 5px;
  text-decoration: none;
}

.nav__logo-number {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  transition: color var(--transition-fast);
}

.nav__logo-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.09em;
  transition: color var(--transition-fast);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--white);
  position: relative;
  transition: color var(--transition-fast);
  letter-spacing: 0.01em;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width var(--transition-std);
}

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav__link--cta {
  background-color: var(--accent);
  color: var(--black) !important;
  padding: 9px 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav__link--cta::after { display: none; }

.nav__link--cta:hover {
  background-color: var(--emerald);
  color: var(--black) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--white);
  transition: transform var(--transition-std), opacity var(--transition-fast);
}

/* Mobile overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--black);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  padding: var(--container-padding);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-std);
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition-fast);
  line-height: 1.2;
}

.nav__mobile-link:hover { color: var(--accent); }

/* Nav transparent (dark hero pages) */
.nav--transparent .nav__logo-number,
.nav--transparent .nav__link { color: var(--white); }
.nav--transparent .nav__logo-label { color: rgba(255,255,255,0.4); }
.nav--transparent .nav__hamburger span { background-color: var(--white); }

.nav--scrolled .nav__logo-number,
.nav--scrolled .nav__link { color: var(--white); }
.nav--scrolled .nav__logo-label { color: var(--gray-400); }
.nav--scrolled .nav__hamburger span { background-color: var(--white); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  padding: 16px 32px;
  border-radius: 2px;
  transition: all var(--transition-std);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 12px;
}

.btn--primary {
  background-color: var(--emerald);
  color: var(--black);
  border: 1.5px solid var(--emerald);
  font-weight: 700;
}
.btn--primary:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  box-shadow: 0 4px 24px rgba(0,172,125,0.3);
}

.btn--outline {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(0,172,125,0.4);
}
.btn--outline:hover {
  background-color: var(--emerald);
  border-color: var(--emerald);
  color: var(--black);
  box-shadow: 0 4px 24px rgba(0,172,125,0.2);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--outline-white:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.btn--ghost {
  padding: 0;
  background: none;
  border: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  border-radius: 0;
}

.btn--sm { padding: 10px 20px; font-size: 12.5px; }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header        { margin-bottom: clamp(40px, 6vw, 80px); }
.section-header--center {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background-color: var(--emerald);
  flex-shrink: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 56px);
  padding-bottom: 80px;
}

.hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  min-height: 100svh;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
}

.hero--short  { min-height: 62svh; }
.hero--dark   { background-color: var(--black); color: var(--white); }
.hero--center { text-align: center; }

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 32px;
}

.hero__label::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--emerald), transparent);
}

.hero--dark .hero__label { color: var(--emerald); }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.5vw, 96px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}

.hero--center .hero__title {
  max-width: 16ch;
  margin-inline: auto;
}

.hero__subtitle {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-600);
  max-width: 54ch;
  margin-bottom: 44px;
}

/* Emerald accent highlight in hero text */
.hero__title .text-emerald { color: var(--emerald); }

.hero--center .hero__subtitle { margin-inline: auto; }
.hero--dark  .hero__subtitle  { color: rgba(255,255,255,0.5); }

/* ============================================================
   IMAGE SYSTEM — PLACEHOLDERS
   ============================================================ */
.img-wrap {
  overflow: hidden;
  position: relative;
  background-color: var(--gray-100);
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.img-wrap:hover img { transform: scale(1.04); }

/* Aspect ratios */
.ratio-1-1  { aspect-ratio: 1/1; }
.ratio-4-3  { aspect-ratio: 4/3; }
.ratio-3-2  { aspect-ratio: 3/2; }
.ratio-16-9 { aspect-ratio: 16/9; }
.ratio-9-16 { aspect-ratio: 9/16; }
.ratio-2-3  { aspect-ratio: 2/3; }
.ratio-3-4  { aspect-ratio: 3/4; }
.ratio-5-7  { aspect-ratio: 5/7; }

/* Hero visual frame accent */
.hero__visual .img-wrap {
  border: 1px solid rgba(0,172,125,0.2);
  position: relative;
}
.hero__visual .img-wrap::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 40%;
  height: 40%;
  border-right: 2px solid var(--emerald);
  border-bottom: 2px solid var(--emerald);
  pointer-events: none;
  opacity: 0.5;
}

/* CSS gradient placeholders — replace with real <img> */
.ph { width: 100%; height: 100%; display: block; }

.ph-01 { background: linear-gradient(140deg, #1a1a1a 0%, #3c3832 60%, #2a2520 100%); }
.ph-02 { background: linear-gradient(140deg, #C9A76D 0%, #8a6535 100%); }
.ph-03 { background: linear-gradient(140deg, #1e2d28 0%, #0f1a15 100%); }
.ph-04 { background: linear-gradient(140deg, #1a1a2e 0%, #0d0d1e 100%); }
.ph-05 { background: linear-gradient(140deg, #2e1a18 0%, #1a0d0b 100%); }
.ph-06 { background: linear-gradient(140deg, #2c2c2c 0%, #111 100%); }
.ph-07 { background: linear-gradient(140deg, #E8D5B0 0%, #C9A76D 80%); }
.ph-08 { background: linear-gradient(140deg, #ede7dc 0%, #d4c4a8 100%); }
.ph-09 { background: repeating-linear-gradient(45deg, #1a1a1a, #1a1a1a 12px, #242424 12px, #242424 24px); }
.ph-10 { background: radial-gradient(ellipse at 40% 40%, #C9A76D 0%, #3d1e00 100%); }
.ph-11 { background: linear-gradient(140deg, #152030 0%, #091018 100%); }
.ph-12 { background: linear-gradient(140deg, #1e1230 0%, #0d0818 100%); }
.ph-13 { background: linear-gradient(140deg, #2a3820 0%, #141e10 100%); }
.ph-14 { background: linear-gradient(140deg, #302010 0%, #180f06 100%); }
.ph-15 { background: linear-gradient(140deg, #3a2018 0%, #1a0e0a 100%); }
.ph-16 { background: linear-gradient(140deg, #0a2030 0%, #040e16 100%); }

/* ============================================================
   HOME — MOSAIC PORTFOLIO
   ============================================================ */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 340px 340px 280px;
  gap: 3px;
  background-color: rgba(0,172,125,0.08);
}

.mosaic__item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background-color: var(--gray-100);
}

.mosaic__item .ph,
.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.mosaic__item:hover .ph,
.mosaic__item:hover img { transform: scale(1.06); }

.mosaic__item:nth-child(1) { grid-column: 1 / 6;  grid-row: 1 / 3; }
.mosaic__item:nth-child(2) { grid-column: 6 / 9;  grid-row: 1 / 2; clip-path: polygon(0 0, 100% 0, 100% 82%, 86% 100%, 0 100%); }
.mosaic__item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.mosaic__item:nth-child(4) { grid-column: 6 / 9;  grid-row: 2 / 3; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 0 18%); }
.mosaic__item:nth-child(5) { grid-column: 9 / 13; grid-row: 2 / 3; }
.mosaic__item:nth-child(6) { grid-column: 1 / 5;  grid-row: 3 / 4; }
.mosaic__item:nth-child(7) { grid-column: 5 / 9;  grid-row: 3 / 4; clip-path: polygon(0 0, 100% 14%, 100% 100%, 0 86%); }
.mosaic__item:nth-child(8) { grid-column: 9 / 13; grid-row: 3 / 4; }

.mosaic__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,38,26,0.92) 0%, rgba(0,38,26,0.3) 45%, transparent 100%);
  opacity: 0.55;
  transition: opacity var(--transition-std);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.mosaic__item:hover .mosaic__overlay { opacity: 1; }

.mosaic__label {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  transform: translateY(6px);
  transition: transform var(--transition-std);
}

.mosaic__item:hover .mosaic__label { transform: translateY(0); }

.mosaic__cat {
  display: block;
  color: var(--emerald);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

/* ============================================================
   HOME — SERVICE CARDS
   ============================================================ */
.service-card {
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--emerald);
  border-radius: 2px;
  position: relative;
  transition: border-color var(--transition-std), transform var(--transition-std), box-shadow var(--transition-std), background-color var(--transition-std);
  overflow: hidden;
  background-color: rgba(0,62,41,0.08);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--accent));
  transition: width var(--transition-slow);
}

.service-card:hover {
  border-color: var(--emerald);
  background-color: rgba(0,62,41,0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,172,125,0.06);
}

.service-card:hover::after { width: 100%; }

.service-card__num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--emerald);
  margin-bottom: 22px;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
}

.service-card__text {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ============================================================
   HOME — TAGS CLOUD
   ============================================================ */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--gray-600);
  transition: all var(--transition-fast);
  cursor: default;
}

.tag:hover {
  border-color: var(--emerald);
  color: var(--white);
  background-color: rgba(0,172,125,0.12);
}

.tag::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

/* ============================================================
   HOME — METODO STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 12.5%;
  right: 12.5%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--emerald), var(--accent));
  z-index: 0;
  opacity: 0.5;
}

.step {
  padding: 0 24px;
  padding-top: 52px;
  position: relative;
  text-align: center;
}

.step__dot {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--emerald-deep);
  border: 2px solid var(--emerald);
  z-index: 1;
  transition: border-color var(--transition-std), background-color var(--transition-std), box-shadow var(--transition-std);
}

.step:hover .step__dot {
  border-color: var(--emerald);
  background-color: var(--emerald);
  box-shadow: 0 0 16px rgba(0,172,125,0.5);
}

.step__num {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
  font-family: var(--font-body);
  text-transform: uppercase;
}

.step__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step__text {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================================
   SERVICES PAGE — AREA BLOCKS
   ============================================================ */
.service-area {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
  padding-block: clamp(64px, 8vw, 96px);
  border-bottom: 1px solid var(--gray-100);
}

.service-area:last-of-type { border-bottom: none; }
.service-area--reverse { grid-template-columns: 480px 1fr; }
.service-area--reverse .service-area__content { order: 2; }
.service-area--reverse .service-area__visual  { order: 1; }

.service-area__label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.service-area__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.service-area__intro {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 32px;
}

.service-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}

.service-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  font-size: 13.5px;
  color: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.service-list__item::before {
  content: '';
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent);
}

.service-area__closing {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}

.service-area__visual {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.portfolio-layout {
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: calc(100vh - var(--nav-height));
  padding-top: var(--nav-height);
}

.portfolio-sidebar {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  border-right: 1px solid rgba(0,172,125,0.15);
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
  background-color: rgba(0,62,41,0.35);
}

.portfolio-sidebar__header {
  padding: 36px 28px 28px;
  border-bottom: 1px solid var(--gray-100);
}

.portfolio-sidebar__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.portfolio-sidebar__desc {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.5;
}

.portfolio-nav {
  padding: 16px 12px;
  flex: 1;
}

.portfolio-nav__section-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 8px 16px 6px;
}

.portfolio-nav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--gray-600);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
  margin-bottom: 1px;
}

.portfolio-nav__item:hover,
.portfolio-nav__item.active {
  background-color: rgba(0,172,125,0.12);
  color: var(--white);
  border-left-color: var(--emerald);
}

.portfolio-nav__count {
  font-size: 10.5px;
  color: var(--gray-400);
  font-weight: 400;
}

.portfolio-main {
  padding: 40px clamp(24px, 4vw, 60px) 80px;
  min-height: 100%;
}

.portfolio-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
  gap: 16px;
}

.portfolio-header__category {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.portfolio-header__count {
  font-size: 12.5px;
  color: var(--gray-400);
  white-space: nowrap;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 4px;
}

.portfolio-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.portfolio-item__inner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.portfolio-item--wide { grid-column: span 2; }
.portfolio-item--wide .portfolio-item__inner { aspect-ratio: 16/9; }
.portfolio-item--tall .portfolio-item__inner { aspect-ratio: 3/4; }

.portfolio-item__img,
.portfolio-item__ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-item__img,
.portfolio-item:hover .portfolio-item__ph { transform: scale(1.05); }

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,38,26,0.92) 0%, rgba(0,38,26,0.2) 55%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-std);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }

.portfolio-item__cat {
  color: var(--emerald);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.portfolio-item__title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.portfolio-item[data-hidden="true"] { display: none; }

/* ============================================================
   ART PRINT PAGE
   ============================================================ */
.how-steps { }

.how-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 36px;
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: start;
}

.how-step:last-child { border-bottom: none; }

.how-step__num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  padding-top: 4px;
}

.section--dark .how-step__num { color: rgba(255,255,255,0.1); }
.section--dark .how-step { border-bottom-color: rgba(255,255,255,0.08); }

.how-step__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.how-step__text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.section--dark .how-step__text { color: rgba(255,255,255,0.5); }

/* Formats grid */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2px;
}

.format-item {
  background-color: rgba(0,62,41,0.2);
  padding: 32px 24px 28px;
  text-align: center;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.format-item:hover {
  background-color: rgba(0,172,125,0.15);
  color: var(--white);
  border-bottom-color: var(--emerald);
}

.format-item__icon {
  font-size: 24px;
  margin-bottom: 14px;
  opacity: 0.7;
}

.format-item__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

/* FAQ */
.faq { border-top: 1px solid var(--gray-100); }
.section--dark .faq { border-top-color: rgba(255,255,255,0.1); }

.faq__item { border-bottom: 1px solid var(--gray-100); }
.section--dark .faq__item { border-bottom-color: rgba(255,255,255,0.1); }

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  gap: 24px;
  transition: color var(--transition-fast);
}

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

.faq__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  transition: transform var(--transition-std), opacity var(--transition-fast);
}

.faq__icon::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq__icon::after  { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }

.faq__item.open .faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-std);
}

.section--dark .faq__answer { color: rgba(255,255,255,0.5); }

.faq__item.open .faq__answer {
  max-height: 400px;
  padding-bottom: 24px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.method-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.method-block {
  background-color: rgba(0,62,41,0.2);
  padding: 36px 32px;
  transition: background-color var(--transition-std);
  border-left: 2px solid rgba(0,172,125,0.2);
}

.method-block:hover { background-color: rgba(0,62,41,0.4); color: var(--white); border-left-color: var(--emerald); }
.method-block:hover .method-block__text { color: rgba(255,255,255,0.55); }
.method-block:hover .method-block__step { color: var(--accent); }

.method-block__step {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-family: var(--font-body);
}

.method-block__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.method-block__text {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.65;
  transition: color var(--transition-std);
}

.about-text-section {
  max-width: 720px;
}

.about-text-section + .about-text-section {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--gray-100);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  text-transform: uppercase;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--white);
  background-color: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: 2px;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form__input::placeholder,
.form__textarea::placeholder { color: var(--gray-400); }

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--accent);
  background-color: var(--gray-200);
}

.form__textarea {
  resize: vertical;
  min-height: 144px;
  line-height: 1.6;
}

.form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A86' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-block {}

.contact-block__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.contact-block__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item__type {
  font-size: 11.5px;
  color: var(--gray-400);
  margin-bottom: 2px;
}

.contact-item__value {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition-fast);
}

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

.what-write {
  background-color: var(--off-white);
  padding: 32px;
  border-radius: 2px;
}

.what-write__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}

.what-write__text {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 14px;
}

.what-write__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.what-write__list li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.5;
}

.what-write__list li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  font-size: 12px;
}

/* ============================================================
   CTA FINALE
   ============================================================ */
.cta-block {
  background: linear-gradient(160deg, #003E29 0%, #00261A 40%, #090E0B 100%);
  color: var(--white);
  padding: clamp(96px, 14vw, 192px) var(--container-padding);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0,172,125,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 24px;
  max-width: 18ch;
  margin-inline: auto;
  position: relative;
}

.cta-block__text {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 54ch;
  margin: 0 auto 48px;
  position: relative;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(0,172,125,0.15);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 18px;
}

.footer__logo-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
}

.footer__logo-lab {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.09em;
}

.footer__tagline {
  font-size: 13.5px;
  color: rgba(255,255,255,0.35);
  line-height: 1.65;
  max-width: 28ch;
}

.footer__col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy,
.footer__credits {
  font-size: 11.5px;
  color: rgba(255,255,255,0.25);
}

/* ============================================================
   HIGHLIGHT BLOCK
   ============================================================ */
.highlight-block {
  border-left: 3px solid var(--accent);
  padding: 24px 28px;
  background-color: var(--off-white);
}

.section--dark .highlight-block {
  background-color: rgba(255,255,255,0.06);
  border-left-color: var(--accent);
}

.highlight-block__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.highlight-block__text {
  font-size: 13.5px;
  color: var(--gray-600);
  line-height: 1.65;
}

.section--dark .highlight-block__text { color: rgba(255,255,255,0.5); }

/* ============================================================
   ART PRINT SPECIAL CTA BANNER
   ============================================================ */
.art-print-banner {
  background-color: var(--black);
  padding: 60px clamp(32px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.art-print-banner__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.art-print-banner__text {
  font-size: 14.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  max-width: 54ch;
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, #003E29 0%, #090E0B 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), visibility 0.7s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.page-loader__logo,
.page-loader__brand {
  width: auto;
  height: auto;
  animation: loaderBreath 2.4s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
}

.page-loader__logo {
  height: 88px;
  width: auto;
}

.page-loader__brand .brand-logo__symbol-img {
  display: block;
}

.page-loader__bar {
  width: 40px;
  height: 1px;
  background-color: var(--gray-200);
  position: relative;
  overflow: hidden;
}

.page-loader__bar::after {
  content: '';
  position: absolute;
  inset-block: 0;
  left: -100%;
  width: 100%;
  background-color: var(--accent);
  animation: loaderBar 1.6s ease-in-out infinite;
}

@keyframes loaderBreath {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(0.96); }
}

@keyframes loaderBar {
  0%   { left: -100%; }
  100% { left:  100%; }
}

/* Nav logo image (UI vector — unifies color with the rest of the navbar) */
.nav__logo-img {
  height: 30px;
  width: auto;
  display: block;
  color: #FFFFFF;
  transition: opacity var(--transition-fast);
}

.nav__logo:hover .nav__logo-img,
.nav__logo:hover .brand-logo__symbol-img {
  opacity: 0.85;
}

/* Brand symbol injected by brand.js */
.brand-logo__symbol-img {
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  color: inherit;
}

/* Footer logo block — symbol shares the white color of the footer text */
.footer__logo,
.footer__logo .brand-logo,
.footer__logo .brand-logo__symbol-img {
  color: #FFFFFF;
}

/* Hero logo mark (home only) */
.hero-logo-mark {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  max-width: 480px;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.hero-logo-mark img {
  width: 100%;
  height: auto;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }
.reveal-d6 { transition-delay: 0.6s; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center  { text-align: center; }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--gray-400); }
.text-white   { color: var(--white); }

.mt-sm { margin-top: 20px; }
.mt-md { margin-top: 40px; }
.mt-lg { margin-top: 64px; }
.mb-sm { margin-bottom: 20px; }
.mb-md { margin-bottom: 40px; }
.mb-lg { margin-bottom: 64px; }

.divider {
  border: none;
  height: 1px;
  background-color: var(--gray-100);
}

/* ============================================================
   CUSTOM CURSOR (pointer devices)
   ============================================================ */
@media (pointer: fine) {
  .cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, background-color 0.25s ease;
    mix-blend-mode: multiply;
    top: 0; left: 0;
  }

  .cursor.expanded {
    width: 36px;
    height: 36px;
    background-color: transparent;
    border: 1px solid var(--accent);
    mix-blend-mode: normal;
  }
}

/* ============================================================
   MEDIA QUERIES
   ============================================================ */
@media (max-width: 1200px) {
  .footer__top {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer__top > *:first-child {
    grid-column: 1 / -1;
  }

  .mosaic {
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: 240px 240px 200px;
  }

  .mosaic__item:nth-child(1) { grid-column: 1 / 5; }
  .mosaic__item:nth-child(2) { grid-column: 5 / 7; }
  .mosaic__item:nth-child(3) { grid-column: 7 / 9; }
  .mosaic__item:nth-child(4) { grid-column: 5 / 7; }
  .mosaic__item:nth-child(5) { grid-column: 7 / 9; }
  .mosaic__item:nth-child(6) { grid-column: 1 / 4; }
  .mosaic__item:nth-child(7) { grid-column: 4 / 6; }
  .mosaic__item:nth-child(8) { grid-column: 6 / 9; }

  .service-area,
  .service-area--reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-area--reverse .service-area__content { order: 1; }
  .service-area--reverse .service-area__visual  { order: 2; }

  .service-area__visual { position: static; }
}

@media (max-width: 1024px) {
  .hero--split {
    grid-template-columns: 1fr;
  }

  .hero--split .hero__visual {
    display: none;
  }

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

  .steps::before { display: none; }

  .step { padding-top: 36px; text-align: left; }

  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .portfolio-layout {
    grid-template-columns: 220px 1fr;
  }

  .art-print-banner {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__top > *:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .nav__links   { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile  { display: flex; }

  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }

  .method-blocks { grid-template-columns: 1fr; }

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

  .portfolio-layout { grid-template-columns: 1fr; }

  .portfolio-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--gray-100);
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0;
  }

  .portfolio-sidebar__header { display: none; }

  .portfolio-nav {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    white-space: nowrap;
    flex-direction: row;
    align-items: center;
  }

  .portfolio-nav__section-label { display: none; }

  .portfolio-nav__item {
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 9px 14px;
    white-space: nowrap;
    margin-bottom: 0;
  }

  .portfolio-nav__item:hover,
  .portfolio-nav__item.active {
    border-left-color: transparent;
    border-bottom-color: var(--accent);
    background-color: transparent;
  }

  .portfolio-nav__count { display: none; }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .mosaic__item { aspect-ratio: 3/2; }
  .mosaic__item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; aspect-ratio: 16/9; clip-path: none; }
  .mosaic__item:nth-child(2) { grid-column: 1 / 2; grid-row: 2; clip-path: none; }
  .mosaic__item:nth-child(3) { grid-column: 2 / 3; grid-row: 2; clip-path: none; }
  .mosaic__item:nth-child(4) { grid-column: 1 / 2; grid-row: 3; clip-path: none; }
  .mosaic__item:nth-child(5) { grid-column: 2 / 3; grid-row: 3; clip-path: none; }
  .mosaic__item:nth-child(6) { grid-column: 1 / 2; grid-row: 4; clip-path: none; }
  .mosaic__item:nth-child(7) { grid-column: 2 / 3; grid-row: 4; clip-path: none; }
  .mosaic__item:nth-child(8) { grid-column: 1 / 3; grid-row: 5; clip-path: none; aspect-ratio: 16/9; }

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

  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__top > *:first-child { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .cta-group { flex-direction: column; align-items: flex-start; }

  .how-step { grid-template-columns: 44px 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(34px, 10vw, 50px); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item--wide { grid-column: span 1; }
}
