/* Turna Media — editorial broadcast identity */
:root {
  --ink: #0a1018;
  --ink-soft: #121b28;
  --slate: #1c2a3a;
  --mist: #d7e0eb;
  --cloud: #f2f5f8;
  --paper: #fafbfc;
  --copper: #b8733a;
  --copper-bright: #d4924f;
  --gold: #e0b87a;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(10, 16, 24, 0.1);
  --text: #15202b;
  --text-muted: #5a6a7a;
  --text-on-dark: rgba(242, 245, 248, 0.92);
  --text-on-dark-muted: rgba(215, 224, 235, 0.72);
  --radius: 2px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.5rem;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

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

/* ——— Layout ——— */
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section--ink {
  background: var(--ink);
  color: var(--text-on-dark);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
}

.section--ink .eyebrow {
  color: var(--gold);
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section--ink .section-head p {
  color: var(--text-on-dark-muted);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--copper);
  color: #fff;
}

.btn--primary:hover {
  background: var(--copper-bright);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: var(--slate);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Nav ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  overflow: visible;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 16, 24, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 120;
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.lang-switch__link {
  color: rgba(255, 255, 255, 0.62);
  padding: 0.2rem 0.15rem;
  transition: color 0.25s var(--ease);
}

.lang-switch__link:hover,
.lang-switch__link.is-active {
  color: var(--gold);
}

.lang-switch__sep {
  color: rgba(255, 255, 255, 0.3);
  user-select: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  z-index: 2;
}

.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--gold);
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.brand__ltd {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
  font-weight: 500;
}

.nav-drawer,
.nav-backdrop {
  display: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}

.nav__links a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 130;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  background: #fff;
  margin: 0.35rem auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 2rem) 0 4.5rem;
  overflow: hidden;
  color: #fff;
}

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

.hero__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: hero-drift 28s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(10, 16, 24, 0.94) 0%,
      rgba(10, 16, 24, 0.72) 42%,
      rgba(10, 16, 24, 0.45) 100%
    ),
    linear-gradient(to top, rgba(10, 16, 24, 0.88) 0%, transparent 45%);
  z-index: 1;
}

.hero__waves {
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' fill='none'%3E%3Cpath d='M0 100 Q150 40 300 100 T600 100 T900 100 T1200 100' stroke='%23e0b87a' stroke-width='1' opacity='.5'/%3E%3Cpath d='M0 120 Q150 70 300 120 T600 120 T900 120 T1200 120' stroke='%23e0b87a' stroke-width='1' opacity='.35'/%3E%3Cpath d='M0 140 Q150 100 300 140 T600 140 T900 140 T1200 140' stroke='%23e0b87a' stroke-width='1' opacity='.2'/%3E%3C/svg%3E")
    center bottom / cover no-repeat;
  animation: waves 8s ease-in-out infinite alternate;
}

@keyframes waves {
  from {
    opacity: 0.25;
    transform: translateY(6px);
  }
  to {
    opacity: 0.45;
    transform: translateY(0);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  max-width: 40rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.15s forwards;
}

.hero__brand span {
  display: block;
  font-weight: 500;
  font-size: 0.35em;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin-bottom: 1rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.35s forwards;
}

.hero__lead {
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
  max-width: 34ch;
  margin-bottom: 2rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.5s forwards;
}

.hero .btn-group {
  opacity: 0;
  animation: rise 1s var(--ease) 0.65s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2rem;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  animation: pulse-scroll 2.4s ease-in-out infinite;
}

@keyframes pulse-scroll {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.85;
  }
}

/* ——— Intro strip ——— */
.intro {
  background: var(--ink-soft);
  color: var(--text-on-dark);
  padding: 1.75rem 0;
  border-block: 1px solid var(--line);
}

.intro__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.intro__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-on-dark-muted);
}

.intro__item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
  flex-shrink: 0;
}

@media (min-width: 901px) {
  .lang-switch {
    margin-left: 0;
    order: 3;
  }

  .nav {
    gap: 1.25rem;
  }

  .brand {
    order: 1;
  }

  .nav__links--desktop {
    order: 2;
    margin-left: auto;
  }

  .nav-toggle {
    order: 4;
  }
}

/* ——— About ——— */
.about__grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.85fr) 1.35fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
}

