
:root {
  --black: #11100f;
  --dark: #191715;
  --dark-light: #24211d;
  --champagne: #d5b77a;
  --champagne-light: #e3cca0;
  --ivory: #f2ede3;
  --cream: #e8e0d3;
  --muted: #aba295;
  --graphite: #55504b;
  --border: #39352f;
  --burgundy: #7e222c;

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;

  --container: 1280px;
  --header-height: 86px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 14px;
  overflow-x: hidden;
}

button,
input {
  font-family: var(--font-body);
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

.section-spacing {
  padding: 140px 0;
}

::selection {
  background: var(--champagne);
  color: var(--black);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
.person-card:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 4px;
}


/* HEADER */

.header {
  width: 100%;
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.4s ease,
              border-color 0.4s ease;
}

.header.scrolled {
  background: rgba(17, 16, 15, 0.96);
  border-color: var(--border);
  backdrop-filter: blur(16px);
}

.nav-container {
  width: 90%;
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: 1;
  color: var(--champagne);
  font-weight: 600;
  letter-spacing: -2px;
}

.logo-divider {
  width: 1px;
  height: 30px;
  background: var(--champagne);
  opacity: 0.5;
}

.logo-subtitle {
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 2px;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 43px;
}

.desktop-nav a {
  position: relative;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  padding: 12px 0;
  transition: color 0.3s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 1px;
  background: var(--champagne);
  transition: width 0.3s ease;
}

.desktop-nav a:hover {
  color: var(--champagne);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-edition {
  font-size: 9px;
  color: var(--champagne);
  letter-spacing: 1px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 30px;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--ivory);
}

.mobile-nav {
  display: none;
}


/* HERO */

.hero {
  height: 100vh;
  min-height: 690px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image:
    url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba");
  background-size: cover;
  background-position: center;
  filter: brightness(0.62);
  transform: scale(1.05);
  animation: heroZoom 8s ease-out forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(10, 9, 9, 0.93) 0%,
      rgba(10, 9, 9, 0.65) 48%,
      rgba(10, 9, 9, 0.22) 100%
    ),
    linear-gradient(
      0deg,
      rgba(17, 16, 15, 0.85) 0%,
      transparent 30%,
      transparent 70%,
      rgba(17, 16, 15, 0.30) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
}

.hero-eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--champagne);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
}

.gold-line,
.section-line {
  width: 40px;
  height: 1px;
  background: var(--champagne);
  flex-shrink: 0;
}

.hero h1 {
  max-width: 1100px;
  margin: 28px 0 24px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 120px;
  line-height: 0.91;
  letter-spacing: -4px;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 em {
  text-transform: none;
  color: var(--champagne);
  font-weight: 400;
}

.hero-description {
  max-width: 470px;
  color: var(--cream);
  font-size: 13px;
  line-height: 2.1;
  letter-spacing: 0.3px;
  margin-bottom: 36px;
}

.primary-button {
  min-width: 244px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 18px 22px;
  border: 1px solid var(--champagne);
  color: var(--champagne);
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 600;
  transition: background 0.35s ease,
              color 0.35s ease;
}

.primary-button:hover {
  background: var(--champagne);
  color: var(--black);
}

.button-arrow {
  font-size: 20px;
  line-height: 1;
}

.hero-bottom {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cream);
  font-size: 9px;
  letter-spacing: 2px;
}

.hero-bottom a {
  transition: color 0.3s ease;
}

.hero-bottom a:hover {
  color: var(--champagne);
}

.hero-bottom a span {
  color: var(--champagne);
  margin-left: 10px;
  font-size: 16px;
}

.hero-side-label {
  position: absolute;
  right: 26px;
  top: 50%;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--champagne);
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1);
  }
}


/* ABOUT */

.about {
  background: var(--black);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 110px;
}

.about-visual {
  position: relative;
}

.about-image {
  height: 620px;
  overflow: hidden;
  background: var(--dark-light);
}

.about-image-placeholder {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 35px;
  background:
    linear-gradient(
      180deg,
      rgba(17, 16, 15, 0.08),
      rgba(17, 16, 15, 0.9)
    ),
    url("images/sec-1.jpg")
    center / cover;
}

.about-image-placeholder span {
  font-family: var(--font-heading);
  color: var(--ivory);
  font-size: 53px;
  line-height: 0.95;
  font-weight: 500;
}

.about-image-label {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.5px;
}

.about-image-label span:first-child {
  color: var(--champagne);
}

