/* ==========================================================================
   EDREMİT DENİZ MOBİLYA — 2026
   Premium, editorial furniture website
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ivory: #f7f2e9;
  --ivory-2: #efe7da;
  --ivory-3: #e7ddcc;
  --sand: #d8c9b3;
  --brass: #a98255;
  --brass-light: #c9a97c;
  --brass-ink: #85663c;
  --espresso: #17130f;
  --charcoal: #221c16;
  --ink: #17130f;
  --muted: #75695c;
  --muted-light: #a99e91;
  --line: rgba(23, 19, 15, 0.14);
  --line-light: rgba(247, 242, 233, 0.16);
  --white: #fffdf9;

  --font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Jost", "Segoe UI", Tahoma, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 94px;
  --topbar-h: 38px;
  --radius: 2px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  zoom: 1.25;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

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

img { height: auto; }

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; }

ul,
ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }

::selection {
  background: var(--brass);
  color: var(--white);
}

:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 4px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 28px); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 12000;
  padding: 12px 20px;
  background: var(--espresso);
  color: var(--ivory);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: none;
  color: var(--ivory);
}

/* Noise / paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 8000;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ivory-2); }
::-webkit-scrollbar-thumb { background: var(--sand); border: 2px solid var(--ivory-2); }
::-webkit-scrollbar-thumb:hover { background: var(--brass); }

/* ---------- Typography helpers ---------- */
.serif { font-family: var(--font-serif); }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.2vw, 62px);
}

.section { padding: clamp(72px, 9vw, 140px) 0; }
.section--tight { padding: clamp(54px, 6vw, 90px) 0; }
.section--dark { background: var(--espresso); color: var(--ivory); }
.section--cream { background: var(--ivory-2); }

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--brass);
  flex: 0 0 auto;
}

.section-label span { color: var(--brass-ink); }

.section--dark .section-label { color: var(--muted-light); }
.section--dark .section-label::before { background: var(--brass-light); }
.section--dark .section-label span { color: var(--brass-light); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-title {
  max-width: 820px;
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.022em;
}

.section-title em {
  font-weight: 400;
  font-style: italic;
  color: var(--brass);
}

.section--dark .section-title em { color: var(--brass-light); }

.section-text {
  max-width: 500px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
}

.section--dark .section-text { color: rgba(247, 242, 233, 0.62); }

.text-gold { color: var(--brass); }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  overflow: hidden;
  padding: 17px 30px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
  isolation: isolate;
}

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

.btn:hover { color: var(--white); border-color: var(--brass); }
.btn:hover::before { transform: translateY(0); }

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg { transform: translate(3px, -3px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover { color: var(--white); }

.btn--light {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247, 242, 233, 0.42);
}

.btn--light::before { background: var(--ivory); }
.btn--light:hover { color: var(--espresso); border-color: var(--ivory); }

.btn--small { padding: 13px 22px; font-size: 9px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.35s var(--ease);
}

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

.link-arrow:hover { color: var(--brass-ink); }
.link-arrow:hover svg { transform: translateX(5px); }

.section--dark .link-arrow:hover { color: var(--brass-light); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: var(--espresso);
  color: var(--ivory);
  transition: transform 0.9s var(--ease) 0.15s, visibility 0.9s;
}

.preloader__logo {
  width: auto;
  height: 130px;
  max-width: 320px;
  object-fit: contain;
  animation: pulseMark 1.8s var(--ease-soft) infinite;
  /* Logo beyaz zemin üzerinde tasarlandı;
     koyu preloader arka planına uyum için parlat + hafif glow */
  filter: brightness(1.1) drop-shadow(0 0 18px rgba(169, 130, 85, 0.55));
}

.preloader__bar {
  width: 150px;
  height: 1px;
  background: rgba(247, 242, 233, 0.16);
  overflow: hidden;
}

.preloader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brass-light);
  transform-origin: left;
  animation: preload 1.1s var(--ease) forwards;
}

body.is-loaded .preloader {
  transform: translateY(-101%);
  visibility: hidden;
}

/* JavaScript kapalıysa içerik perdenin arkasında kalmasın. */
.no-js .preloader { display: none; }
.no-js .hero__title .line > span,
.no-js .hero__text,
.no-js .hero__actions,
.no-js .hero__stats { opacity: 1; transform: none; }