.about__panel {
  position: relative;
  min-height: 100%;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(212, 146, 79, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 90%, rgba(184, 115, 58, 0.12), transparent 50%),
    linear-gradient(165deg, #152030 0%, var(--ink) 55%, #0d1520 100%);
  overflow: hidden;
}

.about__panel::before {
  content: "";
  position: absolute;
  inset: auto 0 12% 0;
  height: 28%;
  opacity: 0.4;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 80' fill='none'%3E%3Cpath d='M0 40 Q50 10 100 40 T200 40 T300 40 T400 40' stroke='%23e0b87a' stroke-width='1' opacity='.6'/%3E%3Cpath d='M0 50 Q50 28 100 50 T200 50 T300 50 T400 50' stroke='%23e0b87a' stroke-width='1' opacity='.35'/%3E%3Cpath d='M0 60 Q50 45 100 60 T200 60 T300 60 T400 60' stroke='%23e0b87a' stroke-width='1' opacity='.2'/%3E%3C/svg%3E")
    center bottom / 120% no-repeat;
}

.about__panel-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.about__mark {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.35rem;
}

.about__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.about__role {
  font-size: 0.72rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.about__company {
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 1.5rem;
}

.about__meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about__meta li {
  font-size: 0.9rem;
  color: rgba(242, 245, 248, 0.78);
  padding-left: 0.9rem;
  position: relative;
}

.about__meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
}

.about__est {
  margin-top: auto;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(224, 184, 122, 0.75);
  font-family: var(--font-display);
  font-weight: 600;
}

.about__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.about__copy p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.about__copy p strong {
  color: var(--text);
  font-weight: 600;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}

.about__stats dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--copper);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.about__stats dd {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.35;
}

/* ——— Services ——— */
.services__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
  transition: padding 0.35s var(--ease);
}

.service:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid var(--line);
}

.service:nth-child(even) {
  padding-left: 2rem;
}

.service:hover {
  padding-left: 0.35rem;
}

.service:nth-child(even):hover {
  padding-left: 2.35rem;
}

.service__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  padding-top: 0.2rem;
}

.service h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.service p {
  color: var(--text-on-dark-muted);
  font-size: 0.98rem;
  max-width: 36ch;
}

/* ——— Work / YouTube ——— */
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.work-item {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--slate);
  display: block;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.9) brightness(0.85);
}

.work-item:hover img {
  transform: scale(1.06);
  filter: saturate(1) brightness(1);
}

.work-item__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 16, 24, 0.25);
  transition: background 0.35s var(--ease);
}

.work-item:hover .work-item__play {
  background: rgba(10, 16, 24, 0.4);
}

.work-item__play span {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  color: #fff;
  backdrop-filter: blur(4px);
  background: rgba(10, 16, 24, 0.35);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.work-item:hover .work-item__play span {
  transform: scale(1.08);
  background: var(--copper);
  border-color: var(--copper);
}

.work-item__play svg {
  width: 0.9rem;
  height: 0.9rem;
  margin-left: 2px;
}

/* ——— Photo gallery ——— */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.photo-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--slate);
  cursor: pointer;
  display: block;
  width: 100%;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
  filter: saturate(0.92) brightness(0.92);
}

.photo-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 24, 0);
  transition: background 0.35s var(--ease);
  pointer-events: none;
}

.photo-item:hover img,
.photo-item:focus-visible img {
  transform: scale(1.06);
  filter: saturate(1) brightness(1);
}

.photo-item:hover::after,
.photo-item:focus-visible::after {
  background: rgba(10, 16, 24, 0.18);
}

.photo-item:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

/* Masonry-like feature on larger set: first two span taller */
.photo-item:nth-child(1),
.photo-item:nth-child(7) {
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}

.photo-item:nth-child(1) img,
.photo-item:nth-child(7) img {
  min-height: 100%;
}

/* ——— Columns / writing ——— */
.columns-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.column-row {
  display: grid;
  grid-template-columns: 8rem 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.3s var(--ease);
}

.column-row:first-child {
  border-top: 1px solid var(--line-dark);
}

.column-row:hover {
  background: rgba(184, 115, 58, 0.04);
}

.column-row__meta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
}

.column-row h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.column-row p {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 52ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.column-row__arrow {
  font-size: 1.35rem;
  color: var(--copper);
  transition: transform 0.35s var(--ease);
  align-self: center;
}

.column-row:hover .column-row__arrow {
  transform: translateX(4px);
}

/* ——— Contact ——— */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.contact__info h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.contact__info > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 36ch;
}

.contact__details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__details li {
  display: grid;
  gap: 0.2rem;
}

.contact__details span {
  font-size: 0.72rem;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
}

.contact__details a,
.contact__details strong {
  font-weight: 500;
  font-size: 1.05rem;
}

.contact__details a:hover {
  color: var(--copper);
}

.contact__form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(184, 115, 58, 0.12);
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.form-note.is-success {
  color: #2d6a4f;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 3.5rem 0 2rem;
}

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

.footer__brand .brand {
  margin-bottom: 1rem;
}

.footer__brand p {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  max-width: 28ch;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.footer__col a {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  transition: color 0.25s var(--ease);
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

/* ——— Articles / sub pages ——— */
.page-articles .site-header,
.page-sub .site-header {
  background: rgba(10, 16, 24, 0.92);
  backdrop-filter: blur(14px);
}

.page-hero {
  padding: calc(var(--nav-h) + 3rem) 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(184, 115, 58, 0.14), transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--text-on-dark);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.85rem;
}

.page-hero__lead {
  max-width: 36rem;
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
}

.articles-section {
  padding-top: 3rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-dark);
  transition: border-color 0.3s var(--ease), transform 0.35s var(--ease);
  min-height: 100%;
}

