:root {
  --green: #11633b;
  --green-dark: #073b28;
  --leaf: #2f8a5e;
  --gold: #d99a1c;
  --gold-soft: #fff6df;
  --ink: #14241d;
  --muted: #617069;
  --paper: #fbfaf6;
  --white: #ffffff;
  --line: #dbe5de;
  --blue: #1f5f85;
  --blue-soft: #edf6fa;
  --rose: #a74756;
  --rose-soft: #fff1f3;
  --shadow: 0 18px 48px rgba(7, 59, 40, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 10px 14px;
  background: rgba(251, 250, 246, 0.92);
  border: 1px solid rgba(17, 99, 59, 0.12);
  border-radius: 8px;
  backdrop-filter: blur(16px);
  transition:
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(17, 99, 59, 0.18);
  box-shadow: 0 14px 36px rgba(7, 59, 40, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--green-dark);
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(17, 99, 59, 0.12);
}

.brand.small img {
  width: 40px;
  height: 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-dark);
  background: rgba(17, 99, 59, 0.08);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--green-dark);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px 0 70px;
  background: var(--paper);
  border-bottom: 1px solid rgba(17, 99, 59, 0.1);
}

.hero-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero-shade {
  background: rgba(251, 250, 246, 0.72);
  backdrop-filter: blur(0.5px);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: 5rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--green-dark);
  font-size: 2.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--green-dark);
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-tagline {
  max-width: 680px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 1.55rem;
  line-height: 1.25;
  font-weight: 800;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: #31453a;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-actions.center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(17, 99, 59, 0.24);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(17, 99, 59, 0.2);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--white);
  border-color: rgba(17, 99, 59, 0.38);
}

.button.dark {
  color: var(--green-dark);
  background: var(--gold);
  box-shadow: none;
}

.button.dark:hover,
.button.dark:focus-visible {
  background: #efb03b;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-points span {
  padding: 8px 10px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(17, 99, 59, 0.14);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
}

.intro-band {
  padding: 26px 0;
  background: var(--green-dark);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.intro-grid p {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
}

.intro-stats {
  display: grid;
  grid-template-columns: auto 150px;
  gap: 12px;
  align-items: center;
}

.intro-stats strong {
  color: var(--gold);
  font-size: 3.2rem;
  line-height: 1;
}

.intro-stats span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.section,
.visual-section,
.final-cta {
  padding: 94px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
  text-align: center;
}

.section-heading.left {
  margin-bottom: 0;
  text-align: left;
}

.section-heading p:not(.eyebrow),
.visual-copy p,
.business-grid p,
.final-cta p {
  color: var(--muted);
  font-size: 1.03rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 260px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(7, 59, 40, 0.06);
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--gold-soft);
  border: 1px solid rgba(217, 154, 28, 0.25);
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.family-icon::before {
  width: 26px;
  height: 26px;
  border: 4px solid var(--green);
  border-top-color: transparent;
}

.family-icon::after {
  width: 10px;
  height: 10px;
  background: var(--gold);
  box-shadow:
    -16px 16px 0 var(--gold),
    16px 16px 0 var(--gold);
}

.friend-icon {
  background: var(--blue-soft);
  border-color: rgba(31, 95, 133, 0.18);
}

.friend-icon::before {
  width: 30px;
  height: 4px;
  background: var(--blue);
  transform: rotate(-18deg);
}

.friend-icon::after {
  width: 12px;
  height: 12px;
  background: var(--blue);
  box-shadow:
    -18px 6px 0 var(--gold),
    18px -6px 0 var(--leaf);
}

.office-icon {
  background: #f2f7ef;
  border-color: rgba(17, 99, 59, 0.18);
}

.office-icon::before {
  width: 30px;
  height: 24px;
  border: 3px solid var(--green);
  border-radius: 3px;
}

.office-icon::after {
  width: 6px;
  height: 6px;
  background: var(--gold);
  box-shadow:
    -9px 0 0 var(--gold),
    9px 0 0 var(--gold),
    -9px 10px 0 var(--gold),
    9px 10px 0 var(--gold);
}

.photo-icon {
  background: var(--rose-soft);
  border-color: rgba(167, 71, 86, 0.18);
}

.photo-icon::before {
  width: 28px;
  height: 22px;
  border: 3px solid var(--rose);
  border-radius: 4px;
}

.photo-icon::after {
  width: 10px;
  height: 10px;
  border: 3px solid var(--rose);
}

.visual-section {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: 58px;
  align-items: center;
}

.visual-copy {
  max-width: 480px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #34483e;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 10px;
  border-left: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(-45deg);
}

.tree-preview {
  overflow: hidden;
  min-height: 430px;
  background: #f7fbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tree-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--green-dark);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.tree-toolbar small {
  color: var(--muted);
  font-weight: 800;
}

.tree-map {
  position: relative;
  height: 360px;
}

.tree-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 92px;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--green-dark);
  background: var(--white);
  border: 2px solid rgba(17, 99, 59, 0.16);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(7, 59, 40, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.root {
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  border-color: rgba(217, 154, 28, 0.52);
}

.branch-a {
  left: 22%;
  top: 138px;
}

.branch-b {
  left: 50%;
  top: 138px;
  transform: translateX(-50%);
}

.branch-c {
  right: 22%;
  top: 138px;
}

.leaf-a {
  left: 10%;
  bottom: 44px;
}

.leaf-b {
  left: 50%;
  bottom: 44px;
  transform: translateX(-50%);
}

.leaf-c {
  right: 10%;
  bottom: 44px;
}

.tree-line {
  position: absolute;
  z-index: 1;
  height: 3px;
  background: rgba(17, 99, 59, 0.48);
  border-radius: 3px;
  transform-origin: left center;
}

.line-1 {
  left: 48%;
  top: 108px;
  width: 165px;
  transform: rotate(160deg);
}

.line-2 {
  left: 51%;
  top: 108px;
  width: 112px;
  transform: rotate(90deg);
}

.line-3 {
  left: 51%;
  top: 108px;
  width: 165px;
  transform: rotate(20deg);
}

.line-4 {
  left: 25%;
  top: 206px;
  width: 112px;
  transform: rotate(125deg);
}

.line-5 {
  left: 51%;
  top: 206px;
  width: 112px;
  transform: rotate(90deg);
}

.line-6 {
  left: 68%;
  top: 206px;
  width: 112px;
  transform: rotate(55deg);
}

.matrimony-section {
  background: var(--paper);
}

.matrimony-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 60px;
  align-items: center;
}

