/* =========================================================
   MEMOO TAVERA · Premium Tattoo Artist
   ========================================================= */

:root {
  /* Palette */
  --black: #050505;
  --ink: #0c0c0c;
  --ink-2: #131313;
  --ink-3: #1a1a1a;
  --char: #222222;
  --silver: #c9c9c9;
  --silver-2: #a3a3a3;
  --silver-bright: #ececec;
  --silver-dim: #7d7d7d;
  --ivory: #ede5d3;
  --ivory-2: #e8dec7;
  --ivory-warm: #f3ecd9;
  --ivory-deep: #d8ccab;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(0, 0, 0, 0.12);

  /* Gradients */
  --grad-silver: linear-gradient(135deg, #f5f5f5 0%, #b8b8b8 35%, #6b6b6b 60%, #d4d4d4 100%);
  --grad-silver-text: linear-gradient(180deg, #ffffff 0%, #cfcfcf 50%, #8a8a8a 100%);
  --grad-ivory: linear-gradient(160deg, #f5ecd6 0%, #e3d6b3 100%);
  --grad-fade-dark: linear-gradient(180deg, rgba(5,5,5,0) 0%, rgba(5,5,5,0.85) 70%, var(--black) 100%);

  /* Type */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* Spacing */
  --section: clamp(80px, 10vw, 160px);
  --gutter: clamp(20px, 4vw, 64px);

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--silver-bright);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--ivory);
  color: var(--black);
}

/* ----------- Typography utilities ----------- */
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 11px;
  color: var(--silver-2);
  font-weight: 500;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(48px, 9vw, 156px); }
h2 { font-size: clamp(38px, 6vw, 88px); }
h3 { font-size: clamp(26px, 3vw, 44px); }

.italic-accent {
  font-style: italic;
  font-weight: 300;
}

.silver-text {
  background: var(--grad-silver-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ----------- Buttons ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--silver-bright);
  position: relative;
  overflow: hidden;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-out);
  z-index: -1;
}

.btn:hover {
  color: var(--black);
  border-color: var(--ivory);
}

.btn:hover::before {
  transform: translateY(0);
}

.btn .arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn--ivory {
  background: var(--ivory);
  color: var(--black);
  border-color: var(--ivory);
}

.btn--ivory::before {
  background: var(--white);
}

.btn--ivory:hover {
  color: var(--black);
  border-color: var(--white);
}

/* ----------- Loader ----------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s var(--ease-out);
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__logo {
  width: 88px;
  height: 88px;
  opacity: 0.95;
  animation: pulseLogo 2s ease-in-out infinite;
}

.loader__bar {
  margin-top: 32px;
  width: 220px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.loader__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--silver-bright);
  transform: translateX(-100%);
  animation: loadFill 1.6s var(--ease-in-out) forwards;
}

.loader__text {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes loadFill {
  to { transform: translateX(0); }
}

/* ----------- Navigation ----------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s var(--ease-out), padding 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5,5,5,0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
  padding: 14px var(--gutter);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__logo {
  width: 38px;
  height: 38px;
}

.nav__brand-text {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 300;
}

.nav__brand-text span {
  font-style: italic;
  color: var(--silver-2);
}

.nav__links {
  display: flex;
  gap: 38px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--silver-bright);
  position: relative;
  padding: 6px 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ivory);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__links a.active {
  color: var(--ivory);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease-out);
}

.nav__cta:hover {
  background: var(--ivory);
  color: var(--black);
  border-color: var(--ivory);
}

.nav__cta::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ivory);
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.4; }
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
}

.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--silver-bright);
  transition: all 0.4s var(--ease-out);
}

.nav__burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__burger.open span:nth-child(2) {
  opacity: 0;
}
.nav__burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.mobile-menu .meta {
  position: absolute;
  bottom: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--silver-dim);
  text-transform: uppercase;
  text-align: center;
}

/* ----------- Hero ----------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 140px var(--gutter) var(--gutter);
  overflow: hidden;
  background: var(--black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/portfolio/img_3091.jpg");
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(0.5) contrast(1.05) brightness(0.55);
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(237,229,211,0.06), transparent 55%),
    linear-gradient(180deg, rgba(5,5,5,0.5) 0%, rgba(5,5,5,0.3) 50%, rgba(5,5,5,0.95) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: end;
}

.hero__title {
  font-size: clamp(60px, 11vw, 180px);
  line-height: 0.88;
  font-weight: 200;
  margin-bottom: 8px;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .word {
  display: inline-block;
  transform: translateY(110%);
  animation: reveal 1.1s var(--ease-out) forwards;
}

.hero__title .word:nth-child(2) {
  animation-delay: 0.1s;
  font-style: italic;
  background: var(--grad-silver-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes reveal {
  to { transform: translateY(0); }
}

.hero__meta-row {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top: 28px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.8s forwards;
}

.hero__meta-row .divider {
  width: 60px;
  height: 1px;
  background: var(--line-strong);
}

.hero__location {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.hero__cta-row {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.9s forwards;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  background: var(--ivory);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ivory);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  z-index: 1;
  box-shadow: 0 0 0 0 rgba(237,229,211,0);
}

.hero__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform 0.55s var(--ease-out);
  z-index: -1;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -12px rgba(237,229,211,0.45);
}

.hero__cta:hover::after {
  transform: translateX(0);
}

.hero__cta .arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease-out);
}

.hero__cta:hover .arrow {
  transform: translateX(4px);
}

.hero__cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 28px;
  border: 1px solid var(--line-strong);
  color: var(--silver-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  transition: border-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.hero__cta-ghost:hover {
  border-color: var(--ivory);
  color: var(--ivory);
}

.hero__cta-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__cta-meta::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ivory);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 12px;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1s forwards;
}

.hero__aside p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.45;
  color: var(--ivory);
  max-width: 380px;
}

.hero__aside .credit {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--silver-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.hero__scroll .line-down {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--silver-bright));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ----------- Marquee ----------- */
.marquee {
  background: var(--ivory);
  color: var(--black);
  padding: 26px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: scroll-x 35s linear infinite;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 60px;
}