.article-card:hover {
  border-color: rgba(184, 115, 58, 0.45);
  transform: translateY(-2px);
}

.article-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 0;
}

.article-card__media {
  display: block;
  overflow: hidden;
  background: var(--slate);
  aspect-ratio: 16 / 10;
}

.article-card--featured .article-card__media {
  aspect-ratio: auto;
  min-height: 100%;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.article-card:hover .article-card__media img {
  transform: scale(1.04);
}

.article-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.4rem 1.5rem;
  flex: 1;
}

.article-card--featured .article-card__body {
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.article-card__meta {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}

.article-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.article-card--featured .article-card__title {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.article-card__title a {
  color: var(--text);
  transition: color 0.25s var(--ease);
}

.article-card__title a:hover {
  color: var(--copper);
}

.article-card__excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.article-card--featured .article-card__excerpt {
  -webkit-line-clamp: 5;
  font-size: 1.02rem;
}

.article-card__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--copper);
  margin-top: 0.35rem;
  transition: transform 0.3s var(--ease), color 0.25s var(--ease);
  align-self: flex-start;
}

.article-card__link:hover {
  color: var(--copper-bright);
  transform: translateX(3px);
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* ——— Lightbox ——— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 16, 24, 0.92);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

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

.lightbox__frame {
  width: min(100%, 56rem);
  aspect-ratio: 16 / 9;
  max-height: min(80dvh, 100%);
  background: #000;
  position: relative;
  overflow: hidden;
}

.lightbox__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.lightbox__photo {
  margin: 0;
  max-width: min(100%, 56rem);
  max-height: min(88dvh, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox__photo img {
  max-width: 100%;
  max-height: min(78dvh, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(10, 16, 24, 0.6);
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  border-radius: var(--radius);
  transition: background 0.25s var(--ease);
  z-index: 2;
}

.lightbox__close:hover {
  background: var(--copper);
  border-color: var(--copper);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(10, 16, 24, 0.55);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lightbox__nav:hover {
  background: var(--copper);
  border-color: var(--copper);
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .about__grid,
  .contact__grid,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .about__panel {
    min-height: 0;
  }

  .about__panel-inner {
    padding: 1.5rem 1.35rem;
  }

  .about__meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1.1rem;
    margin-bottom: 1rem;
  }

  .about__mark {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.85rem;
  }

  .about__company {
    margin-bottom: 0;
  }

  .about__est {
    margin-top: 0.25rem;
  }

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

  .service:nth-child(odd),
  .service:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .service:nth-child(even):hover,
  .service:hover {
    padding-left: 0.35rem;
  }

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

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

  .photo-item:nth-child(1),
  .photo-item:nth-child(7) {
    grid-row: auto;
    aspect-ratio: 1;
  }

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

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

  .article-card--featured .article-card__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .column-row {
    grid-template-columns: 1fr auto;
    gap: 0.75rem 1rem;
  }

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

  .nav-toggle {
    display: block;
  }

  .nav__links--desktop {
    display: none;
  }

  /* Ensure header does not create a containing block / clip layer for the drawer */
  .site-header {
    overflow: visible;
  }

  body.nav-is-open .site-header {
    z-index: 130;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Dimmed overlay — body-level full viewport */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 120;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    background: rgba(6, 10, 16, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  }

  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Right drawer — full viewport height, body-level */
  .nav-drawer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 125;
    width: min(86vw, 20.5rem);
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: calc(var(--nav-h) + 0.5rem) 0 1.75rem;
    background: linear-gradient(180deg, #101820 0%, var(--ink) 100%);
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 48px rgba(0, 0, 0, 0.4);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0.45s var(--ease);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-drawer.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  .nav-drawer__head {
    display: block;
    flex-shrink: 0;
    padding: 0 1.5rem 1.25rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-drawer__label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
  }

  .nav-drawer .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    flex: 1 1 auto;
  }

  .nav-drawer .nav__links a {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.88);
    padding: 1.05rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.25s var(--ease), background 0.25s var(--ease),
      padding-left 0.3s var(--ease);
  }

  .nav-drawer .nav__links a:hover,
  .nav-drawer .nav__links a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    padding-left: 1.75rem;
  }

  .nav-drawer__foot {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-shrink: 0;
    padding: 1.25rem 1.5rem 0;
    margin-top: auto;
    border-top: 1px solid var(--line);
  }

  .nav-drawer__foot .btn {
    width: 100%;
  }

  .nav-drawer__phone {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-on-dark-muted);
    letter-spacing: 0.02em;
  }

  .nav-drawer__phone:hover {
    color: var(--gold);
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 600px) {
  .work__grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .lightbox__nav--prev {
    left: 0.5rem;
  }

  .lightbox__nav--next {
    right: 0.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about__stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .wrap {
    width: min(100% - 1.75rem, var(--max));
  }
}

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

  html {
    scroll-behavior: auto;
  }
}
