:root {
  --bg: #151413;
  --panel: #22211f;
  --panel-2: #292722;
  --text: #f0ebe3;
  --muted: #b2a89d;
  --soft: #d8d0c6;
  --line: rgba(240, 235, 227, 0.16);
  --accent: #d3b77e;
  --accent-hover: #e0c488;
  --accent-active: #c8aa69;
  --dark-button: rgba(240, 235, 227, 0.04);
  --dark-button-hover: rgba(240, 235, 227, 0.1);
  --shadow: rgba(0, 0, 0, 0.38);
  --display-font: "Times New Roman", Times, Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(920px 560px at 16% -8%, rgba(240, 235, 227, 0.032), transparent 64%),
    radial-gradient(760px 480px at 92% 10%, rgba(211, 183, 126, 0.022), transparent 70%),
    radial-gradient(980px 620px at 42% 118%, rgba(240, 235, 227, 0.02), transparent 68%),
    linear-gradient(145deg, #141312 0%, #0f0e0d 48%, #181613 100%);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.menu-open { overflow: hidden; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header,
.section,
.footer {
  width: 100%;
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 40;
  min-height: 92px;
  display: grid;
  grid-template-columns: 118px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 14px clamp(24px, 5vw, 76px);
  background: rgba(21, 20, 19, 0.92);
  border-bottom: 1px solid var(--line);
}

.mobile-phone {
  display: none;
  color: var(--soft);
  font-size: 14px;
  white-space: nowrap;
}

.brand img {
  width: 74px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.5vw, 34px);
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover,
.phone:hover,
.footer a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone {
  color: var(--soft);
  font-size: 16px;
  white-space: nowrap;
}

.icon-menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 12px;
}

.icon-menu span {
  display: block;
  height: 1px;
  background: var(--text);
  margin: 7px 0;
}

.section {
  background:
    radial-gradient(840px 420px at 18% 0%, rgba(240, 235, 227, 0.024), transparent 67%),
    radial-gradient(720px 420px at 94% 18%, rgba(211, 183, 126, 0.018), transparent 72%),
    linear-gradient(145deg, rgba(19, 18, 17, 0.97), rgba(14, 13, 12, 0.97) 52%, rgba(22, 20, 18, 0.95));
  padding: clamp(58px, 6vw, 90px) clamp(24px, 5vw, 76px);
}

main > .section:nth-child(even) {
  background:
    radial-gradient(880px 460px at 82% 2%, rgba(240, 235, 227, 0.022), transparent 68%),
    radial-gradient(680px 390px at 8% 34%, rgba(211, 183, 126, 0.016), transparent 74%),
    linear-gradient(150deg, rgba(16, 15, 14, 0.97), rgba(22, 20, 18, 0.96) 46%, rgba(13, 12, 11, 0.97));
}

.section + .section {
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--display-font);
  font-weight: 400;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  letter-spacing: 0;
  margin: 0;
}

h1 {
  max-width: 600px;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.94;
}

h2 {
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 0.98;
}

h3 {
  font-size: 26px;
  line-height: 1.08;
}

p {
  color: var(--soft);
  line-height: 1.72;
}

.lead {
  max-width: 560px;
  font-size: 17px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(224, 196, 136, 0.95);
  background: var(--accent);
  color: #171615;
  padding: 0 22px;
  font-size: 13px;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:not(.btn--ghost):hover,
.btn:not(.btn--ghost):focus-visible {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: #11100f;
  transform: translateY(-1px);
}

.btn:not(.btn--ghost):active {
  background: var(--accent-active);
  border-color: var(--accent-active);
  transform: translateY(0);
}

.btn--ghost {
  border-color: rgba(240, 235, 227, 0.34);
  background: var(--dark-button);
  color: var(--text);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: rgba(215, 184, 117, 0.7);
  background: var(--dark-button-hover);
  color: var(--text);
  transform: translateY(-1px);
}

.btn--ghost:active {
  border-color: rgba(215, 184, 117, 0.48);
  background: rgba(240, 235, 227, 0.065);
  transform: translateY(0);
}

.btn--small {
  min-height: 44px;
  padding-inline: 16px;
}

.btn--full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 820px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: clamp(36px, 4vw, 58px);
  padding-top: clamp(66px, 7vw, 96px);
  background: #111;
}

.image-frame {
  overflow: hidden;
  background: #25231f;
}

