/* framework.css */
/* code created by microsoft copilot */
/* Base framework and layout styles */

:root {
  --ink: #342633;
  --muted: #6f5c6d;
  --paper: #fffdfc;
  --rose: #e96a94;
  --rose-deep: #cb4d78;
  --blush: #f9d9e7;
  --petal: #fff3f8;
  --lilac: #e6ddff;
  --sky: #d8efff;
  --peach: #ffe2ce;
  --line: rgba(83, 56, 75, 0.12);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 16px 40px rgba(122, 82, 103, 0.10);
  --shadow-soft: 0 10px 24px rgba(122, 82, 103, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-color: #fff8fb;
  position: relative;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 2px solid var(--rose);
  border-radius: 12px;
  z-index: 1000;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
}

.page {
  position: relative;
  z-index: 1;
  width: min(94%, 1440px);
  margin: 0 auto;
  padding: 24px 0 40px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 20px 26px;
  margin-bottom: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-pill);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  animation: fadeUp .8s ease both;
}

.brand-mark,
nav {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  font-size: 0.82rem;
}

.brand-mark span {
  color: var(--rose-deep);
  text-decoration: underline;
  text-decoration-color: rgba(233, 106, 148, 0.45);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(10px, 1.5vw, 18px);
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(233, 106, 148, 0.14);
  background: #fff;
}

nav a[aria-current="page"] {
  background: linear-gradient(135deg, #ffe3ee, #fff0cf);
  box-shadow: inset 0 0 0 1px rgba(90, 56, 76, 0.08);
}

.box-layout {
  padding: clamp(20px, 4vw, 42px) clamp(18px, 2vw, 24px) 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.60);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.box-layout-heading {
  margin-bottom: clamp(22px, 4vw, 36px);
  padding-left: 16px;
  border-left: 4px solid var(--rose);
  animation: fadeUp .9s ease both;
  animation-delay: .08s;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3, h4, .brand-mark {
  font-family: "Catamaran", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 12ch;
}

.box-layout-heading h4 {
  margin: 10px 0 0;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 600;
}

.box-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(42px, 4vw, 58px);
  gap: clamp(6px, .75vw, 10px);
  padding: clamp(8px, 1.2vw, 14px);
  border: 1px solid rgba(56, 38, 59, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,247,251,0.9)),
    var(--petal);
}

.layout-box {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(56, 38, 59, 0.12);
  border-radius: 18px;
  color: var(--ink);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  animation: fadeUp .7s ease both;
}

.layout-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(120, 77, 100, 0.10);
  border-color: rgba(233, 106, 148, 0.28);
}

.layout-box:nth-child(1) { animation-delay: .06s; }
.layout-box:nth-child(2) { animation-delay: .10s; }
.layout-box:nth-child(3) { animation-delay: .14s; }
.layout-box:nth-child(4) { animation-delay: .18s; }
.layout-box:nth-child(5) { animation-delay: .22s; }
.layout-box:nth-child(6) { animation-delay: .26s; }
.layout-box:nth-child(7) { animation-delay: .30s; }
.layout-box:nth-child(8) { animation-delay: .34s; }
.layout-box:nth-child(9) { animation-delay: .38s; }
.layout-box:nth-child(10) { animation-delay: .42s; }
.layout-box:nth-child(11) { animation-delay: .46s; }
.layout-box:nth-child(12) { animation-delay: .50s; }

.layout-box:nth-child(12n + 1) {
  grid-column: span 4;
  grid-row: span 2;
  background: #fffdfd;
  padding: 16px;
  text-align: center;
  line-height: 1.5;
}

