@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Poppins:wght@400;500;600&display=swap');

:root {
  --cream: #FBEEE4;
  --wine: #6B1F27;
  --wine-dark: #4A0F1A;
  --rose: #DC4F7C;
  --orange: #FC8A2D;
  --orange-text: #5C1F0A;
  --olive: #9E9820;
  --rose-text: #4A0F1A;
  --red: #C42B34;
  --turquoise: #14B8A6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--wine);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

nav.nav { flex-shrink: 0; }
footer { flex-shrink: 0; }
.page-main { flex: 1 0 auto; width: 100%; }

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

.display {
  font-family: 'Archivo Black', sans-serif;
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 6vw;
}

.nav .logo {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
}

.nav .links {
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.nav .links a:hover { opacity: 0.7; }

/* SOCIAL LINKS */
.social-row {
  display: flex;
  gap: 14px;
  padding: 4px 6vw 0;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
}

.social-row a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-row a:hover {
  background: var(--wine);
  color: var(--cream);
}

/* HERO */
.hero {
  position: relative;
  background: var(--wine);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: flex-end;
  gap: 24px;
  padding: 0 6vw 0;
}

.hero-photo {
  align-self: flex-start;
  margin-top: 40px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  max-height: 420px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-name {
  font-size: clamp(48px, 9vw, 110px);
  color: var(--cream);
  line-height: 0.88;
  letter-spacing: -2px;
  padding-bottom: 24px;
}

/* SUBHERO */
.subhero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 32px 6vw;
  flex-wrap: wrap;
}

.subhero p {
  font-size: 16px;
  max-width: 420px;
}

.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--orange-text);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 30px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn:hover { opacity: 0.9; }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--wine);
  color: var(--wine);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 30px;
}

/* CARDS GRID (used on Work page) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  padding: 0 6vw 48px;
}

.card {
  border-radius: 18px;
  padding: 26px 24px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.15s ease;
}

.card .tag { margin-top: 0; }
.card .btn-outline { margin-top: auto; }

.card:hover { transform: translateY(-4px); }

.card .btn-outline {
  align-self: flex-start;
  width: auto;
}

.card h3 { font-size: 20px; margin-bottom: 6px; font-weight: 600; }
.card p { font-size: 13px; opacity: 0.9; margin-bottom: 12px; }
.card .tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.75;
  margin-bottom: 8px;
}

.card-olive { background: var(--olive); color: var(--cream); }
.card-orange { background: var(--orange); color: var(--orange-text); }
.card-rose { background: var(--rose); color: var(--rose-text); }

/* MINIMAL LANDING (Home) */
.landing {
  min-height: calc(100vh - 78px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 6vw 40px;
}

.landing h1 {
  font-size: clamp(56px, 11vw, 150px);
  color: var(--cream);
  line-height: 0.92;
  letter-spacing: -2px;
}

.landing .social-row {
  justify-content: center;
  padding-top: 36px;
}

/* BUILD HUB PAGE */
.build-hero {
  background: var(--wine-dark);
  padding: 40px 6vw 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.build-hero h1 {
  font-size: clamp(56px, 11vw, 150px);
  color: var(--cream);
  line-height: 0.92;
  letter-spacing: -2px;
  margin-bottom: 40px;
}

.build-hero .win-grid {
  padding: 0;
}
.win-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 0 6vw 48px;
}

.win-card {
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: var(--cream);
  border: 1px solid rgba(107,31,39,0.15);
  transition: transform 0.15s ease;
}

.win-card:hover { transform: translateY(-4px); }

.win-photo {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.win-photo .win-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 34px;
  color: var(--cream);
  letter-spacing: -0.5px;
}

.win-body {
  padding: 24px 20px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.win-body p {
  font-size: 14px;
  color: var(--wine);
  opacity: 0.85;
  margin-bottom: 20px;
  flex: 1;
}

.win-btn {
  align-self: center;
  background: var(--wine-dark);
  color: var(--cream);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: 30px;
}

.win-btn:hover { opacity: 0.85; }

/* SECTION HEADINGS */
.section-heading {
  font-size: 32px;
  padding: 8px 6vw 24px;
}

/* FOOTER */
footer {
  background: var(--wine-dark);
  color: var(--rose);
  text-align: center;
  padding: 24px;
  font-size: 13px;
}

footer a:hover { text-decoration: underline; }

/* ABOUT PAGE */
.about-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  padding: 24px 6vw 64px;
  align-items: start;
}

.about-photo img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.about-text h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 16px;
}

@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
  .about-wrap { grid-template-columns: 1fr; }
  .nav .links { gap: 14px; font-size: 12px; }
  .contact-wrap {
    flex-direction: column !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 40px !important;
    gap: 24px !important;
  }
  .contact-photo-wrap {
    width: auto !important;
    max-width: min(70%, 240px) !important;
    max-height: 46vh !important;
    height: auto !important;
    margin: 0 auto !important;
  }
  html, body { overflow: auto !important; }
}

/* CONTACT PAGE */
.contact-wrap {
  padding: 24px 6vw;
  height: calc(100vh - 78px);
  max-height: calc(100vh - 78px);
  overflow: hidden;
  box-sizing: border-box;
}

.contact-wrap h1 { font-size: 42px; margin-bottom: 12px; }
.contact-wrap p { font-size: 15px; margin-bottom: 20px; max-width: 440px; }

.contact-photo-wrap {
  width: min(100%, 420px);
  aspect-ratio: 740 / 2070;
  height: auto;
  max-height: calc(100vh - 78px - 48px);
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.contact-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.contact-list {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.contact-list div { font-size: 14px; }
.contact-list .label {
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 4px;
}
.contact-list .value { font-size: 15px; font-weight: 500; }

/* WORK PAGE */
.work-wrap { padding: 24px 6vw 40px; }
.work-intro { max-width: 560px; margin-bottom: 32px; font-size: 16px; }
