:root {
  --bg: #fffaf6;
  --surface: #ffffff;
  --surface-soft: #fff2eb;
  --text: #171515;
  --muted: #605855;
  --line: #f0ddd0;
  --primary: #f3c5ac;
  --primary-strong: #e9a982;
  --secondary: #f6dbe0;
  --accent: #f4c97d;
  --shadow: 0 18px 45px rgba(23, 21, 21, 0.08);
  --radius: 24px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(244, 201, 125, 0.18), transparent 24%),
    linear-gradient(180deg, #fffdfb 0%, var(--bg) 100%);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 250, 246, 0.88);
  border-bottom: 1px solid rgba(240, 221, 208, 0.8);
}

.header-inner,
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.header-inner {
  min-height: 88px;
}

.brand img {
  width: clamp(148px, 18vw, 188px);
}

.site-nav {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(23, 21, 21, 0.06);
  font-weight: 500;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: linear-gradient(135deg, var(--primary-strong), var(--accent));
  border-color: transparent;
  color: #231b18;
}

.hero,
.section {
  padding: 5rem 0;
}

.hero-grid,
.two-column,
.capabilities-grid,
.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1fr;
}

.hero-copy h1,
.section-heading h2,
.two-column h2,
.capabilities-grid h2,
.contact-grid h2,
.page-title,
.team-copy h2 {
  margin: 0 0 1rem;
  font-family: "Urbanist", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-text,
.section-heading p,
.stack p,
.contact-grid p,
.page-intro,
.team-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a86b4d;
}

.eyebrow::before,
.section-label::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-strong), var(--accent));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.4rem;
  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,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary-strong), var(--accent));
  color: #231b18;
  box-shadow: var(--shadow);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.button-full {
  width: 100%;
  margin-top: 0.75rem;
}

.hero-card,
.info-card,
.service-card,
.feature-panel,
.contact-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(240, 221, 208, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2rem;
  background:
    linear-gradient(160deg, rgba(246, 219, 224, 0.72), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
}

.hero-image {
  display: block;
  width: 100%;
  height: clamp(240px, 30vw, 320px);
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.hero-media .hero-card {
  position: relative;
  width: min(100%, 520px);
  margin: -3.5rem 1rem 0 auto;
}

.hero-card h2,
.info-card h3,
.service-card h3,
.feature-panel h3 {
  margin-top: 0;
  font-family: "Urbanist", sans-serif;
  font-size: 1.4rem;
}

.hero-card ul,
.check-list {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.section-light {
  background: linear-gradient(180deg, rgba(255, 242, 235, 0.7), rgba(255, 255, 255, 0.8));
}

.section-accent {
  background:
    linear-gradient(180deg, rgba(246, 219, 224, 0.2), rgba(244, 201, 125, 0.16)),
    var(--bg);
}

.cards-grid,
.services-grid {
  display: grid;
  gap: 1.5rem;
}

.team-grid,
.team-summary {
  display: grid;
  gap: 1.5rem;
}

.portfolio-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid {
  grid-template-columns: 1fr;
}

.services-grid {
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

.info-card,
.service-card {
  padding: 1.75rem;
}

.service-card {
  overflow: hidden;
}

.service-image {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
  background: var(--surface-soft);
}

.team-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(240, 221, 208, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.team-card-featured {
  background:
    linear-gradient(160deg, rgba(246, 219, 224, 0.72), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.team-photo {
  width: 72%;
  aspect-ratio: 4 / 4.5;
  object-fit: contain;
  object-position: center bottom;
  border-radius: calc(var(--radius) - 6px);
  background: #1d2d39;
  margin: 0 auto;
  padding: 0.45rem;
}

.team-copy h2 {
  font-size: 1.6rem;
}

.team-role-label {
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a86b4d;
}

.team-role {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text);
}

.page-intro {
  max-width: 760px;
}

.portfolio-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(240, 221, 208, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portfolio-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-soft);
}

.portfolio-copy {
  padding: 1.25rem 1.25rem 1.5rem;
}

.portfolio-copy h2 {
  margin: 0 0 0.75rem;
  font-family: "Urbanist", sans-serif;
  font-size: 1.4rem;
}

.portfolio-copy p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
}

.stack > * + * {
  margin-top: 1rem;
}

.feature-panel {
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  background:
    linear-gradient(180deg, rgba(243, 197, 172, 0.3), rgba(255, 255, 255, 0.94)),
    var(--surface);
}

.contact-card {
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
  background:
    linear-gradient(180deg, rgba(243, 197, 172, 0.78), rgba(246, 219, 224, 0.94)),
    var(--surface);
  color: var(--text);
}

.contact-address {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text);
}

.contact-list {
  display: grid;
  gap: 0.85rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
  color: var(--text);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  font-weight: 700;
}

.contact-button {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-strong), var(--accent));
  border-color: transparent;
  color: #231b18;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero,
  .section {
    padding: 4rem 0;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .hero-copy h1,
  .section-heading h2,
  .two-column h2,
  .capabilities-grid h2,
  .contact-grid h2 {
    font-size: 2.2rem;
  }

  .hero-media .hero-card {
    margin: 1rem 0 0;
    width: 100%;
  }
}

@media (min-width: 700px) {
  .cards-grid,
  .services-grid,
  .team-grid,
  .team-summary,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 981px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px);
  }

  .header-inner,
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
  }

  .site-nav {
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .site-nav a {
    width: auto;
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--muted);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a[aria-current="page"] {
    background: transparent;
    color: var(--text);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
  }

  .team-card-featured {
    grid-column: 1 / -1;
    grid-template-columns: minmax(220px, 300px) 1fr;
    align-items: center;
  }

  .team-card-featured .team-photo {
    width: 84%;
  }

  .team-grid > .team-card:not(.team-card-featured) {
    gap: 0.85rem;
    padding: 1rem;
  }

  .team-grid > .team-card:not(.team-card-featured) .team-photo {
    width: 58%;
    padding: 0.3rem;
  }

  .team-grid > .team-card:not(.team-card-featured) .team-copy {
    text-align: center;
  }

  .team-grid > .team-card:not(.team-card-featured) .team-copy h2 {
    margin-bottom: 0.55rem;
    font-size: 1.08rem;
  }

  .team-grid > .team-card:not(.team-card-featured) .team-role {
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .portfolio-card-large {
    grid-column: span 2;
  }
}
