@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap");

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

html {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(24, 30, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 30, 22, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

main,
section {
  max-width: 100%;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
}

/* VARIABLES */
:root {
  --ink: #182018;
  --soft-ink: #4f5c4d;
  --paper: #f4ead8;
  --paper-light: #fff7e9;
  --cream: #fff3db;
  --blue: #082b72;
  --blue-deep: #061839;
  --ink-blue: #0a336f;
  --orange: #bd5521;
  --mustard: #d9a320;
  --olive: #566434;
  --moss: #7f8d51;
  --tile: #e6812a;
  --grey-tile: #c9c4b8;
  --line: rgba(24, 32, 24, 0.16);
  --light-line: rgba(255, 247, 233, 0.25);
  --shadow: 0 24px 70px rgba(38, 25, 10, 0.18);
  --radius: 8px;
  --section-x: min(7vw, 98px);
  --section-y: 112px;
  --display-font: "Tiempos Text", "Times Text", "TiemposText", "DM Serif Display", Georgia, serif;
  --editorial-font: "Tiempos Text", "Times Text", "TiemposText", "Playfair Display", Georgia, serif;
}

/* NAVBAR */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper-light);
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

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

.design-navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  width: min(calc(100vw - 36px), 1180px);
  min-height: 64px;
  padding: 9px clamp(28px, 2.6vw, 42px) 9px 20px;
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(7, 29, 72, 0.98), rgba(9, 47, 112, 0.96) 44%, rgba(6, 24, 57, 0.98)),
    var(--blue-deep);
  border: 1px solid rgba(255, 247, 233, 0.18);
  border-radius: 999px;
  box-shadow:
    0 20px 48px rgba(4, 16, 38, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
  transition:
    min-height 180ms ease,
    top 180ms ease,
    box-shadow 180ms ease;
}

.design-navbar.is-scrolled {
  top: 10px;
  min-height: 58px;
  box-shadow:
    0 16px 42px rgba(4, 16, 38, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.design-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin-left: clamp(18px, 2.6vw, 42px);
  margin-right: clamp(14px, 1.8vw, 26px);
  padding: 0;
  overflow: visible;
  border-radius: 0;
  line-height: 0;
  text-decoration: none;
}

.design-brand img {
  display: block;
  width: auto;
  height: clamp(48px, 5vw, 70px);
  max-width: min(330px, 40vw);
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

.design-menu {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: auto;
  margin-right: clamp(8px, 1.1vw, 18px);
}

.design-menu a {
  padding: 10px clamp(9px, 0.95vw, 12px);
  color: rgba(255, 243, 219, 0.88);
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.design-menu a:hover,
.design-menu a:focus-visible {
  color: var(--blue-deep);
  background: var(--cream);
  outline: 0;
  transform: translateY(-1px);
}

.design-language-switcher {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  margin-left: clamp(4px, 0.8vw, 12px);
  margin-right: clamp(10px, 1.4vw, 22px);
}

.design-language-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 62px;
  height: 42px;
  padding: 0 15px;
  color: var(--blue-deep);
  background: rgba(255, 243, 219, 0.96);
  border: 1px solid rgba(255, 247, 233, 0.58);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.design-language-current [data-current-lang],
.design-language-menu button {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  overflow: visible;
  background: none;
  border-radius: 0;
  box-shadow: none;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1rem;
  line-height: 1;
  text-transform: none;
}

.lang-flag[data-flag="es"] {
  background: none;
}

.lang-flag[data-flag="en"] {
  width: auto;
  height: auto;
  overflow: visible;
  background: none;
  box-shadow: none;
  font-size: 1rem;
}

.lang-flag[data-flag="fr"] {
  background: none;
}

.lang-flag[data-flag="ja"] {
  background: none;
}

.lang-flag[data-flag="zh"] {
  background: none;
}

.lang-code {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.design-language-current::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 1px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.design-language-switcher.is-open .design-language-current::after {
  transform: translateY(2px) rotate(225deg);
}

.design-language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1100;
  display: grid;
  min-width: 84px;
  padding: 8px;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(8, 43, 114, 0.98), rgba(6, 24, 57, 0.98)),
    var(--blue-deep);
  border: 1px solid rgba(255, 243, 219, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(4, 16, 38, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.design-language-switcher.is-open .design-language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.design-language-menu button {
  width: 100%;
  padding: 10px 12px;
  color: rgba(255, 243, 219, 0.9);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  justify-content: center;
}

.design-language-menu button:hover,
.design-language-menu button:focus-visible,
.design-language-menu button.is-active {
  color: var(--blue-deep);
  background: var(--cream);
  outline: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* HERO */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 54px;
  align-items: center;
  min-height: 100svh;
  padding: 132px var(--section-x) 82px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 247, 233, 0.88), rgba(239, 218, 184, 0.86)),
    var(--paper);
}

.hero::before {
  position: absolute;
  right: -6vw;
  bottom: 0;
  z-index: 0;
  width: 46vw;
  height: 28px;
  content: "";
  background: repeating-linear-gradient(
    90deg,
    var(--tile) 0 22px,
    var(--tile) 22px 24px,
    var(--grey-tile) 24px 46px
  );
  opacity: 0.72;
}

.hero-copy,
.hero-collage {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--blue);
  font-family: var(--display-font);
  font-size: 6.6rem;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--ink);
  font-family: var(--editorial-font);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.12;
}

.hero-text {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--soft-ink);
  font-size: 1.06rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  outline: 0;
  transform: translateY(-2px);
}

.btn.primary {
  color: #261300;
  background: #ffc949;
  box-shadow: 0 17px 34px rgba(78, 46, 4, 0.22);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: #ffdd82;
}

.btn.secondary {
  color: var(--blue);
  border-color: rgba(8, 43, 114, 0.28);
  background: rgba(255, 247, 233, 0.7);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  color: var(--cream);
  background: var(--blue);
}

.hero-collage {
  min-height: 720px;
}

.hero-main-image {
  position: absolute;
  right: 0;
  top: 18px;
  z-index: 1;
  width: min(78%, 620px);
  margin: 0;
  transform: rotate(1.2deg);
}

.hero-main-image img,
.image-note img,
.concept-image img,
.postit-card img,
.tools-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-main-image img {
  aspect-ratio: 4 / 5;
  border: 12px solid var(--paper-light);
  box-shadow: var(--shadow);
}

.hero-paper {
  position: absolute;
  left: 0;
  bottom: 42px;
  z-index: 2;
  width: min(58%, 390px);
  margin: 0;
  transform: rotate(-3deg);
}

.hero-paper img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: #fffaf0;
  border: 10px solid #fffaf0;
  box-shadow: 0 20px 52px rgba(36, 22, 8, 0.2);
}

.paper-note {
  position: absolute;
  left: 32px;
  top: 48px;
  z-index: 5;
  display: grid;
  gap: 7px;
  width: 168px;
  padding: 18px;
  color: var(--blue);
  background: #fff6d9;
  border: 1px solid rgba(24, 32, 24, 0.14);
  box-shadow: 0 18px 42px rgba(36, 22, 8, 0.15);
  transform: rotate(-7deg);
}

.paper-note span {
  font-family: var(--display-font);
  font-size: 1.18rem;
  line-height: 1.05;
}

