:root {
  --bg: #e8dfd1;
  --panel: #f1e8db;
  --panel-strong: #e3d7c7;
  --text: #171717;
  --muted: #62594c;
  --line: #cdbfae;
  --accent: #111111;
  --shadow: none;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Segoe UI Variable Text", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

button {
  font: inherit;
}

.page-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 20px auto 40px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border: 1px solid var(--line);
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #111111;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.site-nav a {
  color: var(--muted);
  transition: color 160ms ease;
}

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

main {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

section,
.featured-strip,
.contact-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero,
.work-section,
.about-section,
.process-section,
.contact-card,
.featured-strip {
  background: var(--panel);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

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

.hero h1,
.section-heading h2,
.contact-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.hero-text {
  max-width: 58ch;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: #111111;
  color: #ffffff;
}

.button-primary {
  background: #111111;
  color: #ffffff;
  font-weight: 700;
}

.button-secondary {
  background: #ffffff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero-metrics li {
  padding: 14px;
  border-radius: var(--radius-md);
  background: #f6efe5;
  border: 1px solid var(--line);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

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

.hero-visual {
  position: relative;
  min-height: 420px;
}

.hero-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-strong);
}

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

.hero-card-main {
  position: absolute;
  inset: 0;
}

.featured-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-xl);
}

.featured-strip article,
.about-panel,
.process-grid article,
.project-card {
  border: 1px solid var(--line);
  background: #f5ede2;
}

.featured-strip article {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.featured-strip span,
.process-grid span {
  display: inline-flex;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.84rem;
}

.featured-strip h2,
.process-grid h3,
.project-card h3 {
  margin: 8px 0;
  font-size: 1.02rem;
}

.featured-strip p,
.project-card p,
.about-panel p,
.process-grid p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.work-section,
.about-section,
.process-section,
.contact-section {
  border-radius: var(--radius-xl);
}

.work-section,
.about-section,
.process-section {
  padding: 26px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-heading h2,
.contact-card h2 {
  max-width: 16ch;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.showcase-list {
  display: grid;
  gap: 20px;
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #f5ede2;
  align-items: center;
}

.showcase-card-reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.showcase-copy {
  padding: 6px;
}

.showcase-copy h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.showcase-copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.showcase-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #e8ddce;
}

.showcase-media img {
  width: 100%;
  height: auto;
}

.showcase-media-mobile {
  max-width: 420px;
  justify-self: center;
}

.about-grid,
.process-grid {
  display: grid;
  gap: 14px;
}

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

.about-panel,
.process-grid article {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.about-panel-highlight {
  background: #eadfce;
}

.about-panel-highlight ul {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-panel-highlight li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.about-panel-highlight li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.about-panel-highlight strong {
  font-size: 0.86rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-panel-highlight span {
  text-align: right;
  font-weight: 700;
}

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

.contact-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  text-align: center;
  background: #f1e8db;
}

.contact-card p {
  max-width: 56ch;
  margin: 14px auto 0;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 24px auto 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f6efe5;
  color: var(--text);
}

.contact-item:hover,
.contact-item:focus-visible {
  border-color: #111111;
  background: #ece2d3;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-copy {
  display: grid;
  gap: 4px;
  text-align: left;
}

.contact-copy strong {
  font-size: 0.88rem;
}

.contact-copy span {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .hero,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }
}

@media (max-width: 800px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
    margin-top: 10px;
  }

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

  .site-nav {
    justify-content: space-between;
    gap: 14px;
  }

  .hero,
  .work-section,
  .about-section,
  .process-section,
  .contact-card,
  .featured-strip {
    padding: 22px;
  }

  .featured-strip,
  .process-grid,
  .showcase-list {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .hero h1,
  .section-heading h2,
  .contact-card h2 {
    max-width: none;
  }

  .hero-visual {
    min-height: 420px;
  }

  .showcase-card,
  .showcase-card-reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-nav {
    flex-wrap: wrap;
  }

  .brand-copy span {
    display: none;
  }

  .hero {
    padding: 18px;
  }

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

  .hero-visual {
    min-height: 320px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .about-panel-highlight li {
    flex-direction: column;
    align-items: start;
  }

  .about-panel-highlight span {
    text-align: left;
  }
}