.about-content h2,
.persons-heading h2,
.newsletter h2 {
  font-family: var(--font-heading);
  font-size: 79px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -2px;
}

.about-content h2 {
  margin: 31px 0;
}

.about-content h2 em,
.persons-heading h2 em,
.newsletter h2 em {
  display: block;
  color: var(--champagne);
  font-weight: 400;
}

.about-copy {
  max-width: 480px;
}

.about-copy p {
  font-size: 13px;
  color: var(--muted);
  line-height: 2.2;
  margin-bottom: 22px;
}

.about-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 35px 0 25px;
}

.about-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.about-bottom > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
}

.text-link {
  font-size: 10px;
  color: var(--champagne);
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
}

.text-link span {
  margin-left: 8px;
  font-size: 18px;
}


/* PERSONS SECTION */

.persons {
  background: #171512;
}

.persons-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 70px;
  margin-bottom: 65px;
}

.persons-heading h2 {
  margin-top: 25px;
}

.persons-heading > p {
  max-width: 320px;
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 2.1;
  font-size: 12px;
}

.gallery-controls {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn {
  padding: 12px 18px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.3px;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--champagne);
  color: var(--champagne);
}

.filter-btn.active {
  background: var(--champagne);
  border-color: var(--champagne);
  color: var(--black);
}

.search-box {
  width: 260px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--graphite);
  gap: 10px;
}

.search-icon {
  font-size: 24px;
  color: var(--champagne);
}

.search-box input {
  height: 42px;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ivory);
  font-size: 10px;
  letter-spacing: 1px;
}

.search-box input::placeholder {
  color: var(--muted);
}

.gallery-information {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
  gap: 20px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.8px;
}

.gallery-information span:first-child {
  color: var(--champagne);
}


/* FLIPPING CARDS */

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.person-card {
  width: 100%;
  aspect-ratio: 3 / 4.5;
  perspective: 1200px;
  cursor: pointer;
  outline-offset: 5px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.person-card.is-flipped .card-inner {
  transform: rotateY(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .person-card:hover .card-inner {
    transform: rotateY(180deg);
  }
}

.card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.card-front {
  background: #28241f;
}

.portrait-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #383029;
}

.portrait-image img:not(.empty-portrait) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s ease;
}

.person-card:hover .portrait-image img:not(.empty-portrait) {
  transform: scale(1.06);
}

.empty-portrait {
  display: none;
}

.portrait-initials {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 110px;
  color: rgba(213, 183, 122, 0.35);
  letter-spacing: -6px;
}

.front-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.18) 0%,
    transparent 35%,
    rgba(0, 0, 0, 0.15) 55%,
    rgba(0, 0, 0, 0.87) 100%
  );
}

.card-number {
  position: absolute;
  top: 22px;
  left: 22px;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--ivory);
}

.front-bottom {
  position: absolute;
  bottom: 24px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
}

.card-role {
  display: block;
  color: var(--champagne);
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 9px;
}

.front-bottom h3 {
  font-family: var(--font-heading);
  font-size: 35px;
  line-height: 0.98;
  letter-spacing: -0.5px;
  font-weight: 500;
}

.flip-symbol {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ivory);
  font-size: 17px;
  transition: background 0.3s ease;
}

.person-card:hover .flip-symbol {
  background: var(--champagne);
  border-color: var(--champagne);
  color: var(--black);
}


/* CARD BACK */

.card-back {
  display: flex;
  flex-direction: column;
  background: #24211d;
  transform: rotateY(180deg);
  border: 1px solid #4a4033;
}

.back-photo {
  height: 35%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #393029;
}

.back-photo img:not(.empty-portrait) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: grayscale(35%);
}

.back-photo .portrait-initials {
  font-size: 70px;
}

.back-number {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-shadow: 0 1px 5px #000;
}

.back-content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 19px 18px 16px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--champagne) var(--dark-light);
}

.back-kicker {
  color: var(--champagne);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.6px;
}

.back-content h3 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  margin: 8px 0 5px;
}

.back-role {
  font-size: 9px;
  color: var(--champagne);
  letter-spacing: 1.2px;
}

.back-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
  padding: 12px 0;
  border-top: 1px solid #504637;
  border-bottom: 1px solid #504637;
}

.back-facts div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.back-facts span,
.back-contact > span:first-child {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--champagne);
}

.back-facts strong {
  color: var(--cream);
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;
}

.back-bio {
  margin: 12px 0;
  font-size: 10px;
  line-height: 1.7;
  color: #cbc1b5;
}

.back-contact {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #504637;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-wrap: anywhere;
}