.marquee__item::after {
  content: "✦";
  font-size: 20px;
  color: var(--char);
}

.marquee__item .italic {
  font-style: italic;
}

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee--dark {
  background: var(--black);
  color: var(--silver-bright);
  border-color: var(--line);
}

.marquee--dark .marquee__item::after {
  color: var(--silver-dim);
}

/* ----------- Section base ----------- */
.section {
  padding: var(--section) var(--gutter);
  position: relative;
}

.section--ivory {
  background: var(--ivory);
  color: var(--black);
}

.section--char {
  background: var(--ink);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 40px;
  flex-wrap: wrap;
}

.section-head__title {
  flex: 1;
}

.section-head__title h2 {
  margin-top: 18px;
}

.section-head__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver-dim);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.section-head__index::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--silver-dim);
}

.section-head__aside {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--silver);
}

.section--ivory .section-head__aside {
  color: var(--char);
}

.section--ivory .section-head__index {
  color: var(--char);
}

.section--ivory .section-head__index::before {
  background: var(--char);
}

/* ----------- About teaser ----------- */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-teaser__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.about-teaser__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 1.2s var(--ease-out);
  filter: grayscale(0.15) contrast(1.02);
}

.about-teaser__img:hover img {
  transform: scale(1.05);
}

.about-teaser__img::after {
  content: "MEMOO";
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--ivory);
  background: rgba(0,0,0,0.4);
  padding: 8px 14px;
  backdrop-filter: blur(8px);
}

.about-teaser__content h2 {
  margin: 18px 0 28px;
}

.about-teaser__content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--silver);
  margin-bottom: 22px;
  max-width: 520px;
}

.about-teaser__content p strong {
  color: var(--ivory);
  font-weight: 400;
}

.about-teaser__quote {
  border-left: 1px solid var(--line-strong);
  padding-left: 24px;
  margin: 36px 0 40px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ivory);
  line-height: 1.4;
}

.about-teaser__quote span {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-top: 14px;
}

