:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f7f4ef;
  --surface-2: #f4f1eb;
  --text: #101010;
  --muted: #646464;
  --line: rgba(16, 16, 16, 0.1);
  --accent: #111111;
  --accent-soft: #2d2d2d;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 20px 60px rgba(16, 16, 16, 0.08);
  font-family: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #fff 0, #fff 50%, #faf7f2 100%);
  color: var(--text);
  font-family: inherit;
  line-height: 1.5;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header,
.hero,
.section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid transparent;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--muted);
}

.brand-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.site-nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(16, 16, 16, 0.05);
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
}

main {
  padding: 16px 0 60px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: 50px 0 36px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.upload-card,
.contact-form,
.contact-aside,
.info-card,
.service-card,
.post-card,
.gallery-tile {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel {
  background: white;
  border-radius: var(--radius-xl);
  padding: 34px;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

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

.lede {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 60ch;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease,
    border-color 180ms ease;
  cursor: pointer;
}

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

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #000;
}

.button-secondary {
  background: white;
  color: var(--text);
  border-color: var(--line);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-stats li,
.info-card,
.service-card,
.post-card {
  border-radius: var(--radius-lg);
  background: white;
}

.hero-stats li {
  padding: 16px;
  border: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, #fff, #fbf8f4);
}

.hero-card {
  border-radius: 24px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
}

.hero-card-main {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.02), rgba(16, 16, 16, 0.04)),
    #fff;
}

.hero-card h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.05em;
  margin: 0;
  max-width: 9ch;
}

.hero-card p,
.service-card p,
.info-card p,
.post-card p,
.contact-aside p,
.upload-dropzone p {
  color: var(--muted);
  margin: 0;
}

.card-label,
.post-meta {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
}

.section {
  padding: 22px 0 0;
}

.section + .section {
  margin-top: 16px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  max-width: 60rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.about-grid,
.services-grid,
.blog-grid,
.contact-grid {
  display: grid;
  gap: 16px;
}

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

.info-card,
.service-card,
.post-card {
  padding: 24px;
  border: 1px solid var(--line);
}

.info-card h3,
.service-card h3,
.post-card h3,
.contact-aside h3 {
  margin: 0 0 10px;
  letter-spacing: -0.04em;
}

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

.service-card span {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  margin-bottom: 20px;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-tile {
  min-height: 180px;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(17, 17, 17, 0.08)),
    var(--surface);
  color: #1d1d1d;
  font-weight: 600;
}

.gallery-tile.tall {
  grid-column: span 5;
  min-height: 360px;
}

.gallery-tile.wide {
  grid-column: span 7;
}

.gallery-tile:not(.tall):not(.wide) {
  grid-column: span 3;
}

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

.post-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.upload-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: white;
}

.upload-dropzone {
  border: 1px dashed rgba(16, 16, 16, 0.16);
  border-radius: 24px;
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(180deg, #fff, #faf7f2);
}

.upload-dropzone strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.upload-form,
.contact-form {
  display: grid;
  gap: 14px;
}

.upload-form label,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(16, 16, 16, 0.12);
  border-color: rgba(16, 16, 16, 0.2);
}

.upload-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-form,
.contact-aside {
  border-radius: var(--radius-xl);
  padding: 24px;
  background: white;
}

.contact-aside {
  display: grid;
  gap: 16px;
  align-content: start;
}

.muted {
  background: var(--surface);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 0 42px;
  color: var(--muted);
}

.reveal {
  animation: fadeUp 700ms ease both;
}

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

@media (max-width: 1100px) {
  .hero,
  .upload-card,
  .contact-grid,
  .about-grid,
  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .gallery-tile.tall,
  .gallery-tile.wide,
  .gallery-tile:not(.tall):not(.wide) {
    grid-column: span 12;
  }
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-panel,
  .contact-form,
  .contact-aside,
  .upload-card {
    padding: 20px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .site-nav {
    gap: 6px;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-copy,
  .hero-panel {
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }
}
