@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --brand: #a1826e;
  --brand-dark: #7d6454;
  --brand-light: #d6c6b8;
  --brand-soft: #fdfcfb;
  --ink: #3d3d3d;
  --muted: rgba(61, 61, 61, 0.66);
  --line: rgba(161, 130, 110, 0.16);
  --shadow: 0 22px 55px rgba(68, 47, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: "Outfit", Arial, sans-serif;
}

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

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

.hero {
  position: relative;
  display: flex;
  min-height: 85vh;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.hero-media {
  position: absolute;
  inset: 0 0 auto;
  height: 50vh;
  overflow: hidden;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 15%;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, transparent 35%, rgba(255, 255, 255, 0.16), #fff);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 370px;
  padding: 0 24px 44px;
  text-align: center;
  animation: fade-up 0.85s ease both;
}

.hero h1,
.bio h2,
.service h3,
.final-banner h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

.hero h1 {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: clamp(3rem, 10.8vw, 4.25rem);
  line-height: 0.94;
  white-space: nowrap;
}

.hero-points {
  display: grid;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
  color: rgba(161, 130, 110, 0.92);
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.point-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.point-icon:first-child {
  fill: rgba(161, 130, 110, 0.12);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 8px 22px rgba(54, 32, 18, 0.14);
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-links a:hover {
  color: var(--brand-dark);
  transform: translateY(-3px) scale(1.06);
}

.hero-actions,
.service-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 12px 25px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 15px 30px rgba(161, 130, 110, 0.28);
}

.button-secondary {
  border-color: rgba(161, 130, 110, 0.14);
  background: #fff;
  color: var(--brand);
  box-shadow: 0 8px 20px rgba(54, 32, 18, 0.08);
}

.marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(214, 198, 184, 0.28);
  background: var(--brand);
  padding: 9px 0;
}

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

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.marquee h2 {
  display: inline-flex;
  width: 330px;
  min-height: auto;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0 34px;
  background: transparent;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee h2::after {
  width: 5px;
  height: 5px;
  margin-left: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  content: "";
  flex: 0 0 5px;
}

.services {
  width: min(100%, 944px);
  margin: 0 auto;
  padding: 48px 16px;
}

.services-grid {
  display: grid;
  gap: 22px;
}

.service {
  display: flex;
  min-height: 170px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(64, 40, 28, 0.07);
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.eyebrow {
  margin-bottom: 7px;
  color: rgba(161, 130, 110, 0.72);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service h3 {
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}

.service p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 0.72rem;
}

.service-action {
  width: max-content;
  min-height: 36px;
  border-radius: 10px;
  padding: 10px 15px;
  background: var(--brand);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(161, 130, 110, 0.16);
}

.service-image {
  width: 34%;
  min-width: 116px;
  aspect-ratio: 1 / 1;
  align-self: center;
  overflow: hidden;
  border-radius: 0 22px 22px 0;
  background: rgba(214, 198, 184, 0.28);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.service:hover .service-image img {
  transform: scale(1.08);
}

.bio {
  width: min(100%, 944px);
  margin: 0 auto;
  padding: 44px 16px 58px;
}

.bio-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.bio h2 {
  color: var(--brand);
  font-size: clamp(2rem, 8vw, 3rem);
}

.bio-copy {
  display: grid;
  gap: 16px;
  color: rgba(61, 61, 61, 0.82);
  font-size: 1rem;
  line-height: 1.72;
}

.bio-copy p {
  margin: 0;
}

.bio-media {
  position: relative;
  min-height: 290px;
}

.bio-media::before {
  position: absolute;
  inset: 5% -8%;
  z-index: 0;
  border-radius: 999px;
  background: rgba(214, 198, 184, 0.14);
  content: "";
  filter: blur(28px);
}

.bio-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(33, 19, 11, 0.18));
}

.final-section {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 16px 76px;
}

.final-banner {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.final-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 0.9s ease;
}

.final-banner:hover img {
  transform: scale(1.04);
}

.final-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(125, 100, 84, 0.84), rgba(125, 100, 84, 0.42), transparent);
}

.final-content {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  max-width: 350px;
  color: #fff;
  text-align: right;
}

.final-banner h2 {
  margin-bottom: 24px;
  font-size: clamp(1.68rem, 6.35vw, 2.7rem);
  line-height: 1.03;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.24);
}

