:root {
  --ivory: #f7f1e8;
  --paper: #fffaf1;
  --ink: #171513;
  --muted: #625a52;
  --line: rgba(41, 34, 28, 0.16);
  --maroon: #7f2332;
  --maroon-dark: #581520;
  --gold: #b78945;
  --blueblack: #061929;
  --night: #211b17;
  --shadow: 0 24px 90px rgba(33, 25, 18, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 22px clamp(20px, 5vw, 84px);
  background: rgba(247, 241, 232, 0.86);
  border-bottom: 1px solid rgba(41, 34, 28, 0.08);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1vw, 15px);
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark > .brand-mark {
  flex: 0 0 auto;
  width: clamp(30px, 2.5vw, 42px);
  height: clamp(40px, 3.35vw, 56px);
  max-width: clamp(30px, 2.5vw, 42px);
  max-height: clamp(40px, 3.35vw, 56px);
  object-fit: contain;
}

.wordmark > .brand-copy {
  display: grid;
  justify-items: center;
  align-items: center;
  margin-top: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
}

.wordmark strong {
  display: block;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
}

.wordmark > span:not(.brand-copy),
.wordmark .brand-tagline {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: clamp(8px, 0.58vw, 10px);
  font-weight: 800;
  letter-spacing: clamp(0.16em, 0.34vw, 0.26em);
  line-height: 1;
  text-align: center;
  width: min(100%, 286px);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3vw, 48px);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav a,
.header-cta,
.button,
.portfolio-strip a,
.collections-lead a,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.portfolio-strip a:hover,
.collections-lead a:hover,
.contact-list a:hover,
.site-footer a:hover {
  color: var(--maroon);
}

.header-cta {
  border: 1px solid rgba(127, 35, 50, 0.72);
  color: var(--maroon);
  padding: 13px 25px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 14px;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 94px);
  padding: clamp(54px, 5vw, 82px) clamp(20px, 5vw, 84px) 70px;
  overflow: hidden;
  background: #efe5d8;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 250, 241, 0.45), transparent 34%),
    linear-gradient(90deg, rgba(247, 241, 232, 0.22), rgba(247, 241, 232, 0.86) 0%, rgba(247, 241, 232, 0.88) 41%, rgba(247, 241, 232, 0.18) 68%, rgba(247, 241, 232, 0));
  pointer-events: none;
}

.home-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin-left: clamp(0px, 7vw, 150px);
}

.home-hero h1,
.strip-intro h2,
.collections-lead h2,
.process-panel h2,
.contact-copy h2,
.page-hero h1,
.page-section h2 {
  margin: 0;
    font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 500;
  line-height: 1.04;
}

.home-hero h1 {
  font-size: clamp(48px, 5.2vw, 82px);
  letter-spacing: 0;
}