.layout-box:nth-child(12n + 2) {
  grid-column: span 3;
  grid-row: span 1;
  background: linear-gradient(135deg, #f9d8e7, #ffe7ef);
}

.layout-box:nth-child(12n + 3) {
  grid-column: span 1;
  grid-row: span 1;
  background: linear-gradient(180deg, #dff4ff, #bce7ff);
}

.layout-box:nth-child(12n + 4) {
  grid-column: span 2;
  grid-row: span 3;
  background: linear-gradient(180deg, #f5b7cf, #ea89b0);
}

.layout-box:nth-child(12n + 5) {
  grid-column: span 1;
  grid-row: span 2;
  background: linear-gradient(180deg, #eee7ff, #d8cbff);
}

.layout-box:nth-child(12n + 6) {
  grid-column: span 4;
  grid-row: span 1;
  background: linear-gradient(90deg, #fff8fa, #fffdfc);
}

.layout-box:nth-child(12n + 7) {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(180deg, #ffdfe8, #f6bfd2);
}

.layout-box:nth-child(12n + 8) {
  grid-column: span 1;
  grid-row: span 3;
  background: linear-gradient(180deg, #dff4ff, #b9e3fb);
}

.layout-box:nth-child(12n + 9) {
  grid-column: span 3;
  grid-row: span 2;
  background: linear-gradient(180deg, #ffe7d7, #ffd0b0);
}

.layout-box:nth-child(12n + 10) {
  grid-column: span 2;
  grid-row: span 1;
  background: linear-gradient(180deg, #eee5ff, #dfd3ff);
}

.layout-box:nth-child(12n + 11) {
  grid-column: span 3;
  grid-row: span 3;
  background: #fffafc;
}

.layout-box:nth-child(12n) {
  grid-column: span 4;
  grid-row: span 3;
  background: linear-gradient(180deg, #f6b7cd, #eb8aad);
}

.layout-box.fancy {
  border: 3px solid var(--rose);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.6), 0 10px 18px rgba(242, 94, 124, 0.16);
}

.box-copy {
  width: 100%;
  height: 100%;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.box-copy.center {
  text-align: center;
  align-items: center;
}

.box-number {
  margin: 0 0 6px;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(52, 38, 51, 0.68);
}

.box-title {
  margin: 0 0 4px;
  font-family: "Catamaran", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.05;
  font-weight: 800;
  color: var(--ink);
}

.box-text {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.84rem, 0.95vw, 0.98rem);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(52, 38, 51, 0.88);
}

.layout-box:nth-child(12n + 3) .box-copy,
.layout-box:nth-child(12n + 5) .box-copy,
.layout-box:nth-child(12n + 8) .box-copy,
.layout-box:nth-child(12n + 10) .box-copy {
  padding: 10px;
  text-align: center;
  align-items: center;
}

.layout-box:nth-child(12n + 3) .box-title,
.layout-box:nth-child(12n + 5) .box-title,
.layout-box:nth-child(12n + 8) .box-title,
.layout-box:nth-child(12n + 10) .box-title {
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.layout-box:nth-child(12n + 3) .box-text,
.layout-box:nth-child(12n + 5) .box-text,
.layout-box:nth-child(12n + 8) .box-text,
.layout-box:nth-child(12n + 10) .box-text {
  font-size: 0.8rem;
  line-height: 1.35;
}

.intro-text {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  font-weight: 500;
  color: rgba(52, 38, 51, 0.88);
}

iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 18px 8px 0;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.84rem;
  animation: fadeUp .9s ease both;
  animation-delay: .18s;
}

.site-footer a {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}

.site-footer a:hover {
  color: var(--rose-deep);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .box-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .layout-box:nth-child(12n + 1),
  .layout-box:nth-child(12n + 2),
  .layout-box:nth-child(12n + 6),
  .layout-box:nth-child(12n + 9),
  .layout-box:nth-child(12n),
  .layout-box:nth-child(12n + 11) {
    grid-column: span 6;
  }

  .layout-box:nth-child(12n + 3),
  .layout-box:nth-child(12n + 5),
  .layout-box:nth-child(12n + 8),
  .layout-box:nth-child(12n + 10) {
    grid-column: span 3;
  }

  .layout-box:nth-child(12n + 4),
  .layout-box:nth-child(12n + 7) {
    grid-column: span 3;
  }

  .layout-box:nth-child(12n + 4) {
    grid-row: span 3;
  }

  .layout-box:nth-child(12n + 11),
  .layout-box:nth-child(12n) {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(95%, 1440px);
    padding-top: 16px;
  }

  .site-header {
    border-radius: 26px;
    padding: 18px;
  }

  nav a {
    width: 100%;
  }

  .box-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .layout-box,
  .layout-box:nth-child(12n + 1),
  .layout-box:nth-child(12n + 2),
  .layout-box:nth-child(12n + 3),
  .layout-box:nth-child(12n + 4),
  .layout-box:nth-child(12n + 5),
  .layout-box:nth-child(12n + 6),
  .layout-box:nth-child(12n + 7),
  .layout-box:nth-child(12n + 8),
  .layout-box:nth-child(12n + 9),
  .layout-box:nth-child(12n + 10),
  .layout-box:nth-child(12n + 11),
  .layout-box:nth-child(12n) {
    grid-column: auto;
    grid-row: auto;
    min-height: 110px;
  }

  .layout-box.fancy {
    min-height: 220px;
  }

  .layout-box.goofy,
  .layout-box.monday,
  .layout-box.sleepy {
    min-height: 240px;
  }

  iframe {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }
}