.match-visual {
  display: grid;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 14px;
  background: #fbfefd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.profile-card strong {
  display: block;
  color: var(--green-dark);
  line-height: 1.2;
}

.profile-card small {
  color: var(--muted);
  font-weight: 800;
}

.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  color: var(--white);
  border-radius: 50%;
  font-weight: 900;
}

.avatar.gold {
  background: var(--gold);
}

.avatar.green {
  background: var(--green);
}

.relationship-path {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
  overflow: hidden;
}

.relationship-path::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 18px;
  width: 3px;
  background: var(--gold);
  border-radius: 3px;
}

.relationship-path span,
.relationship-path strong,
.relationship-path small {
  position: relative;
  padding-left: 22px;
}

.relationship-path span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.relationship-path strong {
  font-size: 1.3rem;
}

.relationship-path small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.wedding-section {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.wedding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.shoot-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  background: var(--green);
  box-shadow: 0 16px 38px rgba(7, 59, 40, 0.12);
}

.shoot-card.pre {
  background:
    linear-gradient(180deg, rgba(7, 59, 40, 0.1), rgba(7, 59, 40, 0.92)),
    repeating-linear-gradient(135deg, #2f8a5e 0 14px, #11633b 14px 28px);
}

.shoot-card.post {
  background:
    linear-gradient(180deg, rgba(20, 36, 29, 0.08), rgba(20, 36, 29, 0.9)),
    repeating-linear-gradient(135deg, #1f5f85 0 14px, #2b789f 14px 28px);
}

.shoot-card.album {
  background:
    linear-gradient(180deg, rgba(20, 36, 29, 0.08), rgba(20, 36, 29, 0.9)),
    repeating-linear-gradient(135deg, #a74756 0 14px, #c15e6e 14px 28px);
}

.shoot-card span {
  width: max-content;
  margin-bottom: 14px;
  padding: 6px 9px;
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shoot-card h3 {
  color: var(--white);
  font-size: 1.35rem;
}

.shoot-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.business-band {
  padding: 92px 0;
  color: var(--white);
  background: var(--green-dark);
}

.business-band .eyebrow {
  color: var(--gold);
}

.business-band h2 {
  color: var(--white);
}

.business-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 56px;
  align-items: center;
}

.business-grid p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 28px;
}

.vendor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vendor-list span {
  padding: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-weight: 900;
}

.final-cta {
  text-align: center;
}

.final-cta img {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7, 59, 40, 0.12);
}

.final-cta p:not(.eyebrow) {
  max-width: 640px;
  margin: 0 auto 28px;
}

.site-footer {
  padding: 24px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid p,
.footer-grid a:not(.brand) {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.footer-grid a:not(.brand):hover,
.footer-grid a:not(.brand):focus-visible {
  color: var(--green);
  outline: none;
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .feature-grid,
  .wedding-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .visual-grid,
  .matrimony-grid,
  .business-grid {
    grid-template-columns: 1fr;
  }

  .visual-copy,
  .section-heading.left {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 640px);
  }

  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 10px auto 10px;
    display: grid;
    gap: 8px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

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

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    min-height: 86vh;
    padding: 118px 0 56px;
  }

  .hero-shade {
    background: rgba(251, 250, 246, 0.84);
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .hero-tagline {
    font-size: 1.25rem;
  }

  .hero-copy,
  .section-heading p:not(.eyebrow),
  .visual-copy p,
  .business-grid p,
  .final-cta p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

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

  .intro-stats {
    gap: 6px;
  }

  .section,
  .visual-section,
  .final-cta,
  .business-band {
    padding: 68px 0;
  }

  .feature-grid,
  .wedding-grid,
  .vendor-list {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .shoot-card {
    min-height: auto;
  }

  .visual-grid,
  .matrimony-grid,
  .business-grid {
    gap: 34px;
  }

  .tree-preview {
    min-height: 390px;
  }

  .tree-map {
    height: 330px;
  }

  .tree-node {
    min-width: 72px;
    min-height: 40px;
    padding: 7px 8px;
    font-size: 0.72rem;
  }

  .branch-a {
    left: 7%;
  }

  .branch-c {
    right: 7%;
  }

  .leaf-a {
    left: 3%;
  }

  .leaf-c {
    right: 3%;
  }

  .line-1,
  .line-3 {
    width: 132px;
  }

  .line-4,
  .line-5,
  .line-6 {
    width: 94px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-points span {
    width: calc(50% - 5px);
    text-align: center;
  }

  .match-visual {
    padding: 16px;
  }
}

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