@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  --paper: #f7f5ef;
  --ink: #263b32;
  --muted: #77796f;
  --green: #405d4c;
  --line: #deded3;
  --white: #fffefa;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.7;
}

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

.site-header {
  max-width: 1180px;
  margin: auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 27px;
  letter-spacing: .02em;
}

.logo span { color: #9a805d; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: #59665d;
}

.nav a:hover { color: #a17c4e; }

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto 76px;
  padding: 110px max(28px, calc((100vw - 1120px) / 2));
  min-height: 680px;
  min-height: clamp(620px, 86svh, 920px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15,29,25,.82) 0%, rgba(15,29,25,.48) 48%, rgba(15,29,25,.08) 100%),
    linear-gradient(0deg, rgba(15,29,25,.48), transparent 42%),
    url('assets/hero-kremlin-strelka.jpg') center 48%/cover no-repeat;
  color: white;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 790px;
}

.hero .eyebrow {
  color: #e8d7b8;
  letter-spacing: .24em;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(50px, 7.5vw, 104px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 30px;
  text-shadow: 0 3px 28px rgba(0,0,0,.2);
}

.hero p {
  max-width: 590px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: #f1eee6;
  margin-bottom: 34px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 15px 23px;
  border: 1px solid rgba(255,255,255,.72);
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 600;
  transition: background .25s, color .25s, border-color .25s;
}

.hero-link:hover {
  background: #f3eee3;
  color: #263b32;
  border-color: #f3eee3;
}

.hero-credit {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 1;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  letter-spacing: .06em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 22px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 1.18;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  margin: 0 0 24px;
}

.hero p {
  max-width: 570px;
  font-size: 16px;
  color: #f1eee6;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px 76px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 43px);
  margin: 8px 0 14px;
}

.section-heading p { color: var(--muted); }

.eyebrow-dark {
  color: #9a805d;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(38,59,50,.08);
}

.card-image {
  height: 245px;
  background: linear-gradient(135deg, #b8b6a2, #667b6d);
}

.card-body { padding: 25px 27px 28px; }

.card h3 {
  font-size: 27px;
  margin: 0 0 12px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
}

.read-more {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.intro {
  max-width: 850px;
  margin: 0 auto 85px;
  padding: 55px 32px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro h2 { font-size: 34px; }

.intro p {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

footer {
  background: #263b32;
  color: #e9e7de;
  text-align: center;
  padding: 36px 20px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
}

footer small {
  display: block;
  margin-top: 8px;
  color: #b9c0b7;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.article-hero {
  max-width: 1180px;
  margin: 10px auto 55px;
  padding: 75px 32px;
  background: #e8e6dc;
}

.article-hero h1 {
  max-width: 800px;
  font-size: clamp(40px, 6vw, 64px);
  margin: 10px 0;
}

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px 90px;
}

.article h2 { font-size: 31px; margin-top: 45px; }
.article p { color: #555e55; }
.article-image {
  width: 100%;
  min-height: 300px;
  object-fit: cover;
  margin: 25px 0;
}

@media (max-width: 700px) {
  .site-header { padding: 20px; align-items: flex-start; flex-direction: column; }
  .nav { gap: 12px 18px; }
  .hero {
    margin: 0 auto 52px;
    padding: 85px 25px 105px;
    min-height: 680px;
    min-height: 82svh;
    background-position: 55% center;
  }
  .hero h1 { font-size: clamp(46px, 12vw, 68px); }
  .hero-credit { right: 16px; bottom: 14px; font-size: 9px; }
  .section { padding: 0 20px 55px; }
  .cards { grid-template-columns: 1fr; }
  .card-image { height: 210px; }
  .intro { margin: 0 20px 55px; padding: 38px 10px; }
}


/* Personal sunset photograph — homepage feature */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 780px;
  margin: 0 auto 76px;
  padding: 90px max(28px, calc((100vw - 1120px) / 2));
  overflow: hidden;
  background: #241b19;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -24px;
  background: url('assets/nizhny-sunset-hero.webp') center 45%/cover no-repeat;
  filter: blur(15px) brightness(.38);
  transform: scale(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,25,25,.88), rgba(20,25,25,.60) 48%, rgba(20,25,25,.18));
}

.hero-content {
  width: 55%;
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(48px, 6.2vw, 86px);
  line-height: 1.04;
}

.hero-photo {
  position: absolute;
  z-index: 1;
  right: max(5%, calc((100vw - 1280px) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 31vw, 430px);
  aspect-ratio: 9 / 16;
  max-height: 82%;
  border-radius: 5px;
  background: url('assets/nizhny-sunset-hero.webp') center/cover no-repeat;
  box-shadow: 0 24px 80px rgba(0,0,0,.48);
}

.hero-credit { display: none; }

@media (max-width: 700px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    margin: 0 auto 52px;
    padding: 76px 24px 36px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(20,25,25,.84), rgba(20,25,25,.48));
  }

  .hero-content {
    width: 100%;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(43px, 11vw, 64px);
  }

  .hero-photo {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: min(100%, 390px);
    max-height: none;
    margin: 38px auto 0;
    aspect-ratio: 9 / 16;
  }
}

/* Larger sunset photograph — homepage */
.hero {
  min-height: 88vh;
  min-height: 88svh;
}

.hero-content {
  width: 44%;
  max-width: 560px;
}

.hero-photo {
  right: 3%;
  width: clamp(380px, 47vw, 680px);
  height: 82%;
  max-height: 82%;
  aspect-ratio: auto;
  background-position: center center;
}

@media (min-width: 1400px) {
  .hero-photo {
    right: 5%;
    width: 50vw;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    width: 100%;
  }

  .hero-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    max-width: 440px;
    margin: 32px auto 0;
  }
}

/* Soft cinematic blending for the sunset photograph */
.hero-photo {
  border-radius: 0;
  box-shadow: none;
  background-position: center;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 9%, black 25%),
    linear-gradient(to bottom, transparent 0%, black 9%, black 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 9%, black 25%),
    linear-gradient(to bottom, transparent 0%, black 9%, black 90%, transparent 100%);
  mask-composite: intersect;
}

