:root {
  --bg: #efefef;
  --text: #161616;
  --muted: rgba(22, 22, 22, 0.75);
  --white: #f9f8f7;
  --hero-overlay: rgba(47, 39, 31, 0.30);
  --border-soft: rgba(255, 255, 255, 0.8);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --max-width: 1720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Libre Baskerville', serif;
}

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

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

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

.section {
  padding: 72px 0;
}

.section-title,
.service-title,
.footer-brand,
.footer-heading,
.brand,
.hero-copy,
.marquee span {
  font-family: 'Cormorant Garamond', serif;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(calc(100% - 56px), var(--max-width));
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 26px;
}

.brand {
  font-size: 2.1rem;
  color: var(--white);
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  color: var(--white);
  font-size: 1.15rem;
}

.header-book,
.pill-button,
.outline-button {
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.header-book {
  background: rgba(255, 255, 255, 0.92);
  color: #1f1b17;
  padding: 18px 38px;
  font-size: 1.05rem;
}

.header-book:hover,
.pill-button:hover,
.outline-button:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 46px;
  height: 32px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  margin: 8px 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(80, 68, 56, 0.22), rgba(43, 35, 28, 0.34));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 180px;
  padding-bottom: 180px;
}

.hero-copy {
  max-width: 780px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.35rem, 3.7vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 84px;
  min-width: 332px;
  min-height: 86px;
  padding: 18px 38px;
  border: 1.5px solid var(--border-soft);
  color: var(--white);
  font-size: 1.05rem;
  background: transparent;
}

.marquee {
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-light {
  bottom: 10px;
}

.marquee-dark {
  position: relative;
  margin-top: -8px;
}

.marquee-track {
  display: inline-flex;
  min-width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee span {
  display: inline-block;
  padding-right: 72px;
  font-size: clamp(5rem, 9.2vw, 12rem);
  line-height: 0.9;
}

.marquee-light span {
  color: var(--white);
}

.marquee-dark span {
  color: #141414;
}

.services-grid,
.about-grid,
.footer-grid {
  display: grid;
  gap: 56px;
}

.services-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.section-title {
  margin: 0 0 48px;
  font-size: clamp(3.5rem, 5vw, 6rem);
  line-height: 0.92;
  font-weight: 500;
}

.services-text,
.bio-placeholder,
.footer-note,
.footer-text {
  font-size: 1.02rem;
  line-height: 1.75;
}

.services-text {
  max-width: 640px;
  margin-bottom: 72px;
}

.feature-image {
  width: 100%;
  object-fit: cover;
}

.polish-image {
  max-width: 720px;
  aspect-ratio: 1 / 1;
}

.services-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12px;
}

.service-card {
  width: min(100%, 520px);
  text-align: center;
}

.second-card {
  margin-top: 20px;
}

.service-title {
  margin: 0 0 18px;
  font-size: clamp(3rem, 4.6vw, 5.25rem);
  line-height: 0.95;
  font-weight: 500;
}

.service-image {
  width: 340px;
  max-width: 100%;
  margin: 0 auto 18px;
  object-fit: cover;
}

.service-image.tall {
  width: 235px;
}

.pill-button {
  display: inline-flex;
  width: min(100%, 430px);
  min-height: 82px;
  align-items: center;
  justify-content: center;
  background: #000;
  color: var(--white);
  font-size: 1rem;
}

.about-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
}

.about-text-block {
  padding-top: 8px;
}

.bio-placeholder {
  margin: 0 0 80px;
}

.beach-image {
  max-width: 860px;
}

.portrait-wrap {
  display: flex;
  justify-content: center;
}

.portrait-image {
  width: min(100%, 620px);
  object-fit: cover;
}

.social-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.social-button {
  width: min(100%, 260px);
  min-height: 82px;
}

.gallery-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.gallery-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.site-footer {
  padding-top: 92px;
  padding-bottom: 110px;
}

.footer-grid {
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  align-items: start;
}

.footer-brand {
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 4vw, 5rem);
  font-weight: 500;
  line-height: 0.95;
}

.footer-note {
  margin: 0;
}

.footer-note a {
  text-decoration: underline;
}

.footer-heading {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3.1vw, 3.6rem);
  font-weight: 500;
  line-height: 0.95;
}

.footer-text {
  margin: 0;
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 1100px) {
  .services-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-right,
  .portrait-wrap {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .service-card {
    text-align: left;
  }

  .service-image,
  .service-image.tall,
  .pill-button {
    margin-left: 0;
    margin-right: 0;
  }

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

@media (max-width: 760px) {
  .container,
  .site-header {
    width: min(calc(100% - 30px), var(--max-width));
  }

  .section {
    padding: 40px 0;
  }

  .site-header {
    top: 16px;
    align-items: flex-start;
  }

  .brand {
    font-size: 1.7rem;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 25;
  }

  .site-nav {
    position: absolute;
    top: 52px;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: rgba(18, 16, 14, 0.82);
    padding: 20px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
  }

  .site-nav.open {
    display: flex;
  }

  .header-book {
    padding: 14px 24px;
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: 920px;
    background-position: 62% center;
  }

  .hero-content {
    padding-top: 128px;
    padding-bottom: 160px;
  }

  .hero-copy {
    max-width: 420px;
    font-size: 4rem;
    line-height: 0.95;
  }

  .outline-button {
    margin-top: 28px;
    min-width: 220px;
    min-height: 72px;
  }

  .marquee-light {
    bottom: 18px;
  }

  .marquee span {
    padding-right: 44px;
  }

  .section-title {
    margin-bottom: 28px;
  }

  .services-text {
    margin-bottom: 36px;
  }

  .polish-image,
  .beach-image,
  .portrait-image,
  .gallery-image,
  .service-image,
  .service-image.tall,
  .pill-button,
  .service-card,
  .social-button {
    width: 100%;
    max-width: none;
  }

  .services-right {
    gap: 24px;
  }

  .service-card,
  .services-right,
  .portrait-wrap {
    align-items: stretch;
  }

  .service-card {
    text-align: center;
  }

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

  .social-inner {
    gap: 26px;
  }

  .site-footer {
    padding-top: 56px;
    padding-bottom: 64px;
  }
}
