:root {
  --bg: #f8f6f3;
  --paper: #fcfbf9;
  --text: #3f3b37;
  --muted: #7a726b;
  --line: #dfd7cd;
  --accent: #b59b7d;
  --accent-strong: #a68b6b;
  --motion-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

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

.section {
  padding: 5rem 0;
}

.section-kicker {
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title,
.display-title,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  color: #3a3531;
}

h1,
.display-title {
  font-family: "Cormorant Garamond", serif;
}

.display-title {
  font-size: clamp(2rem, 4.8vw, 4.5rem);
  line-height: 1.05;
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 1.1;
}

.hero-wrap {
  background: #f8f5f0;
}

.brand {
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand-logo-header {
  width: min(360px, 42vw);
  transition: width 0.28s ease;
}

.brand-logo-footer {
  width: min(250px, 100%);
}

.brand-title {
  display: block;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.03em;
  font-size: 1.7rem;
}

.brand-subtitle {
  display: block;
  margin-top: -0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.navbar {
  position: relative;
  z-index: 1030;
  padding: 1.1rem 0;
  background: #f8f5f0;
  transition: padding 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.navbar.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.58rem 0;
  background: #f8f5f0;
  box-shadow: 0 10px 26px rgba(63, 49, 37, 0.1);
}

.navbar.is-scrolled .brand-logo-header {
  width: min(300px, 35vw);
}

main section[id],
header section[id] {
  scroll-margin-top: 104px;
}

body.has-fixed-nav {
  padding-top: var(--nav-height, 0px);
}

.navbar .nav-link {
  color: #5f5750;
  font-size: 0.95rem;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #2f2a27;
}

.btn {
  font-weight: 500;
  border-radius: 0;
  padding: 0.82rem 1.45rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-brand {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn-brand:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fff;
}

.btn-outline-brand {
  border: 1px solid #cfbea9;
  color: #6f6153;
  background: transparent;
}

.btn-outline-brand:hover {
  background: #eee4d8;
  color: #4a4138;
}

.hero {
  position: relative;
}

.hero-text {
  max-width: 31ch;
  color: #645b54;
}

.link-arrow {
  color: #5a5149;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.link-arrow:hover {
  color: #2f2a27;
}

.hero-image {
  border-radius: 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: min(78vh, 860px);
  min-height: 520px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 560px;
  background: rgba(248, 245, 240, 0.82);
  backdrop-filter: blur(1px);
  padding: clamp(1.2rem, 2.2vw, 2.2rem);
  animation: hero-content-in 0.82s var(--motion-ease) 0.08s both;
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.motion-ready .reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.72s var(--motion-ease),
    transform 0.72s var(--motion-ease);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
}

.motion-ready .reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none;
  }

  .motion-ready .reveal-up,
  .motion-ready .reveal-up.in-view {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.about-row {
  align-items: stretch;
}
.about-row .col-lg-5 {
  display: flex;
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#aboutText2 {
  white-space: pre-line;
}

@media (min-width: 992px) {
  #about .about-row > .col-lg-5 {
    display: flex;
  }

  #about .about-row > .col-lg-7 {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #about .about-photo {
    flex: 1 1 auto;
    min-height: 100%;
  }
}

.stats {

  padding-top: 1.4rem;
}

.stat-number {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.project-card {
  background: var(--paper);
  border: 1px solid #ebe4dc;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.project-trigger {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.project-trigger:hover .project-card,
.project-trigger:focus-visible .project-card {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(80, 60, 43, 0.11);
}

.project-trigger:focus-visible {
  outline: 0;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-meta {
  padding: 1rem;
}

.project-meta h3 {
  margin: 0 0 0.3rem;
  font-size: 1.75rem;
  line-height: 1;
}

.project-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-grid {
  border-top: 1px solid var(--line);
}

.service-item {
  padding-top: 1.8rem;
}

@media (min-width: 1200px) {
  .service-item {
    padding: 1.8rem 2rem 0;
    border-right: 1px solid var(--line);
  }

  .service-item:last-child {
    border-right: 0;
  }
}

.service-index {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  line-height: 1;
  color: #9f8a73;
  margin-bottom: 0.8rem;
}

.service-item h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.service-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #605650;
}

.service-item li {
  margin: 0.35rem 0;
}

.service-item li::before {
  content: "— ";
  color: #b59b7d;
}

.pricing-grid {
  margin-top: 0.5rem;
}

.pricing-card {
  height: 100%;
  background: #fcfaf7;
  border: 1px solid #e8dfd3;
  padding: 1.2rem 1.15rem 1.1rem;
}

.pricing-card h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.65rem, 2vw, 2.15rem);
  line-height: 1.06;
}

.pricing-value {
  margin: 0 0 0.75rem;
  color: #8a755d;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-subtitle {
  margin: 0 0 0.65rem;
  color: #5e544b;
  font-size: 0.95rem;
}

.pricing-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  margin: 0.32rem 0;
  color: #5f5750;
  font-size: 0.95rem;
  line-height: 1.45;
}

.pricing-card li::before {
  content: "— ";
  color: #b59b7d;
}

.process-row {
  border-top: 1px dashed #d7cbbb;
  padding-top: 2rem;
}

.process-item {
  text-align: center;
}

.process-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.8rem;
  border: 1px solid #ccbba6;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #8a755d;
  font-size: 1.45rem;
}

