:root {
  --sand: #f5efe6;
  --warm: #ead8c2;
  --cream: #fffaf3;
  --clay: #a86f56;
  --terracotta: #8f4f37;
  --ink: #2d2925;
  --muted: #746a61;
  --line: rgba(45, 41, 37, 0.14);
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(62, 47, 37, 0.14);
  --radius: 28px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
}

.skip-link:focus {
  left: 12px;
}

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

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 243, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px rgba(62, 47, 37, 0.08);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 18px;
}

.brand-text {
  text-transform: uppercase;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a,
.footer-links a {
  position: relative;
}

.nav-links a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s ease;
}

.nav-links a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  border: 1px solid var(--ink);
  padding: 11px 18px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding-top: 70px;
  background:
    radial-gradient(circle at top left, rgba(168, 111, 86, 0.18), transparent 28%),
    linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 88px);
  margin-bottom: 24px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.5vw, 58px);
  margin-bottom: 18px;
}

h3 {
  font-size: 23px;
  margin-bottom: 14px;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(62, 47, 37, 0.16);
}

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

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.light {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-points span {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  left: -22px;
  bottom: 40px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.92);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(62, 47, 37, 0.12);
}

.small-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.intro-text {
  color: var(--muted);
  font-size: 20px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.work-section,
.process-section {
  background: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.portfolio-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 0 16px 44px rgba(62, 47, 37, 0.09);
}

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

.portfolio-card div {
  padding: 24px;
}

.portfolio-card span {
  display: block;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: 700;
}

.services-section {
  background: var(--sand);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.package-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.72);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 44px rgba(62, 47, 37, 0.07);
}

.package-card.featured {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-18px);
}

.package-number {
  color: var(--terracotta);
  font-family: Georgia, serif;
  font-size: 42px;
  margin-bottom: 34px;
}

.featured .package-number,
.featured .text-link {
  color: var(--warm);
}

.package-card p {
  color: var(--muted);
}

.package-card.featured p,
.package-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.package-card ul {
  padding: 0;
  margin: 20px 0 32px;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--muted);
}

.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
}

.text-link {
  margin-top: auto;
  color: var(--terracotta);
  font-weight: 800;
}

.details-section {
  background: linear-gradient(135deg, var(--cream), var(--warm));
}

.details-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 32px;
  align-items: stretch;
}

.details-panel {
  border-radius: var(--radius);
  padding: 42px;
  background: var(--ink);
  color: var(--white);
}

.details-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

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

.benefit-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.benefit-card p {
  color: var(--muted);
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
}

.process-item span {
  color: var(--clay);
  font-family: Georgia, serif;
  font-size: 42px;
}

.process-item p {
  color: var(--muted);
  max-width: 780px;
}

.about-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: center;
}

.portrait-card {
  padding: 18px;
  border-radius: 36px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.portrait-card img {
  border-radius: 26px;
}

.portrait-card p {
  margin: 14px 8px 6px;
  color: var(--muted);
  font-size: 14px;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.signature {
  margin-top: 24px;
  font-family: Georgia, serif;
  font-size: 30px;
  color: var(--terracotta);
}

.cta-section {
  padding: 56px 0;
  background: var(--white);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px;
  border-radius: 34px;
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-card .eyebrow {
  color: var(--warm);
}

.cta-card h2 {
  margin-bottom: 0;
}

.contact-section {
  background: var(--sand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 48px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-methods a,
.contact-methods span {
  display: inline-flex;
  width: fit-content;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(143, 79, 55, 0.12);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}

.footer {
  padding: 56px 0 28px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer p,
.footer-bottom {
  color: rgba(255, 255, 255, 0.68);
}

.footer .brand-mark {
  border-color: rgba(255, 255, 255, 0.74);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 78px 0 auto 0;
    padding: 28px 20px 34px;
    display: grid;
    gap: 18px;
    background: rgba(255, 250, 243, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-cta {
    display: none;
  }

  .hero-grid,
  .split,
  .details-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    left: 18px;
  }

  .portfolio-grid,
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .package-card.featured {
    transform: none;
  }

  .details-grid,
  .contact-grid {
    gap: 26px;
  }

  .cta-card,
  .footer-grid,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 42px;
  }

  .nav {
    height: 70px;
  }

  .nav-links {
    inset: 70px 0 auto 0;
  }

  .brand-text {
    font-size: 12px;
  }

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

  .hero-actions {
    display: grid;
  }

  .hero-card {
    position: static;
    margin-top: 14px;
  }

  .portfolio-card div,
  .package-card,
  .details-panel,
  .benefit-card,
  .process-item,
  .contact-form,
  .cta-card {
    padding: 24px;
  }

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

  .process-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
