/*

   rinnox-rblx

*/

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f5efe5;
  --bg-2: #efe3d2;
  --panel: rgba(255, 252, 246, 0.42);
  --panel-strong: rgba(255, 252, 246, 0.58);
  --border: rgba(128, 101, 71, 0.18);
  --border-strong: rgba(128, 101, 71, 0.3);
  --shadow: 0 18px 60px rgba(109, 79, 50, 0.14);
  --shadow-soft: 0 10px 30px rgba(109, 79, 50, 0.08);

  --text: #3f3026;
  --muted: rgba(63, 48, 38, 0.72);
  --muted-2: rgba(63, 48, 38, 0.56);

  --accent: #c58b4f;
  --accent-2: #e1b57a;
  --accent-3: #8d9b70;
  --white: #fffdf8;

  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(225, 181, 122, 0.25), transparent 36%),
    radial-gradient(circle at 85% 12%, rgba(141, 155, 112, 0.18), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  position: relative;

  opacity: 0;
  transform: translateY(10px);
  animation: pageEnter 0.8s ease forwards;
}

@keyframes pageEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ambient blurred scenery */
.ambient {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
  opacity: 0.55;
}

.ambient-1 {
  width: 420px;
  height: 420px;
  left: -120px;
  top: 80px;
  background: radial-gradient(circle, rgba(225, 181, 122, 0.7), transparent 68%);
}

.ambient-2 {
  width: 380px;
  height: 380px;
  right: -120px;
  top: 260px;
  background: radial-gradient(circle, rgba(141, 155, 112, 0.45), transparent 68%);
}

.ambient-3 {
  width: 320px;
  height: 320px;
  left: 34%;
  bottom: 60px;
  background: radial-gradient(circle, rgba(255, 220, 173, 0.55), transparent 70%);
}

nav,
header,
section,
footer {
  position: relative;
  z-index: 1;
}

main > * {
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.85s ease forwards;
}

main > *:nth-child(1) { animation-delay: 0.08s; }
main > *:nth-child(2) { animation-delay: 0.18s; }
main > *:nth-child(3) { animation-delay: 0.28s; }

.glass-footer {
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.85s ease forwards;
  animation-delay: 0.38s;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* iPhone-style liquid glass base */
.glass-panel,
.glass-nav,
.glass-card,
.notes-wrap,
.glass-footer {
  position: relative;
  overflow: hidden;
  border-radius: inherit;

  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.52) 0%,
      rgba(255, 255, 255, 0.28) 42%,
      rgba(255, 255, 255, 0.18) 100%);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);

  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow:
    0 16px 40px rgba(72, 52, 34, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -1px 0 rgba(120, 90, 60, 0.05) inset;
}

/* extra edge highlight */
.glass-panel::before,
.glass-nav::before,
.glass-card::before,
.notes-wrap::before,
.glass-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.62) 0%,
      rgba(255, 255, 255, 0.18) 18%,
      transparent 40%),
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.16) 0%,
      transparent 22%,
      transparent 78%,
      rgba(120, 90, 60, 0.08) 100%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

/* animated iPhone-like sweep */
.glass-panel::after,
.glass-nav::after,
.glass-card::after,
.notes-wrap::after,
.glass-footer::after {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at top left,
      rgba(255, 255, 255, 0.38) 0%,
      transparent 34%),
    radial-gradient(circle at bottom right,
      rgba(197, 139, 79, 0.10) 0%,
      transparent 40%),
    linear-gradient(115deg,
      transparent 38%,
      rgba(255, 255, 255, 0.22) 46%,
      rgba(255, 255, 255, 0.06) 50%,
      transparent 58%);
  opacity: 0.75;
  transform: translateX(-35%) rotate(8deg);
  animation: glassSweep 7s ease-in-out infinite;
}

@keyframes glassSweep {
  0% {
    transform: translateX(-38%) rotate(8deg);
    opacity: 0.45;
  }
  45% {
    opacity: 0.78;
  }
  50% {
    transform: translateX(38%) rotate(8deg);
    opacity: 0.85;
  }
  100% {
    transform: translateX(38%) rotate(8deg);
    opacity: 0.45;
  }
}