.process-item h3 {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #f5f1eb;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.cta-copy-inner {
  max-width: 500px;
  background: rgba(248, 245, 240, 0.86);
  padding: 1.3rem 1.45rem;
}

.cta-copy-inner .section-title {
  max-width: 12ch;
  line-height: 1.03;
}

.cta-image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.project-modal .modal-content {
  border-radius: 0;
  border: 1px solid #e6dbc9;
  background: #fcf9f4;
}

.project-modal .modal-header {
  border-bottom: 1px solid #e8ddcd;
  padding: 1.2rem 1.25rem 1rem;
}

.project-modal .modal-body {
  padding: 1.15rem 1.25rem 1.25rem;
}

.project-modal-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 1;
}

.project-modal-meta {
  color: #7f7469;
  font-size: 0.93rem;
}

.project-modal-description {
  color: #5d544b;
  margin-bottom: 1.1rem;
}

.project-modal-subtitle {
  font-size: 2rem;
  margin-bottom: 0.7rem;
}

.project-modal-services {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-modal-services li {
  margin-bottom: 0.45rem;
  color: #5f5750;
}

.project-modal-services li::before {
  content: "— ";
  color: #b59b7d;
}

#projectCarousel {
  background: #f4eee6;
}

#projectCarousel .carousel-item img {
  width: 100%;
  height: clamp(280px, 44vw, 520px);
  object-fit: cover;
  cursor: zoom-in;
}

#projectCarousel .carousel-indicators {
  margin-bottom: 0.6rem;
}

#projectCarousel .carousel-indicators [data-bs-target] {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  border: 0;
  background: #cdbca7;
}

#projectCarousel .carousel-control-prev,
#projectCarousel .carousel-control-next {
  width: 9%;
}

#projectCarousel .carousel-control-prev-icon,
#projectCarousel .carousel-control-next-icon {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background-color: rgba(64, 51, 39, 0.35);
  background-size: 45%;
}

.image-zoom-modal .modal-content {
  border: 0;
  border-radius: 0;
  background: rgba(22, 18, 14, 0.96);
}

.image-zoom-modal .modal-header {
  border: 0;
  justify-content: flex-end;
  padding: 0.8rem 0.8rem 0;
}

.image-zoom-modal .modal-body {
  padding: 0.7rem;
  display: grid;
  place-items: center;
}

.image-zoom-modal #imageZoomCarousel {
  width: min(1400px, 100%);
}

.image-zoom-modal #imageZoomCarousel .carousel-item img {
  width: 100%;
  height: calc(100vh - 2rem);
  object-fit: contain;
}

.image-zoom-modal #imageZoomCarousel .carousel-control-prev,
.image-zoom-modal #imageZoomCarousel .carousel-control-next {
  width: 8%;
}

.image-zoom-modal #imageZoomCarousel .carousel-control-prev-icon,
.image-zoom-modal #imageZoomCarousel .carousel-control-next-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.22);
  background-size: 45%;
}

.image-zoom-modal #imageZoomCarousel .carousel-indicators {
  margin-bottom: 0.2rem;
}

.image-zoom-modal #imageZoomCarousel .carousel-indicators [data-bs-target] {
  width: 0.6rem;
  height: 0.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.request-modal .modal-content {
  border-radius: 0;
  border: 1px solid #e7ddcf;
  background: #fbf7f1;
  box-shadow: 0 20px 50px rgba(55, 42, 31, 0.18);
}

.request-modal .modal-header {
  border-bottom: 1px solid #eadfce;
  padding: 1.4rem 1.4rem 1rem;
}

.request-modal .modal-body {
  padding: 1.2rem 1.4rem 1.4rem;
}

.request-modal-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 3.1vw, 2.6rem);
  line-height: 1.05;
  color: #3a3531;
}

.request-modal-subtitle {
  color: #6b6158;
  margin-bottom: 1rem;
}

.request-modal .form-label {
  font-weight: 500;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7f7367;
  margin-bottom: 0.35rem;
}