/* ABOUT */
.studio-statement {
  display: grid;
  grid-template-columns: 0.38fr minmax(0, 1fr);
  gap: 52px;
  padding: var(--section-y) var(--section-x);
  background: var(--blue);
  color: var(--cream);
}

.statement-number {
  color: #ffc949;
  font-family: var(--display-font);
  font-size: 13rem;
  line-height: 0.8;
}

.statement-copy h2,
.featured-concept h2,
.section-heading h2,
.tools-copy h2,
.renovation-copy h2,
.before-after-heading h2,
.design-contact-card-copy h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 4rem;
  font-weight: 400;
  line-height: 0.98;
}

.statement-copy .section-kicker,
.tools-copy .section-kicker,
.renovation-copy .section-kicker {
  color: #ffc949;
}

.statement-copy p:last-child {
  max-width: 820px;
  margin: 28px 0 0;
  color: rgba(255, 243, 219, 0.84);
  font-size: 1.12rem;
}

/* PROJECTS */
.featured-concept {
  display: grid;
  grid-template-columns: 0.32fr minmax(360px, 0.86fr) minmax(0, 0.78fr);
  gap: 38px;
  align-items: center;
  padding: var(--section-y) var(--section-x);
  background:
    linear-gradient(180deg, #fff7e9, #efe0c5),
    var(--paper);
}

.concept-label {
  align-self: start;
  display: grid;
  gap: 12px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
}

.concept-label span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.concept-label strong {
  color: var(--orange);
  font-family: var(--display-font);
  font-size: 2rem;
  font-weight: 400;
  text-transform: none;
}

.concept-image {
  margin: 0;
  transform: rotate(-1.4deg);
}

.concept-image img {
  aspect-ratio: 4 / 5;
  border: 14px solid #fffaf0;
  box-shadow: var(--shadow);
}

.concept-copy {
  padding: 26px 0;
}

.concept-copy p:not(.section-kicker) {
  margin: 24px 0 0;
  color: var(--soft-ink);
  font-size: 1.06rem;
}

/* VISUAL DIRECTION */
.visual-gallery {
  position: relative;
  padding: calc(var(--section-y) + 22px) var(--section-x) var(--section-y);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 201, 73, 0.16), transparent 30%),
    linear-gradient(180deg, #fff7e9, #ead7b6),
    var(--paper);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  margin-bottom: 58px;
}

.gallery-copy {
  min-width: 0;
}

.gallery-heading h2 {
  max-width: 980px;
  margin: 0;
  color: var(--blue);
  font-family: var(--display-font);
  font-size: 4.8rem;
  font-weight: 400;
  line-height: 0.96;
}

.gallery-copy p:not(.section-kicker) {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--soft-ink);
  font-size: 1.08rem;
}

.interiors-postit {
  position: relative;
  z-index: 3;
  justify-self: start;
  width: clamp(260px, 24vw, 330px);
  min-height: clamp(260px, 25vw, 330px);
  padding: clamp(58px, 5vw, 70px) clamp(26px, 3vw, 38px) clamp(34px, 4vw, 44px);
  color: #343020;
  background-color: #ffe86b;
  background-image:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.35), transparent 32%),
    linear-gradient(110deg, transparent 0 45%, rgba(255, 255, 255, 0.08) 48%, transparent 52%),
    repeating-linear-gradient(
      0deg,
      rgba(100, 75, 0, 0.025) 0,
      rgba(100, 75, 0, 0.025) 1px,
      transparent 1px,
      transparent 4px
    );
  border: 1px solid rgba(120, 90, 0, 0.1);
  border-radius: 3px;
  box-shadow:
    0 4px 3px rgba(0, 0, 0, 0.16),
    0 16px 18px rgba(0, 0, 0, 0.2),
    12px 24px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(240px) rotate(-6deg);
}

.interiors-postit::before {
  position: absolute;
  top: -23px;
  left: 50%;
  z-index: 3;
  width: 120px;
  height: 48px;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.48) 48%,
      rgba(255, 255, 255, 0.18)
    ),
    rgba(235, 218, 165, 0.58);
  border-right: 2px dashed rgba(150, 125, 70, 0.18);
  border-left: 2px dashed rgba(150, 125, 70, 0.18);
  border-radius: 2px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  opacity: 0.9;
  transform: translateX(-50%) rotate(3deg);
  backdrop-filter: blur(1px);
}

.interiors-postit::after {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 65px;
  height: 65px;
  content: "";
  background:
    linear-gradient(
      135deg,
      rgba(255, 232, 107, 0) 48%,
      #e8cd47 50%,
      #fff19a 100%
    );
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  filter: drop-shadow(-4px -3px 3px rgba(0, 0, 0, 0.12));
}

.interiors-postit h2 {
  margin: 0 0 22px;
  color: #343020;
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  font-size: clamp(1.65rem, 2.3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  transform: rotate(1deg);
}

.interiors-postit p {
  margin: 0;
  color: #343020;
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  line-height: 1.55;
  transform: rotate(-1deg);
}

.interiors-postit .subrayado {
  position: relative;
  display: inline-block;
  font-weight: 700;
  z-index: 1;
}

.interiors-postit .subrayado::after {
  position: absolute;
  right: -3px;
  bottom: 0.05em;
  left: -4px;
  z-index: -1;
  height: 0.32em;
  content: "";
  background: rgba(229, 128, 61, 0.36);
  border-radius: 999px;
  transform: rotate(-1.5deg);
}

.interiors-wave-gallery {
  --wave-size: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  width: min(1180px, 100%);
  margin: clamp(42px, 6vw, 86px) auto 0;
  padding: clamp(18px, 3vw, 42px);
  overflow: visible;
  background:
    radial-gradient(circle at 80% 16%, rgba(191, 77, 40, 0.11), transparent 36%),
    #f2e9e1;
  border: 1px solid rgba(24, 32, 24, 0.08);
  border-radius: var(--radius);
}

.wave-frame {
  --hover-scale: 1;
  --hover-y: 0px;
  position: relative;
  width: 100%;
  min-height: 330px;
  aspect-ratio: 1 / 1;
  padding: calc(var(--wave-size) + 4px);
  overflow: visible;
  isolation: isolate;
  cursor: zoom-in;
  background: transparent;
  border-radius: 34px;
  box-shadow: 0 18px 42px rgba(42, 41, 62, 0.12);
  transition:
    opacity 700ms ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s ease,
    box-shadow 0.42s ease;
}

.wave-frame.reveal.is-visible {
  transform: translateY(var(--hover-y)) scale(var(--hover-scale));
}

.wave-frame::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    radial-gradient(circle at 0 var(--wave-size), transparent 0 var(--wave-size), #bf4d28 calc(var(--wave-size) + 1px))
      0 0 / calc(var(--wave-size) * 2) calc(var(--wave-size) * 2),
    #bf4d28;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.32);
}

.wave-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border: 8px solid #fffaf0;
  border-radius: 24px;
  background: #fffaf0;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s ease;
}

.wave-frame-large {
  min-height: 430px;
  aspect-ratio: 4 / 5;
}

.wave-frame-tall {
  min-height: 500px;
  aspect-ratio: 3 / 4;
}

.wave-frame:hover {
  --hover-scale: 1.08;
  --hover-y: -12px;
  z-index: 5;
  filter: saturate(1.04) contrast(1.02);
  box-shadow: 0 34px 80px rgba(42, 41, 62, 0.24);
}