@keyframes preload {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes pulseMark {
  0%, 100% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

/* ---------- Page transition ---------- */
.page-fade {
  position: fixed;
  inset: 0;
  z-index: 9400;
  background: var(--espresso);
  transform: translateY(101%);
  pointer-events: none;
  transition: transform 0.7s var(--ease);
}

body.is-leaving .page-fade { transform: translateY(0); }

/* ---------- Cursor ---------- */
.cursor,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9800;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor {
  width: 6px;
  height: 6px;
  background: var(--brass);
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(169, 130, 85, 0.6);
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
    background 0.35s var(--ease), border-color 0.35s var(--ease);
}

body.cursor-ready .cursor,
body.cursor-ready .cursor-ring { opacity: 1; }

body.cursor-hover .cursor-ring {
  width: 58px;
  height: 58px;
  background: rgba(169, 130, 85, 0.1);
  border-color: rgba(169, 130, 85, 0.9);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Header ---------- */
.topbar {
  height: var(--topbar-h);
  background: var(--espresso);
  color: rgba(247, 242, 233, 0.62);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.topbar__group { display: flex; align-items: center; gap: 28px; }
.topbar__item { display: inline-flex; align-items: center; gap: 9px; transition: color 0.3s; }
.topbar__item:hover { color: var(--brass-light); }
.topbar__item svg { width: 12px; height: 12px; color: var(--brass-light); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(247, 242, 233, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(247, 242, 233, 0.97);
  box-shadow: 0 18px 40px -30px rgba(23, 19, 15, 0.4);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}

.site-header.is-scrolled .header-inner { height: 78px; }

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

.brand__mark { width: 36px; height: 36px; color: var(--brass); }

/* ---- Logo image (header & footer) ---- */
.brand__logo {
  display: block;
  width: auto;
  height: 74px;
  max-width: 220px;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.2s;
}

.brand__logo--footer {
  height: 90px;
  max-width: 240px;
  /* footer arka plan koyu olduğundan logoyu biraz parlat */
  filter: brightness(1.05) drop-shadow(0 1px 4px rgba(0,0,0,0.35));
}

.site-header.is-scrolled .brand__logo {
  height: 60px;
}

.brand__text { display: flex; flex-direction: column; gap: 3px; }

.brand__top {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1;
  text-transform: uppercase;
}

.brand__bottom {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

/* Desktop nav */
.nav { justify-self: center; }

.nav__list { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }

.nav__item { position: relative; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  color: var(--ink);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav__link:hover,
.nav__item.is-active > .nav__link { color: var(--brass-ink); }

.nav__link:hover::after,
.nav__item.is-active > .nav__link::after { transform: scaleX(1); transform-origin: left; }

.nav__link .chevron {
  width: 8px;
  height: 8px;
  margin-top: 1px;
  transition: transform 0.3s;
}

.nav__item:hover .chevron,
.nav__item:focus-within .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  min-width: 258px;
  padding: 10px;
  background: var(--ivory);
  border: 1px solid var(--line);
  box-shadow: 0 36px 60px -28px rgba(23, 19, 15, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--ivory);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.3s, color 0.3s, padding 0.3s;
}

.dropdown a span {
  font-family: var(--font-serif);
  font-size: 12px;
  color: var(--brass-ink);
  letter-spacing: 0.04em;
}

.dropdown a:hover { background: var(--ivory-2); color: var(--brass-ink); padding-left: 20px; }

.header-actions { display: flex; align-items: center; gap: 24px; justify-self: end; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: color 0.3s;
}

.header-phone:hover { color: var(--brass-ink); }
.header-phone svg { width: 15px; height: 15px; color: var(--brass); }

/* Burger */
.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  align-items: center;
  justify-content: center;
}

.menu-btn span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.menu-btn span:nth-child(1) { transform: translateY(-5px); }
.menu-btn span:nth-child(3) { transform: translateY(5px); }

body.menu-open .menu-btn span:nth-child(1) { transform: rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 750;
  display: flex;
  flex-direction: column;
  padding: 108px clamp(22px, 6vw, 60px) 36px;
  background: var(--ivory);
  overflow-y: auto;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform 0.8s var(--ease), visibility 0s 0.8s;
}

body.menu-open .mobile-menu { visibility: visible; transform: translateY(0); transition: transform 0.8s var(--ease), visibility 0s; }

.mobile-menu__label {
  margin-bottom: 20px;
  color: var(--brass-ink);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.mobile-nav > li {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

body.menu-open .mobile-nav > li { opacity: 1; transform: none; }
body.menu-open .mobile-nav > li:nth-child(1) { transition-delay: 0.14s; }
body.menu-open .mobile-nav > li:nth-child(2) { transition-delay: 0.2s; }
body.menu-open .mobile-nav > li:nth-child(3) { transition-delay: 0.26s; }
body.menu-open .mobile-nav > li:nth-child(4) { transition-delay: 0.32s; }
body.menu-open .mobile-nav > li:nth-child(5) { transition-delay: 0.38s; }

.mobile-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
}

.mobile-nav > li > a::after {
  content: "→";
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--brass);
}

.mobile-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
  padding: 2px 0 16px;
}

.mobile-sub a {
  padding: 7px 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-sub a:hover { color: var(--brass-ink); }

.mobile-menu__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 40px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.mobile-menu__footer a:hover { color: var(--brass-ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  min-height: min(860px, calc(100vh - var(--header-h) - var(--topbar-h)));
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 6vw, 96px) clamp(34px, 4vw, 70px) clamp(52px, 6vw, 88px) clamp(24px, 7vw, 128px);
}

.hero__inner { position: relative; z-index: 1; max-width: 620px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--brass);
}

.hero__title {
  margin: 28px 0 30px;
  font-family: var(--font-serif);
  font-size: clamp(3.05rem, 5.9vw, 6rem);
  font-weight: 300;
  line-height: 1.015;
  letter-spacing: -0.028em;
}

.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }

.hero__title .line > span {
  display: block;
  transform: translateY(115%);
  transition: transform 1.15s var(--ease);
}

.hero__title .line:nth-child(1) > span { transition-delay: 0.55s; }
.hero__title .line:nth-child(2) > span { transition-delay: 0.65s; }
.hero__title .line:nth-child(3) > span { transition-delay: 0.75s; }

body.is-loaded .hero__title .line > span { transform: none; }

.hero__title em {
  font-weight: 400;
  font-style: italic;
  color: var(--brass);
}

.hero__text {
  max-width: 465px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease) 0.95s, transform 0.9s var(--ease) 0.95s;
}

body.is-loaded .hero__text { opacity: 1; transform: none; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 38px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease) 1.05s, transform 0.9s var(--ease) 1.05s;
}

body.is-loaded .hero__actions { opacity: 1; transform: none; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease) 1.15s, transform 0.9s var(--ease) 1.15s;
}

body.is-loaded .hero__stats { opacity: 1; transform: none; }

.hero__stat { padding-right: clamp(20px, 3vw, 38px); margin-right: clamp(20px, 3vw, 38px); border-right: 1px solid var(--line); }
.hero__stat:last-child { margin-right: 0; padding-right: 0; border-right: 0; }