.image-frame img,
.project img,
.team-card img,
.gallery-dialog img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  position: static;
  height: 100%;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px) brightness(0.72);
  transform: scale(1.035);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 50%, rgba(0,0,0,0.08), rgba(0,0,0,0.54) 62%),
    linear-gradient(90deg, rgba(0,0,0,0.86), rgba(0,0,0,0.55) 46%, rgba(0,0,0,0.42));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-title,
.hero-body,
.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-title {
  max-width: 1040px;
}

.hero h1 {
  max-width: 1040px;
  font-size: clamp(58px, 6.2vw, 92px);
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(420px, 0.66fr);
  gap: clamp(42px, 5vw, 78px);
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 760px;
}

.hero-actions {
  grid-column: 1;
  align-self: end;
}

.hero-offers {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: relative;
  width: 100%;
  transform: none;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: 14px;
}

.hero-offers article {
  position: relative;
  min-height: 0;
  padding: 24px 26px;
  background: rgba(18, 17, 16, 0.52);
  border: 1px solid rgba(240, 235, 227, 0.18);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

.hero-offers article:first-child {
  background:
    linear-gradient(135deg, rgba(211, 183, 126, 0.1), rgba(18, 17, 16, 0.58) 56%),
    rgba(18, 17, 16, 0.54);
  border-color: rgba(211, 183, 126, 0.34);
}

.hero-offers article:nth-child(2) {
  margin-left: 0;
}

.hero-offers article:nth-child(3) {
  margin-left: 0;
}

.hero-offers h2 {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(22px, 1.8vw, 32px);
  font-weight: 500;
  line-height: 1.18;
}

.hero-offers p {
  margin: 8px 0 0;
  max-width: 640px;
  font-size: 15px;
  line-height: 1.52;
}

.hero-copy {
  padding-bottom: 0;
}

.hero .lead {
  max-width: 780px;
  margin: 0;
  font-size: 22px;
  line-height: 1.62;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(16px, 2vw, 30px);
  width: min(100%, 780px);
  margin-top: 0;
  border: 0;
  background: transparent;
}

.hero-proof span {
  display: block;
  min-width: max-content;
  gap: 6px;
  min-height: 0;
  padding: 0 0 0 16px;
  border-left: 1px solid rgba(211, 183, 126, 0.42);
  background: transparent;
  color: var(--muted);
  font-size: 0;
  line-height: 1;
}

.hero-proof strong {
  display: block;
  color: var(--text);
  font-family: var(--display-font);
  font-size: clamp(27px, 2.2vw, 36px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.steps span {
  color: var(--accent);
  font-family: var(--display-font);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head p {
  max-width: 660px;
}

.objects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.objects-grid article {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.objects-grid article {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  background: #25231f;
  border-top: 0;
  cursor: pointer;
}

.objects-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.62)), var(--object-image);
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease;
}

.objects-grid article::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

.objects-grid article:hover::before {
  transform: scale(1.035);
}

.objects-grid h3,
.objects-grid p {
  position: relative;
  z-index: 2;
}

.objects-grid h3 {
  max-width: 270px;
  padding: 15px 16px 16px;
  border-left: 2px solid var(--accent);
  background: rgba(10, 10, 9, 0.56);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  font-size: clamp(27px, 2.6vw, 38px);
}

.objects-grid h3 {
  margin: 14px 0 12px;
  font-size: clamp(28px, 2.25vw, 36px);
}

.objects-grid h3.object-title--long {
  font-size: clamp(24px, 1.85vw, 30px);
  line-height: 1.04;
}

.objects-grid p {
  margin: 0;
  font-size: 14px;
}

.process .steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: none;
  margin-left: 0;
  padding: 42px 0 0;
}

.process .steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(211, 183, 126, 0.68), rgba(240, 235, 227, 0.18), transparent);
}

.process .steps article {
  position: relative;
  width: auto;
  min-height: 0;
  padding: 24px 0 18px;
  border-top: 1px solid rgba(240, 235, 227, 0.18);
}

