:root {
  --bg: #f5efe7;
  --surface: rgba(255, 250, 245, 0.8);
  --surface-strong: #fffaf4;
  --ink: #181716;
  --muted: #625a53;
  --line: rgba(24, 23, 22, 0.1);
  --accent: #bc8f72;
  --accent-deep: #8f6244;
  --accent-soft: #e7d0c1;
  --forest: #344038;
  --shadow: 0 24px 80px rgba(31, 27, 23, 0.12);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(188, 143, 114, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(52, 64, 56, 0.12), transparent 24%),
    linear-gradient(180deg, #f8f3ed 0%, #f2ece4 42%, #ebe2d8 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  margin-bottom: 32px;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 244, 0.78);
  border: 1px solid rgba(24, 23, 22, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(43, 33, 25, 0.08);
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.brand-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 6px;
  background: linear-gradient(160deg, #141312, #3d342d);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong,
.footer strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  line-height: 1;
}

.brand-copy span,
.footer span {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(24, 23, 22, 0.1);
  border-radius: 50%;
  background: rgba(255, 250, 244, 0.88);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}

.menu-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav a,
.cta-link {
  padding: 12px 16px;
  border-radius: 999px;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
}

.nav a:hover,
.cta-link:hover,
.button:hover {
  transform: translateY(-1px);
}

.nav a:hover {
  background: rgba(24, 23, 22, 0.06);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #f8f2eb;
}

.hero,
.contact {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
}

.hero {
  min-height: 80vh;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.about-content,
.service-grid,
.project-grid,
.contact-form,
.contact-copy {
  animation: rise-in 700ms ease both;
}

.hero-copy {
  padding: 34px 12px 20px 0;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--forest);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 7vw, 6.2rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
}

h3 {
  font-size: 2rem;
  line-height: 1;
}

.hero-text,
.section-heading p:last-child,
.about-panel p,
.service-card p,
.project-copy p,
.contact-copy p,
.intro-strip p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 58ch;
  margin: 24px 0 0;
  font-size: 1.05rem;
}

.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 200ms ease, opacity 200ms ease, background-color 200ms ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff9f5;
  box-shadow: 0 14px 30px rgba(143, 98, 68, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border: 1px solid rgba(24, 23, 22, 0.08);
}

.button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.hero-highlights article,
.intro-strip,
.about-panel,
.service-card,
.project-card,
.contact-copy,
.contact-form {
  border: 1px solid rgba(24, 23, 22, 0.08);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-highlights article {
  padding: 18px 20px;
  border-radius: var(--radius-md);
}

.hero-highlights strong,
.contact-cards strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-highlights span,
.contact-cards span {
  color: var(--muted);
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  min-height: 680px;
  border-radius: 42px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(17, 17, 16, 0.96), rgba(49, 42, 35, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
  box-shadow: 0 30px 70px rgba(26, 22, 20, 0.24);
}

.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
}

.hero-visual::before {
  inset: auto auto -120px -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(231, 208, 193, 0.6), transparent 70%);
}

.hero-visual::after {
  inset: -80px -80px auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(188, 143, 114, 0.35), transparent 72%);
}

.floating-card {
  position: absolute;
  padding: 24px;
  border-radius: 28px;
  background: rgba(250, 243, 236, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8f2eb;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px);
}

.floating-card .label,
.project-media span,
.about-panel span,
.service-card span,
.contact-cards span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card-large {
  inset: 42px 42px auto auto;
  width: min(320px, calc(100% - 84px));
}

.card-large strong,
.card-medium strong,
.card-tall strong,
.project-copy strong,
.about-panel strong,
.contact-copy h2 {
  display: block;
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 10px;
}

.card-large p,
.card-medium p,
.card-tall li {
  margin: 0;
  color: rgba(248, 242, 235, 0.8);
  line-height: 1.7;
}

.card-medium {
  left: 42px;
  bottom: 110px;
  width: min(300px, calc(100% - 84px));
}

.card-tall {
  right: 56px;
  bottom: 46px;
  width: 220px;
}

.card-tall ul,
.service-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

.intro-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 26px;
  margin: 34px 0 110px;
  border-radius: var(--radius-lg);
}

.intro-strip span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.intro-strip strong {
  font-size: 1.1rem;
}

.section-grid,
.services,
.projects,
.contact {
  margin-bottom: 110px;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.about-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  gap: 18px;
}

.about-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.about-panel.emphasis {
  background: linear-gradient(145deg, rgba(188, 143, 114, 0.18), rgba(255, 250, 244, 0.82));
}

