:root {
  --black: #050505;
  --ink: #0b0b0a;
  --charcoal: #141414;
  --charcoal-2: #1b1a18;
  --warm-panel: #201f1c;
  --ivory: #eee7d8;
  --ivory-soft: #d8cfbd;
  --warm-grey: #aaa194;
  --muted: #8f877b;
  --bronze: #b9975b;
  --bronze-soft: #d0b77b;
  --line: rgba(238, 231, 216, 0.13);
  --line-strong: rgba(208, 183, 123, 0.32);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
  --max: 1180px;
  --display: "Bodoni 72", "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory-soft);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.72;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(185, 151, 91, 0.1), transparent 28rem),
    linear-gradient(180deg, #080807 0%, #050505 48%, #10100f 100%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  margin: 18px auto 0;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 8, 7, 0.86);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid rgba(238, 231, 216, 0.2);
  border-radius: 50%;
  background: rgba(238, 231, 216, 0.06);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-copy span {
  max-width: 280px;
  overflow: hidden;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--bronze-soft);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-brand .brand-mark {
  width: 64px;
  height: 64px;
}

.demo-label {
  margin-right: auto;
  margin-left: 22px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.main-nav a {
  position: relative;
  padding: 10px 13px;
  color: var(--warm-grey);
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ivory);
  background: rgba(238, 231, 216, 0.055);
}

.main-nav a.active::after {
  position: absolute;
  right: 13px;
  bottom: 7px;
  left: 13px;
  height: 1px;
  background: var(--bronze);
  content: "";
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(238, 231, 216, 0.035);
  color: var(--ivory);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.page {
  padding-top: 100px;
}

.section {
  padding: 104px 0;
}

.section.tight {
  padding: 72px 0;
}

.container {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 122px 0 86px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 82% 44%, rgba(185, 151, 91, 0.14), transparent 24rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.99), rgba(5, 5, 5, 0.9) 48%, rgba(5, 5, 5, 0.74));
  content: "";
}

.hero::after {
  position: absolute;
  top: 50%;
  right: max(24px, 5vw);
  z-index: 0;
  width: min(38vw, 500px);
  aspect-ratio: 1;
  background: url("images/jijos-logo.png") center / contain no-repeat;
  content: "";
  filter: grayscale(1) contrast(0.92);
  opacity: 0.08;
  transform: translateY(-46%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--bronze-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: var(--bronze);
  content: "";
}

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

.hero h1,
.page-hero h1 {
  max-width: 790px;
  margin-bottom: 24px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 72px;
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  color: var(--ivory-soft);
  font-size: 19px;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button.primary {
  background: var(--ivory);
  color: var(--ink);
}

.button.secondary {
  border-color: var(--line-strong);
  background: rgba(238, 231, 216, 0.035);
  color: var(--ivory);
}

.button.gold {
  background: var(--bronze);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(100% - 36px, var(--max));
  margin: -64px auto 0;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-strip div {
  padding: 28px;
  background: rgba(22, 21, 19, 0.96);
}

.hero-strip strong {
  display: block;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 34px;
  font-weight: 650;
  line-height: 1.05;
}

.hero-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.5fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head h2,
.split-copy h2,
.cta-panel h2 {
  margin-bottom: 0;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 50px;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p,
.split-copy p,
.cta-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.four {
  grid-template-columns: repeat(4, 1fr);
}

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

.service-card,
.reason-card,
.branch-card,
.service-group,
.bridal-card,
.contact-card,
.story-stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(238, 231, 216, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card,
.reason-card,
.branch-card,
.service-group,
.bridal-card,
.contact-card,
.story-stat {
  padding: 28px;
}

.service-card:hover,
.reason-card:hover,
.branch-card:hover,
.service-group:hover,
.bridal-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(238, 231, 216, 0.055);
}

.service-card span,
.reason-card span,
.branch-card span,
.service-group span,
.bridal-card span,
.contact-card span,
.story-stat span {
  display: block;
  margin-bottom: 14px;
  color: var(--bronze-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card h3,
.reason-card h3,
.branch-card h3,
.service-group h3,
.bridal-card h3,
.contact-card h3 {
  margin-bottom: 14px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 31px;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: 0;
}

.service-card p,
.reason-card p,
.branch-card p,
.bridal-card p,
.contact-card p,
.service-group li {
  color: var(--muted);
}

.branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.branch-actions .button {
  min-height: 44px;
  padding: 11px 15px;
}

.button.text-button {
  border-color: transparent;
  background: transparent;
  color: var(--ivory);
  padding-right: 0;
  padding-left: 0;
}

.button.text-button::after {
  margin-left: 8px;
  color: var(--bronze-soft);
  content: ">";
}

.branch-preview-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
}

.branch-detail-grid {
  display: grid;
  gap: 22px;
}

.branch-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.45fr);
  gap: 28px;
  align-items: start;
}

.branch-card-head h3 {
  margin-bottom: 18px;
}

.branch-detail-card p {
  max-width: 760px;
  font-size: 18px;
}

.branch-detail-card .branch-actions {
  grid-column: 1 / -1;
}

.branch-meta {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.26);
}

.branch-meta strong {
  color: var(--ivory-soft);
  font-size: 14px;
  font-weight: 750;
}

.contact-map-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.bridal-cta {
  margin-top: 22px;
}

.spotlight {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.98), rgba(18, 17, 15, 0.93)),
    url("images/bridal-groom.svg") right center / auto 100% no-repeat;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 58px;
  align-items: center;
}

.split-copy {
  max-width: 690px;
}

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

.split-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ivory-soft);
  font-weight: 700;
}