/* ----------- Services ----------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.service {
  padding: 56px 36px;
  border-right: 1px solid var(--line-dark);
  position: relative;
  transition: background 0.6s var(--ease-out);
  cursor: pointer;
  overflow: hidden;
}

.service:last-child {
  border-right: none;
}

.service__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--char);
  margin-bottom: 80px;
}

.service__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.service__title em {
  font-style: italic;
  display: block;
}

.service__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--char);
  opacity: 0.75;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.service__icon {
  position: absolute;
  bottom: 36px;
  right: 36px;
  width: 30px;
  height: 30px;
  opacity: 0.5;
  transition: opacity 0.4s var(--ease-out);
}

.service:hover {
  background: var(--black);
  color: var(--ivory);
}

.service:hover .service__num,
.service:hover .service__desc {
  color: var(--ivory);
}

.service:hover .service__icon {
  opacity: 1;
}

/* ----------- Stats / numbers ----------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.stat {
  padding: 70px 30px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: none;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 200;
  line-height: 1;
  background: var(--grad-silver-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver-2);
}

/* ----------- Portfolio preview (Home) ----------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  grid-auto-rows: 240px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  cursor: pointer;
  border: 1px solid var(--line);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out), filter 0.6s var(--ease-out);
  filter: grayscale(0.4) brightness(0.9);
}

.portfolio-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0) brightness(1);
}

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85));
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

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

.portfolio-item__info {
  transform: translateY(20px);
  transition: transform 0.6s var(--ease-out);
}

.portfolio-item:hover .portfolio-item__info {
  transform: translateY(0);
}

.portfolio-item__info .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--silver);
  text-transform: uppercase;
}

.portfolio-item__info h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--ivory);
  margin-top: 8px;
}

/* span helpers */
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.row-2 { grid-row: span 2; }

.portfolio-cta {
  margin-top: 70px;
  text-align: center;
  display: flex;
  justify-content: center;
}

/* ----------- Testimonials ----------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial {
  padding: 44px 36px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  position: relative;
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.testimonial:hover {
  border-color: var(--ivory);
  transform: translateY(-4px);
}

.testimonial__stars {
  color: var(--ivory);
  letter-spacing: 4px;
  font-size: 14px;
  margin-bottom: 24px;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--silver-bright);
  margin-bottom: 30px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.testimonial__author .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-silver);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--black);
}

.testimonial__author .meta {
  flex: 1;
}

.testimonial__author .name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory);
}

.testimonial__author .where {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--silver-dim);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ----------- CTA / Booking band ----------- */
.cta-band {
  padding: var(--section) var(--gutter);
  background: var(--ivory);
  color: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: var(--ivory-deep);
  opacity: 0.4;
  filter: blur(80px);
}

.cta-band::before {
  top: -25%;
  left: -25%;
}

.cta-band::after {
  bottom: -25%;
  right: -25%;
}

.cta-band__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.cta-band h2 {
  margin-bottom: 30px;
}

.cta-band h2 em {
  font-style: italic;
}

.cta-band p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 44px;
  color: var(--char);
}

/* ----------- Footer ----------- */
.footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 80px var(--gutter) 30px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
}

.footer__brand .nav__brand-text {
  font-size: 28px;
}

.footer__brand p {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--silver-2);
  max-width: 320px;
}

.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 24px;
  font-weight: 500;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  font-size: 14px;
  color: var(--silver-2);
}

.footer__col a:hover {
  color: var(--ivory);
}

.footer__bottom {
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

/* ----------- Reveal animations ----------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Cursor */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--ivory);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  transition: transform 0.15s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out);
  transform: translate(-50%, -50%);
}

.cursor.hover {
  width: 60px;
  height: 60px;
  background: rgba(237,229,211,0.2);
  backdrop-filter: blur(2px);
}

@media (hover: none) {
  .cursor { display: none; }
}

/* ----------- About page ----------- */
.page-hero {
  padding: 180px var(--gutter) 100px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.page-hero__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.page-hero__title h1 {
  font-size: clamp(56px, 10vw, 144px);
  line-height: 0.9;
}

.page-hero__title h1 em {
  font-style: italic;
  background: var(--grad-silver-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero__aside p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--silver);
  max-width: 460px;
}

.page-hero__breadcrumb {
  margin-bottom: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.page-hero__breadcrumb span {
  color: var(--ivory);
  margin-left: 14px;
}

/* About page sections */
.bio {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: start;
}

.bio__sticky {
  position: sticky;
  top: 120px;
}

.bio__img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
}

.bio__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
}

.bio__caption {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.bio__content h2 {
  margin-bottom: 40px;
}

.bio__content p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--silver);
  margin-bottom: 28px;
}