.hero__stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero__stat span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Hero media */
.hero__media { position: relative; overflow: hidden; background: var(--charcoal); }

.hero__slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease-soft);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03) brightness(0.92);
  transform: scale(1.03);
}

.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide.is-active img { animation: kenburns 8s var(--ease-soft) forwards; }

@keyframes kenburns {
  from { transform: scale(1.03); }
  to { transform: scale(1.12); }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(15, 12, 9, 0.32) 0%, rgba(15, 12, 9, 0) 34%, rgba(15, 12, 9, 0.52) 100%),
    linear-gradient(90deg, rgba(15, 12, 9, 0.2) 0%, rgba(15, 12, 9, 0) 30%);
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  top: clamp(22px, 3vw, 40px);
  left: clamp(22px, 3vw, 40px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(247, 242, 233, 0.26);
  background: rgba(15, 12, 9, 0.28);
  color: var(--ivory);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero__badge strong {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: var(--brass-light);
}

.hero__badge span {
  max-width: 92px;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(247, 242, 233, 0.72);
}

.hero__vertical {
  position: absolute;
  right: 22px;
  bottom: 110px;
  z-index: 3;
  writing-mode: vertical-rl;
  color: rgba(247, 242, 233, 0.55);
  font-size: 8.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.hero__dots {
  position: absolute;
  right: clamp(22px, 3vw, 40px);
  bottom: clamp(22px, 3vw, 36px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero__dot {
  width: 30px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(247, 242, 233, 0.32);
  transition: background 0.3s, width 0.4s var(--ease);
}

.hero__dot.is-active { width: 52px; background: var(--brass-light); }

.hero__scroll {
  position: absolute;
  left: clamp(22px, 3vw, 40px);
  bottom: clamp(22px, 3vw, 36px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(247, 242, 233, 0.62);
  font-size: 8.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero__scroll i {
  display: block;
  width: 46px;
  height: 1px;
  background: rgba(247, 242, 233, 0.4);
  position: relative;
  overflow: hidden;
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brass-light);
  animation: scrollLine 2.2s var(--ease-soft) infinite;
}

@keyframes scrollLine {
  0% { transform: translateX(-101%); }
  55%, 100% { transform: translateX(101%); }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 17px 0;
  background: var(--espresso);
  border-top: 1px solid rgba(247, 242, 233, 0.08);
  border-bottom: 1px solid rgba(247, 242, 233, 0.08);
}

.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }

.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__group { display: flex; align-items: center; flex: 0 0 auto; }

.marquee__group span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  color: rgba(247, 242, 233, 0.68);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__group span::after { content: "✦"; color: var(--brass); font-size: 9px; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- About ---------- */
.about { position: relative; overflow: hidden; }

.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(46px, 7vw, 110px);
}

.about__media {
  position: relative;
  padding: 0 0 62px 0;
}

.about__img-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 660px;
  background: var(--ivory-3);
}

.about__img-main img,
.about__img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
  transition: transform 1.4s var(--ease);
}

.about__img-main:hover img,
.about__img-small:hover img { transform: scale(1.045); }

.about__img-small {
  position: absolute;
  right: -8%;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 9px solid var(--ivory);
  background: var(--ivory-3);
  box-shadow: 0 30px 60px -38px rgba(23, 19, 15, 0.5);
}

.about__seal {
  position: absolute;
  left: -28px;
  bottom: 8%;
  z-index: 3;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--ivory);
  box-shadow: 0 20px 40px -20px rgba(23, 19, 15, 0.55);
}

.about__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.about__seal text { fill: rgba(247, 242, 233, 0.68); font-size: 8.2px; letter-spacing: 0.3em; font-family: var(--font-sans); text-transform: uppercase; }
.about__seal strong { position: relative; z-index: 1; font-family: var(--font-serif); font-size: 26px; font-weight: 400; color: var(--brass-light); line-height: 1; }
.about__seal span { position: absolute; bottom: 27px; z-index: 1; font-size: 6.5px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(247, 242, 233, 0.55); }

@keyframes spin { to { transform: rotate(360deg); } }

.about__copy .section-title { margin-bottom: 26px; }
.about__copy p { color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 520px; }
.about__copy p + p { margin-top: 16px; }

.about__signature {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-size: 27px;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}

.about__signature span { display: block; margin-top: 4px; font-family: var(--font-sans); font-size: 8.5px; font-style: normal; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }

.about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 46px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.about__stat strong { display: block; font-family: var(--font-serif); font-size: 32px; font-weight: 400; line-height: 1; }
.about__stat span { display: block; margin-top: 6px; font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Categories ---------- */
.cats { background: var(--ivory-2); }

.cats__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, minmax(280px, 1fr));
  gap: 20px;
}

.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(23, 19, 15, 0.08);
  background: var(--charcoal);
  color: var(--ivory);
  min-height: 280px;
  isolation: isolate;
}

.cat-card--tall { grid-row: span 2; min-height: 580px; }

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.03);
  transition: transform 1.3s var(--ease), filter 0.8s;
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 12, 9, 0.1) 0%, rgba(15, 12, 9, 0.18) 34%, rgba(15, 12, 9, 0.55) 64%, rgba(15, 12, 9, 0.92) 100%);
  transition: opacity 0.6s;
}

.cat-card:hover img { transform: scale(1.06); filter: saturate(1) contrast(1.03); }
.cat-card:hover::after { opacity: 0.92; }

.cat-card__num {
  position: absolute;
  top: 24px;
  right: 26px;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(247, 242, 233, 0.62);
}

.cat-card__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(24px, 3vw, 40px);
}

.cat-card__eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 8.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.cat-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.6vw, 2.55rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.cat-card--tall .cat-card__title { font-size: clamp(2.2rem, 3.6vw, 3.5rem); }