.back-contact > span:last-child {
  color: var(--cream);
  font-size: 9px;
  line-height: 1.5;
}

.no-results {
  padding: 90px 20px;
  text-align: center;
}

.no-results h3 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 500;
}

.no-results p {
  margin-top: 12px;
  color: var(--muted);
}

.gallery-ending {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 75px;
  color: var(--champagne);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-align: center;
}

.ending-line {
  width: 70px;
  height: 1px;
  background: var(--graphite);
}


/* CINEMA MOMENT */

.cinema-moment {
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background-image:
    linear-gradient(
      rgba(15, 13, 12, 0.70),
      rgba(15, 13, 12, 0.75)
    ),
    url("https://images.unsplash.com/photo-1478720568477-152d9b164e26");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.moment-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent,
    rgba(0, 0, 0, 0.45)
  );
}

.moment-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 110px 0;
}

.moment-small {
  color: var(--champagne);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
}

.moment-content h2 {
  max-width: 950px;
  margin: 30px auto;
  font-family: var(--font-heading);
  font-size: 86px;
  font-weight: 500;
  line-height: 1;
}

.moment-content h2 em {
  display: block;
  color: var(--champagne);
  font-weight: 400;
}

.moment-content h2 span {
  display: block;
}

.moment-content p {
  max-width: 510px;
  margin: 0 auto;
  color: var(--cream);
  line-height: 2;
  font-size: 13px;
}

.moment-bottom {
  position: absolute;
  bottom: 28px;
  right: 5%;
  color: var(--champagne);
  font-size: 9px;
  letter-spacing: 2px;
}


/* NEWSLETTER */

.contact {
  background: var(--black);
}

.newsletter {
  padding: 120px 0;
  background: #211e1a;
  border-bottom: 1px solid var(--border);
}

.newsletter-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 100px;
}

.newsletter h2 {
  margin: 25px 0 18px;
}

.newsletter-copy > p {
  max-width: 440px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.form-label {
  display: block;
  margin-bottom: 20px;
  font-size: 10px;
  font-weight: 600;
  color: var(--champagne);
  letter-spacing: 2px;
}

.newsletter-form {
  display: flex;
  width: 100%;
  border-bottom: 1px solid var(--champagne);
}

.newsletter-form input {
  height: 60px;
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--ivory);
  font-size: 11px;
  letter-spacing: 1px;
}

.newsletter-form input::placeholder {
  color: var(--muted);
}

.newsletter-form button {
  width: 56px;
  height: 60px;
  background: transparent;
  border: 0;
  color: var(--champagne);
  font-size: 28px;
  transition: background 0.3s ease,
              color 0.3s ease;
}

.newsletter-form button:hover {
  background: var(--champagne);
  color: var(--black);
}

.newsletter-message {
  margin-top: 17px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}


/* FOOTER */

.footer {
  background: #11100f;
  padding-top: 95px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
  padding-bottom: 105px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand-logo > span:first-child {
  font-family: var(--font-heading);
  font-size: 76px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -4px;
  color: var(--champagne);
}

.brand-logo-line {
  width: 1px;
  height: 52px;
  background: #5b5040;
}

.footer-brand-small {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 2.4px;
  font-weight: 600;
  color: var(--ivory);
}

.footer-brand > p {
  max-width: 360px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2.1;
  margin: 30px 0 35px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-socials a {
  width: 60px;
  height: 48px;
  border: 1px solid #4c4338;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--cream);
  font-size: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-socials a span {
  color: var(--champagne);
  font-size: 14px;
}

.footer-socials a:hover {
  background: var(--champagne);
  border-color: var(--champagne);
  color: var(--black);
}

.footer-socials a:hover span {
  color: var(--black);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-column h3 {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--champagne);
  font-weight: 600;
  margin-bottom: 13px;
}

.footer-column a,
.footer-column > span {
  color: #b8aea1;
  font-size: 12px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--champagne);
}

.footer-statement {
  border-top: 1px solid #39342c;
  border-bottom: 1px solid #39342c;
  padding: 22px 0 45px;
}

.footer-statement-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 2px;
}

.footer-huge-title {
  font-family: var(--font-heading);
  font-size: 115px;
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -4px;
  text-align: center;
  white-space: nowrap;
  color: var(--ivory);
}

.footer-huge-title span {
  color: var(--champagne);
}

.footer-bottom {
  min-height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.footer-bottom span,
.footer-bottom a {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.2px;
  line-height: 1.8;
}

.footer-bottom a {
  color: var(--champagne);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--ivory);
}


