* { box-sizing: border-box; }

:root {
    --bg: #EAF3F7;
    --surface: rgba(255,255,255,.45);
    --text: #2F3133;
    --muted: #6B7377;
    --line: rgba(255,255,255,.35);

    --primary: #9CC7D8;
    --secondary: #7EAEC2;
    --accent: #A59D94;
    --beige: #C9C4BC;

    --max: 1280px;
}
html { scroll-behavior: smooth; }

body {
    margin: 0;

    background:
    radial-gradient(circle at top left,#9CC7D8 0%,transparent 40%),
    radial-gradient(circle at bottom right,#C9C4BC 0%,transparent 35%),
    linear-gradient(
        120deg,
        #EAF3F7 0%,
        #D9EAF2 45%,
        #C9C4BC 100%
    );

    color: var(--text);  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.site-header {
    position: sticky;
    top: 14px;
    z-index: 10;

    max-width: calc(var(--max) - 40px);
    margin: 14px auto 0;
    padding: 18px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 18px;

    box-shadow:
        0 10px 35px rgba(71, 93, 102, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.logo {
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}

nav {
    display: flex;
    gap: 28px;
}

nav a,
footer a,
.socials a {
    color: rgba(47, 49, 51, 0.68);
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

nav a:hover,
footer a:hover,
.socials a:hover {
    color: var(--text);
    transform: translateY(-1px);
}main, footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.hero {
    position: relative;
    min-height: 76vh;
    padding: 13vh 48px 10vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    border-radius: 24px;

    background:
        linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.15)),
        url("assets/hero-bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #fff;
}
.eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 950px;
  margin-bottom: 32px;
  font-size: clamp(58px, 9vw, 132px);
  line-height: .91;
  letter-spacing: -.075em;
  font-weight: 650;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.5;
  letter-spacing: -.02em;
}

.button {
  display: inline-flex;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--text);
  color: white;
  font-size: 14px;
  font-weight: 650;
  transition: transform .2s ease, opacity .2s ease;
}
.button:hover { transform: translateY(-2px); opacity: .84; }

.hero-image {
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
}
.hero-image img { aspect-ratio: 16 / 9; object-fit: cover; }

.section { padding: 150px 0 0; }

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

h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(42px, 6vw, 84px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 620;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 24px;
}

.project-wide { grid-column: 1 / -1; }
.project img {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.75,.25,1);
}
.project-wide img { aspect-ratio: 16 / 9; }
.project:hover img { transform: scale(.995); }

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
}
.project-meta h3 {
  margin-bottom: 5px;
  font-size: 19px;
  letter-spacing: -.025em;
}
.project-meta p, .project-meta span {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  padding-bottom: 150px;
  border-bottom: 1px solid var(--line);
}
.about-copy {
  align-self: end;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
  letter-spacing: -.015em;
}
.about-copy p:last-child { margin-bottom: 0; }

.contact {
  padding: 150px 0;
  text-align: center;
}
.contact h2 {
  margin: 0 auto 36px;
}
.email {
  display: inline-block;
  padding-bottom: 5px;
  font-size: clamp(20px, 3vw, 34px);
  letter-spacing: -.03em;
  border-bottom: 1px solid var(--text);
}
.socials {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
  font-size: 14px;
}

footer {
  padding-top: 26px;
  padding-bottom: 30px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 760px) {
  .site-header, main, footer { padding-left: 20px; padding-right: 20px; }
  .site-header { padding-top: 19px; padding-bottom: 19px; }
  nav { gap: 16px; font-size: 13px; }
  .hero { min-height: 72vh; padding-top: 12vh; }
  h1 { letter-spacing: -.06em; }
  .section { padding-top: 100px; }
  .project-grid { grid-template-columns: 1fr; gap: 44px; }
  .project-wide { grid-column: auto; }
  .project-wide img, .project img { aspect-ratio: 4 / 3; }
  .about { grid-template-columns: 1fr; gap: 44px; padding-bottom: 100px; }
  .contact { padding: 100px 0; }
}