.home-hero p {
  max-width: 560px;
  margin: 25px 0 0;
  color: #302b27;
  font-size: clamp(16px, 1.18vw, 19px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ornament {
  width: min(360px, 100%);
  height: 1px;
  margin: 24px 0;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament::after {
  content: "◇";
  display: block;
  width: 28px;
  margin: -13px auto 0;
  color: var(--gold);
  background: transparent;
  text-align: center;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.button.primary {
  background: var(--maroon);
  color: white;
}

.button.primary:hover {
  background: var(--maroon-dark);
}

.button.secondary {
  border-color: rgba(127, 35, 50, 0.7);
  background: rgba(255, 250, 241, 0.42);
  color: var(--maroon-dark);
}

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

.scroll-cue {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 48px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue::before {
  content: "↓";
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
}

.est-label {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 34px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.portfolio-strip {
  display: grid;
  grid-template-columns: 1.22fr repeat(4, minmax(160px, 1fr));
  min-height: 232px;
  background: var(--blueblack);
  color: white;
  border-top: 3px solid rgba(255, 250, 241, 0.84);
  overflow: hidden;
}

.strip-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 56px);
  background: linear-gradient(135deg, #071827, #0d2c43);
}

.strip-intro h2 {
  max-width: 280px;
  font-size: clamp(30px, 3vw, 45px);
}

.strip-intro a,
.collections-lead a {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.strip-intro a::after,
.collections-lead a::after {
  content: "→";
  font-size: 26px;
  line-height: 1;
}

.strip-image {
  position: relative;
  min-height: 232px;
  overflow: hidden;
  border-left: 3px solid rgba(255, 250, 241, 0.86);
}

.strip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 700ms ease;
}

.strip-image:nth-child(2) img,
.strip-image:nth-child(3) img {
  object-position: center 22%;
}

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

.collections-band {
  display: grid;
  grid-template-columns: 1.05fr repeat(4, 1fr);
  min-height: 330px;
  background: rgba(255, 250, 241, 0.76);
  border-bottom: 1px solid var(--line);
}

.collections-lead {
  padding: clamp(24px, 4vw, 58px);
}

.collections-lead h2 {
  max-width: 260px;
  font-size: clamp(30px, 3vw, 44px);
}

.category {
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 330px;
  padding: 0 20px 28px;
  border-left: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}

.category img {
  width: calc(100% + 40px);
  height: 190px;
  max-width: none;
  object-fit: cover;
  object-position: center 18%;
  margin: 0 -20px 24px;
  filter: saturate(0.92);
  transition: transform 700ms ease, filter 700ms ease;
}

.category:hover img {
  transform: scale(1.045);
  filter: saturate(1.06);
}

.category h3 {
  margin: 18px 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.category p {
  max-width: 170px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.garment-icon {
  position: relative;
  display: block;
  width: 72px;
  height: 92px;
  border: 1px solid rgba(41, 34, 28, 0.45);
  border-radius: 26px 26px 8px 8px;
  opacity: 0.72;
}

.garment-icon::before,
.garment-icon::after {
  content: "";
  position: absolute;
  top: 16px;
  width: 25px;
  height: 52px;
  border: 1px solid rgba(41, 34, 28, 0.36);
}

.garment-icon::before {
  left: -18px;
  transform: rotate(9deg);
}

.garment-icon::after {
  right: -18px;
  transform: rotate(-9deg);
}

.vest-icon {
  height: 76px;
  border-radius: 20px 20px 8px 8px;
}

.vest-icon::before,
.vest-icon::after {
  display: none;
}

.jacket-icon,
.achkan-icon {
  border-radius: 18px 18px 9px 9px;
}

.process-band {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--blueblack);
  color: white;
}

.process-panel {
  padding: clamp(36px, 5vw, 72px);
}

.process-panel h2 {
  max-width: 570px;
  font-size: clamp(34px, 4vw, 56px);
}

.process-summary {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.76);
  font-size: 17px;
}

.button.dark {
  margin-top: 22px;
  border-color: rgba(255, 250, 241, 0.34);
  background: transparent;
  color: var(--paper);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: clamp(32px, 5vw, 64px);
}

.process-steps article {
  min-height: 118px;
  padding: 0 24px 0 0;
  border-right: 1px solid rgba(255, 250, 241, 0.26);
}

.process-steps article + article {
  padding-left: 24px;
}

.process-steps span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.process-steps h3 {
  margin: 16px 0 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.process-steps p {
  margin: 0;
  color: rgba(255, 250, 241, 0.76);
  font-size: 12px;
}

.process-photo {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.contact-home {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.55fr) 170px;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(46px, 6vw, 82px) clamp(20px, 5vw, 84px);
  background:
    radial-gradient(circle at 82% 50%, rgba(181, 137, 69, 0.14), transparent 20%),
    var(--ivory);
}

.contact-home::before {
  content: "";
  position: absolute;
  inset: 24px auto 24px clamp(20px, 5vw, 84px);
  width: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.contact-copy {
  padding-left: 42px;
}

.contact-copy h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.contact-list {
  display: grid;
  gap: 16px;
  max-width: 560px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.contact-list a {
  font-weight: 800;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: rgba(255, 250, 241, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(41, 34, 28, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.ee-seal {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

.ee-seal img {
  width: 58px;
  height: 76px;
  object-fit: contain;
  transform: rotate(-45deg);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 84px);
  background: var(--ivory);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.page-hero {
  padding: 118px clamp(20px, 5vw, 84px) 34px;
  background: var(--ivory);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 6vw, 92px);
}

.page-hero p,
.page-section p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.page-section {
  padding: clamp(54px, 7vw, 96px) clamp(20px, 5vw, 84px);
}

.portfolio-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 28px);
  padding-top: 22px;
}

.portfolio-tile {
  display: grid;
  grid-template-rows: minmax(0, auto) auto;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.72);
  box-shadow: 0 18px 52px rgba(33, 25, 18, 0.08);
}

.portfolio-tile img {
  width: 100%;
  height: clamp(440px, 44vw, 660px);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  background: linear-gradient(180deg, #eee1d2, #f9f2e8);
}

.portfolio-tile div {
  min-height: 156px;
  margin: -1px 0 0;
  padding: 26px 28px 30px;
  border-radius: 0 0 8px 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(255, 250, 241, 0.88)),
    var(--paper);
}

.portfolio-tile h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
}

.collection-showcase {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.collection-showcase article {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  min-height: 520px;
  background: var(--ivory);
}

.collection-showcase article:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
}

.collection-showcase article:nth-child(even) img {
  order: 2;
}

.collection-showcase img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

.collection-showcase div {
  align-self: center;
  max-width: 620px;
  padding: clamp(34px, 7vw, 100px);
}

.collection-showcase span,
.process-feature-copy li strong {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.collection-showcase h2,
.process-feature-copy h2 {
  margin: 12px 0 16px;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.02;
}

.collection-showcase p {
  color: var(--muted);
  font-size: 18px;
}

.process-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  padding: clamp(34px, 6vw, 84px) clamp(20px, 5vw, 84px);
  background: var(--blueblack);
  color: var(--paper);
}

.process-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.process-feature-copy ol {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.process-feature-copy li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 250, 241, 0.18);
}

.process-feature-copy li span {
  color: rgba(255, 250, 241, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease, transform 800ms ease;
}

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

@keyframes heroDrift {
  from {
    transform: scale(1.01);
  }
  to {
    transform: scale(1.045) translateX(-1.5%);
  }
}

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

.studio-page-grid,
.collection-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-card {
  min-height: 240px;
  padding: 28px;
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid var(--line);
}

.info-card h2 {
  font-size: 34px;
}

input:focus,
textarea:focus,
.button:focus-visible,
.header-cta:focus-visible,
.menu-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(181, 137, 69, 0.45);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .portfolio-strip,
  .collections-band {
    grid-template-columns: repeat(3, 1fr);
  }

  .strip-intro,
  .collections-lead {
    grid-column: 1 / -1;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .process-steps article,
  .process-steps article + article {
    padding: 0;
    border-right: 0;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

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

  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--ivory);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 18px clamp(20px, 5vw, 84px);
    border-top: 1px solid var(--line);
  }

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

  .home-hero::after {
    background: linear-gradient(90deg, rgba(247, 241, 232, 0.96) 0%, rgba(247, 241, 232, 0.9) 48%, rgba(247, 241, 232, 0.24));
  }

  .home-hero-copy {
    margin-left: 0;
  }

  .home-hero h1 {
    max-width: 620px;
  }

  .page-hero {
    padding-top: 118px;
  }

  .process-band,
  .contact-home,
  .process-feature,
  .collection-showcase article,
  .collection-showcase article:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .collection-showcase article:nth-child(even) img {
    order: 0;
  }

  .contact-home {
    padding-left: clamp(20px, 5vw, 84px);
  }

  .ee-seal {
    display: none;
  }

  .portfolio-page-grid,
  .studio-page-grid,
  .collection-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
    background: rgba(247, 241, 232, 0.94);
  }

  .wordmark strong {
    font-size: 18px;
    letter-spacing: 0.08em;
  }

  .wordmark > .brand-mark {
    width: 24px;
    height: 32px;
    max-width: 24px;
    max-height: 32px;
  }

  .wordmark {
    gap: 7px;
  }

  .wordmark > span:not(.brand-copy),
  .wordmark .brand-tagline {
    display: none;
  }

  .header-cta {
    padding: 10px 12px;
    font-size: 11px;
  }

  .home-hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    padding: 104px 20px 42px;
  }

  .home-hero-img {
    top: auto;
    bottom: auto;
    position: relative;
    order: 2;
    width: calc(100% + 40px);
    max-width: none;
    height: auto;
    margin: 28px -20px -42px;
    object-position: center top;
  }

  .home-hero::after {
    display: none;
  }

  .home-hero-copy {
    order: 1;
  }

  .home-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-actions .button,
  .inquiry-form .button {
    width: 100%;
  }

  .est-label,
  .scroll-cue {
    display: none;
  }

  .portfolio-strip,
  .collections-band,
  .process-steps,
  .portfolio-page-grid,
  .studio-page-grid,
  .collection-page-grid {
    grid-template-columns: 1fr;
  }

  .strip-image {
    border-left: 0;
    border-top: 2px solid rgba(255, 250, 241, 0.86);
  }

  .strip-image img {
    height: 330px;
  }

  .category {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .category img {
    height: 300px;
  }

  .collection-showcase article {
    min-height: 0;
  }

  .collection-showcase img {
    height: 420px;
  }

  .process-feature-copy li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .process-photo {
    min-height: 260px;
  }

  .contact-copy {
    padding-left: 0;
  }

  .contact-home::before {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }
}

.site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  transition:
    background 260ms ease,
    border-color 260ms ease,
    color 260ms ease,
    backdrop-filter 260ms ease,
    box-shadow 260ms ease;
}

.site-header.scrolled,
body.nav-open .site-header {
  background: rgba(6, 25, 41, 0.82);
  border-bottom-color: rgba(255, 250, 241, 0.14);
  color: var(--paper);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 60px rgba(6, 25, 41, 0.18);
}

.site-header.scrolled .wordmark span,
body.nav-open .site-header .wordmark span {
  color: #d9aa61;
}

.site-header.scrolled .header-cta,
body.nav-open .site-header .header-cta {
  border-color: rgba(255, 250, 241, 0.58);
  color: var(--paper);
}

.site-header.scrolled .menu-toggle,
body.nav-open .site-header .menu-toggle {
  border-color: rgba(255, 250, 241, 0.35);
  background: rgba(255, 250, 241, 0.08);
  color: var(--paper);
}

@media (min-width: 641px) {
  .home-hero-img {
    inset: 0 0 auto;
    height: calc(100% + 180px);
    object-position: center top;
    transform-origin: center top;
  }
}

.est-label,
.home-hero h1,
.ornament,
.home-hero p,
.hero-actions {
  animation: heroLoad 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.home-hero h1 {
  animation-delay: 120ms;
}

.ornament {
  animation-delay: 220ms;
}

.home-hero p {
  animation-delay: 320ms;
}

.hero-actions {
  animation-delay: 430ms;
}

@keyframes heroLoad {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

[data-reveal].reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.category {
  position: relative;
  min-height: 420px;
  align-content: end;
  justify-items: start;
  overflow: hidden;
  padding: 0;
  isolation: isolate;
  color: var(--paper);
  background: var(--night);
}

.category::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 25, 41, 0.02) 10%, rgba(6, 25, 41, 0.84) 100%),
    linear-gradient(90deg, rgba(33, 27, 23, 0.3), transparent);
  pointer-events: none;
}

.category img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.category h3,
.category p {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 48px);
  margin-right: 24px;
  margin-left: 24px;
  transition:
    opacity 360ms ease,
    transform 460ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.category h3 {
  color: var(--paper);
  transform: translateY(22px);
}

.category p {
  margin-bottom: 26px;
  color: rgba(255, 250, 241, 0.8);
  opacity: 0;
  transform: translateY(30px);
}

.category:hover img,
.category:focus-within img {
  transform: scale(1.06);
}

.category:hover h3,
.category:hover p,
.category:focus-within h3,
.category:focus-within p {
  opacity: 1;
  transform: translateY(0);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--blueblack);
  color: var(--paper);
  border-top: 1px solid rgba(255, 250, 241, 0.12);
  border-bottom: 1px solid rgba(255, 250, 241, 0.12);
}

.stats-strip article {
  min-height: 172px;
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid rgba(255, 250, 241, 0.12);
}

.stats-strip article:last-child {
  border-right: 0;
}

.stats-strip strong {
  display: block;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(54px, 6vw, 96px);
  font-weight: 500;
  line-height: 0.92;
}

.stats-strip span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process-band {
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
  align-items: stretch;
}

.process-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: var(--night);
}

.process-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.whatsapp-form {
  display: inline-flex;
  justify-content: center;
  margin-top: 12px;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 250, 241, 0.3);
  background: #0a6f49;
  color: var(--paper);
  box-shadow: 0 18px 48px rgba(6, 25, 41, 0.26);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.floating-whatsapp:hover {
  background: #095c3d;
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(6, 25, 41, 0.32);
}

.portfolio-strip.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.portfolio-strip.is-dragging a {
  pointer-events: none;
}

@media (max-width: 920px) {
  .process-band {
    grid-template-columns: 1fr;
  }

  .process-visual {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-header {
    background: transparent;
  }

  .site-header.scrolled,
  body.nav-open .site-header {
    background: rgba(6, 25, 41, 0.88);
  }

  .nav {
    background: rgba(6, 25, 41, 0.96);
    color: var(--paper);
    backdrop-filter: blur(12px);
  }

  .portfolio-strip {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .strip-intro,
  .strip-image {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .strip-image img {
    height: 430px;
  }

  .category {
    min-height: 430px;
    padding-bottom: 24px;
  }

  .category h3 {
    transform: translateY(0);
  }

  .category p {
    margin-top: 8px;
    margin-bottom: 0;
    opacity: 1;
    transform: translateY(0);
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stats-strip article {
    min-height: 136px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 241, 0.12);
  }

  .stats-strip article:last-child {
    border-bottom: 0;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-width: 112px;
    min-height: 44px;
    padding: 11px 15px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-img,
  .est-label,
  .home-hero h1,
  .ornament,
  .home-hero p,
  .hero-actions,
  [data-reveal].reveal,
  .category img,
  .category h3,
  .category p,
  .floating-whatsapp {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  [data-reveal].reveal {
    opacity: 1 !important;
  }
}
