:root {
  --font-sans: "Instrument Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ink: #161412;
  --muted: #625d56;
  --line: #e5dfd4;
  --paper: #faf8f3;
  --white: #ffffff;
  --gold: #d9a21b;
  --gold-dark: #9c6a08;
  --earth: #5c3323;
  --forest: #2f4f45;
  --shadow: 0 20px 60px rgba(22, 20, 18, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  background: var(--paper);
}

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

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

p {
  color: var(--muted);
  line-height: 1.7;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(250, 248, 243, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 156px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
}

.primary-nav a {
  padding: 12px 14px;
  border-radius: 4px;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--gold-dark);
  background: #fff4d1;
}

.nav-cta {
  color: var(--white) !important;
  background: var(--ink) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  padding: clamp(48px, 9vw, 96px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.16)),
    url("https://creativitagrp.com/media/homepage/DE-SIMONE-BoG-Exterior-20.jpg") center / cover;
}

.hero-content {
  position: relative;
  width: min(740px, 100%);
  color: var(--white);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-family: var(--font-sans);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  font-family: var(--font-display);
  font-size: 4.9rem;
  font-weight: 400;
}

h2 {
  font-family: var(--font-display);
  font-size: 3.05rem;
  font-weight: 400;
}

h3 {
  font-size: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 900;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 900;
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

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

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button-muted {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.proof div {
  padding: clamp(22px, 4vw, 42px);
  background: var(--white);
}

.proof strong,
.proof span {
  display: block;
}

.proof strong {
  color: var(--earth);
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
}

.proof span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.section,
.contact-layout,
.values,
.cta-band,
.page-hero {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) 1fr;
  gap: 28px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  gap: 18px;
}

.service-card {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  min-height: 310px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.service-card:nth-child(even) {
  grid-template-columns: 1fr 0.82fr;
}

.service-card:nth-child(even) img {
  order: 2;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card div {
  display: grid;
  align-content: center;
  padding: clamp(24px, 5vw, 52px);
}

.service-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.project-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card,
.portfolio-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
}

.project-card.large {
  grid-row: span 2;
  min-height: 556px;
}

.project-card img,
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 350ms ease, opacity 350ms ease;
}

.project-card span,
.portfolio-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 900;
}

.project-card:hover img,
.portfolio-card:hover img {
  transform: scale(1.04);
  opacity: 0.98;
}

.cta-band {
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(64px, 9vw, 112px);
  padding: clamp(28px, 5vw, 54px);
  color: var(--white);
  background: var(--forest);
  border-radius: 6px;
}

.cta-band p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero {
  padding: clamp(64px, 10vw, 128px) 0 clamp(36px, 7vw, 82px);
}

.page-hero.compact {
  max-width: 900px;
  text-align: center;
}

.about-hero {
  max-width: 980px;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 80px);
}

.copy p {
  margin-top: 0;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: clamp(64px, 9vw, 112px);
}

.values article,
.contact-form,
.contact-card {
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.portfolio-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.project-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(46px, 8vw, 98px) 0 clamp(38px, 7vw, 82px);
}

.project-hero h1 {
  color: var(--ink);
}

.project-hero > div > p:not(.eyebrow) {
  max-width: 620px;
}

.project-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--gold-dark);
  font-weight: 900;
}

.project-story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(26px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.project-detail-grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.project-detail-grid article {
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.project-detail-grid ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding-bottom: clamp(64px, 9vw, 112px);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-status {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  color: #6d250f;
  background: #fff0e7;
  border: 1px solid #f0c7ad;
  border-radius: 4px;
  font-weight: 800;
}

.form-status.is-visible {
  display: block;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form .full,
.contact-form button {
  grid-column: 1 / -1;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fffdf8;
}

textarea {
  resize: vertical;
}

.contact-card {
  align-self: start;
}

.contact-card a,
.contact-card p {
  display: block;
  margin: 14px 0;
}

.contact-card iframe {
  width: 100%;
  height: 280px;
  margin-top: 18px;
  border: 0;
  border-radius: 4px;
}

.center-actions {
  justify-content: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 150px;
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.site-footer a {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 860px) {
  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

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

  .section-heading,
  .split,
  .project-hero,
  .project-story,
  .project-detail-grid,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .proof,
  .values {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid,
  .portfolio-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-card.large {
    grid-row: auto;
    min-height: 270px;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 2.95rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .brand img {
    width: 128px;
  }

  .hero {
    min-height: 720px;
  }

  .proof,
  .service-card,
  .service-card:nth-child(even),
  .project-grid,
  .portfolio-grid,
  .gallery-grid,
  .values,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(even) img {
    order: 0;
  }

  .service-card img {
    height: 250px;
  }

  .contact-form button {
    width: 100%;
  }
}