.process .steps span {
  position: absolute;
  top: -18px;
  left: 0;
  width: 42px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  background: #11100f;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

.process .steps article:nth-child(1) {
  justify-self: stretch;
}

.process .steps article:nth-child(2) {
  justify-self: stretch;
}

.process .steps article:nth-child(3) {
  justify-self: stretch;
}

.process .steps article:nth-child(4) {
  justify-self: stretch;
}

.process .steps h3 {
  margin: 14px 0 12px;
  font-size: clamp(26px, 2vw, 34px);
}

.process .steps p {
  margin: 0;
  font-size: 14px;
}

.problem {
  display: grid;
  grid-template-columns: 1fr 580px;
  gap: 0;
  min-height: 310px;
  align-items: center;
  padding: 0;
}

.problem-image {
  height: 1080px;
  min-height: 0;
  align-self: center;
}

.problem-image img {
  object-position: center 74%;
}

.problem-card {
  align-self: center;
  width: 620px;
  margin-left: -210px;
  padding: 36px;
  background: rgba(41, 39, 34, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px var(--shadow);
}

.problem-card h2 {
  font-size: clamp(34px, 3vw, 48px);
}

.problem-card p {
  font-size: 15px;
}

.plain-list {
  margin: 24px 0 30px;
  padding-left: 20px;
  color: var(--soft);
  line-height: 1.72;
}

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

.composition {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(28px, 3.2vw, 50px);
  background:
    radial-gradient(760px 430px at 16% 50%, rgba(240, 235, 227, 0.026), transparent 68%),
    radial-gradient(620px 380px at 88% 10%, rgba(211, 183, 126, 0.018), transparent 72%),
    linear-gradient(145deg, rgba(22, 21, 19, 0.96), rgba(13, 12, 11, 0.97));
}

.composition::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 12, 11, 0.92) 0%, rgba(13, 12, 11, 0.7) 48%, rgba(13, 12, 11, 0.9) 100%),
    url("/assets/tild6638-3633-4634-a336-323933653630__32.jpg") center / cover no-repeat;
  opacity: 0.24;
  pointer-events: none;
}

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

.composition-copy {
  align-self: center;
}

.composition-copy h2 {
  white-space: nowrap;
  font-size: clamp(36px, 3.45vw, 54px);
}

.composition-copy p {
  max-width: 580px;
}

.composition-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 0;
  border-top: 1px solid var(--line);
}

.composition-list article {
  display: block;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.composition-list h3 {
  margin: 0;
  font-size: clamp(32px, 3.2vw, 52px);
}

.composition-list p {
  margin: 0;
  font-size: 15px;
}

.portfolio-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 36px;
}

.projects {
  display: grid;
  gap: 22px;
}

.project {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  background: #25231f;
}

.project--wide {
  grid-column: auto;
  min-height: 620px;
}

.project img {
  position: absolute;
  inset: 0;
  filter: brightness(0.78);
}

.project div {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  max-width: 560px;
  padding: 26px;
  background: rgba(24, 23, 21, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.project p {
  margin: 12px 0 18px;
  font-size: 14px;
}

.project-meta {
  color: var(--muted);
}

.text-link {
  border: 0;
  border-bottom: 1px solid var(--accent);
  color: var(--text);
  background: transparent;
  padding: 0 0 6px;
  margin-right: 18px;
  margin-top: 8px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

.section-bottom-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.section-bottom-action--left {
  justify-content: flex-start;
}

.studio-feed {
  background:
    radial-gradient(760px 420px at 82% 6%, rgba(211, 183, 126, 0.024), transparent 70%),
    radial-gradient(680px 420px at 14% 86%, rgba(240, 235, 227, 0.022), transparent 72%),
    linear-gradient(145deg, rgba(18, 17, 16, 0.98), rgba(12, 11, 10, 0.98));
}

.studio-feed-head {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.studio-feed-head p {
  max-width: 560px;
  margin: 0 0 10px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.55;
}

.feed-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  margin-top: 38px;
}

.feed-feature-media {
  min-height: 620px;
  overflow: hidden;
  background: #171615;
}

.feed-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.feed-feature-copy {
  max-width: 760px;
}

.feed-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
}

.feed-feature h3,
.materials-copy h3 {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
}

.feed-feature-copy > p:not(.feed-kicker),
.materials-copy p {
  max-width: 660px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.62;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.feed-card {
  display: grid;
  grid-template-rows: 360px 1fr;
  border: 1px solid var(--line);
  background: rgba(18, 17, 16, 0.48);
  overflow: hidden;
}

.feed-card img,
.feed-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.feed-card div {
  padding: 24px;
}

.feed-card h3 {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 25px;
  font-weight: 500;
}

.feed-card p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.56;
}

.materials-strip {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  margin-top: 34px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  background: rgba(22, 21, 19, 0.52);
}

.materials-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.materials-gallery img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.social-feed {
  display: block;
  margin-top: 38px;
}

.social-main,
.social-card,
.author-supervision-note {
  border: 1px solid var(--line);
  background: rgba(18, 17, 16, 0.48);
}

.social-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
  min-height: 720px;
  padding: clamp(18px, 2vw, 24px);
}

.vertical-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #070707;
}