.bio__content p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 78px;
  font-weight: 200;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  background: var(--grad-silver-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bio__pull {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  line-height: 1.35;
  color: var(--ivory);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 30px 0;
  margin: 40px 0;
}

/* timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.timeline__item {
  padding: 36px 26px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.timeline__item:hover {
  border-color: var(--ivory);
  transform: translateY(-6px);
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  background: var(--grad-silver-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.timeline__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 20px;
}

.timeline__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--silver);
}

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process__step {
  padding: 50px 30px;
  border-right: 1px solid var(--line-dark);
  position: relative;
  counter-increment: step;
}

.process__step:last-child {
  border-right: none;
}

.process__num {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 200;
  line-height: 1;
  color: var(--char);
  opacity: 0.5;
  margin-bottom: 24px;
}

.section--ivory .process__num {
  color: var(--ivory-deep);
  opacity: 1;
}

.process__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  margin-bottom: 16px;
}

.process__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--char);
  opacity: 0.8;
}

/* Specialties expanded */
.specialties {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.specialty {
  padding: 70px 50px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.6s var(--ease-out);
}

.specialty:nth-child(2n) {
  border-right: none;
}

.specialty:nth-last-child(-n+2) {
  border-bottom: none;
}

.specialty:hover {
  background: var(--ink-2);
}

.specialty__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 30px;
}

.specialty__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--silver-dim);
}

.specialty__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 0.95;
  margin-bottom: 20px;
}

.specialty__title em {
  font-style: italic;
  background: var(--grad-silver-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.specialty__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--silver);
  max-width: 480px;
}

/* ----------- Portfolio page ----------- */
.filter-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
  align-items: center;
}

.filter-bar__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-right: 20px;
}

.filter-bar button {
  padding: 10px 22px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver);
  transition: all 0.3s var(--ease-out);
}

.filter-bar button:hover,
.filter-bar button.active {
  background: var(--ivory);
  color: var(--black);
  border-color: var(--ivory);
}

.gallery {
  columns: 3;
  column-gap: 24px;
}

.gallery__item {
  break-inside: avoid;
  margin-bottom: 24px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  transition: transform 0.6s var(--ease-out);
  opacity: 1;
  display: block;
}

.gallery__item.hidden-cat {
  display: none;
}

.gallery__item img {
  width: 100%;
  display: block;
  transition: transform 1s var(--ease-out), filter 0.6s var(--ease-out);
  filter: grayscale(0.15);
}

.gallery__item:hover img {
  transform: scale(1.04);
  filter: grayscale(0);
}

.gallery__item .meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.gallery__item:hover .meta {
  opacity: 1;
  transform: translateY(0);
}

.gallery__item .meta .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--silver);
  text-transform: uppercase;
}

.gallery__item .meta .name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ivory);
  margin-top: 8px;
  font-weight: 300;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.96);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(20px);
}

.lightbox.open {
  display: flex;
}

.lightbox__inner {
  max-width: 80vw;
  max-height: 90vh;
  position: relative;
}

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid var(--line);
}

.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--line-strong);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: 16px;
  transition: all 0.3s var(--ease-out);
  z-index: 2;
}

.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover {
  background: var(--ivory);
  color: var(--black);
}

.lightbox__close {
  top: -60px;
  right: 0;
}

.lightbox__prev {
  left: -70px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__counter {
  position: absolute;
  bottom: -40px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--silver-dim);
  text-transform: uppercase;
}

/* ----------- Contact page ----------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 30px;
}

.contact-info > p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--silver);
  margin-bottom: 48px;
  max-width: 480px;
}

.contact-info__block {
  margin-bottom: 38px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.contact-info__block:last-child {
  border-bottom: none;
}

.contact-info__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 16px;
}

.contact-info__value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--ivory);
}

.contact-info__value a {
  position: relative;
  display: inline-block;
}

.contact-info__value a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ivory);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.contact-info__value a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}

.socials a {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
}

.socials a:hover {
  background: var(--ivory);
  color: var(--black);
  border-color: var(--ivory);
}

.socials svg {
  width: 18px;
  height: 18px;
}

/* Form */
.contact-form {
  padding: 50px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  position: relative;
}

.contact-form::before {
  content: "✦";
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--ivory);
  font-size: 14px;
}

.contact-form__head {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.contact-form__head h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.contact-form__head p {
  font-size: 13px;
  color: var(--silver-2);
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  position: relative;
  margin-bottom: 24px;
}

.form-group label {
  position: absolute;
  top: 18px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-dim);
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 18px 0 10px;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s var(--ease-out);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%23c9c9c9'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 24px;
}

.form-group select option {
  background: var(--ink);
  color: var(--ivory);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
  padding-top: 22px;
}

.form-group:focus-within label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:valid + label {
  top: -8px;
  font-size: 9px;
  color: var(--ivory);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--ivory);
}

