:root {
  color-scheme: light;
  --bg: #f7f1ea;
  --bg-soft: #fbf7f3;
  --panel: rgba(255, 250, 245, 0.82);
  --text: #221815;
  --muted: #6f6057;
  --accent: #b58a69;
  --accent-dark: #8a6248;
  --line: rgba(134, 101, 78, 0.16);
  --shadow: 0 24px 60px rgba(77, 51, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(181, 138, 105, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(198, 171, 142, 0.22), transparent 26%),
    linear-gradient(180deg, #fdf9f5 0%, #f6efe8 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.hero,
.section,
.footer {
  position: relative;
  background: var(--panel);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(110, 78, 55, 0.08);
  box-shadow: var(--shadow);
}

.hero {
  overflow: hidden;
  border-radius: 32px 32px 24px 24px;
  padding: 24px 24px 34px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 280px;
  height: 280px;
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(181, 138, 105, 0.18), transparent 68%);
}

.hero::after {
  width: 220px;
  height: 220px;
  right: -90px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(138, 98, 72, 0.15), transparent 70%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 44px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  color: #fff7f0;
  background: linear-gradient(145deg, var(--accent-dark), var(--accent));
}

.brand p,
.brand span {
  margin: 0;
}

.brand p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand span {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  padding: clamp(16px, 3vw, 32px) 0 18px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--accent-dark);
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: 0.02em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.7rem, 8vw, 7rem);
}

.hero h1 span {
  display: block;
  color: var(--accent-dark);
  font-family: "Allura", cursive;
  font-weight: 400;
  font-size: 0.72em;
  line-height: 0.8;
  margin: 0.08em 0 0.02em;
}

.lede,
.section p {
  color: var(--muted);
  line-height: 1.7;
}

.lede {
  max-width: 58ch;
  margin: 18px 0 0;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 24px rgba(80, 54, 34, 0.12);
}

.button-primary {
  color: #fff8f3;
  background: linear-gradient(145deg, var(--accent-dark), #c89b74);
}

.button-secondary {
  border-color: rgba(133, 98, 73, 0.18);
  background: rgba(255, 255, 255, 0.46);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-stats li,
.about-points div,
.contact-card,
.contact-form,
.portfolio-card,
.about-panel__frame {
  border: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.72);
  border-radius: 24px;
}

.hero-stats li {
  padding: 18px 16px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--accent-dark);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card {
  min-height: 520px;
  padding: 20px;
  border-radius: 30px;
  border: 1px solid rgba(134, 101, 78, 0.16);
  background:
    linear-gradient(180deg, rgba(247, 238, 228, 0.6), rgba(255, 248, 242, 0.86)),
    radial-gradient(circle at 20% 20%, rgba(181, 138, 105, 0.12), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(220, 198, 176, 0.42), transparent 18%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-card__badge {
  align-self: flex-end;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 248, 242, 0.68);
  color: var(--accent-dark);
  border: 1px solid rgba(134, 101, 78, 0.12);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.hero-card__content {
  max-width: 22ch;
  margin-top: auto;
}

.hero-card__content p,
.hero-card__content span,
.section-heading p,
.about-copy p,
.contact-card li,
.contact-form label {
  color: var(--muted);
}

.hero-card__content p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 14px;
}

.hero-card__content h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  margin: 0 0 4px;
}

.hero-card__ornament {
  align-self: center;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.62), transparent 54%),
    conic-gradient(from 180deg, rgba(181, 138, 105, 0.08), rgba(138, 98, 72, 0.24), rgba(181, 138, 105, 0.08));
  filter: blur(0.2px);
  opacity: 0.72;
}

.section {
  margin-top: 22px;
  border-radius: 28px;
  padding: clamp(22px, 4vw, 38px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section h2 {
  font-size: clamp(2.3rem, 4.8vw, 4rem);
  margin-bottom: 12px;
}

.section-heading p:last-child,
.about-copy p:last-child {
  margin-bottom: 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}

.portfolio-card {
  min-height: 220px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(249, 242, 235, 0.92)),
    radial-gradient(circle at top right, rgba(181, 138, 105, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(220, 201, 184, 0.26), rgba(246, 238, 231, 0.94));
}

.portfolio-card--large {
  min-height: 290px;
  grid-row: span 2;
}

.portfolio-card--dark {
  color: #fff8f3;
  background:
    linear-gradient(180deg, rgba(46, 31, 24, 0.18), rgba(34, 24, 21, 0.9)),
    radial-gradient(circle at top left, rgba(181, 138, 105, 0.26), transparent 30%);
}

.portfolio-card span {
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.portfolio-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
}

.section-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.about-copy {
  padding-right: 10px;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.about-points div {
  padding: 18px;
}

.about-points strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
}

.about-panel {
  min-height: 100%;
  display: grid;
  place-items: center;
}

.about-panel__frame {
  width: 100%;
  min-height: 420px;
  padding: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 250, 245, 0.82), rgba(244, 234, 224, 0.78)),
    radial-gradient(circle at top, rgba(181, 138, 105, 0.14), transparent 34%);
}

.about-panel__frame p {
  max-width: 16ch;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  color: var(--accent-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.05fr;
  gap: 18px;
}

.contact-card,
.contact-map,
.contact-form {
  padding: 22px;
}

.contact-card h3 {
  margin-top: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(133, 98, 73, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 22px rgba(80, 54, 34, 0.1);
  border-color: rgba(133, 98, 73, 0.26);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.social-link--instagram {
  color: #8a6248;
}

.social-link--facebook {
  color: #5f6f8b;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-map h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.contact-map p {
  margin: 0;
}

.contact-map__frame {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(133, 98, 73, 0.14);
  background: rgba(255, 255, 255, 0.68);
}

.contact-map__frame iframe {
  display: block;
  width: 100%;
  min-height: 290px;
  border: 0;
}

.route-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.route-link {
  flex: 1 1 220px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(133, 98, 73, 0.14);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(181, 138, 105, 0.25);
  border-color: rgba(181, 138, 105, 0.4);
}

.footer {
  margin-top: 22px;
  border-radius: 22px;
  padding: 18px 24px;
  text-align: center;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .section-split,
  .contact-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card--large {
    grid-row: auto;
  }

  .hero-stats,
  .about-points {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .hero,
  .section,
  .footer {
    border-radius: 22px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 12px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .hero-card__content p {
    font-size: 1.5rem;
  }
}
