:root {
  --prime: #163f3a;
  --prime-deep: #0e2c28;
  --prime-soft: #2a5c55;
  --mint: #eef4f1;
  --paper: #f7faf8;
  --head: #152826;
  --para: #5c6d6a;
  --line: #cfdad6;
  --white: #ffffff;
  --overlay: rgba(8, 22, 20, 0.58);
  --header-h: 88px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  --mint: #122422;
  --paper: #0f1c1a;
  --head: #eef4f1;
  --para: #b7c6c2;
  --line: #2c4440;
  --white: #13201e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--para);
  background: var(--paper);
  letter-spacing: 0.01em;
}

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

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

.second-font {
  font-family: var(--serif);
}

.head-text {
  color: var(--head);
}

.para-text {
  color: var(--para);
  line-height: 1.8;
}

.prime-text {
  color: var(--prime);
}

.white-text {
  color: #fff !important;
}

.alt-bg {
  background: var(--mint);
}

.prime-border {
  border-color: var(--prime) !important;
}

.light-border {
  border-color: var(--line) !important;
}

.prime-btn {
  background: var(--prime);
  color: #fff;
  border: 1px solid var(--prime);
  border-radius: 0;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.6rem;
}

.prime-btn:hover,
.prime-btn:focus {
  background: var(--prime-deep);
  border-color: var(--prime-deep);
  color: #fff;
}

.ghost-btn {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 0;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.6rem;
}

.ghost-btn:hover,
.ghost-btn:focus {
  background: #fff;
  color: var(--prime);
}

.underline-link {
  display: inline-block;
  border-bottom: 1px solid var(--prime);
  padding-bottom: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--para);
}

.underline-link:hover {
  color: var(--prime);
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-sticky {
  position: fixed;
  background: rgba(247, 250, 248, 0.96);
  box-shadow: 0 8px 24px rgba(21, 40, 38, 0.08);
}

[data-theme="dark"] .site-header.is-sticky {
  background: rgba(15, 28, 26, 0.96);
}

.navbar {
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
}

.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.navbar-brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: 0.04em;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #fff;
}

.f-link a:hover {
  color: var(--prime);
}

.site-header.is-sticky .navbar-brand,
.site-header.is-sticky .nav-link,
.site-header.is-sticky .menu-btn {
  color: var(--head);
}

.nav-link {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 0.5rem 0.7rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  opacity: 0.78;
}

.site-header.is-sticky .nav-link:hover,
.site-header.is-sticky .nav-link.active {
  color: var(--prime);
  opacity: 1;
}

.icon-btn,
.navbar-toggler {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--prime);
  color: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.offcanvas {
  background: var(--prime-deep);
  color: #fff;
}

.offcanvas .nav-link {
  color: #fff;
  font-size: 1rem;
  padding: 0.8rem 0 !important;
}

@media (max-width: 991.98px) {
  .offcanvas-lg {
    position: fixed !important;
  }
}

@media (min-width: 992px) {
  .offcanvas-lg {
    background: transparent;
    color: inherit;
    visibility: visible !important;
    transform: none !important;
    position: static;
    flex: 1 1 auto;
    border: 0;
    width: auto;
    height: auto;
    padding: 0;
  }

  .offcanvas-lg .offcanvas-header {
    display: none;
  }

  .offcanvas-lg .offcanvas-body {
    display: flex;
    padding: 0;
    overflow: visible;
  }

  .offcanvas-lg .nav-link {
    font-size: 0.78rem;
    padding: 0.5rem 0.7rem !important;
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  background: #0c1c1a center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 8rem 1rem 5rem;
}

.hero-kicker {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: clamp(1.85rem, 5.4vw, 4.4rem);
  line-height: 1.12;
  text-wrap: balance;
}

.hero p {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 1.1rem auto 1.8rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-dots {
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border: 1px solid #fff;
  background: transparent;
  padding: 0;
}

.hero-dot.active {
  background: #fff;
}

.about-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.quote-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.quote-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: balance;
}

.practice {
  background: #0b1a18 center / cover no-repeat;
  position: relative;
  color: #fff;
}

.practice::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 18, 0.72);
}

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

.practice-col {
  padding: 1.2rem 1.4rem;
}

.practice-col + .practice-col {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.practice-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  color: #fff;
}

.practice h4 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

.catalog-photo {
  width: 100%;
  object-fit: cover;
}

.catalog-photo.short {
  height: 430px;
}

.catalog-photo.tall {
  height: 540px;
}

.practice h2 {
  display: inline-block;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0;
}

.insight-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.4rem;
}

.studio-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.footer-bg {
  background: var(--paper);
  scroll-margin-top: 88px;
}

.footer-copy {
  border-top: 1px solid var(--line);
  padding: 0.7rem 0;
  font-size: 0.92rem;
}

#backtotop {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 0;
}

#backtotop.show {
  display: inline-flex;
}

.form-note {
  min-height: 1.4rem;
  font-size: 0.9rem;
  margin-top: 0.8rem;
}

.modal-content {
  border-radius: 0;
  border: 0;
  background: var(--paper);
  color: var(--para);
}

.section-pad {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 991.98px) {
  .practice-col + .practice-col {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }

  .about-img,
  .catalog-photo.short,
  .catalog-photo.tall,
  .insight-card img {
    height: 360px;
  }

  .hero-dots {
    display: none;
  }

  .navbar-brand {
    font-size: 1.15rem;
  }
}

@media (max-width: 575.98px) {
  .hero-inner {
    padding-top: 6.5rem;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }

  .hero h1 {
    font-size: 1.7rem;
    letter-spacing: 0.02em;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .prime-btn,
  .ghost-btn {
    width: 100%;
    margin: 0.35rem 0 !important;
  }
}