.cat-card__desc {
  max-width: 330px;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  color: rgba(247, 242, 233, 0.72);
  font-size: 12px;
  line-height: 1.7;
  transition: max-height 0.55s var(--ease), opacity 0.45s, transform 0.55s var(--ease), margin 0.55s;
}

.cat-card:hover .cat-card__desc,
.cat-card:focus-visible .cat-card__desc { max-height: 70px; opacity: 1; transform: none; margin-top: 12px; }

.cat-card__arrow {
  position: absolute;
  right: clamp(22px, 3vw, 34px);
  bottom: clamp(24px, 3vw, 36px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(247, 242, 233, 0.32);
  border-radius: 50%;
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}

.cat-card__arrow svg { width: 16px; height: 16px; }
.cat-card:hover .cat-card__arrow { background: var(--brass); border-color: var(--brass); transform: rotate(-45deg); }

/* ---------- Works slider ---------- */
.works { background: var(--espresso); color: var(--ivory); overflow: hidden; }

.works__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }

.works__nav { display: flex; gap: 10px; flex: 0 0 auto; }

.works__btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(247, 242, 233, 0.24);
  background: transparent;
  color: var(--ivory);
  border-radius: 50%;
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}

.works__btn:hover { background: var(--brass); border-color: var(--brass); color: var(--white); }
.works__btn svg { width: 17px; height: 17px; }

.works__track {
  display: flex;
  gap: 22px;
  margin-top: clamp(40px, 5vw, 60px);
  margin-right: calc(-1 * clamp(20px, 4.2vw, 62px));
  padding-right: clamp(20px, 4.2vw, 62px);
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.works__track::-webkit-scrollbar { display: none; }

.work-card { flex: 0 0 clamp(272px, 31vw, 460px); scroll-snap-align: start; }

.work-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--charcoal);
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 1.2s var(--ease), filter 0.8s;
}

.work-card:hover .work-card__media img { transform: scale(1.055); filter: saturate(1); }

.work-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 9, 0) 55%, rgba(15, 12, 9, 0.55) 100%);
}

.work-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 7px 12px;
  border: 1px solid rgba(247, 242, 233, 0.3);
  background: rgba(15, 12, 9, 0.28);
  color: rgba(247, 242, 233, 0.82);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.work-card__num {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1;
  color: rgba(247, 242, 233, 0.55);
}

.work-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 242, 233, 0.14);
  margin-top: 18px;
}

.work-card__title { font-family: var(--font-serif); font-size: clamp(1.3rem, 1.8vw, 1.7rem); font-weight: 400; line-height: 1.2; }
.work-card__cat { flex: 0 0 auto; color: var(--brass-light); font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; }

.works__progress {
  position: relative;
  height: 1px;
  margin-top: 38px;
  background: rgba(247, 242, 233, 0.14);
  overflow: hidden;
}

.works__progress span {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: var(--brass-light);
  transition: transform 0.2s linear;
}

/* ---------- Process ---------- */
.process { background: var(--ivory); }

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

.process__item {
  position: relative;
  padding: 38px clamp(18px, 2.2vw, 34px) 6px;
  border-right: 1px solid var(--line);
}

.process__item:last-child { border-right: 0; }

.process__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width 1.1s var(--ease) 0.2s;
}

.process__item.is-in::before { width: 100%; }

.process__num {
  margin-bottom: 22px;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.4vw, 3.4rem);
  font-weight: 300;
  line-height: 1;
  color: var(--brass);
}

.process__item h3 {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.process__item p { color: var(--muted); font-size: 13px; line-height: 1.75; }

/* ---------- Gallery preview ---------- */
.gallery-preview { background: var(--ivory-2); }

.gpreview {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  grid-template-rows: 1.1fr 0.9fr;
  gap: 16px;
  height: clamp(430px, 56vw, 640px);
}

.gpreview__item { position: relative; overflow: hidden; background: var(--ivory-3); }
.gpreview__item:first-child { grid-row: span 2; }

.gpreview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 1.2s var(--ease);
}

.gpreview__item:hover img { transform: scale(1.06); }

.gpreview__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 9, 0) 52%, rgba(15, 12, 9, 0.62) 100%);
  opacity: 0;
  transition: opacity 0.5s;
}

.gpreview__item:hover::after { opacity: 1; }

.gpreview__item span {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  color: var(--ivory);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s, transform 0.45s var(--ease);
}

.gpreview__item:hover span { opacity: 1; transform: none; }

.gpreview__plus {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(247, 242, 233, 0.5);
  border-radius: 50%;
  color: var(--ivory);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.gpreview__item:hover .gpreview__plus { opacity: 1; transform: none; }

/* ---------- Statement ---------- */
.statement {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 150px) 0;
  text-align: center;
  background: var(--ivory);
}

.statement::before {
  content: "”";
  position: absolute;
  top: -0.18em;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(169, 130, 85, 0.12);
  font-family: var(--font-serif);
  font-size: clamp(18rem, 38vw, 38rem);
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}

.statement__inner { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; }

.statement blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.2vw, 3.9rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.statement blockquote em { color: var(--brass); font-style: italic; }

.statement cite {
  display: block;
  margin-top: 30px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(480px, 62vw, 680px);
  overflow: hidden;
  color: var(--ivory);
  text-align: center;
  background: var(--espresso);
}

.cta__bg { position: absolute; inset: -10% 0; z-index: 0; }

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.55);
}

.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(23, 19, 15, 0.25), rgba(23, 19, 15, 0.72));
}

.cta__inner { position: relative; z-index: 1; padding: 40px 20px; max-width: 940px; }

.cta .eyebrow { color: rgba(247, 242, 233, 0.6); }
.cta .eyebrow::before { background: var(--brass-light); }