.signature {
  margin: 22px 0 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  opacity: 0.84;
  text-transform: uppercase;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 16px;
  color: rgba(61, 61, 61, 0.42);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
  background: #fff;
  text-align: center;
}

.not-found-card {
  width: min(100%, 440px);
}

.not-found-code {
  color: rgba(161, 130, 110, 0.12);
  font-size: clamp(6rem, 28vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
}

.not-found h1 {
  margin: -28px 0 14px;
  color: #171717;
  font-size: 1.9rem;
}

.not-found p {
  margin: 0 0 30px;
  color: #666;
  line-height: 1.65;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .hero {
    height: clamp(700px, 78vh, 840px);
    min-height: 0;
    align-items: stretch;
    justify-content: flex-start;
  }

  .hero-media {
    position: relative;
    order: 2;
    width: 46%;
    height: 100%;
    min-height: 0;
    margin-left: auto;
  }

  .hero-media img {
    object-fit: cover;
    object-position: 58% 42%;
  }

  .hero-media::after {
    background: linear-gradient(to right, #fff, transparent 52%);
  }

  .hero-content {
    display: flex;
    width: 54%;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: clamp(190px, 22vh, 250px) 48px 0 7%;
    text-align: left;
  }

  .hero h1 {
    max-width: 680px;
    margin-bottom: 20px;
    color: var(--brand-dark);
    font-size: clamp(3.35rem, 4.5vw, 4.9rem);
  }

  .hero-points {
    gap: 9px;
    margin-bottom: 24px;
    font-size: 1rem;
  }

  .hero-points li,
  .social-links,
  .hero-actions {
    justify-content: flex-start;
  }

  .social-links {
    gap: 16px;
    margin-bottom: 24px;
  }

  .social-links a {
    width: 48px;
    height: 48px;
  }

  .social-links svg {
    width: 21px;
    height: 21px;
  }

  .button {
    min-height: 48px;
    padding: 12px 32px;
    font-size: 0.8rem;
  }

  .marquee-track {
    animation-duration: 120s;
  }

  .marquee h2 {
    width: 470px;
    padding: 0 80px;
    font-size: 1.05rem;
  }

  .marquee h2::after {
    margin-left: 80px;
  }

  .services {
    padding: 64px 24px;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .service {
    min-height: 440px;
    align-items: stretch;
    flex-direction: column;
    border-radius: 28px;
  }

  .service-body {
    align-items: center;
    padding: 30px 24px;
    text-align: center;
  }

  .service h3 {
    font-size: 2rem;
  }

  .service p {
    min-height: 20px;
    font-size: 0.88rem;
  }

  .service-action {
    width: 100%;
  }

  .service-image {
    width: 100%;
    aspect-ratio: 1.18 / 1;
    min-height: 190px;
    border-radius: 0;
  }

  .bio {
    padding: 60px 24px 74px;
  }

  .bio-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
    gap: 56px;
  }

  .bio-media img {
    height: 450px;
    object-fit: cover;
  }

  .final-section {
    padding: 0 24px 86px;
  }

  .final-banner {
    height: 500px;
    border-radius: 40px;
  }

  .final-banner img {
    object-position: center 28%;
  }

  .final-content {
    right: 48px;
    bottom: 46px;
    max-width: 420px;
  }

  .final-banner h2 {
    font-size: clamp(2.05rem, 3.35vw, 2.75rem);
    line-height: 1.06;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 68vh;
  }

  .hero-media {
    height: 39vh;
  }

  .hero-content {
    padding-bottom: 8px;
    transform: translateY(-12px);
  }

  .hero h1 {
    margin-bottom: 8px;
    font-size: clamp(2.75rem, 10vw, 3.35rem);
  }

  .hero-points {
    gap: 4px;
    margin-bottom: 12px;
  }

  .social-links {
    gap: 10px;
    margin-bottom: 14px;
  }

  .hero-actions {
    gap: 9px;
  }

  .services {
    padding-top: 30px;
  }

  .button {
    padding-inline: 18px;
  }

  .final-content {
    right: 20px;
    left: 20px;
    bottom: 26px;
    max-width: none;
    text-align: right;
  }

  .final-banner h2 {
    font-size: clamp(1.65rem, 7.4vw, 2.08rem);
    line-height: 1.02;
  }
}
