:root {
  --bg: #f4f2f1;
  --text: #262424;
  --muted: #6b6666;
  --accent: #c81d5f;
  --accent-dark: #971448;
  --rose: #e8b0b9;
  --rose-soft: #f4d3d8;
  --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  --radius: 18px;
  --container: 1400px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.site-header .inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}
.brand-mark {
  width: 54px;
  height: 54px;
  position: relative;
  flex: 0 0 auto;
  transform: rotate(-8deg);
}
.brand-mark:before,
.brand-mark:after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 30px;
  height: 46px;
  background: var(--accent);
  border-radius: 30px 30px 0 0;
  transform-origin: bottom center;
}
.brand-mark:before {
  left: 7px;
  transform: rotate(-45deg);
}
.brand-mark:after {
  left: 18px;
  transform: rotate(45deg);
}
.brand-text {
  padding-left: 14px;
  border-left: 2px solid rgba(200, 29, 95, 0.45);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.brand-text .top {
  color: var(--accent);
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.brand-text .bottom {
  display: block;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav a {
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.25s ease;
}
.nav a:hover:after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  overflow: hidden;
  /* background:
        linear-gradient(90deg, rgba(35,13,28,.78) 0%, rgba(35,13,28,.56) 34%, rgba(35,13,28,.18) 56%, rgba(35,13,28,.06) 100%),
        radial-gradient(circle at 78% 20%, rgba(255,255,255,.35), transparent 18%),
        radial-gradient(circle at 71% 33%, rgba(216,229,255,.30), transparent 22%),
        linear-gradient(120deg, #674251 0%, #b8a3ae 24%, #c1ced9 58%, #ede5e0 100%); */
  min-height: 485px;
  background: url("/wp-content/themes/beem-child/nkg-assets//hero_bg.png");
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
  /* background-attachment: fixed; */
}
.hero:before {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.22;
  background: #fff;
}
.hero:before {
  width: 360px;
  height: 360px;
  right: 70px;
  top: 20px;
}
.hero:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #dc566733;
  z-index: 1;
}
.hero-grid {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  z-index: 10;
}
.hero-copy {
  color: #fff;
  max-width: 560px;
  padding: 52px 0 58px;
}
.eyebrow {
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}
.hero h1 {
  margin: 0;
  font-size: 3.45rem;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.hero-actions {
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  background: #fff;
  color: #363133;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: var(--card-shadow);
}

.section {
  padding: 54px 0;
}
.section-tight {
  padding: 34px 0;
}
.section-title,
.center-title {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}
.center-title {
  font-size: 1.95rem;
  line-height: 1.25;
  margin: 0;
}

.cards-3 {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.photo-card {
  height: 300px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18));
  z-index: -1;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p1 {
  background:
    linear-gradient(135deg, rgba(16, 33, 42, 0.25), rgba(16, 33, 42, 0.12)),
    linear-gradient(120deg, #213843 0%, #7a9cad 32%, #e6d1c9 60%, #9baab4 100%);
}
.p2 {
  background:
    linear-gradient(135deg, rgba(17, 56, 78, 0.2), rgba(17, 56, 78, 0.12)),
    linear-gradient(120deg, #3b4e61 0%, #7da4bb 30%, #d9d2cc 65%, #58718b 100%);
}
.p3 {
  background:
    linear-gradient(135deg, rgba(33, 56, 46, 0.18), rgba(33, 56, 46, 0.1)),
    linear-gradient(120deg, #4b2e2e 0%, #6a8d6f 34%, #f0d7c7 68%, #8aa2b6 100%);
}

.thankyou {
  padding: 0;
}
.thankyou-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  background: #fff;
  background: url('/wp-content/themes/beem-child/nkg-assets/nkg-bg-pattern.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.thankyou-copy {
  padding: 44px 46px;
  color: var(--accent);
/*   background:
    radial-gradient(
      circle at 20% 15%,
      rgba(255, 255, 255, 0.38),
      transparent 16%
    ),
    radial-gradient(
      circle at 78% 30%,
      rgba(255, 255, 255, 0.22),
      transparent 20%
    ),
    linear-gradient(135deg, #efc2c7 0%, #eaa0ab 100%); */
  position: relative;
  overflow: hidden;
}
.thankyou-copy:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.22) 8%,
      transparent 8%,
      transparent 42%,
      rgba(255, 255, 255, 0.22) 42%,
      rgba(255, 255, 255, 0.22) 50%,
      transparent 50%,
      transparent 92%,
      rgba(255, 255, 255, 0.22) 92%
    ),
    linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.16) 8%,
      transparent 8%,
      transparent 42%,
      rgba(255, 255, 255, 0.16) 42%,
      rgba(255, 255, 255, 0.16) 50%,
      transparent 50%,
      transparent 92%,
      rgba(255, 255, 255, 0.16) 92%
    );
  background-size: 58px 58px;
  opacity: 0.35;
}
.thankyou-copy > * {
  position: relative;
}
.thankyou-copy .small {
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.thankyou-copy .big {
  margin: 0;
  font-size: 2rem;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 500;
  background: #fff;
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 0 40px 0 40px;
}
.thankyou-photo {
  height: 380px;
  /* background:
    radial-gradient(
      circle at 68% 24%,
      rgba(255, 255, 255, 0.55),
      transparent 18%
    ),
    linear-gradient(120deg, #efefef 0%, #c7c2c4 30%, #f8f3f0 56%, #d8c8c0 100%); */
}
.thankyou-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 20% 0 20%;
}
.story {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 42px;
  align-items: start;
}
.story-image {
  height: 430px;
  border-radius: 4px;
  box-shadow: var(--card-shadow);
  background:
    linear-gradient(
      125deg,
      rgba(103, 114, 123, 0.1),
      rgba(103, 114, 123, 0.05)
    ),
    linear-gradient(
      120deg,
      #d6d9dc 0%,
      #f5f6f8 24%,
      #bac4cc 25%,
      #e3e6ea 50%,
      #a0acb5 51%,
      #f5f6f8 74%,
      #bcc7ce 75%,
      #dce1e7 100%
    );
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-copy p {
  margin: 0 0 14px;
  font-size: 1.08rem;
  color: #413d3d;
}
.story-copy strong {
  font-weight: 800;
}
.story-copy em {
  font-style: italic;
}

.archive {
  background: var(--rose);
}
body.archive {
  background: unset !important;
}
body.archive .btn {
  min-height: initial !important;
}
.archive h2 {
  margin: 0 0 28px;
  font-size: 4rem;
  line-height: 1;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.archive-item {
  position: relative;
  aspect-ratio: 1.55/1;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--card-shadow);
  background-size: cover;
  background-position: center;
}
.archive-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.35));
}
.archive-year {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

.footer {
  padding: 32px 0 40px;
  background: #fff;
  text-align: center;
}
.footer-title {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  font-weight: 800;
}
.footer-links,
.copyright {
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--accent);
}
.copyright {
  margin-top: 14px;
}

@media (max-width: 1050px) {
  .hero h1 {
    font-size: 2.95rem;
  }
  .story {
    grid-template-columns: 1fr;
  }
  .story-image {
    min-height: 320px;
  }
}
@media (max-width: 860px) {
  .site-header .inner {
    padding: 18px 0;
  }
  .site-header .inner,
  .hero-grid,
  .thankyou-grid,
  .cards-3,
  .archive-grid {
    grid-template-columns: 1fr;
  }
  .site-header .inner {
    display: block;
  }
  .brand {
    margin-bottom: 16px;
  }
  .nav {
    justify-content: flex-start;
    gap: 12px 16px;
  }
  .hero {
    min-height: auto;
  }
  .hero-copy {
    padding: 46px 0 52px;
  }
  .hero h1 {
    font-size: 2.45rem;
  }
  .center-title {
    font-size: 1.45rem;
  }
  .thankyou-copy .small {
    font-size: 1.25rem;
  }
  .thankyou-copy .big {
    font-size: 1.55rem;
  }
  .archive h2 {
    font-size: 2.5rem;
  }
}