.cta h2 {
  margin: 24px 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.2vw, 5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.cta h2 em { color: var(--brass-light); font-style: italic; }

.cta p { max-width: 540px; margin: 0 auto; color: rgba(247, 242, 233, 0.66); font-size: 14px; line-height: 1.8; }

.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 34px; }

.cta__phone {
  display: block;
  margin-top: 28px;
  color: rgba(247, 242, 233, 0.58);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cta__phone a { color: var(--brass-light); border-bottom: 1px solid rgba(201, 169, 124, 0.4); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 100px);
  background: #100d0a;
  color: rgba(247, 242, 233, 0.55);
}

.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.35fr;
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: 54px;
}

.footer .brand__bottom { color: var(--ivory); }
.footer .brand__top { color: rgba(247, 242, 233, 0.42); }
.footer .brand__mark { color: var(--brass-light); }

.footer__tagline { max-width: 280px; margin-top: 22px; font-size: 13px; line-height: 1.8; color: rgba(247, 242, 233, 0.5); }

.footer__title {
  margin-bottom: 22px;
  color: rgba(247, 242, 233, 0.58);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.footer__links li + li { margin-top: 10px; }

.footer__links a {
  color: rgba(247, 242, 233, 0.68);
  font-size: 12.5px;
  transition: color 0.3s, padding 0.3s;
}

.footer__links a:hover { color: var(--brass-light); padding-left: 4px; }

.footer__contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 12.5px; line-height: 1.7; color: rgba(247, 242, 233, 0.68); }
.footer__contact svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 3px; color: var(--brass-light); }
.footer__contact a:hover { color: var(--brass-light); }

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

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(247, 242, 233, 0.16);
  border-radius: 50%;
  transition: background 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}

.socials a:hover { background: var(--brass); border-color: var(--brass); transform: translateY(-3px); }
.socials svg { width: 15px; height: 15px; }

.footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid rgba(247, 242, 233, 0.1);
  color: rgba(247, 242, 233, 0.56);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.footer__bottom a:hover { color: var(--brass-light); }

.footer__word {
  position: absolute;
  left: 50%;
  bottom: -0.16em;
  z-index: 0;
  transform: translateX(-50%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 242, 233, 0.045);
  font-family: var(--font-serif);
  font-size: clamp(9rem, 25vw, 26rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 0.75;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ---------- Floating controls ---------- */
.floaters {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.float-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 12px 28px -14px rgba(23, 19, 15, 0.4);
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease), opacity 0.3s, visibility 0.3s;
}

.float-btn svg { width: 18px; height: 18px; }
.float-btn:hover { background: var(--espresso); color: var(--ivory); transform: translateY(-3px); }

.float-btn--wa {
  width: 54px;
  height: 54px;
  border-color: #1f9d55;
  background: #1f9d55;
  color: #fff;
}

.float-btn--wa:hover { background: #178247; color: #fff; }

.to-top { opacity: 0; visibility: hidden; transform: translateY(8px); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(430px, 58vh, 620px);
  padding: clamp(90px, 10vw, 140px) 0 clamp(46px, 5vw, 72px);
  overflow: hidden;
  color: var(--ivory);
  background: var(--espresso);
}

.page-hero__bg { position: absolute; inset: 0; z-index: 0; }

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.48);
  transform: scale(1.04);
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 9, 0.45) 0%, rgba(15, 12, 9, 0.08) 42%, rgba(15, 12, 9, 0.82) 100%);
}

.page-hero__inner { position: relative; z-index: 1; width: 100%; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: rgba(247, 242, 233, 0.55);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.breadcrumb a:hover { color: var(--brass-light); }
.breadcrumb span { color: var(--brass-light); }

.page-hero h1 {
  max-width: 1000px;
  font-family: var(--font-serif);
  font-size: clamp(2.9rem, 6.6vw, 6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.028em;
}

.page-hero h1 em { color: var(--brass-light); font-style: italic; }

.page-hero p {
  max-width: 610px;
  margin-top: 20px;
  color: rgba(247, 242, 233, 0.66);
  font-size: 14px;
  line-height: 1.8;
}

.page-hero__index {
  position: absolute;
  right: clamp(20px, 4vw, 60px);
  bottom: clamp(46px, 5vw, 72px);
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: rgba(247, 242, 233, 0.42);
}

/* ---------- Project list page ---------- */
.project-list { background: var(--ivory); }

.project-row {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
  padding: clamp(44px, 5vw, 70px) 0;
  border-bottom: 1px solid var(--line);
}

.project-row:first-child { padding-top: 0; }
.project-row:last-child { border-bottom: 0; }

.project-row:nth-child(even) .project-row__media { order: 2; }
.project-row:nth-child(even) .project-row__content { order: 1; }

.project-row__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ivory-3);
}

.project-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 1.2s var(--ease), filter 0.7s;
}

.project-row__media:hover img { transform: scale(1.05); filter: saturate(1); }

.project-row__num {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(247, 242, 233, 0.45);
  border-radius: 50%;
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: 14px;
  backdrop-filter: blur(6px);
  background: rgba(15, 12, 9, 0.2);
}

.project-row__content h2 {
  margin: 12px 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.project-row__content p { max-width: 440px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }

.tags span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Category intro & gallery ---------- */
.cat-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 6vw, 90px);
  padding: clamp(56px, 7vw, 92px) 0 clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}

.cat-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.06;
}

.cat-intro h2 em { color: var(--brass); font-style: italic; }