.wave-frame.reveal.is-visible:hover {
  transform: translateY(var(--hover-y)) scale(var(--hover-scale));
}

.wave-frame:hover img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.1);
}

.wave-frame:nth-child(2) {
  transition-delay: 70ms;
}

.wave-frame:nth-child(3) {
  transition-delay: 140ms;
}

.wave-frame:nth-child(4) {
  transition-delay: 210ms;
}

.wave-frame:nth-child(5) {
  transition-delay: 280ms;
}

.wave-frame:nth-child(6) {
  transition-delay: 350ms;
}

.style-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 0.78fr);
  gap: 38px;
  align-items: center;
  min-height: 420px;
  margin-top: 34px;
  padding: 42px;
  color: var(--cream);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 201, 73, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(8, 43, 114, 0.96), rgba(86, 100, 52, 0.92)),
    var(--blue);
  border-radius: var(--radius);
  overflow: hidden;
}

.style-copy h3 {
  max-width: 680px;
  margin: 0;
  font-family: var(--display-font);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
}

.style-copy p:not(.section-kicker) {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 243, 219, 0.82);
  font-size: 1.05rem;
}

.style-copy .section-kicker {
  color: #ffc949;
}

.style-stickers {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.style-stickers img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.24));
  animation: stickerFloat 8s ease-in-out infinite;
}

.style-stickers img:nth-child(1) {
  grid-column: span 2;
  transform: rotate(-7deg);
}

.style-stickers img:nth-child(2) {
  grid-column: span 2;
  transform: rotate(4deg);
  animation-delay: -1.6s;
}

.style-stickers img:nth-child(3) {
  grid-column: span 2;
  transform: rotate(2deg);
  animation-delay: -3.2s;
}

.style-stickers img:nth-child(4) {
  grid-column: span 3;
  justify-self: end;
  max-width: 74%;
  transform: rotate(-4deg);
  animation-delay: -4.8s;
}

.style-stickers img:nth-child(5) {
  grid-column: span 3;
  justify-self: start;
  max-width: 74%;
  transform: rotate(6deg);
  animation-delay: -6.4s;
}

@keyframes stickerFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

/* PROJECT NOTES */
.project-notes {
  padding: var(--section-y) var(--section-x);
  background:
    linear-gradient(180deg, #ead7b6, #fff7e9),
    var(--paper);
}

.notes-heading {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 38px;
}

.notes-heading h2 {
  max-width: 860px;
  margin: 0;
  color: var(--blue);
  font-family: var(--display-font);
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1;
}

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

.postit-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--paper-light);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(38, 25, 10, 0.17);
}

.postit-grid .postit-card {
  aspect-ratio: 4 / 5;
}

.postit-card img {
  min-height: 100%;
  object-position: center;
}

.postit-text {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #102a53;
  text-align: center;
  pointer-events: none;
}

.postit-text strong {
  display: block;
  font-family: var(--display-font);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
}