/* hover edge pops a bit more */
.glass-panel:hover,
.glass-nav:hover,
.glass-card:hover,
.notes-wrap:hover,
.glass-footer:hover {
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 18px 48px rgba(72, 52, 34, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(120, 90, 60, 0.06);
}

/* Navbar */
.glass-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 18px auto 0;
  width: min(1120px, calc(100% - 24px));
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  transition: 0.22s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Hero */
.hero {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
  padding: 5.5rem 0 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: center;
}

.hero-copy {
  padding: 1rem 0.5rem;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  max-width: 9ch;
}

.soft-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-buttons {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.82rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(128, 101, 71, 0.16);
  box-shadow: var(--shadow-soft);
  transition: 0.22s ease;
  font-weight: 600;
}

.btn-glass:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.48);
  border-color: var(--border-strong);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(197, 139, 79, 0.18), rgba(225, 181, 122, 0.22));
  border-color: rgba(197, 139, 79, 0.25);
}

/* Hero scenic panel */
.hero-panel {
  min-height: 440px;
  border-radius: var(--radius-xl);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.scene {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  filter: blur(12px) saturate(1.1) brightness(1.05);
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0.12), rgba(71, 49, 31, 0.26)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 45%);
}

.scene-hero {
  background-image: url("https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=1600&q=80");
}

.panel-content {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  padding: 1.15rem 1.15rem 1rem;
  background: rgba(255, 252, 246, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.panel-label {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.panel-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 0.95;
  margin-bottom: 0.7rem;
}

.panel-content p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Sections */
.section {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
  padding: 1.5rem 0 2.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.glass-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.7),
    0 18px 48px rgba(72, 52, 34, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.9rem;
}

.glass-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.glass-card p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Gallery */
.landscape-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.landscape-card {
  border-radius: var(--radius-xl);
  padding: 1rem;
  min-height: 300px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.landscape-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.7),
    0 18px 48px rgba(72, 52, 34, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.landscape-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  filter: blur(12px) saturate(1.1) brightness(1.05);
}

.landscape-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.1), rgba(54, 37, 22, 0.24));
}

.landscape-card figcaption {
  position: relative;
  z-index: 1;
  margin-top: auto;
  align-self: end;
  margin-top: 12rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 252, 246, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--text);
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.landscape-1 .landscape-image {
  background-image: url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1600&q=80");
}

.landscape-2 .landscape-image {
  background-image: url("https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=1600&q=80");
}

.landscape-3 .landscape-image {
  background-image: url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1600&q=80");
}

/* Notes */
.notes-wrap {
  border-radius: var(--radius-xl);
  padding: 1.3rem 1.4rem;
}

.glass-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.glass-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.glass-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 0.7rem;
}

/* Footer */
.glass-footer {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto 18px;
  padding: 1rem 1.2rem;
  border-radius: 24px;
  text-align: center;
  color: var(--muted);
}

.glass-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 139, 79, 0.28);
}

.glass-link:hover {
  border-bottom-color: var(--accent);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(128, 101, 71, 0.22);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 101, 71, 0.35);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }

  .cards-grid,
  .landscape-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .glass-nav {
    border-radius: 28px;
    padding: 0.9rem 1rem;
    margin-top: 12px;
    gap: 0.7rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    width: min(1120px, calc(100% - 18px));
    padding-top: 3rem;
  }

  .section {
    width: min(1120px, calc(100% - 18px));
  }

  .hero-title {
    font-size: clamp(2.9rem, 15vw, 4.5rem);
  }

  .panel-content h2 {
    font-size: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  main > *,
  .glass-footer,
  .glass-card,
  .hero-panel,
  .landscape-card,
  .notes-wrap,
  .glass-nav {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .glass-panel::after,
  .glass-nav::after,
  .glass-card::after,
  .notes-wrap::after,
  .glass-footer::after {
    animation: none !important;
  }
}