.cat-intro p { color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.cat-intro p + p { margin-top: 14px; }

.cat-meta { margin-top: 26px; border-top: 1px solid var(--line); }

.cat-meta li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.cat-meta span { color: var(--muted); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; }
.cat-meta strong { font-weight: 400; text-align: right; }

.photo-grid {
  column-count: 3;
  column-gap: clamp(14px, 2vw, 22px);
  padding: clamp(40px, 5vw, 64px) 0;
}

/* Doğal yükseklikte gerçek masonry: görseller kırpılmaz, boşluk oluşmaz */
.photo-grid .g-item {
  aspect-ratio: auto;
  break-inside: avoid;
}

.photo-grid .g-item img { width: 100%; height: auto; }

.photo-grid--two { column-count: 2; }

/* Next category nav */
.next-cat {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.next-cat__label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; }

.next-cat strong {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
  transition: color 0.3s;
}

.next-cat:hover strong { color: var(--brass-ink); }

.next-cat__arrow {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}

.next-cat:hover .next-cat__arrow { background: var(--brass); border-color: var(--brass); color: var(--white); }
.next-cat__arrow svg { width: 18px; height: 18px; }

/* ---------- Gallery filters & masonry ---------- */
.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0 30px;
  border-bottom: 1px solid var(--line);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.filter {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}

.filter span { color: var(--brass-ink); font-size: 8px; }

.filter:hover { border-color: var(--ink); color: var(--ink); }

.filter.is-active {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--ivory);
}

.filter.is-active span { color: var(--brass-light); }

.gallery-count { color: var(--muted); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; }
.gallery-count strong { color: var(--ink); font-weight: 400; }

.masonry {
  column-count: 3;
  column-gap: clamp(14px, 2vw, 22px);
  padding: clamp(30px, 4vw, 48px) 0 clamp(40px, 5vw, 64px);
}

.g-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 clamp(14px, 2vw, 22px);
  padding: 0;
  border: 0;
  background: var(--ivory-3);
  overflow: hidden;
  break-inside: avoid;
  text-align: left;
  animation: itemIn 0.55s var(--ease) both;
}

@keyframes itemIn {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

.g-item img {
  width: 100%;
  height: auto;
  transition: transform 1.1s var(--ease), filter 0.7s;
  filter: saturate(0.9);
}

.g-item:hover img { transform: scale(1.045); filter: saturate(1); }

.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 9, 0) 48%, rgba(15, 12, 9, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.45s;
}

.g-item:hover::after { opacity: 1; }

.g-item__cap {
  position: absolute;
  left: 18px;
  right: 50px;
  bottom: 16px;
  z-index: 2;
  color: var(--ivory);
  font-size: 9px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.g-item:hover .g-item__cap { opacity: 1; transform: none; }

.g-item__plus {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(247, 242, 233, 0.5);
  border-radius: 50%;
  color: var(--ivory);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.g-item:hover .g-item__plus { opacity: 1; transform: none; }

.g-item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 54px);
  background: rgba(12, 9, 7, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0s 0.4s;
}

.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s, visibility 0s; }

.lightbox__stage { position: relative; max-width: 1180px; width: 100%; text-align: center; }

.lightbox__img {
  max-width: 100%;
  max-height: 76vh;
  margin: 0 auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.25s ease;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.lightbox__img.is-ready { opacity: 1; }

.lightbox__cap {
  margin-top: 16px;
  color: rgba(247, 242, 233, 0.72);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lightbox__counter {
  margin-top: 6px;
  color: rgba(247, 242, 233, 0.62);
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.lightbox__btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(247, 242, 233, 0.26);
  border-radius: 50%;
  background: rgba(247, 242, 233, 0.04);
  color: var(--ivory);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.lightbox__btn:hover { background: var(--brass); border-color: var(--brass); }
.lightbox__btn svg { width: 20px; height: 20px; }

.lightbox__close { top: 4px; right: 4px; }
.lightbox__prev { top: 50%; left: 0; transform: translateY(-50%); }
.lightbox__next { top: 50%; right: 0; transform: translateY(-50%); }

.lightbox__hint {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(247, 242, 233, 0.62);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- About page ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(38px, 7vw, 100px);
}

.about-story__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.about-story__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) sepia(0.12); }
.about-story__caption { margin-top: 12px; color: var(--muted); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; }

.about-story__copy .section-title { margin-bottom: 24px; }
.about-story__copy p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.about-story__copy p + p { margin-top: 15px; }

.about-quote {
  margin-top: 30px;
  padding-left: 22px;
  border-left: 1px solid var(--brass);
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: italic;
  line-height: 1.4;
}

/* Timeline */
.timeline-wrap { background: var(--ivory-2); }

.timeline {
  position: relative;
  margin-left: 6px;
  padding-left: clamp(28px, 4vw, 52px);
  border-left: 1px solid var(--line);
}

.timeline__item { position: relative; padding-bottom: 46px; }
.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(clamp(28px, 4vw, 52px) * -1 - 5px);
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ivory-2);
  border: 1px solid var(--brass);
}

.timeline__item::after {
  content: "";
  position: absolute;
  left: calc(clamp(28px, 4vw, 52px) * -1 - 2px);
  top: 14px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brass);
}

.timeline__year { font-family: var(--font-serif); font-size: 32px; font-weight: 400; line-height: 1; color: var(--brass); }
.timeline__item h3 { margin: 8px 0 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.timeline__item p { max-width: 520px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--ivory);
}

.value__num { position: absolute; top: 26px; right: 28px; font-family: var(--font-serif); font-size: 13px; color: var(--brass-ink); }
.value svg { width: 28px; height: 28px; margin-bottom: 22px; color: var(--brass); stroke-width: 1.25; }
.value h3 { margin-bottom: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.value p { color: var(--muted); font-size: 13px; line-height: 1.75; }

/* ---------- Contact ---------- */
.contact { background: var(--ivory); }

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.contact__info .section-title { margin-bottom: 18px; }
.contact__info > p { max-width: 420px; color: var(--muted); font-size: 14.5px; line-height: 1.85; }

.contact-list { margin-top: 34px; border-top: 1px solid var(--line); }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brass);
}