@media (max-width: 700px) {
  .hero-photo {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 94%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 94%, transparent 100%);
  }
}

/* Ultra-soft cinematic sunset blend */
.hero-photo {
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0,0,0,.08) 12%,
      rgba(0,0,0,.3) 28%,
      rgba(0,0,0,.75) 48%,
      black 70%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0,0,0,.2) 9%,
      black 28%,
      black 72%,
      rgba(0,0,0,.2) 91%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.08) 12%, rgba(0,0,0,.3) 28%, rgba(0,0,0,.75) 48%, black 70%),
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.2) 9%, black 28%, black 72%, rgba(0,0,0,.2) 91%, transparent 100%);
  mask-composite: intersect;
}

@media (max-width: 700px) {
  .hero-photo {
    -webkit-mask-image:
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.3) 12%, black 30%, black 80%, transparent 100%);
    mask-image:
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.3) 12%, black 30%, black 80%, transparent 100%);
  }
}


/* Editorial photo story — The Capital of Sunsets */
.sunset-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 42px 32px 90px;
}

.sunset-heading {
  padding: 34px 0 38px;
  max-width: 850px;
}

.sunset-heading h1 {
  font-size: clamp(46px, 7vw, 82px);
  letter-spacing: -.035em;
  margin: 15px 0;
}

.sunset-lead {
  color: #687168;
  font-size: 19px;
}

.sunset-cover,
.sunset-wide-photo,
.sunset-final-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #263b32;
}

.sunset-cover {
  height: clamp(420px, 66vw, 740px);
  border-radius: 3px;
}

.sunset-cover img,
.sunset-wide-photo img,
.sunset-final-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.sunset-cover img { object-position: center 54%; }
.sunset-cover:hover img,
.sunset-wide-photo:hover img,
.sunset-final-photo:hover img {
  transform: scale(1.025);
}

.sunset-cover figcaption,
.sunset-wide-photo figcaption,
.sunset-final-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 28px 20px;
  color: white;
  font-size: 13px;
  letter-spacing: .06em;
  background: linear-gradient(transparent, rgba(0,0,0,.58));
}

.sunset-story {
  max-width: 850px;
  margin: 0 auto;
  padding-top: 58px;
}

.sunset-story p {
  font-size: 17px;
  line-height: 1.9;
}

.sunset-intro {
  font-family: 'Playfair Display', serif;
  font-size: clamp(21px, 2.5vw, 27px) !important;
  line-height: 1.65 !important;
  color: #35463c !important;
  margin-bottom: 75px;
}

.sunset-text-block {
  max-width: 700px;
  margin: 0 auto 65px;
}

.sunset-text-block .eyebrow-dark {
  letter-spacing: .16em;
  font-size: 10px;
}

.sunset-text-block h2 {
  font-size: clamp(31px, 4vw, 43px);
  margin: 15px 0 20px;
}

.sunset-wide-photo {
  width: min(100% + 120px, 970px);
  height: clamp(320px, 52vw, 570px);
  margin: 65px 0 75px 50%;
  transform: translateX(-50%);
}

.sunset-wide-photo img { object-position: center 45%; }

.sunset-final-photo {
  width: min(100% + 120px, 970px);
  height: clamp(320px, 48vw, 520px);
  margin: 65px 0 75px 50%;
  transform: translateX(-50%);
}

.sunset-final-photo img { object-position: center 48%; }

.sunset-back {
  margin-top: 55px;
  padding-top: 25px;
  border-top: 1px solid #dedbd1;
}

@media (max-width: 700px) {
  .sunset-page { padding: 24px 18px 60px; }
  .sunset-heading { padding: 28px 0; }
  .sunset-cover { height: 540px; }
  .sunset-story { padding-top: 38px; }
  .sunset-intro { margin-bottom: 48px; }
  .sunset-text-block { margin-bottom: 45px; }
  .sunset-wide-photo,
  .sunset-final-photo {
    width: calc(100% + 36px);
    height: 420px;
    margin: 45px 0 55px 50%;
  }
  .sunset-story p { font-size: 16px; }
}

/* Full-width cinematic sunset cover */
.sunset-cover {
  width: 100vw;
  max-width: none;
  height: clamp(480px, 68vw, 760px);
  margin-left: calc(50% - 50vw);
  border-radius: 0;
  position: relative;
  overflow: hidden;
  background: #f7f5ef;
}

.sunset-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 48%,
    rgba(0,0,0,.96) 62%,
    rgba(0,0,0,.72) 76%,
    rgba(0,0,0,.28) 91%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 48%,
    rgba(0,0,0,.96) 62%,
    rgba(0,0,0,.72) 76%,
    rgba(0,0,0,.28) 91%,
    transparent 100%
  );
}

.sunset-cover figcaption {
  left: 5%;
  right: auto;
  bottom: 24px;
  z-index: 2;
  background: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}

@media (max-width: 700px) {
  .sunset-cover {
    width: calc(100% + 36px);
    margin-left: -18px;
    height: 480px;
  }

  .sunset-cover img {
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 65%,
      rgba(0,0,0,.8) 82%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 65%,
      rgba(0,0,0,.8) 82%,
      transparent 100%
    );
  }
}