.about-panel.stats {
  display: grid;
  gap: 16px;
  background: linear-gradient(170deg, rgba(52, 64, 56, 0.95), rgba(17, 17, 16, 0.92));
  color: #fff8f2;
}

.about-panel.stats span {
  color: rgba(255, 248, 242, 0.76);
}

.about-panel.stats strong {
  margin-bottom: 6px;
}

.service-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.project-card,
.contact-copy,
.contact-form {
  border-radius: var(--radius-lg);
}

.service-card {
  padding: 28px;
}

.service-card span {
  color: var(--accent-deep);
}

.service-card p {
  margin: 14px 0;
}

.project-card {
  overflow: hidden;
}

.project-media {
  min-height: 320px;
  padding: 26px;
  display: flex;
  align-items: flex-end;
}

.project-card.warm .project-media {
  background:
    linear-gradient(180deg, transparent 30%, rgba(22, 19, 18, 0.5) 100%),
    linear-gradient(135deg, #d8c1ae, #8d6f5d);
}

.project-card.dark .project-media {
  background:
    linear-gradient(180deg, transparent 30%, rgba(22, 19, 18, 0.5) 100%),
    linear-gradient(135deg, #36443b, #171816);
}

.project-card.light .project-media {
  background:
    linear-gradient(180deg, transparent 30%, rgba(22, 19, 18, 0.35) 100%),
    linear-gradient(135deg, #f0e6db, #c7b19b);
}

.project-media span {
  color: rgba(255, 252, 248, 0.84);
}

.project-copy {
  padding: 22px 24px 26px;
}

.project-copy p {
  margin: 12px 0 0;
}

.contact-copy,
.contact-form {
  padding: 30px;
}

.contact-copy {
  background: linear-gradient(165deg, rgba(19, 19, 18, 0.96), rgba(53, 47, 42, 0.92));
  color: #fbf5ee;
}

.contact-copy .eyebrow,
.contact-copy p,
.contact-copy .contact-cards span {
  color: rgba(251, 245, 238, 0.72);
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-cards article {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form {
  display: grid;
  gap: 20px;
  background: rgba(255, 251, 246, 0.9);
}

.field-grid {
  display: grid;
  gap: 14px;
}

.field-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label,
fieldset {
  display: grid;
  gap: 10px;
}

label > span,
legend {
  font-weight: 700;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

input[type='text'],
input[type='tel'],
textarea,
input[type='file'] {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(24, 23, 22, 0.12);
  border-radius: 18px;
  background: #fffdf9;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(143, 98, 68, 0.64);
  box-shadow: 0 0 0 4px rgba(188, 143, 114, 0.16);
}

textarea {
  resize: vertical;
}

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

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

.choice-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 23, 22, 0.08);
  border-radius: 18px;
  background: #fffdf9;
  cursor: pointer;
}

.choice-grid input {
  accent-color: var(--accent-deep);
}

.upload-field small,
.form-status {
  color: var(--muted);
}

.form-status[data-state='success'] {
  color: #1f6a3d;
}

.form-status[data-state='error'] {
  color: #9e3a2f;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 8px 8px;
  color: var(--muted);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@media (max-width: 1100px) {
  .hero,
  .contact,
  .about-content,
  .service-grid,
  .project-grid,
  .field-grid.three,
  .field-grid.two {
    grid-template-columns: 1fr;
  }

  .topbar {
    border-radius: 28px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-visual {
    min-height: 560px;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .intro-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, 1240px);
    padding-top: 14px;
  }

  .topbar {
    position: static;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 18px;
    border-radius: 28px;
  }

  .brand {
    max-width: calc(100% - 68px);
  }

  .brand-copy strong {
    font-size: 1.55rem;
  }

  .brand-copy span {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(24, 23, 22, 0.08);
  }

  .topbar.menu-open .nav-panel {
    display: flex;
  }

  .nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav a {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
  }

  .cta-link {
    width: 100%;
    min-height: 52px;
  }

  h1 {
    max-width: none;
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-highlights,
  .choice-grid,
  .compact-grid,
  .service-grid,
  .project-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .card-large,
  .card-medium,
  .card-tall {
    position: relative;
    inset: auto;
    width: auto;
    margin: 18px;
  }

  .card-tall {
    margin-top: 0;
  }

  .contact-copy,
  .contact-form {
    padding: 24px;
  }

  .form-actions {
    align-items: flex-start;
  }

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