.contact-item__icon svg { width: 17px; height: 17px; }

.contact-item__label { display: block; margin-bottom: 3px; color: var(--muted); font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; }
.contact-item__value { font-size: 14px; line-height: 1.6; }
.contact-item__value a:hover { color: var(--brass-ink); }

.contact-hours { margin-top: 26px; padding: 20px 22px; background: var(--ivory-2); border-left: 1px solid var(--brass); }
.contact-hours strong { display: block; margin-bottom: 4px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }
.contact-hours span { color: var(--muted); font-size: 12.5px; }

/* Form */
.form-wrap { padding: clamp(28px, 4vw, 48px); background: var(--ivory-2); border: 1px solid var(--line); }

.form-head { margin-bottom: 26px; }
.form-head h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 400; line-height: 1.1; }
.form-head p { margin-top: 8px; color: var(--muted); font-size: 12.5px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }

.field label { color: var(--muted); font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(23, 19, 15, 0.18);
  border-radius: 0;
  background: rgba(255, 253, 249, 0.6);
  font-size: 13px;
  font-weight: 300;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

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

.field textarea { min-height: 116px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brass); background: var(--white); }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #a24b3b; }

.form-grid .btn { margin-top: 4px; }

.form-note { margin-top: 14px; color: var(--muted); font-size: 10px; line-height: 1.6; }

/* Map */
.map-section { padding: 0 0 clamp(70px, 8vw, 110px); background: var(--ivory); }

.map {
  position: relative;
  height: clamp(360px, 45vw, 500px);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ivory-2);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: grayscale(1) contrast(0.95) sepia(0.18);
  transition: filter 0.3s ease;
}
.map:hover iframe { filter: grayscale(0.3) contrast(1) sepia(0.05); }
.map__marker-label {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  padding: 7px 11px;
  transform: translate(-50%, -100%);
  border: 1px solid rgba(23, 19, 15, 0.12);
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(23, 19, 15, 0.2);
  color: #17130f;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
}
.map__marker-label::after {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 1px solid rgba(23, 19, 15, 0.12);
  border-bottom: 1px solid rgba(23, 19, 15, 0.12);
  background: #fff;
  content: "";
}
.map__link { position: absolute; inset: 0; z-index: 3; }
.map__link:focus-visible { outline: 3px solid var(--brass); outline-offset: -4px; }

/* Toast */
.toast {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 9200;
  max-width: 340px;
  padding: 16px 20px;
  background: var(--espresso);
  border-left: 2px solid var(--brass);
  color: var(--ivory);
  font-size: 12.5px;
  line-height: 1.6;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s var(--ease), visibility 0.4s;
}

.toast.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--delay, 0ms);
}

[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(0.96); }

[data-reveal].is-in { opacity: 1; transform: none; }

.no-js [data-reveal] { opacity: 1; transform: none; }

.img-reveal { overflow: hidden; }
.img-reveal img { transform: scale(1.1); transition: transform 1.5s var(--ease); }
.img-reveal.is-in img,
.img-reveal:hover img { transform: scale(1); }

/* ---------- 404 ---------- */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  background: var(--ivory);
  text-align: center;
}

.error-page--inner {
  min-height: 0;
  padding: clamp(72px, 11vw, 132px) 20px clamp(80px, 12vw, 140px);
  background: transparent;
}

.error-page__code {
  font-family: var(--font-serif);
  font-size: clamp(8rem, 24vw, 20rem);
  font-weight: 300;
  line-height: 0.8;
  color: var(--brass);
}