.split-list small {
  color: var(--bronze-soft);
  font-weight: 800;
  text-transform: uppercase;
}

.visual-panel {
  min-height: 450px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.12), rgba(8, 8, 7, 0.38)),
    url("images/bridal-groom.svg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ivory);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.text-link::after {
  content: ">";
  color: var(--bronze-soft);
}

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

.gallery-grid.full {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--ivory);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
  filter: saturate(0.74) contrast(0.95) brightness(0.9);
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(5, 5, 5, 0.74));
  content: "";
}

.gallery-item span {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 1;
  display: grid;
  text-align: left;
}

.gallery-item strong {
  color: var(--ivory);
  font-family: var(--display);
  font-size: 27px;
  font-weight: 650;
  line-height: 1.08;
}

.gallery-item small {
  color: var(--bronze-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.gallery-item:hover img {
  transform: scale(1.035);
  filter: saturate(0.86) contrast(1) brightness(0.96);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(185, 151, 91, 0.12), transparent 44%),
    rgba(238, 231, 216, 0.035);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 92px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 38%, rgba(185, 151, 91, 0.12), transparent 22rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.99), rgba(5, 5, 5, 0.88) 56%, rgba(5, 5, 5, 0.72));
}

.page-hero.bridal-hero {
  min-height: 660px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 84% 38%, rgba(185, 151, 91, 0.15), transparent 23rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.99), rgba(5, 5, 5, 0.86) 54%, rgba(5, 5, 5, 0.7));
}

.page-hero::after {
  position: absolute;
  top: 50%;
  right: max(24px, 8vw);
  z-index: 0;
  width: min(36vw, 470px);
  aspect-ratio: 1;
  background: url("images/jijos-logo.png") center / contain no-repeat;
  content: "";
  filter: grayscale(1) contrast(0.92);
  opacity: 0.075;
  transform: translateY(-45%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero p {
  max-width: 660px;
  color: var(--ivory-soft);
  font-size: 20px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.5fr);
  gap: 48px;
  align-items: start;
}

.story-copy p {
  color: var(--ivory-soft);
  font-size: 18px;
}

.story-stats {
  display: grid;
  gap: 16px;
}

.story-stat strong {
  display: block;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 43px;
  font-weight: 650;
  line-height: 1.08;
}

.service-group ul,
.bridal-card ul {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.service-group li,
.bridal-card li {
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.bridal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(340px, 0.5fr);
  gap: 18px;
}

.bridal-card.feature {
  grid-row: span 2;
  min-height: 470px;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.28), rgba(8, 8, 7, 0.9)),
    url("images/gallery-bridal.svg") center / cover no-repeat;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.58fr);
  gap: 24px;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.form-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(238, 231, 216, 0.04);
}

.form-card .section-head {
  display: block;
  margin-bottom: 26px;
}

.form-card .section-head p {
  margin-top: 8px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ivory-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(5, 5, 5, 0.42);
  color: var(--ivory);
  padding: 13px 14px;
  outline: none;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--bronze);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 5, 5, 0.88);
}

.lightbox.open {
  display: flex;
}

.lightbox figure {
  width: min(920px, 100%);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 76vh;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  object-fit: contain;
  background: var(--black);
}

.lightbox figcaption {
  margin-top: 14px;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 650;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  padding: 58px 0 28px;
  border-top: 1px solid var(--line);
  background: #060606;
}

.footer-grid,
.footer-bottom {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.45fr 0.55fr;
  gap: 42px;
}

.footer-grid p {
  max-width: 430px;
  color: var(--muted);
}

.footer-grid h2 {
  margin-bottom: 14px;
  color: var(--bronze-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  display: block;
  margin-bottom: 10px;
  color: var(--ivory-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    width: min(100% - 24px, var(--max));
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(10, 10, 9, 0.98);
  }

  .demo-label {
    display: none;
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(238, 231, 216, 0.08);
    background: transparent;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 700px;
  }

  .spotlight {
    background-position: center bottom;
    background-size: 730px auto;
  }

  .hero::after,
  .page-hero::after {
    top: 56%;
    right: -210px;
    width: 540px;
    opacity: 0.04;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 64px;
  }

  .section-head,
  .split,
  .story-grid,
  .bridal-layout,
  .contact-layout,
  .branch-detail-card,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.four,
  .gallery-grid.full {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .visual-panel {
    min-height: 350px;
  }

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

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .site-header {
    margin-top: 10px;
    padding: 10px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-copy span {
    max-width: 220px;
    font-size: 16px;
  }

  .page {
    padding-top: 82px;
  }

  .hero,
  .page-hero {
    min-height: 0;
    padding: 124px 0 72px;
  }

  .page-hero.bridal-hero {
    min-height: 540px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 46px;
    line-height: 1.06;
  }

  .hero-copy,
  .page-hero p {
    font-size: 17px;
  }

  .hero-actions,
  .cta-row,
  .branch-actions {
    display: grid;
  }

  .hero-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
    width: 100%;
    border-right: 0;
    border-left: 0;
  }

  .hero-strip div {
    padding: 24px 18px;
  }

  .section {
    padding: 70px 0;
  }

  .section.tight {
    padding: 54px 0;
  }

  .section-head {
    gap: 20px;
    margin-bottom: 30px;
  }

  .section-head h2,
  .split-copy h2,
  .cta-panel h2 {
    font-size: 38px;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .gallery-grid,
  .gallery-grid.full,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 250px;
  }

  .cta-panel,
  .form-card,
  .service-card,
  .reason-card,
  .branch-card,
  .service-group,
  .bridal-card,
  .contact-card {
    padding: 22px;
  }

  .footer-bottom {
    display: grid;
  }
}