.form-submit {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

.form-success {
  display: none;
  padding: 30px;
  text-align: center;
  background: var(--ivory);
  color: var(--black);
  margin-top: 30px;
}

.form-success.show {
  display: block;
}

.form-success h4 {
  font-size: 22px;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 14px;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  width: 100%;
  text-align: left;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--ivory);
  transition: color 0.3s var(--ease-out);
}

.faq__q:hover {
  color: var(--silver-bright);
}

.faq__q .icon {
  width: 26px;
  height: 26px;
  position: relative;
  flex-shrink: 0;
}

.faq__q .icon::before,
.faq__q .icon::after {
  content: "";
  position: absolute;
  background: var(--ivory);
  transition: transform 0.4s var(--ease-out);
}

.faq__q .icon::before {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}

.faq__q .icon::after {
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
}

.faq__item.open .faq__q .icon::after {
  transform: scaleY(0);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding 0.5s var(--ease-out);
}

.faq__item.open .faq__a {
  max-height: 400px;
  padding-bottom: 30px;
}

.faq__a p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--silver);
  max-width: 700px;
}

/* Map */
.map {
  margin-top: 30px;
  height: 280px;
  width: 100%;
  border: 1px solid var(--line);
  filter: grayscale(0.4) brightness(0.85) contrast(1.05);
}

/* ----------- Responsive ----------- */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero__content { grid-template-columns: 1fr; gap: 40px; }
  .hero__aside { padding-bottom: 0; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(2n) { border-right: none; }
  .service { border-bottom: 1px solid var(--line-dark); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: none; }

  .testimonials { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step:nth-child(2n) { border-right: none; }
  .process__step { border-bottom: 1px solid var(--line-dark); }
  .bio { grid-template-columns: 1fr; gap: 60px; }
  .bio__sticky { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-teaser { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .page-hero__head { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .nav { padding: 18px 20px; }
  .hero { padding-top: 110px; }
  .hero__cta-row { gap: 12px; }
  .hero__cta, .hero__cta-ghost { flex: 1 1 100%; justify-content: center; padding: 16px 22px; }
  .hero__cta-meta { width: 100%; justify-content: center; margin-top: 4px; }
  .marquee__item { font-size: 28px; gap: 32px; }
  .services { grid-template-columns: 1fr; }
  .service { border-right: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; padding: 50px 30px; }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 1; }
  .row-2 { grid-row: span 1; }
  .footer__top { grid-template-columns: 1fr; }
  .specialty { padding: 50px 24px; border-right: none; }
  .specialty:nth-child(2n) { border-right: none; }
  .timeline { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__step { border-right: none; }
  .gallery { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 30px 24px; }
  .contact-info__value { font-size: 20px; }
  .mobile-menu a { font-size: 32px; }
}

/* Subtle dotted background pattern for sections */
.dot-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}

.section--ivory .dot-bg {
  background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px);
}

/* Vertical text */
.vert-text {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--silver-dim);
  white-space: nowrap;
}

/* =========================================================
   MULTI-STEP CONTACT FORM
   ========================================================= */

.form-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 44px;
  max-width: 340px;
}

.form-stepper__step {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--silver-2);
  transition: all 0.4s var(--ease-out);
  flex-shrink: 0;
  position: relative;
}

.form-stepper__step.active {
  border-color: var(--ivory);
  color: var(--ivory);
  box-shadow: 0 0 0 4px rgba(237,229,211,0.08);
}

.form-stepper__step.done {
  background: var(--ivory);
  color: var(--black);
  border-color: var(--ivory);
}

.form-stepper__line {
  flex: 1;
  height: 1px;
  background: var(--line-strong);
  transition: background 0.4s var(--ease-out);
  margin: 0 14px;
}

.form-stepper__line.done {
  background: var(--ivory);
}

.form-step {
  display: none;
  animation: stepIn 0.45s var(--ease-out);
}

.form-step.active {
  display: block;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Static-label field group (per the 3-step design) */
.field {
  margin-bottom: 26px;
}

.field__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 12px;
  font-weight: 500;
}

.field__label .icon {
  width: 14px;
  height: 14px;
  color: var(--silver);
}

.field__label .req {
  color: var(--ivory);
  margin-left: 4px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all 0.3s var(--ease-out);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23ede5d3'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field select option {
  background: var(--ink);
  color: var(--ivory);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--silver-dim);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ivory);
  background: rgba(237,229,211,0.04);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

.field--row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  margin-bottom: 26px;
}