.request-modal .form-control {
  border-radius: 0;
  border: 1px solid #d8cbbb;
  background: #fefcf9;
  color: #463f38;
  padding: 0.68rem 0.82rem;
}

.request-modal .form-control:focus {
  border-color: #b69c7d;
  box-shadow: 0 0 0 0.2rem rgba(182, 156, 125, 0.2);
}

.request-modal textarea.form-control {
  resize: vertical;
  min-height: 108px;
}

.request-check {
  margin-top: 1rem;
}

.request-check .form-check-label {
  color: #695f56;
  font-size: 0.9rem;
}

.request-modal-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.request-response {
  color: #5f7a53;
  font-size: 0.92rem;
}

@media (min-width: 992px) {
  .cta-section {
    height: 50vh;
  }
}

.footer {
  border-top: 1px solid var(--line);
  background: #fcfaf7;
  padding: 0.9rem 0;
}

.footer-row {
  min-height: 58px;
}

.footer-brand-title {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.footer-brand-subtitle {
  font-size: 0.72rem;
  margin-top: 0.1rem;
  letter-spacing: 0.08em;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.8rem;
  justify-content: flex-end;
  align-items: center;
}

.footer-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #5f5750;
  font-size: 0.9rem;
  white-space: nowrap;
}

.footer-list a {
  color: inherit;
  text-decoration: none;
}

.footer-list a:hover {
  color: #352f2b;
}

.footer-icon {
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid #d7c8b8;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9d856a;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.footer-meta {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid #e5ddd3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.2rem;
}

.footer-copy,
.footer-credit {
  color: #7a726b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.footer-credit {
  text-align: right;
}

.footer-credit a {
  color: #5f5750;
  text-decoration: none;
}

.footer-credit a:hover {
  color: #352f2b;
}

@media (max-width: 991.98px) {
  .navbar {
    padding: 0.75rem 0;
    background: #f8f5f0;
    box-shadow: 0 8px 22px rgba(63, 49, 37, 0.1);
  }

  .navbar.is-scrolled {
    padding: 0.6rem 0;
  }

  .navbar .brand-logo-header,
  .navbar.is-scrolled .brand-logo-header {
    width: min(260px, 56vw);
  }

  .navbar-collapse {
    background: rgba(248, 244, 238, 0.98);
    margin-top: 0.8rem;
    padding: 1rem;
    border: 1px solid #e6ddd2;
  }

  .hero-image img {
    height: 72vh;
    min-height: 500px;
  }

  .section {
    padding: 4rem 0;
  }

  .project-meta h3 {
    font-size: 1.6rem;
  }

  .about-photo {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .cta-section {
    height: 52vh;
    min-height: 340px;
  }

  .cta-overlay {
    align-items: flex-end;
    padding-bottom: 1rem;
  }

  .cta-copy-inner {
    max-width: 100%;
    padding: 1rem;
  }

  .cta-copy-inner .section-title {
    max-width: 100%;
  }

  .footer-list {
    justify-content: flex-start;
  }

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

  .footer-credit {
    text-align: left;
  }

  .request-modal .modal-dialog {
    max-width: min(760px, calc(100vw - 2rem));
    margin-left: auto;
    margin-right: auto;
  }

  .project-modal .modal-dialog {
    max-width: min(1120px, calc(100vw - 2rem));
  }
}

@media (max-width: 767.98px) {
  .brand-logo-header {
    width: min(210px, 62vw);
  }

  .brand-logo-footer {
    width: min(200px, 72vw);
  }

  .brand-title {
    font-size: 1.35rem;
  }

  .hero-image img {
    height: 88vh;
    min-height: 560px;
  }

  .hero-overlay {
    align-items: flex-end;
    padding-bottom: 1.1rem;
  }

  .hero-content {
    max-width: 100%;
    background: rgba(248, 245, 240, 0.9);
    padding: 1rem;
  }

  .display-title {
    font-size: clamp(2rem, 10vw, 2.9rem);
  }

  .section-title {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
  }

  .hero-text {
    max-width: 100%;
  }

  .section {
    padding: 3.3rem 0;
  }

  .cta-section {
    height: 64vh;
    min-height: 420px;
  }

  .request-modal .modal-header {
    padding: 1rem 1rem 0.8rem;
  }

  .request-modal .modal-body {
    padding: 0.9rem 1rem 1rem;
  }

  .project-modal .modal-header,
  .project-modal .modal-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #projectCarousel .carousel-item img {
    height: 270px;
  }

  .footer {
    padding: 1rem 0;
  }

  .footer-brand-title {
    font-size: 1.1rem;
  }

  .footer-list {
    gap: 0.55rem 0.95rem;
    align-items: flex-start;
  }

  .footer-list li {
    font-size: 0.84rem;
  }
}
