:root {
  --bg: #f5efe8;
  --bg-alt: #efe4d5;
  --ink: #1f1a17;
  --muted: #5f5348;
  --line: #c8b49a;
  --accent: #9f6f4c;
  --accent-2: #6f7c64;
  --card: rgba(255, 255, 255, 0.62);
  --radius: 22px;
  --shadow: 0 20px 50px rgba(73, 44, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 0% 0%, #f8f4ef 0, var(--bg) 42%, #e9dbc9 100%);
  min-height: 100vh;
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(143, 95, 58, 0.16), transparent 42%),
    radial-gradient(circle at 90% 12%, rgba(111, 124, 100, 0.22), transparent 36%),
    radial-gradient(circle at 10% 86%, rgba(159, 111, 76, 0.2), transparent 34%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid rgba(61, 40, 23, 0.12);
  backdrop-filter: blur(8px);
  background: rgba(245, 239, 232, 0.84);
}

.brand {
  font-family: "Prata", serif;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.15rem;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s ease;
}

nav a:hover {
  background: rgba(159, 111, 76, 0.12);
}

main {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding-bottom: 3rem;
}

.hero {
  padding: clamp(46px, 10vh, 110px) 0 34px;
}

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

h1,
h2,
h3 {
  font-family: "Prata", serif;
  font-weight: 400;
  line-height: 1.16;
  margin: 0;
}

h1 {
  font-size: clamp(2.05rem, 6vw, 4.4rem);
  max-width: 14ch;
}

.lead {
  max-width: 62ch;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #7f5a3f);
  box-shadow: var(--shadow);
}

.btn-secondary {
  color: var(--ink);
  border-color: rgba(31, 26, 23, 0.2);
  background: rgba(255, 255, 255, 0.5);
}

.section {
  margin-top: clamp(32px, 8vh, 80px);
}

.section-head {
  margin-bottom: 1.1rem;
}

.section h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.8rem);
  max-width: 22ch;
}

.project-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}

.project-card {
  display: grid;
  gap: 0;
  border: 1px solid rgba(58, 38, 26, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
}

.project-a,
.project-d {
  grid-column: span 8;
}

.project-b,
.project-c,
.project-e,
.project-f {
  grid-column: span 4;
}

.project-visual {
  min-height: 210px;
}

.project-copy {
  padding: 1rem 1rem 1.15rem;
}

.project-copy p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.project-a .project-visual {
  background: linear-gradient(145deg, #ccb396, #a77957, #6d513d);
}

.project-b .project-visual {
  background: linear-gradient(145deg, #c3cbc2, #7f8e7a, #556150);
}

.project-c .project-visual {
  background: linear-gradient(145deg, #e8ddce, #baa58f, #8a6e58);
}

.project-d .project-visual {
  background: linear-gradient(145deg, #d0ba9d, #a1815c, #73563c);
}

.project-e .project-visual {
  background: linear-gradient(145deg, #d9d2c7, #aba193, #7f7568);
}

.project-f .project-visual {
  background: linear-gradient(145deg, #e4d4bc, #b39367, #7f6038);
}

.about {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 0.8fr;
  gap: 1.4rem;
  align-items: start;
}

.about-portrait {
  width: 100%;
  max-width: 220px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

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

.about-panel {
  border: 1px solid rgba(58, 38, 26, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(244, 234, 221, 0.84));
  padding: 1.2rem;
}

.about-panel h3 {
  margin-bottom: 0.45rem;
}

.about-panel ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps article {
  border: 1px solid rgba(58, 38, 26, 0.14);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.54);
}

.steps span {
  font-family: "Prata", serif;
  font-size: 1.45rem;
  color: var(--accent);
}

.steps p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact {
  text-align: center;
  border: 1px solid rgba(58, 38, 26, 0.14);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.66), rgba(230, 216, 197, 0.92));
}

.contact p {
  color: var(--muted);
}

.contact a {
  color: var(--accent);
  font-weight: 700;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem 2.2rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .project-a,
  .project-b,
  .project-c,
  .project-d,
  .project-e,
  .project-f {
    grid-column: span 12;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}