.field--row > .field {
  margin-bottom: 0;
}

/* File upload */
.field__file {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--line-strong);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}

.field__file:hover {
  border-color: var(--ivory);
  background: rgba(237,229,211,0.04);
}

.field__file input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.field__file-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ivory);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  flex-shrink: 0;
  transition: background 0.3s var(--ease-out);
}

.field__file:hover .field__file-btn {
  background: var(--white);
}

.field__file-hint {
  font-size: 12px;
  color: var(--silver-2);
  line-height: 1.4;
}

.field__file-hint .picked {
  color: var(--ivory);
  display: block;
  margin-top: 2px;
}

/* Checkboxes (SMS preferences) */
.consent-block {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.consent-block__head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-bottom: 22px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  cursor: pointer;
  user-select: none;
}

.check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check__box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-strong);
  background: transparent;
  position: relative;
  margin-top: 1px;
  transition: all 0.3s var(--ease-out);
}

.check input[type="checkbox"]:checked + .check__box {
  background: var(--ivory);
  border-color: var(--ivory);
}

.check input[type="checkbox"]:checked + .check__box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23050505' stroke-width='2'%3E%3Cpath d='M3 8l3.5 3.5L13 5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.check__text {
  flex: 1;
  font-size: 13px;
  line-height: 1.55;
  color: var(--silver);
}

.check__text strong {
  color: var(--ivory);
  font-weight: 500;
}

.check__text .opt {
  color: var(--silver-2);
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-right: 6px;
}

.consent-block__fine {
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--silver-dim);
}

.consent-block__fine a {
  color: var(--silver);
  border-bottom: 1px solid var(--silver-dim);
}

.consent-block__fine a:hover {
  color: var(--ivory);
  border-color: var(--ivory);
}

/* Step navigation buttons */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  gap: 16px;
  flex-wrap: wrap;
}

.form-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--silver-bright);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  border-radius: 999px;
}

.form-nav__btn:hover {
  border-color: var(--ivory);
  color: var(--ivory);
}

.form-nav__btn--primary {
  background: var(--ivory);
  color: var(--black);
  border-color: var(--ivory);
}

.form-nav__btn--primary:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.form-nav__btn .icon {
  width: 14px;
  height: 14px;
}

.form-nav .spacer { flex: 1; }

@media (max-width: 640px) {
  .field--row { grid-template-columns: 1fr; }
  .form-stepper { max-width: 100%; }
  .form-stepper__line { margin: 0 8px; }
  .form-nav { flex-direction: column-reverse; }
  .form-nav__btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Refinement layer — de-template pass (2026-08)
   Editorial stats, pull-quote testimonials, press feedback, standing
   consent block, photo hover reveals. Transform/opacity only.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);
}

/* Press feedback on every CTA */
.hero__cta, .hero__cta-ghost, .btn, .nav__cta, .form-nav__btn {
  transition: transform 160ms var(--ease-out-strong), background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.hero__cta:active, .hero__cta-ghost:active, .btn:active, .nav__cta:active, .form-nav__btn:active {
  transform: scale(0.97);
}

/* Stats: cards → one editorial baseline strip */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  flex: 1 1 200px;
  background: none !important;
  border: 0 !important;
  border-right: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 44px 28px;
}
.stat:last-child { border-right: 0 !important; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-dim);
  margin-top: 10px;
}

/* Testimonials: cards → editorial pull quotes */
.testimonial {
  background: none !important;
  border: 0 !important;
  border-left: 1px solid var(--line-strong) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 8px 0 8px 28px;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
  color: var(--silver-bright);
  quotes: "\201C" "\201D";
}
.testimonial__author { margin-top: 18px; }
.testimonial__author .name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.testimonial__author .where {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--silver-dim);
  text-transform: uppercase;
  margin-top: 3px;
}

/* Portfolio: monochrome at rest, color on intent */
@media (hover: hover) and (pointer: fine) {
  .gallery__item img {
    filter: grayscale(0.85) contrast(1.04);
    transition: filter 320ms ease, transform 420ms var(--ease-out-strong);
  }
  .gallery__item:hover img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.015);
  }
}

/* Standing consent block (outside the step wizard) */
.consent-block--standing {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

/* Services breathe without the icon */
.service { position: relative; }
.service__num {
  font-family: var(--font-display);
  font-weight: 300;
}

@media (prefers-reduced-motion: reduce) {
  .gallery__item img, .hero__cta, .btn { transition: none; }
}
