@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --bg: #f3ecda;
  --text: #1e1414;
  --text-soft: rgba(30, 20, 20, 0.72);
  --card: rgba(255, 255, 255, 0.42);
  --card-strong: rgba(255, 255, 255, 0.56);
  --accent: #f75d13;
  --gap: 1.25rem;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(60, 36, 18, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background:var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", Arial, sans-serif;
}

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

main {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 0;
}

.page-logo {
  display: flex;
  justify-content: center;
  margin: 0 0 calc(var(--gap) * 1.6);
}

.page-logo img {
  width: min(128px, 30vw);
  height: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "hero photo"
    "orange photo"
    "bottom bottom";
  gap: var(--gap);
  grid-auto-rows: minmax(120px, auto);
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.tile p {
  margin: 0;
}

.tile-title {
  margin: 0;
  max-width: 20rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.copy-stack {
  display: grid;
  gap: 0.85rem;
}

.logo-tile {
  display: none;
}

.hero-brand {
  display: none;
}

.hero-brand img {
  width: min(200px, 60vw);
  height: auto;
}

.hero-tile {
  grid-area: hero;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(255, 255, 255, 0.9);
}

.kicker {
  display: block;
  color: var(--text-soft);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-tile p {
  max-width: 32rem;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.orange-tile {
  grid-area: orange;
  background: var(--accent);
  color: #fff8f1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.orange-tile .eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}

.orange-tile p {
  max-width: 24rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 247, 237, 0.88);
}

.photo-tile {
  grid-area: photo;
  display: flex;
  align-items: stretch;
  color: #fffdf7;
  background:
    linear-gradient(170deg, rgb(89 170 214 / 20%) 0%, rgb(6 79 97 / 50%) 100%), 
    url("./tahiti.jpg") center/cover no-repeat;
}

.photo-copy {
  width: 100%;
  max-width: 24rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.photo-copy .kicker,
.photo-copy p {
  color: rgba(255, 253, 247, 0.9);
}

.photo-copy p {
  font-size: 1rem;
  line-height: 1.65;
}

.years-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.85rem 0.9rem 0.75rem;
  border-radius: 20px;
  background: var(--accent);
  color: #fff9f1;
  width: fit-content;
}

.years-badge strong {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.years-badge span {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 249, 241, 0.92);
}

.footer-strip {
  grid-area: bottom;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-strip h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-meta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff8f1;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-mark {
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

.page-mark img {
  width: auto;
  height: 100px;
  opacity: .25;
}

.serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "orange"
      "photo"
      "bottom";
  }

  .photo-tile {
    min-height: 480px;
  }

  .footer-strip {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  main {
    width: 100%;
    padding: var(--gap);
  }

  .tile {
    padding: 1.2rem;
    border-radius: 24px;
  }

  .tile-title {
    max-width: none;
  }

  .page-logo img {
    width: min(118px, 34vw);
  }

  .page-mark img {
    height: 92px;
  }
}
