:root {
  --bg: #f6f0e8;
  --bg-soft: rgba(255, 255, 255, 0.42);
  --surface: rgba(255, 248, 241, 0.7);
  --surface-strong: rgba(255, 250, 245, 0.9);
  --text: #201815;
  --muted: #675a52;
  --line: rgba(32, 24, 21, 0.12);
  --accent: #a56a43;
  --accent-deep: #6f4427;
  --shadow: 0 18px 60px rgba(60, 29, 17, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1140px, calc(100vw - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(198, 145, 111, 0.28), transparent 28%),
    radial-gradient(circle at right, rgba(124, 93, 68, 0.18), transparent 30%),
    linear-gradient(180deg, #f8f4ee 0%, #f0e7db 52%, #ede3d7 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 120px 120px;
  pointer-events: none;
  opacity: 0.35;
}

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

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

.page-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 20px 0 32px;
}

.section {
  padding: 42px 0;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 249, 243, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff7f0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

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

.brand-copy strong,
.section-heading h1,
.section-heading h2,
.hero h1,
.project-card h3,
.award-item span {
  font-family: "Cormorant Garamond", serif;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 700;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-deep);
}

.menu-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--text);
  color: #fff;
  font: inherit;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  min-height: calc(100vh - 156px);
  align-items: center;
}

.hero-copy,
.contact-panel,
.about-card,
.project-card,
.award-item,
.hero-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 44px;
  border-radius: var(--radius-lg);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.9rem);
  max-width: 10ch;
}

.hero-text {
  margin: 24px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--text);
  color: #fff7f0;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  min-height: 100%;
}

.hero-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: #fffaf5;
  min-height: 280px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.12), rgba(17, 17, 17, 0.55)),
    radial-gradient(circle at 20% 20%, rgba(255, 206, 170, 0.35), transparent 30%);
}

.hero-card-large {
  background:
    linear-gradient(135deg, rgba(123, 79, 52, 0.92), rgba(47, 33, 26, 0.9)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
}

.hero-card-small {
  background:
    linear-gradient(135deg, rgba(138, 108, 85, 0.9), rgba(79, 55, 43, 0.9)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.08), transparent);
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card span {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-card strong {
  max-width: 18ch;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.02;
  font-family: "Cormorant Garamond", serif;
}

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

.stats article {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 250, 245, 0.5);
}

.stats strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-family: "Cormorant Garamond", serif;
}

.stats span,
.about-card p,
.project-card p,
.award-item p,
.contact-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.section-heading h2 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
}

.about-grid,
.project-grid {
  display: grid;
  gap: 18px;
}

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

.about-card,
.project-card {
  border-radius: var(--radius-md);
}

.about-card {
  padding: 26px;
}

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

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(13, 11, 10, 0.7)),
    linear-gradient(135deg, rgba(164, 127, 103, 0.8), rgba(83, 58, 44, 0.9));
  color: #fffaf5;
}

.project-card:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(13, 11, 10, 0.74)),
    linear-gradient(135deg, rgba(112, 85, 67, 0.9), rgba(53, 38, 31, 0.95));
}

.project-card:nth-child(3n) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(13, 11, 10, 0.74)),
    linear-gradient(135deg, rgba(155, 113, 83, 0.88), rgba(76, 51, 40, 0.95));
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -28% auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(4px);
}

.project-card h3,
.award-item span {
  margin: 14px 0 6px;
}

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

.project-card p {
  color: rgba(255, 250, 245, 0.84);
}

.project-tag {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.awards-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.award-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
}

.award-item span {
  font-size: 2rem;
  line-height: 1;
}

.award-item p {
  margin: 0;
}

.contact-panel {
  padding: 32px;
  border-radius: var(--radius-lg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 18px;
}

.contact-label {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .site-header {
    border-radius: 28px;
    padding: 16px;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 249, 243, 0.96);
    box-shadow: var(--shadow);
  }

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

  .hero,
  .about-grid,
  .project-grid,
  .awards-list,
  .contact-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 18px;
  }

  .hero-copy {
    padding: 32px 24px;
  }

  .hero h1 {
    max-width: 100%;
  }

  .project-card {
    min-height: 240px;
  }

  .award-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
    padding-top: 12px;
  }

  .site-header {
    top: 10px;
  }

  .brand-copy small,
  .site-footer {
    font-size: 0.72rem;
  }

  .section {
    padding: 32px 0;
  }

  .hero-copy,
  .contact-panel,
  .about-card,
  .project-card,
  .award-item {
    padding-left: 18px;
    padding-right: 18px;
  }
}
