:root {
  --bg: #0b0b0c;
  --bg-soft: #121214;
  --bg-panel: rgba(255, 255, 255, 0.04);
  --bg-contrast: #050506;
  --text: #f5f1eb;
  --muted: rgba(245, 241, 235, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #af5a32;
  --accent-soft: rgba(175, 90, 50, 0.22);
  --white: #fffdf9;
  --ocre-red: #af5a32;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --page-gutter: 24px;
}

html {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='10' fill='%23af5a32'/%3E%3C/svg%3E") 14 14, auto;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sulphur Point", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(175, 90, 50, 0.12), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(175, 90, 50, 0.08), transparent 22%),
    linear-gradient(180deg, #0f1012 0%, #090909 52%, #050506 100%);
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(175, 90, 50, 0.12), transparent 24%),
    radial-gradient(circle at 78% 32%, rgba(255, 255, 255, 0.035), transparent 18%),
    radial-gradient(circle at 62% 84%, rgba(175, 90, 50, 0.08), transparent 20%);
}

body::after {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 92%);
}

a,
button,
.btn,
.nav-toggle,
input,
textarea,
select,
label[for],
[role="button"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='10' fill='%23af5a32'/%3E%3C/svg%3E") 14 14, pointer;
}

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

h1, h2, h3, .logo {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.container {
  width: min(1440px, calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
}

body:not([data-shell="admin"]) .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

body:not([data-shell="admin"]) .site-header.scrolled {
  background: rgba(7, 7, 8, 0.82);
  border-bottom-color: rgba(255, 253, 249, 0.16);
}

body[data-shell="admin"] .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 7, 8, 0.76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

body[data-shell="admin"] .site-header.scrolled {
  border-bottom-color: var(--line);
}

body[data-shell="admin"] {
  background:
    radial-gradient(circle at top left, rgba(175, 90, 50, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    #080808;
}

.nav a,
.nav-toggle,
.home-page .nav a,
.home-page .nav-toggle {
  color: var(--white);
}

.nav a::after,
.home-page .nav a::after {
  background: currentColor;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: auto;
  height: 58px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-social {
  display: none;
}

.nav-languages {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.nav a,
.nav button {
  font: inherit;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.98rem;
  font-weight: 700;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-bottom: 0;
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-lang-link {
  min-width: 42px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.86;
  text-shadow: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.nav-lang-link::after {
  display: none;
}

.nav-lang-link:hover,
.nav-lang-link:focus-visible,
.nav-lang-link.is-active {
  opacity: 1;
}

.nav-lang-link.is-active {
  background: rgba(255, 255, 255, 0.12);
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(175, 90, 50, 0.7);
  background: rgba(175, 90, 50, 0.12);
}

.nav .btn::after,
.nav .btn-ghost::after,
.nav a.btn::after,
.nav a.btn-ghost::after {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

.nav-toggle-icon {
  position: relative;
  width: 20px;
  height: 11px;
  display: inline-block;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle-icon::before {
  top: 0;
}

.nav-toggle-icon::after {
  top: 9px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 4.5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 4.5px;
  transform: rotate(-45deg);
}

.hero,
.page-hero {
  padding: 52px 0 84px;
}

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

body:not(.home-page) main > .page-hero:first-child {
  padding-top: 164px;
  padding-bottom: 68px;
}

.hero-fullscreen {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding: 0;
  color: var(--white);
  background: #16130f;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.08) 24%, rgba(0, 0, 0, 0.48) 72%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.18) 44%, rgba(0, 0, 0, 0.08) 100%);
}

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

.hero-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding-top: 140px;
  padding-bottom: 28px;
}

.hero-grid,
.project-hero,
.project-content,
.contact-grid,
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 56px;
  align-items: start;
}

.hero-copy {
  display: grid;
  gap: 26px;
  align-content: start;
  padding-top: 18px;
}

.hero-fullscreen .hero-copy {
  max-width: 980px;
  padding-top: 0;
  gap: 14px;
  margin-bottom: 190px;
}

.hero-copy h1,
.page-hero h1,
.cta h2,
.project-page h1 {
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  max-width: 14ch;
}

.hero-fullscreen .hero-copy h1 {
  max-width: 50vw;
  font-size: clamp(3.7rem, 7vw, 7rem);
}

.lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin-top: 1em;
}

.hero-fullscreen .eyebrow {
  color: var(--white);
}

.eyebrow,
.meta-label,
.project-kicker,
.step,
.metric-label {
  display: inline-block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
}

.feature-index {
  color: var(--accent);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.step {
  color: var(--accent);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-actions,
.admin-actions,
.admin-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual,
.image-card {
  position: relative;
}

.hero-video,
.image-card,
.project-image,
.project-gallery img,
.media-image {
  overflow: hidden;
  border-radius: 2px;
}

.hero-video {
  min-height: 700px;
  background: #d8d1c5;
}

.hero-video video,
.media-image,
.project-image img,
.project-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-process {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.hero-process-item {
  min-height: 210px;
  display: flex;
  align-items: end;
  color: var(--white);
  text-decoration: none;
  border-left: 1px solid rgba(255, 253, 249, 0.18);
  position: relative;
  overflow: hidden;
}

.hero-process-item:last-child {
  border-right: 1px solid rgba(255, 253, 249, 0.18);
}

.hero-process-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 6, 5, 0) 0%, rgba(7, 6, 5, 0.3) 44%, rgba(7, 6, 5, 0.72) 100%);
  transition: background 0.35s ease;
}

.hero-process-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px 18px 22px;
  display: grid;
  align-content: end;
  min-height: 210px;
}

.hero-process-kicker {
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 700;
  color: var(--white);
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.hero-process-detail {
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(28px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.35s ease, max-height 0.35s ease;
}

.hero-process-detail h3 {
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  color: var(--white);
}

.hero-process-detail p {
  max-width: none;
  width: 100%;
  color: rgba(255, 253, 249, 0.86);
  font-size: 1.1rem;
}

.hero-process-item:hover,
.hero-process-item:focus-visible,
.hero-process-item.is-active {
  min-height: 290px;
}

.hero-process-item:hover::after,
.hero-process-item:focus-visible::after,
.hero-process-item.is-active::after {
  background: linear-gradient(180deg, rgba(7, 6, 5, 0.02) 0%, rgba(7, 6, 5, 0.26) 30%, rgba(7, 6, 5, 0.88) 100%);
}

.hero-process-item:hover .hero-process-kicker,
.hero-process-item:focus-visible .hero-process-kicker,
.hero-process-item.is-active .hero-process-kicker {
  opacity: 0;
  transform: translateY(-18px);
}

.hero-process-item:hover .hero-process-detail,
.hero-process-item:focus-visible .hero-process-detail,
.hero-process-item.is-active .hero-process-detail {
  opacity: 1;
  transform: translateY(0);
  max-height: 180px;
}

.section {
  padding: 92px 0;
}

.section-alt,
.dark {
  background: rgba(255, 255, 255, 0.025);
}

.home-intro-dark {
  background:
    radial-gradient(circle at 12% 18%, rgba(175, 90, 50, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(8, 8, 9, 0.96) 0%, rgba(5, 5, 6, 0.98) 100%);
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 42px;
}

.section-head-wide {
  max-width: 1080px;
}

.section-head-tight {
  align-content: start;
  margin-bottom: 0;
}

.section-head h2,
.grid-2 h2,
.project-content h2,
.dark h2 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  max-width: 16ch;
}

.section-head p,
.grid-2 p,
.project-content p,
.contact-card p,
.feature-card p,
.footer-grid p {
  max-width: 64rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.legal-content {
  display: grid;
  gap: 22px;
}

.legal-block {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.legal-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.legal-block p,
.legal-block li {
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-block ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.editorial-section {
  position: relative;
  overflow: hidden;
}

.ocre-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(175, 90, 50, 0.24);
  pointer-events: none;
  z-index: 0;
  filter: blur(18px);
}

.ocre-dot-intro {
  width: 180px;
  height: 180px;
  right: 5%;
  top: 44px;
}

.ocre-dot-method {
  width: 120px;
  height: 120px;
  left: 4%;
  top: 62px;
}

.ocre-dot-feature {
  width: 240px;
  height: 240px;
  right: -40px;
  bottom: 54px;
}

.ocre-dot-gallery {
  width: 140px;
  height: 140px;
  left: 50%;
  top: 10px;
}

.ocre-dot-quote {
  width: 96px;
  height: 96px;
  left: 7%;
  top: 36px;
}

.title-ocre-word {
  font-family: "Sulphur Point", sans-serif;
  font-weight: 400;
  text-transform: lowercase;
}

.editorial-grid {
  display: grid;
  gap: 32px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.editorial-grid-intro,
.editorial-grid-feature,
.editorial-grid-team {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.editorial-grid-reel {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
}

.editorial-grid-projects {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 36px;
}

.featured-projects-band {
  position: relative;
  overflow: hidden;
  padding-inline: 0;
  background: #060606;
}

.featured-projects-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.74) 0%, rgba(5, 5, 5, 0.62) 34%, rgba(5, 5, 5, 0.48) 58%, rgba(5, 5, 5, 0.62) 100%),
    linear-gradient(180deg, rgba(175, 90, 50, 0.08), rgba(0, 0, 0, 0.08)),
    url("../img/DSC_7238.webp") center center / cover no-repeat;
  transform: scale(1.03);
}

.featured-projects-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 9vw, 120px);
}

.featured-projects-btn {
  display: inline-flex;
  align-self: start;
  justify-self: start;
  width: auto;
  min-width: 0;
  padding: 12px 22px;
  margin-top: 10px;
  background: rgba(20, 16, 13, 0.82);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff8f1;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.featured-projects-btn:hover,
.featured-projects-btn:focus-visible {
  background: rgba(12, 10, 8, 0.94);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fffdfa;
}

.featured-projects-band .section-head,
.featured-projects-band .project-card {
  color: var(--paper);
}

.featured-projects-band .project-image {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.featured-projects-band .project-link:hover .project-image img,
.featured-projects-band .project-link:focus-visible .project-image img {
  transform: scale(1.03);
}

.suppliers-section {
  background: rgba(255, 255, 255, 0.012);
}

.suppliers-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}

.suppliers-image {
  min-height: 260px;
}

.suppliers-image .media-image {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.suppliers-slider {
  position: relative;
  overflow: hidden;
  padding: 24px 0 6px;
}

.suppliers-slider::before,
.suppliers-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(38px, 8vw, 92px);
  z-index: 1;
  pointer-events: none;
}

.suppliers-slider::before {
  left: 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0));
}

.suppliers-slider::after {
  right: 0;
  background: linear-gradient(270deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0));
}

.suppliers-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: suppliers-marquee 24s linear infinite;
}

.supplier-logo {
  width: clamp(160px, 16vw, 220px);
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.supplier-logo img {
  width: 100%;
  max-width: 150px;
  max-height: 42px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.84;
}

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

.editorial-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.editorial-copy-compact {
  max-width: 42rem;
}

.editorial-copy h2 {
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  max-width: 14ch;
}

.editorial-copy p {
  max-width: 52rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.home-intro-btn {
  width: auto;
  align-self: start;
  justify-self: start;
}

.editorial-media {
  overflow: hidden;
  border-radius: 2px;
}

.editorial-media-tall {
  min-height: 620px;
}

.editorial-media-wide {
  min-height: 760px;
}

.feature-slider {
  position: relative;
  min-height: 760px;
  background:
    radial-gradient(circle at top left, rgba(175, 90, 50, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.feature-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 760px;
}

.feature-slider-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 28px;
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-slider-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.feature-slider-slide .media-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.editorial-reel {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.04);
}

.editorial-reel video {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
}

.editorial-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  display: grid;
  gap: 8px;
}

.feature-card-editorial {
  min-height: 300px;
}

.grid-3,
.timeline,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card,
.admin-card,
.contact-form,
.contact-card,
.project-meta,
.cta {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.feature-card {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
}

.feature-card h3,
.project-body h3,
.contact-card h3,
.admin-card h2 {
  font-size: clamp(1.9rem, 2.7vw, 2.6rem);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 30px;
}

.editorial-grid-projects .project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  background: transparent;
}

.project-link {
  display: grid;
  gap: 18px;
  color: inherit;
  text-decoration: none;
}

.project-image {
  aspect-ratio: 1.18 / 1;
  background: rgba(255, 255, 255, 0.05);
}

.project-image img {
  transition: transform 0.45s ease;
}

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

.project-body {
  display: grid;
  gap: 8px;
}

.project-body p {
  color: var(--muted);
  max-width: none;
  width: 100%;
}

.project-cta {
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.cta {
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: end;
  gap: 28px;
  padding: 40px;
}

.editorial-cta {
  display: grid;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(175, 90, 50, 0.5);
  border-radius: 999px;
  background: linear-gradient(135deg, #9f4d2a 0%, #af5a32 55%, #c36b41 100%);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.84rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(175, 90, 50, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

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

.btn-ghost:hover{
  border-color: var(--ocre-red);
  background: rgba(175, 90, 50, 0.1);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
}

.contact-form,
.contact-card,
.project-meta,
.admin-card,
.cta,
.project-gallery img {
  border-radius: 2px;
}

.contact-form,
.admin-card {
  padding: 28px;
}

.contact-hero-copy {
  display: grid;
  align-content: start;
  gap: 22px;
}

.contact-hero-copy .contact-form {
  margin-top: 8px;
}

.contact-form,
.admin-grid {
  display: grid;
  gap: 16px;
}

.contact-form label,
.admin-grid label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.privacy-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.privacy-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.privacy-consent span {
  line-height: 1.5;
  margin-left: 1em;
}

.privacy-consent a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-message {
  margin: 2px 0 0;
  color: #d77a4d;
}

.contact-message.is-success {
  color: #9ecb8b;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.admin-grid input,
.admin-grid select,
.admin-grid textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 0;
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.admin-grid input::placeholder,
.admin-grid select::placeholder,
.admin-grid textarea::placeholder {
  color: rgba(245, 241, 235, 0.46);
}

.contact-form select {
  appearance: none;
  color: var(--text);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(245, 241, 235, 0.7) 50%),
    linear-gradient(135deg, rgba(245, 241, 235, 0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.contact-form select:invalid {
  color: rgba(245, 241, 235, 0.46);
}

.contact-form select:not(:invalid) {
  color: var(--text);
}

.contact-form select option {
  color: #1e1a15;
  background: #fffdf9;
}

.contact-card,
.project-meta {
  display: grid;
  gap: 20px;
  padding: 28px;
}

.contact-map-card {
  display: grid;
  gap: 22px;
  padding: 28px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.contact-map-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.contact-map-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 14ch;
}

.contact-map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  background: rgba(255, 255, 255, 0.03);
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-content-simple {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  max-width: 980px;
}

.project-meta-item {
  display: grid;
  gap: 8px;
}

.project-gallery img {
  min-height: 420px;
  cursor: zoom-in;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(12, 10, 9, 0.92);
}

.project-lightbox[hidden] {
  display: none;
}

.project-lightbox-image {
  max-width: min(92vw, 1480px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.project-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.project-lightbox-open {
  overflow: hidden;
}

.image-duo,
.image-mosaic {
  display: grid;
  gap: 24px;
}

.image-duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-mosaic-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-mosaic-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.image-mosaic-editorial {
  grid-template-columns: 1.3fr 0.9fr 1.1fr 0.8fr;
}

.image-duo img,
.image-mosaic img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.image-duo-stacked {
  align-content: start;
}

.image-duo-stacked img:first-child {
  min-height: 320px;
}

.image-duo-stacked img:last-child {
  min-height: 460px;
}

.editorial-quote {
  max-width: 900px;
  display: grid;
  gap: 18px;
  padding: 56px 0 12px;
  position: relative;
  z-index: 1;
}

.editorial-quote p {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.editorial-quote span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: var(--muted);
}

.editorial-cta-home h2 {
  max-width: 16ch;
}

.admin-form {
  display: grid;
  gap: 20px;
}

.admin-accordion-item {
  overflow: hidden;
}

.admin-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-accordion-indicator {
  flex: 0 0 auto;
  margin-top: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(36, 29, 22, 0.16);
  background: rgba(255, 255, 255, 0.48);
  color: #8c5132;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-accordion-content {
  display: grid;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(36, 29, 22, 0.12);
  margin-top: 18px;
}

.admin-accordion-content[hidden] {
  display: none !important;
}

.admin-accordion-item.is-open .admin-accordion-indicator {
  background: rgba(140, 81, 50, 0.12);
  border-color: rgba(140, 81, 50, 0.28);
  color: #241d16;
}

.admin-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-card-head-stack {
  align-items: end;
  margin-bottom: 28px;
}

.admin-login-card {
  max-width: 560px;
  margin: 0 auto;
}

.admin-hidden {
  display: none;
}

.admin-message {
  color: #d77a4d;
  margin-top: 12px;
}

.admin-hint {
  color: var(--muted);
}

.admin-wide {
  grid-column: 1 / -1;
}

.admin-password-field {
  position: relative;
  display: block;
}

.admin-password-field input {
  padding-right: 106px;
}

.admin-password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #8c5132;
  font: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-password-toggle:hover,
.admin-password-toggle:focus-visible {
  color: #241d16;
}

.admin-page {
  min-height: 100svh;
  background:
    linear-gradient(180deg, #ebe6df 0%, #ddd5ca 100%);
  color: #241d16;
}

body[data-shell="admin"],
body[data-shell="admin"] h1,
body[data-shell="admin"] h2,
body[data-shell="admin"] h3,
body[data-shell="admin"] p,
body[data-shell="admin"] a,
body[data-shell="admin"] button,
body[data-shell="admin"] input,
body[data-shell="admin"] select,
body[data-shell="admin"] textarea,
body[data-shell="admin"] label,
body[data-shell="admin"] span,
body[data-shell="admin"] .eyebrow,
body[data-shell="admin"] .admin-kicker,
body[data-shell="admin"] .btn {
  font-family: "Sulphur Point", "Helvetica Neue", sans-serif;
  letter-spacing: 0;
}

body.admin-authenticated #admin-login,
body.admin-authenticated .admin-brand {
  display: none !important;
}

body.admin-authenticated #admin-panel {
  display: block !important;
}

.admin-brand {
  position: fixed;
  top: 20px;
  left: clamp(36px, 6vw, 72px);
  z-index: 40;
  display: inline-flex;
  align-items: center;
}

.admin-brand .logo-img {
  width: clamp(126px, 14vw, 182px);
  filter: none;
}

.admin-auth-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.admin-auth-panel {
  display: grid;
  align-content: center;
  gap: 38px;
  padding: clamp(36px, 6vw, 72px);
}

.admin-auth-copy {
  display: grid;
  gap: 16px;
  max-width: 36rem;
}

.admin-auth-copy h1,
.admin-dashboard-head h1 {
  font-size: clamp(3.2rem, 5vw, 5.8rem);
  max-width: 10ch;
}

.admin-auth-copy .lead,
.admin-dashboard-head .lead {
  max-width: 40rem;
}

.admin-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.admin-kicker {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
}

.admin-auth-panel .admin-login-card {
  width: min(100%, 560px);
  margin: 0;
}

.admin-auth-media {
  position: relative;
  min-height: 100svh;
  background: #111;
}

.admin-auth-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.12), rgba(8, 8, 8, 0.5));
}

.admin-auth-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-dashboard {
  display: grid;
  gap: 24px;
}

.admin-dashboard-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.admin-settings-card {
  display: grid;
  gap: 20px;
}

.admin-settings-block {
  display: grid;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(36, 29, 22, 0.12);
  background: rgba(255, 255, 255, 0.62);
}

.admin-settings-block-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.admin-settings-block h3 {
  margin: 6px 0 0;
  font-size: 1.2rem;
  color: #241d16;
}

.admin-settings-subgrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(36, 29, 22, 0.14);
  background: #fffdfa;
  color: #241d16;
}

.admin-toggle input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.admin-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  align-content: start;
  gap: 28px;
  padding: 32px 24px;
  background: linear-gradient(180deg, #201912 0%, #30261d 100%);
  color: #f5f1eb;
  border-right: 1px solid rgba(36, 29, 22, 0.16);
}

.admin-sidebar-brand .logo-img {
  width: 148px;
  display: block;
  filter: brightness(0) invert(1);
}

.admin-sidebar-copy {
  display: grid;
  gap: 8px;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav a {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 241, 235, 0.88);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.admin-nav a.is-active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.admin-nav a.is-disabled {
  opacity: 0.46;
  cursor: not-allowed;
}

.admin-nav a.is-disabled:hover,
.admin-nav a.is-disabled:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar-message {
  min-height: 2.8em;
  margin: 0;
  color: rgba(245, 241, 235, 0.78);
  font-size: 0.88rem;
  line-height: 1.45;
}

.admin-main {
  display: grid;
  gap: 24px;
  padding: 28px;
  background: linear-gradient(180deg, #f2eee9 0%, #e6dfd5 100%);
}

.admin-topbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 0 0;
}

.admin-topbar h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  max-width: none;
  color: #241d16;
}

.admin-overview-card {
  border: 1px solid rgba(36, 29, 22, 0.18);
  background: linear-gradient(180deg, #fffdfa 0%, #f4eee6 100%);
}

.admin-user-pill {
  margin-top: 10px;
  color: inherit;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.admin-users-list {
  display: grid;
  gap: 16px;
}

.admin-user-row {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(36, 29, 22, 0.12);
  background: rgba(255, 255, 255, 0.7);
  margin-top: 1em;
}

.admin-user-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-user-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-user-edit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-user-row p,
.admin-user-row span {
  color: var(--muted);
}

.admin-supplier-preview {
  width: 100%;
  max-width: 180px;
  max-height: 56px;
  object-fit: contain;
  display: block;
  padding: 10px 14px;
  border: 1px solid rgba(36, 29, 22, 0.12);
  background: #fffdfa;
}

body[data-shell="admin"] .admin-card,
body[data-shell="admin"] .admin-login-card {
  border: 1px solid rgba(36, 29, 22, 0.18);
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 18px 36px rgba(36, 29, 22, 0.08);
}

body[data-shell="admin"] .admin-grid input,
body[data-shell="admin"] .admin-grid select,
body[data-shell="admin"] .admin-grid textarea {
  border: 1px solid rgba(36, 29, 22, 0.14);
  background: #fffdfa;
  color: #241d16;
}

body[data-shell="admin"] .btn {
  background: #2c241d;
  color: #f7f2eb;
  border-color: #2c241d;
}

body[data-shell="admin"] .btn:hover,
body[data-shell="admin"] .btn:focus-visible {
  background: #1d1712;
  border-color: #1d1712;
}

body[data-shell="admin"] .btn.btn-ghost {
  background: transparent;
  color: #2c241d;
  border-color: rgba(36, 29, 22, 0.24);
}

body[data-shell="admin"] .btn.btn-ghost:hover,
body[data-shell="admin"] .btn.btn-ghost:focus-visible {
  background: rgba(36, 29, 22, 0.08);
  border-color: rgba(36, 29, 22, 0.36);
}

body[data-shell="admin"] .admin-grid input::placeholder,
body[data-shell="admin"] .admin-grid textarea::placeholder,
body[data-shell="admin"] .admin-hint,
body[data-shell="admin"] .admin-copy,
body[data-shell="admin"] .admin-message {
  color: rgba(50, 39, 30, 0.82);
}

body[data-shell="admin"] .admin-card h2,
body[data-shell="admin"] .admin-topbar h1,
body[data-shell="admin"] .admin-user-meta strong,
body[data-shell="admin"] label {
  color: #241d16;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 90;
}

.cookie-banner-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.cookie-banner-title {
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--accent);
}

.cookie-banner-text {
  max-width: 58ch;
  color: var(--muted);
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-preferences {
  margin-top: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.cookie-preferences-grid {
  display: grid;
  gap: 12px;
  margin: 12px 0 18px;
}

.cookie-preference-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.cookie-preference-item input[type="checkbox"] {
  margin-top: 2px;
}

.cookie-preference-item span {
  display: grid;
  gap: 4px;
}

.cookie-preference-item strong {
  color: var(--paper);
  font-size: 0.98rem;
}

.cookie-preference-item small {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.timeline > div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.timeline > div p {
  font-size: 1.12rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.footer-brand-mark {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: clamp(82px, 8vw, 120px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(175, 90, 50, 0.28), rgba(175, 90, 50, 0.08) 58%, transparent 72%);
  pointer-events: none;
  opacity: 0.92;
}

.footer-brand-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 18px 32px rgba(175, 90, 50, 0.2));
}

.footer-brand-dot {
  fill: var(--accent);
}

.footer-brand-shape {
  fill: var(--white);
}

.footer-columns {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.footer-column {
  position: relative;
  min-height: 340px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 34px 28px 40px;
  border-right: 1px solid var(--line);
}

.footer-column:last-child {
  border-right: 0;
}

.footer-column h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  margin-bottom: 28px;
}

.footer-column p,
.footer-column a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-column .footer-btn:hover,
.footer-column .footer-btn:focus-visible {
  text-decoration: none;
}

.footer-btn {
  margin-top: 14px;
  width: fit-content;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
}

.footer-bottom-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-meta a {
  color: var(--muted);
  text-decoration: none;
}

.footer-mantra {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 700;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.hero-copy,
.hero-visual {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-rise 0.8s ease forwards;
}

.hero-visual {
  animation-delay: 0.18s;
}

body.loaded .hero-copy,
body.loaded .hero-visual {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .project-hero,
  .project-content,
  .contact-grid,
  .grid-2,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-hero h1,
  .cta h2,
  .project-page h1 {
    max-width: 12ch;
  }

  .hero-fullscreen .hero-copy h1 {
    width: 100%;
    max-width: 100%;
  }

  .hero-video {
    min-height: 520px;
  }

  .hero-shell {
    padding-top: 116px;
    padding-bottom: 24px;
  }

  .hero-fullscreen .hero-copy {
    max-width: 860px;
    margin-bottom: 210px;
  }

  .hero-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid,
  .grid-3,
  .timeline,
  .project-gallery,
  .image-mosaic-3,
  .image-mosaic-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-brand-mark {
    width: 96px;
    right: 20px;
    bottom: 20px;
  }

  .footer-column:nth-child(2) {
    border-right: 0;
  }

  .footer-column:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .editorial-grid-intro,
  .editorial-grid-feature,
  .editorial-grid-team,
  .editorial-grid-projects,
  .editorial-grid-reel {
    grid-template-columns: 1fr;
  }

  .editorial-media-tall,
  .editorial-media-wide {
    min-height: 480px;
  }

  .editorial-reel {
    margin-left: 0;
  }

  .ocre-dot-feature {
    width: 180px;
    height: 180px;
    right: -20px;
  }

  .image-mosaic-editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-gallery img {
    min-height: 320px;
  }

  .image-duo img,
  .image-mosaic img {
    min-height: 260px;
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .header-inner {
    gap: 16px;
    padding: 14px 0;
  }

  .logo-img {
    height: 46px;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }

  .nav a.btn,
  .nav a.btn-sm,
  .nav a.btn-ghost {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.74rem;
  }

  .nav-languages {
    padding: 3px;
  }

  .nav-lang-link {
    min-width: 34px;
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .hero-shell {
    padding-top: 118px;
    padding-bottom: 22px;
  }

  .hero-fullscreen .hero-copy {
    max-width: 720px;
    margin-bottom: 156px;
  }

  .hero-fullscreen .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(3.2rem, 5.6vw, 5rem);
  }

  .hero-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-process-item,
  .hero-process-item:hover,
  .hero-process-item:focus-visible,
  .hero-process-item.is-active {
    min-height: 160px;
  }

  .hero-process-inner {
    min-height: 160px;
    padding: 18px 14px 16px;
  }

  .hero-process-kicker {
    font-size: 1rem;
  }

  .hero-process-detail h3 {
    font-size: 1.2rem;
  }

  .hero-process-detail p {
    font-size: 0.92rem;
  }
}

@media (max-width: 820px) {
  :root {
    --page-gutter: 14px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .container {
    width: min(1280px, calc(100% - (var(--page-gutter) * 2)));
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    position: relative;
    z-index: 41;
    padding: 10px 12px;
    border-color: rgba(255, 253, 249, 0.22);
    background: rgba(10, 9, 8, 0.28);
    backdrop-filter: blur(14px);
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 18px;
    padding: 96px 24px 32px;
    background:
      radial-gradient(circle at top left, rgba(175, 90, 50, 0.18), transparent 38%),
      linear-gradient(180deg, rgba(12, 11, 10, 0.96) 0%, rgba(6, 6, 6, 0.98) 100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .nav.nav-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a,
  .nav button {
    width: auto;
  }

  .nav a {
    color: var(--white);
    font-size: clamp(2rem, 8vw, 3.1rem);
    letter-spacing: 0.06em;
    text-shadow: none;
    min-height: auto;
    opacity: 1;
  }

  .nav a::after {
    bottom: -4px;
  }

  .nav a.btn,
  .nav a.btn-sm,
  .nav a.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    line-height: 1;
    margin-top: 12px;
    padding: 0 22px;
    border-color: rgba(255, 253, 249, 0.18);
    background: rgba(255, 253, 249, 0.08);
    font-size: 0.92rem;
  }

  .nav a.btn,
  .nav a.btn-sm {
    background: var(--accent);
    border-color: rgba(175, 90, 50, 0.78);
    color: #fff8f1;
  }

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

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 340px;
  }

  .nav-languages {
    margin-top: 6px;
    padding: 3px;
  }

  .nav-lang-link {
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .nav-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
  }

  .nav-social .social-link {
    width: 56px;
    height: 56px;
  }

  .nav-social .social-link svg {
    width: 20px;
    height: 20px;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .cookie-banner-inner,
  .admin-user-row {
    display: grid;
  }

  .admin-user-meta {
    flex-direction: column;
    align-items: start;
  }

  .admin-user-edit {
    grid-template-columns: 1fr;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .hero,
  .page-hero,
  .section {
    padding: 56px 0;
  }

  .hero-fullscreen {
    min-height: 100svh;
    padding: 0;
  }

  .hero-shell {
    min-height: 100svh;
    padding-top: 104px;
    padding-bottom: 22px;
  }

  .hero-copy h1,
  .page-hero h1,
  .cta h2,
  .project-page h1,
  .section-head h2,
  .grid-2 h2,
  .project-content h2 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
    max-width: none;
  }

  .hero-video {
    min-height: 380px;
  }

  .hero-fullscreen .hero-copy h1 {
    width: 100%;
    max-width: 11ch;
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .hero-fullscreen .hero-copy {
    max-width: 24rem;
    margin-bottom: 0;
    gap: 10px;
  }

  .hero-fullscreen .eyebrow {
    display: none;
  }

  .hero-process {
    position: static;
    margin-top: 22px;
    grid-template-columns: 1fr;
    gap: 8px;
    background: transparent;
  }

  .hero-process-item,
  .hero-process-item:hover,
  .hero-process-item:focus-visible,
  .hero-process-item.is-active {
    min-height: auto;
    border: 1px solid rgba(255, 253, 249, 0.18);
    background: rgba(8, 7, 6, 0.4);
  }

  .hero-process-item::after {
    display: none;
  }

  .hero-process-inner {
    min-height: auto;
    padding: 13px 14px;
  }

  .hero-process-kicker {
    opacity: 1;
    transform: none;
    font-size: 1rem;
  }

  .hero-process-detail,
  .hero-process-item:hover .hero-process-detail,
  .hero-process-item:focus-visible .hero-process-detail {
    display: none;
  }

  .hero-process-item.is-active {
    background: rgba(8, 7, 6, 0.72);
  }

  .hero-process-item.is-active .hero-process-kicker {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
  }

  .hero-process-item.is-active .hero-process-detail {
    display: grid;
    opacity: 1;
    transform: none;
    max-height: none;
  }

  .project-grid,
  .grid-3,
  .timeline,
  .project-gallery,
  .image-duo,
  .image-mosaic-3,
  .image-mosaic-4 {
    grid-template-columns: 1fr;
  }

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

  .footer-brand-mark {
    width: 68px;
    right: 0;
    bottom: 18px;
    opacity: 0.78;
  }

  .footer-column {
    min-height: auto;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-column:nth-child(2) {
    border-right: 0;
  }

  .footer-column:last-child {
    border-bottom: 0;
  }

  .footer-bottom-inner,
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom-inner {
    padding: 18px 0 24px;
  }

  .footer-mantra {
    font-size: clamp(1.5rem, 8vw, 2.4rem);
  }

  .image-mosaic-editorial {
    grid-template-columns: 1fr;
  }

  .editorial-copy h2 {
    max-width: none;
  }

  .editorial-media-tall,
  .editorial-media-wide {
    min-height: 320px;
  }

  .ocre-dot {
    opacity: 0.7;
  }

  .ocre-dot-intro,
  .ocre-dot-feature,
  .ocre-dot-gallery {
    width: 96px;
    height: 96px;
  }

  .ocre-dot-method,
  .ocre-dot-quote {
    width: 72px;
    height: 72px;
  }

  .project-gallery img {
    min-height: 240px;
  }

  .image-duo img,
  .image-mosaic img {
    min-height: 220px;
  }

  .image-duo-stacked img:last-child {
    min-height: 220px;
  }

  .hero-actions,
  .admin-actions,
  .admin-card-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-auth-shell {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    min-height: auto;
  }

  .admin-main {
    padding: 18px;
  }

  .admin-topbar,
  .admin-dashboard-head,
  .admin-card-head-stack {
    align-items: flex-start;
    flex-direction: column;
  }

  .suppliers-intro {
    grid-template-columns: 1fr;
  }

  .admin-brand {
    top: 16px;
    left: 16px;
  }

  .admin-auth-media {
    min-height: 42vh;
    order: -1;
  }
}

@media (max-height: 860px) and (min-width: 821px) {
  .hero-shell {
    padding-top: 118px;
    padding-bottom: 20px;
  }

  .hero-fullscreen .hero-copy {
    gap: 14px;
  }

  .hero-fullscreen .hero-copy h1 {
    font-size: clamp(3.4rem, 6.1vw, 5.8rem);
  }

  .hero-fullscreen .lead {
    font-size: 1rem;
  }

  .hero-fullscreen .hero-copy {
    max-width: 860px;
    margin-bottom: 174px;
  }

  .hero-process-item {
    min-height: 180px;
  }

  .hero-process-item:hover,
  .hero-process-item:focus-visible,
  .hero-process-item.is-active {
    min-height: 240px;
  }
}