.vertical-media video,
.vertical-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-open {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(245, 241, 232, 0.72);
  border-radius: 50%;
  background: rgba(10, 9, 8, 0.48);
  color: transparent;
  padding: 0;
  font-size: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.video-open::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--text);
  transform: translate(-38%, -50%);
}

.video-open:hover,
.video-open:focus-visible {
  background: rgba(215, 184, 117, 0.18);
  border-color: rgba(215, 184, 117, 0.9);
  transform: translate(-50%, -50%) scale(1.04);
}

.social-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 2vw, 24px) 0;
}

.social-copy h3,
.author-supervision-note h3 {
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
}

.social-copy p:not(.feed-kicker),
.author-supervision-note > p {
  max-width: 720px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.58;
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.social-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  min-height: 360px;
  padding: 18px;
  overflow: hidden;
}

.social-card:nth-child(1) {
  grid-column: 1 / 13;
  grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
  min-height: 620px;
}

.social-card:nth-child(2),
.social-card:nth-child(3) {
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  min-height: 340px;
}

.social-card:nth-child(2) {
  grid-column: 1 / 7;
}

.social-card:nth-child(3) {
  grid-column: 7 / 13;
}

.social-card:nth-child(4) {
  grid-column: 2 / 7;
}

.social-card:nth-child(5) {
  grid-column: 7 / 13;
}

.social-card > div:not(.vertical-media):not(.photo-feed-grid) {
  padding: 0;
}

.social-card h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.06;
}

.social-card:nth-child(2) h3,
.social-card:nth-child(3) h3 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.social-card p:not(.feed-kicker) {
  color: var(--soft);
  max-width: 760px;
  font-size: 17px;
  line-height: 1.56;
}

.social-card:nth-child(2) p:not(.feed-kicker),
.social-card:nth-child(3) p:not(.feed-kicker) {
  font-size: 14px;
}

.photo-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #080808;
}

.photo-feed-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-supervision-note {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 42px);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.88), rgba(10, 9, 8, 0.7) 44%, rgba(10, 9, 8, 0.48)),
    url("/assets/portfolio/port-may/port-may-06.jpg") center 42% / cover;
  border: 1px solid rgba(240, 235, 227, 0.12);
}

.author-supervision-note::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 320px at 18% 8%, rgba(215, 184, 117, 0.12), transparent 68%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.author-supervision-note > * {
  position: relative;
  z-index: 1;
}

.author-supervision-note h3 {
  max-width: 720px;
}

.author-supervision-note p:not(.feed-kicker) {
  margin: 0;
  max-width: 760px;
  color: var(--soft);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.62;
}

.author-supervision-note p + p {
  margin-top: 18px;
}

.video-dialog {
  width: min(92vw, 520px);
  max-width: 520px;
  padding: 0;
  border: 1px solid rgba(215, 184, 117, 0.34);
  background: #060606;
  color: var(--text);
}

.video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.84);
}

.video-dialog video {
  display: block;
  width: 100%;
  max-height: 88vh;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
}

.video-dialog-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3;
}

.video-overlay-open {
  overflow: hidden;
}

.mobile-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: #000;
}

.mobile-video-overlay.is-open {
  display: flex;
}

.mobile-video-player {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  object-fit: contain;
  background: #000;
}

.mobile-video-close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 10000;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 32px;
  line-height: 1;
}

.pricing {
  background:
    radial-gradient(840px 480px at 86% 4%, rgba(240, 235, 227, 0.024), transparent 69%),
    radial-gradient(620px 360px at 12% 78%, rgba(211, 183, 126, 0.016), transparent 74%),
    linear-gradient(150deg, rgba(21, 20, 18, 0.96), rgba(13, 12, 11, 0.97));
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 590px;
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(21, 20, 19, 0.58);
}

.price-card--main {
  border-color: rgba(211, 183, 126, 0.5);
  background: rgba(211, 183, 126, 0.06);
}

.badge,
.term,
.role {
  color: var(--accent);
  font-size: 13px;
}

.price {
  margin: 20px 0 8px;
  font-family: var(--display-font);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-size: 38px;
}