.postit-text span {
  margin-top: 7px;
  color: rgba(16, 42, 83, 0.74);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.postit-green .postit-text {
  left: 31%;
  top: 48%;
  width: 38%;
  height: 20%;
}

.postit-mosaic .postit-text {
  left: 35%;
  top: 41%;
  width: 32%;
  height: 21%;
  transform: rotate(-1deg);
}

.postit-striped .postit-text {
  left: 30%;
  top: 43%;
  width: 39%;
  height: 22%;
  transform: rotate(0.7deg);
}

.postit-red .postit-text {
  left: 34%;
  top: 41%;
  width: 34%;
  height: 23%;
  transform: rotate(-0.8deg);
}

/* BEFORE / AFTER */
.before-after-section {
  padding: var(--section-y) var(--section-x);
  background: #bf553f;
}

.before-after-heading {
  margin-bottom: 48px;
}

.before-after-heading .section-kicker {
  color: #dfff00;
}

.before-after-heading h2 {
  color: #f5e6d3;
}

.before-after-heading p:not(.section-kicker) {
  max-width: 720px;
  margin: 0;
  color: #f5e6d3;
  font-size: 1.06rem;
}

.before-after-card {
  --k: 50;
  position: relative;
  width: min(1120px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  background: #111;
  border-radius: 32px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28);
}

.before-after-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.before-after-card .before-img {
  z-index: 2;
  clip-path: inset(0 calc(100% - (var(--k) * 1%)) 0 0);
}

.before-after-card .after-img {
  z-index: 1;
}

.before-after-card::before {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 4;
  padding: 8px 14px;
  content: attr(data-before-label);
  color: #2a293e;
  background: rgba(248, 244, 229, 0.92);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.before-after-card::after {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 4;
  padding: 8px 14px;
  content: attr(data-after-label);
  color: #2a293e;
  background: rgba(248, 244, 229, 0.92);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.before-after-card input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.before-after-card .divider {
  position: absolute;
  top: 0;
  left: calc(var(--k) * 1%);
  z-index: 3;
  width: 3px;
  height: 100%;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

.before-after-card .divider::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  content: "↔";
  color: #2a293e;
  background: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%);
}

/* MATERIALS */
.materials-section {
  --pattern-size: 25px;

  position: relative;
  overflow: hidden;
  padding: clamp(90px, 11vw, 150px) clamp(18px, 6vw, 90px);
  background:
    radial-gradient(
        var(--pattern-size) at calc(100% + calc(var(--pattern-size) * 0.866)) 50%,
        #762b52 99%,
        transparent 101%
      )
      0 calc(-5 * var(--pattern-size) / 2),
    radial-gradient(
        var(--pattern-size) at calc(100% + calc(var(--pattern-size) * 0.866)) 50%,
        #762b52 99%,
        transparent 101%
      )
      calc(-2 * calc(var(--pattern-size) * 0.866)) calc(var(--pattern-size) / 2),
    radial-gradient(var(--pattern-size) at 100% 50%, #d36164 99%, transparent 101%) 0
      calc(-2 * var(--pattern-size)),
    radial-gradient(var(--pattern-size), #762b52 99%, transparent 101%) calc(var(--pattern-size) * 0.866)
      calc(-5 * var(--pattern-size) / 2),
    radial-gradient(var(--pattern-size), #d36164 99%, transparent 101%) calc(var(--pattern-size) * 0.866)
      calc(5 * var(--pattern-size) / 2),
    radial-gradient(var(--pattern-size) at 100% 100%, #762b52 99%, transparent 101%) 0
      calc(-1 * var(--pattern-size)),
    radial-gradient(var(--pattern-size) at 0% 50%, #762b52 99%, transparent 101%) 0
      calc(-4 * var(--pattern-size)),
    radial-gradient(var(--pattern-size), #d36164 99%, transparent 101%)
      calc(-1 * calc(var(--pattern-size) * 0.866)) calc(-7 * var(--pattern-size) / 2),
    radial-gradient(var(--pattern-size), #762b52 99%, transparent 101%)
      calc(-1 * calc(var(--pattern-size) * 0.866)) calc(-5 * var(--pattern-size) / 2),
    radial-gradient(var(--pattern-size) at 100% 50%, #d36164 99%, transparent 101%)
      calc(-2 * calc(var(--pattern-size) * 0.866)) var(--pattern-size),
    radial-gradient(var(--pattern-size), #762b52 99%, transparent 101%)
      calc(-1 * calc(var(--pattern-size) * 0.866)) calc(var(--pattern-size) / 2),
    radial-gradient(var(--pattern-size), #d36164 99%, transparent 101%)
      calc(-1 * calc(var(--pattern-size) * 0.866)) calc(var(--pattern-size) / -2),
    radial-gradient(var(--pattern-size), #762b52 99%, transparent 101%) 0 calc(-1 * var(--pattern-size)),
    radial-gradient(var(--pattern-size), #d36164 99%, transparent 101%) calc(var(--pattern-size) * 0.866)
      calc(var(--pattern-size) / -2),
    radial-gradient(var(--pattern-size), #762b52 99%, transparent 101%) calc(var(--pattern-size) * 0.866)
      calc(var(--pattern-size) / 2) #d36164;
  background-size: calc(4 * calc(var(--pattern-size) * 0.866)) calc(6 * var(--pattern-size));
}

.materials-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(42, 41, 62, 0.14);
  pointer-events: none;
}

.materials-content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px);
  background: rgba(42, 41, 62, 0.34);
  border-radius: clamp(24px, 3vw, 42px);
  box-shadow: 0 28px 80px rgba(42, 41, 62, 0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.materials-content .section-kicker {
  margin: 0 0 14px;
  color: #ff8a2a;
  font-size: clamp(0.78rem, 0.9vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.materials-content h2 {
  margin: 0 0 clamp(20px, 3vw, 34px);
  color: #ffd34d;
  font-family: var(--display-font);
  font-size: clamp(2.9rem, 6vw, 6.8rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.materials-lead {
  max-width: 780px;
  margin: 0 0 20px;
  color: #fff1f5;
  font-size: clamp(1.3rem, 2.1vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
}

.materials-text {
  max-width: 820px;
  margin: 0;
  color: #fff1f5;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.75;
}

/* SERVICES */
.services-section {
  padding: var(--section-y) var(--section-x);
  background-color: orange;
  background-image: conic-gradient(orange, orangered);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.45fr minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  margin-bottom: 46px;
}

.services-section .section-kicker {
  color: #ffd400;
}

.services-section .section-heading h2 {
  position: relative;
  z-index: 2;
  max-width: 13ch;
  margin-left: clamp(28%, 32vw, 36%);
  padding-left: 0;
  font-size: clamp(3.1rem, 5vw, 5.5rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 286px;
  padding: 24px;
  background: rgba(255, 250, 240, 0.56);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.service-card:hover {
  background: #fffaf0;
  transform: translateY(-3px);
}

.service-card.service-card-no-hover:hover {
  background:
    linear-gradient(135deg, rgba(8, 43, 114, 0.92), rgba(189, 85, 33, 0.82)),
    var(--blue);
  transform: none;
}

.service-card.service-card-no-hover:hover h3,
.service-card.service-card-no-hover:hover span {
  color: #ffc949;
}

.service-card.service-card-no-hover:hover p {
  color: rgba(255, 243, 219, 0.86);
}

.service-card span {
  color: var(--orange);
  font-family: var(--display-font);
  font-size: 2.7rem;
  line-height: 0.9;
}

.service-card h3 {
  margin: 28px 0 14px;
  color: var(--blue);
  font-family: var(--editorial-font);
  font-size: 1.36rem;
  line-height: 1.1;
}

.service-card p {
  margin: 0;
  color: var(--soft-ink);
}

.service-wide {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(8, 43, 114, 0.92), rgba(189, 85, 33, 0.82)),
    var(--blue);
}

.service-wide h3,
.service-wide span {
  color: #ffc949;
}

.service-wide p {
  max-width: 660px;
  color: rgba(255, 243, 219, 0.86);
}

.services-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.services-section .services-image-card {
  margin-top: clamp(36px, 5vw, 70px);
  margin-left: clamp(8px, 2vw, 28px);
}

.services-image-card {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #fff8ef;
  border: 6px solid #ffd400;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(42, 41, 62, 0.22);
  transition: none;
}

.services-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

/* PROCESS */
.process-section {
  padding: var(--section-y) var(--section-x);
  background: var(--blue-deep);
  color: var(--cream);
}

.process-section .section-kicker {
  color: #ffc949;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--light-line);
  border-left: 1px solid var(--light-line);
}

.process-step {
  min-height: 340px;
  padding: 22px;
  border-right: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}

.process-step span {
  display: block;
  color: #ffc949;
  font-family: var(--display-font);
  font-size: 3.7rem;
  line-height: 0.86;
}

.process-step h3 {
  margin: 32px 0 12px;
  font-family: var(--editorial-font);
  font-size: 1.2rem;
  line-height: 1.1;
}

.process-step p {
  margin: 0;
  color: rgba(255, 243, 219, 0.74);
}

/* TOOLS */
.tools-section {
  --s: 200px;
  --c-half-left: hsl(10, 50%, 50%);
  --c-half-right: hsl(40, 50%, 80%);
  --c-bottom: hsl(180, 50%, 50%);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(250px, 0.52fr) minmax(320px, 0.78fr);
  gap: 30px;
  align-items: center;
  padding: var(--section-y) var(--section-x);
  overflow: hidden;
  background-color: hsl(40, 50%, 80%);
  background-image: conic-gradient(
    at 50% 15%,
    var(--c-half-left) 0deg,
    var(--c-half-left) 120deg,
    var(--c-bottom) 120deg,
    var(--c-bottom) 240deg,
    var(--c-half-right) 240deg
  );
  background-repeat: repeat-x;
  background-size: var(--s) 100%;
}

.tools-section > * {
  position: relative;
  z-index: 1;
}

.tools-copy p {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--soft-ink);
  font-size: 1.08rem;
}

.tools-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: clamp(14px, 2vw, 24px);
  width: min(900px, 100%);
  margin-top: clamp(28px, 4vw, 48px);
}

.tool-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 132px;
  padding: 20px 16px;
  overflow: hidden;
  background: rgba(255, 248, 239, 0.84);
  border: 1px solid rgba(18, 57, 90, 0.14);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.tool-badge:hover {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px) scale(1.03);
}

.tool-icon {
  display: grid;
  width: 58px;
  min-width: 58px;
  max-width: 58px;
  height: 58px;
  min-height: 58px;
  max-height: 58px;
  overflow: hidden;
  place-items: center;
  color: #fff;
  border-radius: 18px;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.tool-icon-rhino {
  background: linear-gradient(135deg, #6b6f76, #20242b);
}

.tool-icon-autocad {
  background: linear-gradient(135deg, #ef2b2d, #9b111e);
}

.tool-icon-photoshop {
  color: #31a8ff;
  background: linear-gradient(135deg, #001e36, #31a8ff);
}

.tool-icon-layout {
  background: linear-gradient(135deg, #f45702, #ffb347);
}

.tool-icon-plans {
  background: linear-gradient(135deg, #12395a, #5bbad5);
}

.tool-icon-concept {
  background: linear-gradient(135deg, #762b52, #d36164);
}

.mini-plan-icon,
.mini-blueprint-icon,
.mini-moodboard-icon {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
}

.mini-plan-icon {
  background:
    linear-gradient(#fff 0 0) 50% 0 / 2px 100% no-repeat,
    linear-gradient(#fff 0 0) 0 50% / 100% 2px no-repeat;
  border: 2px solid #fff;
  border-radius: 5px;
}

.mini-blueprint-icon {
  background:
    linear-gradient(#fff 0 0) 8px 6px / 16px 2px no-repeat,
    linear-gradient(#fff 0 0) 8px 14px / 12px 2px no-repeat,
    linear-gradient(#fff 0 0) 8px 22px / 18px 2px no-repeat;
  border: 2px solid #fff;
  border-radius: 4px;
}

.mini-moodboard-icon {
  background:
    linear-gradient(#fff 0 0) 0 0 / 13px 13px no-repeat,
    linear-gradient(#fff 0 0) 17px 0 / 13px 20px no-repeat,
    linear-gradient(#fff 0 0) 0 17px / 30px 13px no-repeat;
  border-radius: 4px;
}

.tool-badge span {
  display: block;
  color: #12395a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.technical-gallery {
  display: grid;
  gap: 18px;
}

.tools-image {
  margin: 0;
  transform: rotate(2deg);
}

.tools-image-secondary {
  transform: rotate(-1.4deg);
}

.tools-image img {
  aspect-ratio: 4 / 5;
  border: 12px solid #fffaf0;
  box-shadow: var(--shadow);
}

.tools-image-secondary img {
  aspect-ratio: 4 / 3;
}

/* CONTACT */
.renovation-section {
  --s: 200px;
  --c-half-left: #061738;
  --c-half-right: #f2c94c;
  --c-bottom: #f5e6d3;

  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 50px;
  align-items: end;
  width: 100%;
  overflow: hidden;
  padding: var(--section-y) var(--section-x);
  color: var(--cream);
  background-color: var(--c-bottom);
  background-image: conic-gradient(
    at 50% 12%,
    var(--c-half-left) 0deg,
    var(--c-half-left) 120deg,
    var(--c-bottom) 120deg,
    var(--c-bottom) 240deg,
    var(--c-half-right) 240deg
  );
  background-repeat: repeat-x;
  background-size: var(--s) 100%;
  background-blend-mode: normal;
  filter: none;
  opacity: 1;
}

.renovation-section::before,
.renovation-section::after {
  display: none;
  content: none;
}

.renovation-copy {
  grid-column: 1 / -1;
  max-width: 980px;
  padding: clamp(80px, 8vw, 130px) 0 0;
  color: var(--blue-deep);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.renovation-copy h2 {
  color: #8a2f24;
}

.renovation-copy .section-kicker {
  color: #8a2f24;
}

.renovation-copy p {
  max-width: 720px;
  margin: 26px 0 0;
  color: #8a2f24;
  font-size: 1.08rem;
}

.renovation-expand-container {
  grid-column: 1 / -1;
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  min-height: min(78vh, 680px);
  margin-top: 18px;
  padding: 4% 2%;
  overflow: hidden;
}

.renovation-expand-box {
  flex: 1 1 0;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  background: rgba(255, 243, 219, 0.12);
  border: 1px solid rgba(255, 243, 219, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.18);
  line-height: 0;
  transition:
    flex 2.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 2.2s ease,
    border-color 2.2s ease,
    filter 2.2s ease;
}

.renovation-expand-box > img {
  width: 140%;
  max-width: none;
  height: calc(100% - 92px);
  object-fit: cover;
  transform: scale(1);
  transition:
    width 2.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 2.4s ease;
}

.renovation-expand-box > span {
  display: block;
  height: 92px;
  padding: 0 16px;
  color: #f5e6d3;
  background: #8a2f24;
  font-family: var(--editorial-font);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 92px;
  text-align: center;
  white-space: nowrap;
}

.renovation-expand-box:hover {
  flex: 4 1 0;
  border-color: rgba(255, 243, 219, 0.36);
  box-shadow: 0 28px 70px rgba(42, 41, 62, 0.22);
  transform: translateY(-6px);
}

.renovation-expand-box:hover > img {
  width: 100%;
  height: calc(100% - 92px);
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.04);
}

.design-contact-card-section {
  --s: 200px;
  --c-half-left: #f5e6d3;
  --c-half-right: #f5e6d3;
  --c-bottom: #4166f5;

  position: relative;
  padding: clamp(72px, 10vw, 140px) clamp(18px, 5vw, 72px);
  background-color: var(--c-bottom);
  background-image: conic-gradient(
    at 50% 5%,
    var(--c-half-left) 0deg,
    var(--c-half-left) 120deg,
    var(--c-bottom) 120deg,
    var(--c-bottom) 240deg,
    var(--c-half-right) 240deg
  );
  background-repeat: repeat-x;
  background-size: var(--s) 100%;
  background-blend-mode: normal;
  filter: none;
  opacity: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  overflow: hidden;
}

.design-contact-card-section::before,
.design-contact-card-section::after {
  display: none;
  content: none;
}

.design-contact-card-copy {
  max-width: 760px;
}

.design-contact-card-section .design-contact-card-copy .section-kicker,
.design-contact-card-section .design-contact-card-copy h2,
.design-contact-card-section .design-contact-card-copy p {
  color: #ffffff;
}

.design-contact-card-copy h2 {
  margin: 0 0 18px;
  font-family: "Tiempos Text", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.design-contact-card-copy p {
  max-width: 640px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.novowit-profile-card {
  width: min(390px, 100%);
  justify-self: center;
  overflow: hidden;
  border-radius: 20px;
  background: #fffaf0;
  box-shadow: 0 28px 70px rgba(42, 41, 62, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 28px 0;
  color: #434955;
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.novowit-profile-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 90px rgba(42, 41, 62, 0.24);
}

.profile-avatar-zone {
  width: 100%;
}

.profile-avatar-lines {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 18px 0;
}

.profile-avatar-lines::before,
.profile-avatar-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  background: #58b0e0;
  transition:
    width 0.45s ease,
    left 0.45s ease;
}

.profile-avatar-lines::before {
  top: 18px;
}

.profile-avatar-lines::after {
  bottom: 18px;
}

.novowit-profile-card:hover .profile-avatar-lines::before,
.novowit-profile-card:hover .profile-avatar-lines::after {
  width: 12%;
  left: 44%;
}

.profile-avatar {
  position: relative;
  z-index: 2;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: linear-gradient(135deg, #58b0e0, #2a293e);
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(42, 41, 62, 0.2);
  transition:
    border-width 0.35s ease,
    transform 0.35s ease;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.novowit-profile-card:hover .profile-avatar {
  border-width: 8px;
  transform: scale(1.03);
}

.profile-headings {
  text-align: center;
}

.profile-headings h3 {
  margin: 0;
  color: #434955;
  font-family: "Tiempos Text", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}

.profile-headings p {
  margin: 8px 0 0;
  color: #434955;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-description {
  margin: 0;
  color: rgba(67, 73, 85, 0.78);
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: center;
}

.profile-contact-list {
  width: 100%;
  list-style: none;
  padding: 0 0 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-contact-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1.5px dotted #434955;
  color: #434955;
  font-size: 0.88rem;
  font-weight: 700;
}

.profile-contact-list li:last-child {
  border-bottom: 0;
}

.profile-contact-list a {
  color: inherit;
  text-decoration: none;
}

.profile-contact-list a:hover,
.profile-contact-list a:focus-visible {
  color: #58b0e0;
  outline: 0;
}

.profile-icon {
  width: 20px;
  flex: 0 0 20px;
  color: #434955;
}

.profile-bottom-bar {
  width: calc(100% + 56px);
  height: 14px;
  background: #58b0e0;
  transition: height 0.35s ease;
}

.novowit-profile-card:hover .profile-bottom-bar {
  height: 24px;
}

.design-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 26px var(--section-x);
  color: rgba(255, 243, 219, 0.86);
  background: var(--blue-deep);
  font-size: 0.92rem;
  font-weight: 800;
}

.design-footer a:hover,
.design-footer a:focus-visible {
  color: #ffc949;
  outline: 0;
}

/* INTERIOR LIGHTBOX */
.interior-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(10, 14, 24, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.interior-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.interior-lightbox-img {
  display: block;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 28px;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.94) translateY(16px);
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.34s ease;
}

.interior-lightbox.is-open .interior-lightbox-img {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.interior-lightbox-close {
  position: fixed;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  z-index: 9999;
  width: 48px;
  height: 48px;
  color: #2a293e;
  background: #f8f4e5;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.25);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.interior-lightbox-close:hover,
.interior-lightbox-close:focus-visible {
  color: #fff;
  background: #f45702;
  outline: 0;
  transform: scale(1.08);
}

body.lightbox-open {
  overflow: hidden;
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* CURSOR */
.pencil-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 48px;
  height: auto;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-999px, -999px, 0);
  transform-origin: 7px 7px;
  will-change: transform;
  transition: none;
}

.pencil-cursor img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.24));
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  body.design-page.design-cursor-enabled,
  body.design-page.design-cursor-enabled * {
    cursor: none;
  }

  body.design-page .pencil-cursor.is-visible {
    opacity: 1;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .pencil-cursor {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* RESPONSIVE */
@media (max-width: 1180px) {
  :root {
    --section-y: 96px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: 5.35rem;
  }

  .hero-collage {
    min-height: 620px;
  }

  .statement-copy h2,
  .featured-concept h2,
  .section-heading h2,
  .gallery-heading h2,
  .notes-heading h2,
  .tools-copy h2,
  .renovation-copy h2,
  .before-after-heading h2 {
    font-size: 3.3rem;
  }

  .featured-concept,
  .tools-section,
  .before-after-section,
  .design-contact-card-section {
    grid-template-columns: 1fr 1fr;
  }

  .interiors-wave-gallery {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .wave-frame,
  .wave-frame-large,
  .wave-frame-tall {
    min-height: 330px;
  }

  .wave-frame-tall {
    min-height: 430px;
  }

  .style-board {
    grid-template-columns: 1fr;
  }

  .concept-label {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .concept-label span {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .postit-grid {
    gap: 16px;
  }

  .renovation-expand-container {
    min-height: 620px;
  }

  .technical-gallery {
    grid-column: 2;
  }
}

@media (max-width: 1024px) {
  .services-image-card {
    width: min(420px, 100%);
  }

  .design-navbar {
    padding-right: 16px;
  }

  .design-menu,
  .design-language-switcher {
    transform: none;
  }

  .tools-logo-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .services-section .section-heading h2 {
    max-width: 13ch;
    margin-left: clamp(22%, 28vw, 34%);
    padding-left: 0;
    font-size: clamp(2.6rem, 6vw, 4.5rem);
  }

  .gallery-heading,
  .notes-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-copy p:not(.section-kicker) {
    grid-column: auto;
    margin: 0;
  }

  .interiors-postit {
    width: min(320px, 100%);
    min-height: 285px;
    margin-bottom: 14px;
    transform: translateY(105px) rotate(-5deg);
  }
}

@media (max-width: 1100px) {
  :root {
    --section-x: 24px;
    --section-y: 82px;
  }

  .design-navbar {
    top: 12px;
    width: min(calc(100vw - 24px), 740px);
  }

  .design-brand {
    margin-left: 12px;
    margin-right: auto;
  }

  .design-brand img {
    height: 48px;
    max-width: min(230px, 40vw);
    border-radius: 0;
  }

  .design-language-switcher {
    order: 2;
    margin-left: 8px;
    margin-right: 10px;
  }

  .design-language-current {
    min-width: 64px;
    height: 40px;
    padding: 0 11px;
  }

  .lang-flag {
    width: auto;
    height: auto;
    font-size: 0.9rem;
  }

  .lang-code {
    font-size: 0.82rem;
  }

  .nav-toggle {
    display: block;
    order: 3;
    margin-left: 8px;
  }

  .design-menu {
    order: 4;
  }

  .design-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 6px;
    padding: 10px;
    background:
      linear-gradient(90deg, rgba(7, 29, 72, 0.98), rgba(9, 47, 112, 0.98)),
      var(--blue-deep);
    border: 1px solid rgba(255, 243, 219, 0.18);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(2, 13, 31, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .design-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .design-menu a {
    padding: 13px 16px;
  }

  .design-contact-card-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .design-contact-card-copy {
    margin: 0 auto;
  }

  .design-contact-card-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero,
  .studio-statement,
  .featured-concept,
  .materials-section,
  .section-heading,
  .gallery-heading,
  .notes-heading,
  .style-board,
  .before-after-section,
  .tools-section,
  .renovation-section,
  .design-contact-card-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 122px;
  }

  .hero-copy,
  .hero-lead,
  .hero-text {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-collage {
    min-height: 560px;
  }

  .hero-main-image {
    width: min(78%, 560px);
  }

  .statement-number {
    font-size: 8rem;
  }

  .interiors-wave-gallery {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 30px;
  }

  .wave-frame,
  .wave-frame-large,
  .wave-frame-tall {
    min-height: 320px;
    transform: none;
  }

  .style-stickers {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .style-stickers img,
  .style-stickers img:nth-child(n) {
    grid-column: span 1;
    width: 100%;
    max-width: 100%;
    animation: none;
    transform: none;
  }

  .renovation-expand-container {
    flex-direction: column;
    min-height: auto;
    padding: 0;
    gap: 16px;
  }

  .renovation-expand-box {
    flex: none;
    margin: 0;
  }

  .renovation-expand-box > img,
  .renovation-expand-box:hover > img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    filter: none;
    transform: none;
  }

  .renovation-expand-box:hover {
    flex: none;
    transform: none;
  }

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

  .technical-gallery {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .renovation-section {
    --s: 150px;
  }

  .renovation-copy {
    padding-top: clamp(70px, 18vw, 110px);
  }

  .design-contact-card-section {
    --s: 150px;
  }

  .services-visual {
    align-items: center;
  }

  .services-image-card {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 5;
    margin: 32px auto 0;
    border-width: 5px;
    border-radius: 22px;
  }

  .tools-section {
    --s: 150px;
  }

  section {
    max-width: 100%;
  }

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

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

  .tool-badge {
    min-height: 118px;
    padding: 16px 12px;
  }

  .tool-icon {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    border-radius: 15px;
    font-size: 0.95rem;
  }

  .mini-plan-icon,
  .mini-blueprint-icon,
  .mini-moodboard-icon {
    width: 26px;
    height: 26px;
  }

  .services-section .section-heading h2 {
    max-width: 100%;
    margin-left: 0;
    padding-left: 0;
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }

  .materials-section {
    --pattern-size: 18px;
    padding: 72px 16px;
  }

  .materials-content {
    padding: 28px 20px;
    border-radius: 26px;
  }

  .materials-content h2 {
    font-size: clamp(2.5rem, 13vw, 4.4rem);
  }

  .materials-lead {
    font-size: clamp(1.2rem, 6vw, 1.75rem);
  }

  .materials-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .interior-lightbox {
    padding: 18px;
  }

  .interior-lightbox-img {
    max-width: 94vw;
    max-height: 78vh;
    border-radius: 18px;
  }

  .interior-lightbox-close {
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
  }

  .gallery-heading h2 {
    font-size: 3rem;
  }

  .notes-heading h2 {
    font-size: 2.75rem;
  }

  .interiors-wave-gallery,
  .postit-grid {
    grid-template-columns: 1fr;
  }

  .wave-frame,
  .wave-frame-large,
  .wave-frame-tall {
    width: 100%;
    min-height: 300px;
    aspect-ratio: 4 / 3;
    transform: none;
  }

  .wave-frame.reveal.is-visible:hover {
    transform: none;
  }

  .wave-frame:hover {
    --hover-scale: 1;
    --hover-y: 0px;
    z-index: auto;
    box-shadow: 0 18px 42px rgba(42, 41, 62, 0.12);
  }

  .wave-frame img {
    object-fit: cover;
  }

  .wave-frame:hover img {
    filter: none;
    transform: none;
  }

  .before-after-card {
    aspect-ratio: 4 / 5;
    border-radius: 22px;
  }

  .before-after-card::before,
  .before-after-card::after {
    top: 14px;
    font-size: 0.72rem;
  }

  .postit-grid .postit-card {
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .interiors-postit {
    justify-self: center;
    width: min(88vw, 286px);
    min-height: 246px;
    margin-top: 48px;
    padding: 54px 24px 30px;
    transform: rotate(-4deg);
  }

  .interiors-postit::before {
    top: -18px;
    width: 96px;
    height: 38px;
  }

  .interiors-postit::after {
    width: 50px;
    height: 50px;
  }

  .interiors-postit h2 {
    margin-bottom: 16px;
    font-size: 1.48rem;
  }

  .interiors-postit p {
    font-size: 1rem;
  }

  .interiors-wave-gallery {
    padding: clamp(12px, 3vw, 18px);
    overflow: hidden;
  }

  .wave-frame,
  .wave-frame-large,
  .wave-frame-tall {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .tool-badge {
    min-height: 120px;
  }

  .services-section .section-heading h2 {
    max-width: 100%;
    margin-left: 0;
    padding-left: 0;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  :root {
    --section-x: 18px;
    --section-y: 68px;
  }

  .design-navbar {
    left: 8px;
    width: min(calc(100vw - 16px), 374px);
    min-height: 58px;
    padding: 8px 8px 8px 12px;
    transform: none;
  }

  .design-brand {
    max-width: 42vw;
    min-width: 0;
    margin-left: 12px;
    margin-right: auto;
    flex-shrink: 1;
    padding: 0;
    border-radius: 0;
  }

  .design-brand img {
    width: auto;
    height: 42px;
    max-width: min(220px, 42vw);
    object-fit: contain;
    border-radius: 0;
  }

  .design-language-switcher,
  .nav-toggle {
    flex: 0 0 auto;
  }

  .design-language-current {
    min-width: 46px;
    height: 38px;
    padding: 0 9px;
    gap: 4px;
  }

  .lang-flag {
    width: auto;
    height: auto;
    font-size: 0.84rem;
  }

  .lang-code {
    font-size: 0.82rem;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
    margin-left: 6px;
  }

  .hero {
    padding-bottom: 54px;
  }

  .hero-copy,
  .hero-collage {
    width: min(100%, 354px);
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.54rem;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    font-size: 1.18rem;
  }

  .hero-text,
  .statement-copy p:last-child,
  .concept-copy p:not(.section-kicker),
  .tools-copy p,
  .renovation-copy p,
  .before-after-heading p:not(.section-kicker),
  .design-contact-card-copy p,
  .profile-description {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-collage {
    min-height: 460px;
  }

  .hero-main-image {
    right: 0;
    width: 82%;
  }

  .hero-paper {
    width: 62%;
  }

  .paper-note {
    left: 0;
    top: 24px;
    z-index: 5;
    width: 138px;
    padding: 14px;
  }

  .paper-note span {
    font-size: 1rem;
  }

  .statement-copy h2,
  .featured-concept h2,
  .section-heading h2,
  .gallery-heading h2,
  .notes-heading h2,
  .style-copy h3,
  .tools-copy h2,
  .renovation-copy h2,
  .before-after-heading h2 {
    font-size: 2.42rem;
    line-height: 1.02;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .interiors-wave-gallery,
  .postit-grid {
    grid-template-columns: 1fr;
  }

  .wave-frame,
  .wave-frame-large,
  .wave-frame-tall {
    min-height: 360px;
  }

  .style-board {
    padding: 20px;
  }

  .style-stickers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .style-stickers img,
  .style-stickers img:nth-child(n) {
    transform: none;
  }

  .postit-text strong {
    font-size: 1.28rem;
  }

  .postit-text span {
    margin-top: 5px;
    font-size: 0.6rem;
  }

  .service-wide {
    grid-column: auto;
  }

  .concept-image img,
  .tools-image img,
  .hero-main-image img,
  .hero-paper img {
    border-width: 8px;
  }

  .design-footer {
    display: grid;
  }
}

@media (max-width: 480px) {
  .tools-logo-grid {
    grid-template-columns: 1fr;
  }

  .gallery-heading h2,
  .notes-heading h2 {
    font-size: 2.22rem;
  }

  .hero h1 {
    font-size: 2.16rem;
  }

  .design-language-current {
    min-width: 44px;
    height: 36px;
    padding: 0 8px;
    font-size: 0.78rem;
  }

  .wave-frame,
  .wave-frame-large,
  .wave-frame-tall {
    min-height: 330px;
  }

  .before-after-card::before,
  .before-after-card::after {
    padding: 6px 10px;
  }

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

  .postit-text strong {
    font-size: 1.1rem;
  }
}

@media (max-width: 520px) {
  .design-contact-card-section {
    padding: 72px 16px;
  }

  .novowit-profile-card {
    width: 100%;
    padding: 24px 20px 0;
  }

  .profile-avatar {
    width: 112px;
    height: 112px;
    font-size: 2.3rem;
  }

  .profile-contact-list li {
    font-size: 0.8rem;
    word-break: break-word;
  }
}

/* MATERIALS SECTION — final color override */
body.design-page .materials-section .section-kicker,
body.design-page .materials-content .section-kicker,
body.design-page section#materiales .section-kicker {
  color: #ff8a2a;
}

body.design-page .materials-section h2,
body.design-page .materials-content h2,
body.design-page section#materiales h2 {
  color: #ffd34d;
}

body.design-page .materials-section .materials-lead,
body.design-page .materials-section .materials-text,
body.design-page .materials-content .materials-lead,
body.design-page .materials-content .materials-text,
body.design-page section#materiales .materials-lead,
body.design-page section#materiales .materials-text {
  color: #fff1f5;
}

/* FIX — Tools exact layout, background and compact 3 x 2 grid */
body.design-page .tools-section {
  width: 100%;
  height: 100%;
  --s: 200px;
  --c-half-left: hsl(10, 50%, 50%);
  --c-half-right: hsl(40, 50%, 80%);
  --c-bottom: hsl(180, 50%, 50%);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.85fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
  background-color: transparent;
  background-image: conic-gradient(
    at 50% 15%,
    var(--c-half-left) 0deg,
    var(--c-half-left) 120deg,
    var(--c-bottom) 120deg,
    var(--c-bottom) 240deg,
    var(--c-half-right) 240deg
  );
  background-repeat: repeat-x;
  background-size: var(--s) 100%;
  background-blend-mode: normal;
  filter: none;
  opacity: 1;
}

body.design-page .tools-section::before,
body.design-page .tools-section::after {
  display: none;
  content: none;
}

body.design-page .tools-section > * {
  position: relative;
  z-index: 1;
}

body.design-page .tools-content,
body.design-page .tools-copy {
  min-width: 0;
  max-width: 720px;
}

body.design-page .tools-media {
  min-width: 0;
}

body.design-page .tools-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  grid-auto-rows: auto;
  gap: clamp(12px, 1.4vw, 20px);
  width: min(720px, 100%);
  max-width: 720px;
  align-items: stretch;
  margin-top: clamp(22px, 3vw, 34px);
}

body.design-page .tool-badge {
  box-sizing: border-box;
  min-height: 118px;
  padding: 14px 12px;
  border-radius: 20px;
}

body.design-page .tool-icon {
  display: grid;
  width: 54px;
  min-width: 54px;
  max-width: 54px;
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  overflow: hidden;
  place-items: center;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1;
}

body.design-page .tool-icon svg,
body.design-page .tool-icon img {
  display: block;
  width: 24px;
  max-width: 24px;
  height: 24px;
  max-height: 24px;
  object-fit: contain;
}

body.design-page .mini-plan-icon,
body.design-page .mini-blueprint-icon,
body.design-page .mini-moodboard-icon {
  width: 24px;
  height: 24px;
}

body.design-page .tool-badge span {
  font-size: 0.78rem;
  line-height: 1.12;
  text-align: center;
}

@media (max-width: 1024px) {
  body.design-page .tools-section {
    grid-template-columns: 1fr;
  }

  body.design-page .tools-logo-grid {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    width: min(720px, 100%);
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  body.design-page .tools-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
  }

  body.design-page .tool-badge {
    min-height: 104px;
  }
}

@media (max-width: 420px) {
  body.design-page .tools-logo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body.design-page .interiors-wave-gallery .wave-frame,
  body.design-page .interiors-wave-gallery .wave-frame-large,
  body.design-page .interiors-wave-gallery .wave-frame-tall {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  body.design-page .interiors-wave-gallery .wave-frame img {
    width: 100%;
    max-width: 100%;
  }
}

/* FIX — Tools icons must be visual icons, not huge text */
body.design-page .tools-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  grid-auto-rows: auto;
  gap: clamp(12px, 1.4vw, 20px);
  width: min(720px, 100%);
  max-width: 720px;
  align-items: stretch;
}

body.design-page .tool-badge {
  box-sizing: border-box;
  min-height: 118px;
  padding: 14px 12px;
  border-radius: 20px;
}

body.design-page .tool-icon {
  display: grid;
  width: 54px;
  min-width: 54px;
  max-width: 54px;
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  overflow: hidden;
  place-items: center;
  color: #fff;
  border-radius: 15px;
}

body.design-page .tool-icon svg,
body.design-page .tool-icon img {
  display: block;
  width: 34px;
  max-width: 34px;
  height: 34px;
  max-height: 34px;
  color: currentColor;
  object-fit: contain;
}

body.design-page .tool-icon-rhino {
  background: linear-gradient(135deg, #5f6670, #20242b);
}

body.design-page .tool-icon-autocad {
  background: linear-gradient(135deg, #ef2b2d, #9b111e);
}

body.design-page .tool-icon-photoshop {
  background: linear-gradient(135deg, #001e36, #31a8ff);
}

body.design-page .tool-icon-layout {
  background: linear-gradient(135deg, #f45702, #ffb347);
}

body.design-page .tool-icon-plans {
  background: linear-gradient(135deg, #12395a, #5bbad5);
}

body.design-page .tool-icon-concept {
  background: linear-gradient(135deg, #762b52, #d36164);
}

body.design-page .tool-icon-materials {
  background: linear-gradient(135deg, #8a2f24, #f5e6d3);
}

body.design-page .tool-icon-moodboards {
  background: linear-gradient(135deg, #f2c94c, #4166f5);
}

body.design-page .tool-icon-documentation {
  background: linear-gradient(135deg, #12395a, #f5e6d3);
}

body.design-page .tool-badge span {
  display: block;
  color: #12395a;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
}

/* FIX — language flags visible */
body.design-page .design-language-current,
body.design-page .design-language-menu button,
body.design-page .design-language-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
}

body.design-page .lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 1.1em;
  height: auto;
  opacity: 1;
  visibility: visible;
  background: none;
  box-shadow: none;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1rem;
  line-height: 1;
  text-transform: none;
}

body.design-page .lang-code {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* FIX — real emoji flags visible */
.lang-current,
.lang-menu button,
.language-switcher button,
.design-language-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
}

.lang-flag {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 1.15em;
  height: auto;
  opacity: 1 !important;
  visibility: visible !important;
  background: none !important;
  box-shadow: none !important;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  font-size: 1rem !important;
  line-height: 1;
  text-transform: none !important;
}

.lang-code {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* FIX — language buttons use direct emoji text */
.lang-current,
.lang-menu button,
.language-switcher button,
.design-language-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", system-ui, sans-serif;
}

/* FIX — language flag spans must be real emoji flags */
.lang-flag {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 1.2em;
  font-size: 1rem !important;
  line-height: 1;
  opacity: 1 !important;
  visibility: visible !important;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  text-transform: none !important;
}

.lang-code {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.lang-current,
.lang-menu button {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  white-space: nowrap;
}

/* FIX — language selector uses local SVG flags, not emoji rendering */
.lang-current,
.lang-menu button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  white-space: nowrap;
}

.lang-flag-img {
  display: inline-block;
  width: 20px;
  height: 14px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 3px;
}

.lang-code {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  line-height: 1;
}

/* SERVICES IMAGE CARD — static version */
.services-image-card,
.services-image-card:hover,
.services-image-card:focus,
.services-image-card:focus-within {
  border: 6px solid #ffd400;
  transform: none;
  transition: none;
}

.services-image-card img,
.services-image-card:hover img,
.services-image-card:focus img,
.services-image-card:focus-within img {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}

.services-image-card__content {
  display: none;
}

@media (max-width: 768px) {
  .services-image-card,
  .services-image-card:hover,
  .services-image-card:focus,
  .services-image-card:focus-within {
    border-width: 5px;
    border-radius: 22px;
  }
}

@media (max-width: 640px) {
  body.design-page .tools-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  body.design-page .tools-logo-grid {
    grid-template-columns: 1fr;
  }
}
