@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,700&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --bg: #f2ede3;
  --panel: rgba(251, 249, 244, 0.8);
  --panel-strong: #fffdf8;
  --text: #182126;
  --muted: #5a666d;
  --line: rgba(24, 33, 38, 0.14);
  --accent: #b75f2f;
  --accent-strong: #8f431a;
  --shadow: 0 24px 60px rgba(24, 33, 38, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(183, 95, 47, 0.16), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(28, 72, 88, 0.18), transparent 22%),
    linear-gradient(180deg, #f7f2e8 0%, #efe7da 100%);
  color: var(--text);
  font: 16px/1.65 "Space Grotesk", sans-serif;
}

a {
  color: inherit;
}

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 4px 4px 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.72);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.top-nav a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.52);
  text-decoration: none;
}

.hero,
.section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 28px;
  padding: 34px;
  animation: rise-in 520ms ease both;
}

.hero::after,
.statement-panel::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(183, 95, 47, 0.12);
  filter: blur(6px);
}

.hero-copy,
.hero-card,
.statement-panel {
  position: relative;
  z-index: 1;
}

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

h1,
h2,
h3,
p,
ul,
dl {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Newsreader", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.lead,
.statement-text,
.service-card p,
.detail-grid p,
.detail-grid li,
.closing p,
.hero-card,
.card-role,
.contact-list dd {
  color: var(--muted);
}

.lead {
  max-width: 55ch;
  margin-bottom: 22px;
  font-size: 1.05rem;
}

.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

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

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

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

.button-secondary,
.button-ghost {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.7);
}

.hero-card {
  align-self: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  animation: rise-in 620ms ease both;
}

.card-label {
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-role {
  margin-bottom: 22px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.contact-list dt {
  margin-bottom: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
}

.availability-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.availability-note span,
.signal-strip span,
.process-step {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.availability-note strong {
  display: block;
  font-size: 0.95rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.signal-strip article,
.process-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.6);
  box-shadow: var(--shadow);
  animation: rise-in 700ms ease both;
}

.signal-strip p,
.process-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  margin-top: 22px;
  padding: 28px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

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

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

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

.service-card,
.project-card,
.detail-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.68);
}

.project-card {
  overflow: hidden;
  padding: 0;
}

.project-card img,
.project-hero img,
.project-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.project-card-body {
  padding: 22px;
}

.project-kicker,
.project-label {
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-meta-list,
.project-detail-meta {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}

.project-meta-list div,
.project-detail-meta article {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.project-meta-list dt,
.project-detail-meta h3 {
  margin: 0 0 6px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-meta-list dd,
.project-detail-meta p {
  margin: 0;
  color: var(--muted);
}

.project-page {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.project-back {
  display: inline-flex;
  margin-bottom: 18px;
  text-decoration: none;
}

.project-hero,
.project-section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 0;
}

.project-hero-copy,
.project-hero-media,
.project-section {
  padding: 28px;
}

.project-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.timeline-callout {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.72);
}

.timeline-callout strong {
  display: block;
  margin-bottom: 4px;
}

.project-section {
  margin-top: 22px;
}

.project-section p,
.project-section li {
  color: var(--muted);
}

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

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

.project-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.68);
}

.project-gallery figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow);
}

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

.footer-block {
  display: grid;
  gap: 8px;
}

.footer-title {
  margin-bottom: 4px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-block a {
  color: var(--muted);
  text-decoration: none;
}

.footer-block a:hover,
.footer-block a:focus-visible {
  color: var(--text);
}

.statement {
  padding: 0;
}

.statement-panel {
  position: relative;
  padding: 34px 28px;
  background:
    linear-gradient(135deg, rgba(24, 33, 38, 0.98), rgba(42, 60, 68, 0.95));
  color: #f7f2e8;
}

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

.statement-panel .eyebrow,
.statement-panel .statement-text {
  color: rgba(247, 242, 232, 0.84);
}

.statement-text {
  max-width: 60ch;
  margin-bottom: 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.4;
}

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

.detail-grid ul {
  margin: 0;
  padding-left: 20px;
}

.closing {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}

@media (max-width: 960px) {
  .hero,
  .project-hero,
  .signal-strip,
  .process-grid,
  .service-grid,
  .project-grid,
  .site-footer,
  .project-detail-meta,
  .project-gallery,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 24px;
  }

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .masthead {
    flex-direction: column;
    align-items: stretch;
  }

  .top-nav {
    justify-content: space-between;
  }

  .hero,
  .project-hero,
  .section {
    border-radius: 24px;
  }

  .hero,
  .project-hero-copy,
  .project-hero-media,
  .project-section,
  .section,
  .statement-panel,
  .service-card,
  .project-card-body,
  .detail-grid article,
  .hero-card {
    padding: 20px;
  }

  h1 {
    font-size: clamp(2.4rem, 16vw, 3.9rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero,
  .hero-card,
  .signal-strip article,
  .process-card {
    animation: none;
  }

  .button {
    transition: none;
  }
}