.price-card ul {
  padding-left: 18px;
  color: var(--soft);
  line-height: 1.58;
}

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

.price-card .btn {
  margin-top: auto;
}

.team-grid {
  display: grid;
  gap: 26px;
}

.team-card {
  display: grid;
  grid-template-columns: 0.46fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border: 0;
  background: transparent;
}

.team-card:nth-child(even) {
  grid-template-columns: 1fr 0.46fr;
}

.team-card:nth-child(even) img {
  order: 2;
}

.team-card img {
  width: 100%;
  height: 560px;
  object-position: center top;
}

.team-card p {
  font-size: 17px;
  margin: 10px 0 0;
}

.team-card h3 {
  font-size: clamp(38px, 4vw, 58px);
}

.team-card .role {
  font-size: 15px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

summary {
  list-style: none;
  position: relative;
  padding-right: 34px;
  font-family: var(--display-font);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-size: 28px;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: translateY(-65%) rotate(45deg);
}

details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

details p {
  max-width: 780px;
  margin-bottom: 0;
}

.studio-about {
  padding-top: clamp(54px, 8vw, 94px);
  padding-bottom: clamp(54px, 8vw, 94px);
  background: #0d0c0b;
}

.studio-about__inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  border-top: 1px solid rgba(240, 235, 227, 0.16);
  padding-top: clamp(24px, 4vw, 42px);
}

.studio-about__eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.studio-about h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(36px, 5.4vw, 78px);
  line-height: 0.98;
}

.studio-about__content {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.7;
}

.studio-about__content p {
  margin: 0;
}

.studio-about__content p + p {
  margin-top: 18px;
}

.studio-about__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(240, 235, 227, 0.14);
  border-bottom: 1px solid rgba(240, 235, 227, 0.14);
}

.studio-about__points span {
  display: block;
  padding-left: 14px;
  border-left: 1px solid rgba(211, 183, 126, 0.48);
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  gap: 52px;
  background:
    radial-gradient(760px 420px at 18% 10%, rgba(240, 235, 227, 0.028), transparent 67%),
    radial-gradient(580px 340px at 92% 72%, rgba(211, 183, 126, 0.02), transparent 74%),
    linear-gradient(145deg, rgba(23, 21, 19, 0.96), rgba(13, 12, 11, 0.97));
}

.final-cta h2 {
  max-width: 720px;
}

.final-cta-copy {
  align-self: center;
}

.final-cta-copy p {
  max-width: 660px;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: min(100%, 520px);
  justify-self: end;
}

.form-title {
  font-size: 30px;
  margin-bottom: 4px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(240, 235, 227, 0.22);
  background: rgba(21, 20, 19, 0.28);
  color: var(--text);
  outline: none;
  padding: 0 14px;
}