.error-page h1 { margin: 24px 0 12px; font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400; }
.error-page p { max-width: 420px; margin: 0 auto 30px; color: var(--muted); font-size: 14px; }

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 32px;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.error-page__links a { color: var(--muted); transition: color 0.3s var(--ease); }
.error-page__links a:hover { color: var(--brass-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .header-inner { gap: 22px; }
  .header-phone span { display: none; }
  .nav__list { gap: 18px; }
  .nav__link { font-size: 9.5px; }
  .about__img-small { right: 0; }
  .about__seal { left: -14px; width: 100px; height: 100px; }
}

@media (max-width: 1080px) {
  .nav,
  .header-actions .btn { display: none; }
  .menu-btn { display: flex; }
  .header-inner { grid-template-columns: 1fr auto; height: 78px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; height: 62vh; min-height: 420px; }
  .hero__content { padding: clamp(44px, 6vw, 70px) clamp(22px, 5vw, 60px); }
  .hero__title { font-size: clamp(3rem, 7.4vw, 5.4rem); }
  .hero__stats { margin-top: 40px; }
  .about__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__media { max-width: 560px; margin: 0 auto; width: 100%; }
  .about__img-main { aspect-ratio: 5 / 4; }
  .about__img-small { right: -4%; width: 44%; }
  .cats__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .cat-card--tall { grid-column: span 2; grid-row: auto; min-height: 420px; }
  .cat-card { min-height: 320px; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__item:nth-child(2) { border-right: 0; }
  .process__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); padding-bottom: 34px; }
  .process__item:nth-child(n + 3) { padding-top: 34px; }
  .gpreview { grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 0.8fr; height: 560px; }
  .gpreview__item:first-child { grid-row: auto; }
  .gpreview__item:nth-child(5) { display: none; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__contact { display: flex; flex-wrap: wrap; gap: 0 26px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { max-width: 640px; }
}

@media (max-width: 860px) {
  :root { --topbar-h: 34px; --header-h: 78px; }
  .topbar__group:last-child { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .works__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .works__nav { align-self: flex-end; }
  .project-row { grid-template-columns: 1fr; gap: 26px; padding: 40px 0; }
  .project-row:nth-child(even) .project-row__media { order: 0; }
  .project-row:nth-child(even) .project-row__content { order: 0; }
  .project-row__content p { max-width: none; }
  .cat-intro { grid-template-columns: 1fr; gap: 28px; }
  .photo-grid { column-count: 2; }
  .masonry { column-count: 2; }
  .about-story { grid-template-columns: 1fr; }
  .about-story__media { order: -1; }
  .values { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__grid > div:last-child { grid-column: auto; }
  .footer__contact { display: block; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .lightbox__prev { left: 0; }
  .lightbox__next { right: 0; }
  .lightbox__close { top: -4px; right: 0; }
  .map-section { padding-bottom: 70px; }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  :root { --topbar-h: 0px; }
  .header-inner { height: 72px; }
  .brand__logo { height: 54px; max-width: 170px; }
  .brand__logo--footer { height: 70px; max-width: 190px; }
  .preloader__logo { height: 90px; max-width: 220px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__bottom { font-size: 18px; }
  .brand__top { font-size: 7.5px; }
  .site-header.is-scrolled .header-inner { height: 66px; }
  .hero__media { height: 54vh; min-height: 340px; }
  .hero__content { padding: 40px 20px 46px; }
  .hero__title { font-size: clamp(2.7rem, 11vw, 4rem); margin: 22px 0 22px; }
  .hero__text { font-size: 14px; }
  .hero__actions { gap: 14px; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 22px 0; margin-top: 34px; }
  .hero__stat { padding-right: 18px; margin-right: 18px; }
  .hero__stat strong { font-size: 1.5rem; }
  .hero__stat span { font-size: 7.5px; }
  .hero__vertical { display: none; }
  .hero__scroll { font-size: 7.5px; }
  .hero__badge { padding: 11px 14px; }
  .hero__badge strong { font-size: 24px; }
  .hero__dots { gap: 7px; }
  .hero__dot { width: 22px; }
  .hero__dot.is-active { width: 38px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-title { font-size: clamp(2rem, 8.8vw, 2.9rem); }
  .about__media { padding-bottom: 0; }
  .about__img-main { aspect-ratio: 1 / 1; }
  .about__img-small { position: relative; right: auto; bottom: auto; width: 58%; margin: -18% 0 0 auto; border-width: 7px; }
  .about__seal { width: 88px; height: 88px; left: 10px; bottom: 26%; }
  .about__seal strong { font-size: 21px; }
  .about__seal span { bottom: 20px; font-size: 5.5px; }
  .about__stats { gap: 22px 32px; }
  .about__stat strong { font-size: 26px; }
  .cats__grid { grid-template-columns: 1fr; }
  .cat-card--tall { grid-column: auto; min-height: 380px; }
  .cat-card { min-height: 300px; }
  .cat-card__desc { display: none; }
  .process__grid { grid-template-columns: 1fr; }
  .process__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 30px 0; }
  .process__item:nth-child(-n + 2) { padding-bottom: 30px; }
  .process__item:nth-child(n + 3) { padding-top: 30px; }
  .process__item:last-child { border-bottom: 0; }
  .gpreview { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 420px; }
  .gpreview__item:nth-child(4) { display: none; }
  .gpreview__item:nth-child(5) { display: block; }
  .statement blockquote { font-size: clamp(1.7rem, 7.5vw, 2.4rem); }
  .cta { min-height: 520px; }
  .cta__actions { flex-direction: column; align-items: center; }
  .cta__actions .btn { width: 100%; max-width: 300px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__tagline { max-width: none; }
  .footer__word { font-size: 32vw; }
  .floaters { right: 14px; bottom: 16px; }
  .float-btn { width: 44px; height: 44px; }
  .float-btn--wa { width: 50px; height: 50px; }
  .page-hero { min-height: 430px; padding-bottom: 44px; }
  .page-hero__index { display: none; }
  .page-hero p { font-size: 13px; }
  .photo-grid { column-count: 1; }
  .masonry { column-count: 2; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .gallery-toolbar { flex-direction: column; align-items: flex-start; padding: 26px 0 22px; }
  .filters { gap: 6px; }
  .filter { padding: 10px 14px; font-size: 8px; }
  .next-cat { grid-template-columns: 1fr auto; }
  .about-quote { font-size: 21px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 24px 18px; }
  .contact-list { margin-top: 26px; }
  .lightbox { padding: 14px 12px 56px; }
  .lightbox__img { max-height: 66vh; }
  .lightbox__prev,
  .lightbox__next { top: auto; bottom: 2px; transform: none; width: 44px; height: 44px; }
  .lightbox__prev { left: calc(50% - 58px); }
  .lightbox__next { right: calc(50% - 58px); }
  .lightbox__close { top: 0; right: 0; width: 42px; height: 42px; }
  .lightbox__hint { display: none; }
  .lightbox__cap { font-size: 9px; }
  .toast { right: 14px; left: 14px; bottom: 80px; max-width: none; }
  .timeline__item { padding-bottom: 36px; }
}

@media (max-width: 400px) {
  .hero__stats { flex-wrap: nowrap; }
  .hero__stat { margin-right: 12px; padding-right: 12px; }
  .hero__stat strong { font-size: 1.35rem; }
  .hero__stat span { letter-spacing: 0.1em; }
  .brand__top { display: none; }
  .brand__logo { height: 46px; max-width: 148px; }
}

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

  [data-reveal],
  .hero__text,
  .hero__actions,
  .hero__stats,
  .hero__title .line > span { opacity: 1 !important; transform: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .floaters, .preloader, .page-fade, .scroll-progress, .cursor, .cursor-ring { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: 0; }
}
