@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --green: #174c37;
  --green-dark: #0d3326;
  --gold: #b18a3c;
  --gold-light: #d7b96c;
  --cream: #f8f6ef;
  --text: #18372c;
  --muted: #6c786f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(215, 185, 108, 0.22), transparent 28%),
    radial-gradient(circle at 10% 85%, rgba(93, 153, 116, 0.16), transparent 28%),
    linear-gradient(135deg, #fffdf7 0%, #f5f7ef 48%, #eef4ed 100%);
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 76, 55, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 76, 55, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
  z-index: 0;
}

.blob {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  z-index: 1;
}
.blob-one {
  width: 260px; height: 260px;
  right: -100px; top: 15%;
  background: rgba(255, 255, 255, 0.65);
}
.blob-two {
  width: 200px; height: 200px;
  left: -80px; top: 4%;
  background: rgba(215, 185, 108, 0.12);
}
.blob-three {
  width: 240px; height: 240px;
  right: 5%; bottom: -100px;
  background: rgba(84, 142, 103, 0.11);
}

.page {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top, 14px)) 18px max(14px, env(safe-area-inset-bottom, 14px));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  overflow-x: hidden;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 10;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.brand:hover { opacity: 0.85; }
.brand img {
  width: 36px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(23, 76, 55, 0.08));
}
.brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand strong {
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--green-dark);
}
.brand span {
  margin-top: 3px;
  color: var(--gold);
  font-size: 7.5px;
  letter-spacing: 0.28em;
  font-weight: 500;
}
.dev-label {
  color: #727e75;
  font-size: 8px;
  letter-spacing: 0.20em;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 99px;
  background: rgba(23, 76, 55, 0.04);
  border: 1px solid rgba(23, 76, 55, 0.08);
  white-space: nowrap;
}

/* Main Content (Compact Mobile-First Layout) */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0 8px;
  position: relative;
  z-index: 5;
  width: 100%;
}

.copy {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid rgba(177, 138, 60, 0.25);
  border-radius: 99px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.20em;
  box-shadow: 0 4px 14px rgba(23, 76, 55, 0.04);
}
.pill span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5ba362;
  box-shadow: 0 0 0 3px rgba(91, 163, 98, 0.18);
  animation: pulseDot 2.4s ease-in-out infinite;
}

h1 {
  margin-top: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(34px, 9.5vw, 50px);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--green-dark);
}
h1 em {
  color: var(--gold);
  font-style: normal;
}

.lead {
  max-width: 340px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: clamp(12.5px, 3.5vw, 14px);
  line-height: 1.65;
}

/* Action Buttons */
.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
}

.coming {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 6px 20px rgba(23, 76, 55, 0.16);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.coming:hover {
  background: #123d2c;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(23, 76, 55, 0.20);
}
.coming:active {
  transform: scale(0.97);
  box-shadow: 0 3px 10px rgba(23, 76, 55, 0.14);
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 6px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 76, 55, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(23, 76, 55, 0.04);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.back-link svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.back-link:hover {
  background: #ffffff;
  color: var(--green-dark);
  border-color: rgba(23, 76, 55, 0.30);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(23, 76, 55, 0.08);
}
.back-link:hover svg {
  transform: translateX(-3px);
}
.back-link:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(23, 76, 55, 0.05);
}

/* Photo Hero Visual */
.visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 4px;
  animation: fadeIn 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.photo-container {
  position: relative;
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  perspective: 1000px;
}

.photo-backdrop {
  position: absolute;
  width: 114%;
  height: 114%;
  top: -7%;
  left: -7%;
  border-radius: 28px;
  background: radial-gradient(circle at 65% 35%, rgba(215, 185, 108, 0.25), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 1;
  animation: ambientFloat 7s ease-in-out infinite;
}

.photo-glow {
  position: absolute;
  inset: -4px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(215, 185, 108, 0.28), rgba(23, 76, 55, 0.14));
  filter: blur(10px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}

.photo-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #174c37, #0d3326);
  border: 1px solid rgba(215, 185, 108, 0.40);
  box-shadow:
    0 16px 36px -6px rgba(23, 76, 55, 0.22),
    0 8px 18px -4px rgba(0, 0, 0, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.photo-frame:hover .hero-photo {
  transform: scale(1.03);
}

.photo-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(13, 51, 38, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(215, 185, 108, 0.35);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.20);
}
.photo-tag span {
  color: var(--gold-light);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

/* Footer */
footer {
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(23, 76, 55, 0.09);
  color: #8f9991;
  font-size: 9px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  text-align: center;
  position: relative;
  z-index: 5;
}
footer b { color: var(--green); font-weight: 600; }
.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* Keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px rgba(91, 163, 98, 0.16);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 6px rgba(91, 163, 98, 0.28);
  }
}
@keyframes ambientFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ==========================================================================
   BREAKPOINTS (PROGRESSIVE ENHANCEMENT)
   ========================================================================== */

/* Extra Small Phones (< 350px) */
@media (max-width: 349px) {
  .photo-container { max-width: 250px; }
  h1 { font-size: 30px; }
  .lead { font-size: 12px; }
  .brand strong { font-size: 12px; }
  .dev-label { display: none; }
}

/* Phablets & Landscape (≥ 520px) */
@media (min-width: 520px) {
  .actions {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }
  .photo-container { max-width: 380px; }
  h1 { font-size: clamp(44px, 8vw, 64px); }
}

/* Tablets (≥ 768px) */
@media (min-width: 768px) {
  .page {
    padding: 24px 36px 20px;
    max-width: 860px;
  }
  main {
    gap: 24px;
    padding: 24px 0 18px;
  }
  .copy { max-width: 520px; }
  .photo-container { max-width: 440px; }
  footer { justify-content: space-between; }
}

/* Desktop & Large Screens (≥ 1024px) */
@media (min-width: 1024px) {
  body::before { background-size: 55px 55px; }
  .page {
    max-width: 1240px;
    padding: 28px 54px 22px;
  }
  .blob-one { width: 420px; height: 420px; right: -190px; top: 18%; }
  .blob-two { width: 260px; height: 260px; left: -130px; top: 8%; }
  .blob-three { width: 330px; height: 330px; right: 22%; bottom: -220px; }
  .brand img { width: 48px; height: 54px; }
  .brand strong { font-size: 15px; }
  .brand span { font-size: 8px; letter-spacing: 0.30em; }
  .dev-label {
    font-size: 9px;
    letter-spacing: 0.22em;
    background: transparent;
    border: none;
    padding: 0;
  }
  main {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 40px;
    padding: 35px 0;
  }
  .copy {
    text-align: left;
    margin: 0;
    max-width: 540px;
  }
  .lead {
    margin-left: 0;
    margin-right: 0;
    max-width: 480px;
    font-size: 15px;
    line-height: 1.85;
  }
  .actions {
    justify-content: flex-start;
    margin-top: 24px;
    gap: 14px;
  }
  .coming {
    min-height: 44px;
    padding: 0 24px;
    font-size: 9.5px;
  }
  .back-link {
    min-height: 44px;
    padding: 0 20px;
    font-size: 12px;
  }
  h1 {
    font-size: clamp(64px, 7.3vw, 94px);
    line-height: 0.91;
  }
  .visual {
    justify-content: flex-end;
    margin-top: 0;
  }
  .photo-container {
    max-width: 480px;
  }
  .photo-frame {
    max-height: none;
    border-radius: 20px;
  }
  footer {
    padding-top: 18px;
  }
}