.lead-form select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(240, 235, 227, 0.7) 50%),
    linear-gradient(135deg, rgba(240, 235, 227, 0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 15px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.lead-form textarea {
  padding-top: 12px;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form select option {
  color: #111;
}

.full {
  grid-column: 1 / -1;
}

.consent {
  grid-template-columns: auto 1fr !important;
  align-items: center;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.consent a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  font-size: 13px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(180px, 0.75fr));
  gap: clamp(28px, 4vw, 62px);
  padding: 58px clamp(24px, 5vw, 76px) 42px;
  background:
    linear-gradient(145deg, rgba(12, 11, 10, 0.98), rgba(17, 16, 15, 0.98));
  border-top: 1px solid var(--line);
}

.footer img {
  width: 132px;
  margin-bottom: 22px;
}

.footer h2 {
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--muted);
}

.footer p {
  font-size: 13px;
  margin: 0 0 10px;
  max-width: 360px;
}

.footer-col {
  padding-top: 6px;
}

.requisites {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 18px;
  max-width: none !important;
  color: var(--muted);
  font-size: 12px !important;
  line-height: 1.7;
}

dialog {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.56);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.lead-dialog {
  width: min(560px, calc(100vw - 32px));
  padding: 38px;
  text-align: center;
}

.lead-dialog .lead-form {
  justify-self: center;
  margin-inline: auto;
  text-align: left;
}

.lead-dialog .lead-form label,
.lead-dialog .lead-form .form-title,
.lead-dialog .lead-form .form-status {
  text-align: left;
}

.lead-dialog p {
  max-width: 440px;
  margin-inline: auto;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
  font-size: 28px;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  border-color: rgba(215, 184, 117, 0.7);
  background: var(--dark-button-hover);
  color: var(--accent-hover);
}

.gallery-dialog {
  width: min(980px, calc(100vw - 32px));
  padding: 54px 24px 24px;
}

.gallery-stage {
  position: relative;
}

.gallery-stage img {
  width: 100%;
  height: min(70vh, 720px);
  object-fit: cover;
  background: #111;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(240, 235, 227, 0.36);
  color: var(--text);
  background: rgba(16, 15, 14, 0.72);
  font-family: var(--display-font);
  font-size: 38px;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  border-color: rgba(215, 184, 117, 0.7);
  background: var(--dark-button-hover);
  color: var(--accent-hover);
}

.gallery-arrow--prev {
  left: 14px;
}

.gallery-arrow--next {
  right: 14px;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 16px;
}

.gallery-thumb {
  width: 92px;
  height: 68px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  padding: 0;
  background: #111;
  opacity: 0.62;
}

.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 899px) {
  .site-header {
    height: 72px;
    min-height: 72px;
    grid-template-columns: 80px 1fr 42px;
    gap: 10px;
    padding: 0 18px;
  }

  .brand img {
    width: 62px;
  }

  .mobile-phone {
    display: block;
    justify-self: center;
    font-size: 13px;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 18px;
    background: #111;
    border-bottom: 1px solid var(--line);
  }

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

  .nav a {
    display: none;
  }

  .nav a:nth-child(2),
  .nav a:nth-child(3) {
    display: block;
  }

  .header-actions {
    justify-self: end;
  }

  .header-actions .phone,
  .header-actions .btn {
    display: none;
  }

  .icon-menu {
    display: block;
  }

  .hero,
  .hero-body,
  .composition,
  .studio-about__inner,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .objects-grid,
  .composition-list,
  .steps,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .composition-copy h2 {
    white-space: normal;
  }

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

  .footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) and (max-width: 1368px) {
  .hero-body {
    grid-template-columns: minmax(0, 1.46fr) minmax(340px, 0.54fr);
    gap: clamp(26px, 3vw, 44px);
  }

  .hero-copy {
    max-width: 860px;
  }

  .hero-proof {
    gap: 16px;
  }

  .hero-proof strong {
    font-size: clamp(25px, 1.85vw, 31px);
  }

  .hero-offers h2 {
    font-size: clamp(20px, 1.55vw, 28px);
  }

  .hero-offers p {
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .social-cards {
    grid-template-columns: 1fr;
  }

  .social-card,
  .social-card:nth-child(1),
  .social-card:nth-child(2),
  .social-card:nth-child(3) {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .social-card .vertical-media {
    width: min(100%, 430px);
    margin: 0 auto;
  }

  .social-card > div:not(.vertical-media):not(.photo-feed-grid) {
    padding: 18px 0 0;
  }
}

@media (max-width: 760px) {
  .site-header,
  .section,
  .footer {
    width: 100%;
  }

  .section {
    padding: 48px 20px;
  }

  .hero {
    min-height: auto;
    gap: 34px;
    padding-top: 48px;
    align-items: start;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 58px);
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
  }

  .hero .lead {
    font-size: 17px;
    order: 1;
    margin-top: 0;
  }

  .hero-image {
    height: 100%;
  }

  .hero-offers {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    align-content: end;
    order: 3;
    margin-top: 34px;
  }

  .hero-offers article {
    min-height: auto;
    margin-left: 0 !important;
    padding: 18px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 30px;
    order: 2;
  }

  .hero-proof span {
    min-height: auto;
    min-width: 0;
  }

  .actions {
    order: 4;
    margin-top: 28px;
  }

  .hero-actions {
    grid-column: auto;
    align-self: auto;
  }

  .objects-grid article {
    min-height: 360px;
  }

  .mini-proof,
  .objects-grid,
  .composition-list,
  .studio-feed-head,
  .feed-feature,
  .feed-grid,
  .materials-strip,
  .steps,
  .projects,
  .price-grid,
  .lead-form,
  .footer {
    grid-template-columns: 1fr;
  }

  .composition {
    gap: 34px;
  }

  .studio-about__points {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .composition-list {
    border-top: 0;
    gap: 14px;
  }

  .composition-list article {
    padding: 18px;
    border: 1px solid rgba(240, 235, 227, 0.14);
    background: rgba(13, 12, 11, 0.36);
  }

  .composition-list h3 {
    font-family: Inter, Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
  }

  .composition-list p {
    margin-top: 8px;
    font-size: 14px;
  }

  .studio-feed-head p {
    min-width: 0;
    font-size: 15px;
  }

  .feed-feature {
    gap: 22px;
    margin-top: 26px;
  }

  .feed-feature-media,
  .feed-feature-media img {
    min-height: 520px;
  }

  .feed-feature h3,
  .materials-copy h3 {
    font-size: 34px;
  }

  .feed-feature-copy > p:not(.feed-kicker),
  .materials-copy p {
    font-size: 15px;
  }

  .feed-grid {
    gap: 16px;
    margin-top: 28px;
  }

  .feed-card {
    grid-template-rows: 320px 1fr;
  }

  .feed-card div {
    padding: 20px;
  }

  .feed-card h3 {
    font-size: 22px;
  }

  .materials-strip {
    padding: 20px;
  }

  .materials-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .materials-gallery img {
    height: 230px;
  }

  .process .steps {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: none;
    margin-left: 0;
    padding: 0 0 0 38px;
  }

  .process .steps article {
    min-height: auto;
    width: 100%;
    justify-self: start !important;
  }

  .process .steps::before {
    left: 16px;
    right: auto;
    top: 8px;
    bottom: 12px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(211, 183, 126, 0.72), rgba(240, 235, 227, 0.18), transparent);
  }

  .problem {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .problem-image {
    height: 330px;
    min-height: 0;
  }

  .problem-card {
    width: auto;
    margin: -80px 20px 48px;
    padding: 26px;
  }

  .portfolio-head {
    align-items: start;
    flex-direction: column;
  }

  .project,
  .project--wide {
    grid-column: auto;
    min-height: 520px;
  }

  .project div {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 20px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .team-card:nth-child(even) img {
    order: 0;
  }

  .team-card img {
    height: 500px;
  }

  .lead-form {
    width: 100%;
  }

  .gallery-arrow {
    width: 44px;
    height: 44px;
    font-size: 32px;
  }

  .footer {
    padding: 42px 20px;
  }

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

  .lead-dialog {
    padding: 32px 20px 22px;
  }
}

@media (min-width: 900px) and (max-width: 1368px) {
  .social-main {
    min-height: 0;
  }

  .social-card {
    grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
    min-height: 330px;
  }

  .social-card:nth-child(1) {
    grid-column: 1 / 13;
    min-height: 520px;
  }

  .social-card:nth-child(2) {
    grid-column: 1 / 7;
  }

  .social-card:nth-child(3) {
    grid-column: 7 / 13;
  }

  .social-card:nth-child(4) {
    grid-column: 1 / 7;
  }

  .social-card:nth-child(5) {
    grid-column: 7 / 13;
  }
}

@media (max-width: 899px) {
  .social-main,
  .social-cards,
  .author-supervision-note {
    grid-template-columns: 1fr;
  }

  .social-feed {
    gap: 22px;
    margin-top: 26px;
  }

  .social-main {
    min-height: 0;
    padding: 16px;
  }

  .social-copy {
    padding: 4px 0 2px;
  }

  .social-copy h3,
  .author-supervision-note h3 {
    font-size: 34px;
  }

  .social-copy p:not(.feed-kicker),
  .author-supervision-note > p {
    font-size: 15px;
  }

  .social-cards {
    gap: 16px;
  }

  .social-card {
    grid-column: auto !important;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px;
  }

  .social-card .vertical-media {
    width: min(100%, 430px);
    margin: 0 auto;
  }

  .social-card > div:not(.vertical-media):not(.photo-feed-grid) {
    padding: 18px;
  }

  .social-card h3 {
    font-size: 30px;
  }

  .social-card p:not(.feed-kicker) {
    font-size: 15px;
  }

  .author-supervision-note {
    padding: 20px;
  }

  .video-dialog {
    width: min(94vw, 430px);
  }
}

@media (max-width: 520px) {
  .studio-feed .section-head h2 {
    font-size: 43px;
  }

  .social-main {
    padding: 12px;
  }

  .social-main .vertical-media {
    width: 100%;
  }

  .video-open {
    width: 62px;
    height: 62px;
  }

  .photo-feed-grid {
    grid-template-columns: 1fr 1fr;
  }

  .video-dialog-close {
    top: 12px;
    right: 12px;
  }
}
