@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=IBM+Plex+Mono:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #edf5fc;
  --card: #fffdf9;
  --ink: #1f2f4a;
  --muted: #6f7c95;
  --line: #d8e1ec;
  --accent: #a8793a;
  --pink: #e779a7;
  --serif: "Fraunces", Georgia, serif;
  --mono: "IBM Plex Mono", monospace;
  --shadow: 0 24px 70px rgba(31, 47, 74, 0.07);
}

* { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
}
a { color: inherit; }

/* =========================
   Header / Navigation
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5.75rem;
  padding: 0.9rem 3.5rem;
  background: rgba(237, 245, 252, 0.72);
  border-bottom: 1px solid rgba(216, 225, 236, 0.72);
  box-shadow: 0 10px 34px rgba(31, 47, 74, 0.045);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

.brand {
  position: relative;
  z-index: 1002;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 2.85rem;
  height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.brand small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1;
}

.nav-toggle { display: none; }
.hamburger { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.nav > ul {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav li { margin: 0; padding: 0; }

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.74;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.nav a:hover, .nav a.is-current{
  opacity: 1;
  transform: translateY(-1px);
}

.nav-cta,
.nav li:last-child > a {
  min-height: 3.1rem;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  opacity: 1 !important;
  box-shadow: 0 10px 24px rgba(31, 47, 74, 0.12);
}

.language-menu {
  gap: 0.35rem !important;
  margin-left: 0.75rem !important;
  padding-left: 0.9rem !important;
  border-left: 1px solid var(--line);
}

.language-menu a,
.language-menu li:last-child > a {
  min-width: 2rem;
  height: 2rem;
  min-height: 2rem;
  padding: 0 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: none;
  color: var(--ink) !important;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.72 !important;
}

.language-menu a:hover,.language-menu li:last-child > a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff !important;
  opacity: 1 !important;
}



/* =========================
   breadcrumbs
========================= */

.bread {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;

  margin: 0 0 2.4rem;
  padding: 0;

  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  justify-content: center;
}

.bread li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
}

.bread li:not(:last-child)::after {
  content: "›";
  color: var(--accent);
  opacity: 0.75;
}

.bread a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.bread a:hover {
  color: var(--ink);
  border-color: currentColor;
}

.bread li:last-child a {
  color: var(--ink);
  pointer-events: none;
  border-color: transparent;
}

@media (max-width: 700px) {
  .bread {
    margin-bottom: 1.6rem;
    font-size: 0.74rem;
    line-height: 1.4;
  }

  .bread li:last-child {
    flex-basis: 100%;
    margin-top: 0.15rem;
  }
}

/* =========================
   Page / Automad Layout
========================= */

.page-wrap {
  width: min(1360px, calc(100vw - 56px)) !important;
  max-width: 1360px !important;
  margin: 46px auto 88px !important;
  padding: 0 !important;
}

.page-wrap am-stretched,
.page-wrap am-stretched > section,
.page-wrap am-stretched > section > am-layout-section,
.page-wrap am-layout-section {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-wrap am-flex {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.page-wrap am-1-2,
.page-wrap am-1-3,
.page-wrap am-2-3,
.page-wrap am-1-4 {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.page-wrap am-flex:has(am-2-3) {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr) !important;
  gap: 28px !important;
  align-items: stretch !important;
  margin-bottom: 28px !important;
}

.page-wrap am-flex:has(am-1-2) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 28px !important;
  margin-bottom: 28px !important;
}

.page-wrap am-flex:has(am-1-4) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
  margin: 0 !important;
}

/* =========================
   Cards
========================= */

.card,
.full-card,
.page-card {
  width: 100% !important;
  max-width: 100% !important;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  min-height: 520px;
  padding: clamp(44px, 5vw, 72px) !important;
}

.side-copy {
  min-height: 520px;
  padding: clamp(40px, 4vw, 64px) !important;
}

.full-card {
  margin: 28px auto !important;
  padding: clamp(48px, 6vw, 84px) !important;
  background:
    radial-gradient(circle at 88% 18%, rgba(232, 121, 167, 0.14), transparent 36%),
    radial-gradient(circle at 92% 92%, rgba(204, 239, 242, 0.48), transparent 34%),
    var(--card);
}

.page-card {
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: clamp(42px, 6vw, 82px) !important;
}

.mini-card,
.service-card {
  width: 100% !important;
  height: 100% !important;
  min-height: 260px !important;
  padding: clamp(34px, 3vw, 50px) !important;
}

.mini-card .eyebrow {
  margin:0!important;
}
.mini-card figure {
   aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin:0 0 2em 0!important;
}

.mini-card figure img {
  width:100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.service-card { min-height: 360px !important; }

.service-card.featured,
.featured {
  background:
    radial-gradient(circle at 84% 14%, rgba(232, 121, 167, 0.16), transparent 38%),
    var(--card);
}

.card am-layout-section,
.full-card am-layout-section,
.page-card am-layout-section,
.mini-card am-layout-section,
.service-card am-layout-section {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.service-row figure {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
}

.service-row figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* =========================
   Typography
========================= */

p,
h1,
h2,
h3,
h4 { margin-top: 0; }

p {
  margin: 0 0 1.3rem;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

.eyebrow {
  display: block;
  margin: 0 auto 26px !important;
  color: var(--accent) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.32em !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin: 0 0 28px !important;
  font-size: clamp(26px, 4vw, 58px) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.055em !important;
}

h2 {
  max-width: 720px;
  margin: 0 auto 24px !important;
  font-size: clamp(24px, 3.4vw, 46px) !important;
  line-height: 1 !important;
  letter-spacing: -0.05em !important;
}

h3 {
  max-width: 520px;
  margin: 0 auto 22px !important;
  font-size: clamp(22px, 2.9vw, 38px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
}

h4 {
  max-width: 100%;
  margin: 0 0 24px !important;
  font-size: clamp(16px, 1.5vw, 18px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
}

.default h3 { margin: 1em 0 22px !important; }

.lead,
.side-copy p,
.full-card p,
.page-card p,
.mini-card p {
  color: var(--muted);
}

.lead {
  max-width: 680px;
  margin: 0 0 28px !important;
  font-size: clamp(14px, 1vw, 18px) !important;
  line-height: 1.65 !important;
}

/* =========================
   Components
========================= */

.palette-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  max-width: 100%;
  margin: 8px 0 26px !important;
}

.palette-row span {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(31, 47, 74, 0.12);
  border-radius: 50%;
  background: var(--c);
}

.mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 100%;
  margin: 0 0 28px !important;
}

.mini-points span {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.section-head {
  width: min(760px, 100%) !important;
  margin: 80px auto 42px !important;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.deliverables {
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.deliverables p {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.deliverables strong,
.deliverables b {
  color: var(--ink);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
.am-button {
  min-height: 58px !important;
  padding: 0 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--ink) !important;
  border-radius: 999px !important;
  background: var(--ink) !important;
  color: #fff !important;
  font-family: var(--serif) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(31, 47, 74, 0.10);
}

.button.secondary {
  background: transparent !important;
  color: var(--ink) !important;
  border-color: #cfd7e4 !important;
  box-shadow: none;
}

.am-button am-fontsize {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: 1 !important;
}

.text-link {
  display: inline-flex !important;
  margin-top: 8px !important;
  color: var(--ink) !important;
  font-family: var(--mono) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border-bottom: 1px solid currentColor !important;
}

/* Images */

.image-card img,
.content img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.content img {
  height: auto;
  border-radius: 20px;
}

.receive-image {
  display: block;
  width: 100%;
  height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--card);
}

.receive-image figure,
.season-type-image figure,
.season-circle figure {
  width: 100%;
  height: 100%;
  margin: 0;
}

.receive-image img,
.season-type-image img,
.season-circle img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.season-type-image {
  display: block;
  width: 100%;
  height: 220px;
  margin: 1.2rem 0 1.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}

.season-circle {
  display: block;
  width: min(220px, 100%);
  aspect-ratio: 1 / 1;
  margin: 1.2rem auto 1.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
}

/* Journal / Article */

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.journal-card {
  min-height: 340px;
  padding: 0 !important;
}

.journal-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}

.journal-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #f4dfe3, #cceff2);
}

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

.journal-card-body {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.article-card {
  max-width: 920px !important;
}

.article-card h2 {
  margin-top: 3rem !important;
}

.article-card ul {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.article-card li { margin: 0.35rem 0; }
.article-meta { margin-bottom: 2rem; color: var(--muted); }

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 2rem 0 3rem;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.related-posts { margin-top: 4rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 1.5rem;
}

.related-card { padding: clamp(2rem, 4vw, 3rem); }
.related-card a { display: block; text-decoration: none; }
.related-date { margin: 0 0 1rem; color: var(--muted); font-size: 0.85rem; }
.related-card h3 { margin: 0; font-size: clamp(24px, 2.5vw, 36px); }
.related-card p:not(.related-date) { margin-top: 1rem; color: var(--muted); }

/* Footer */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 46px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.square-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
}

.square-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center top;
}

.wide-img {
  width: 100%;
  overflow: hidden;
  margin: 0;
}

.wide-img img {
  object-fit: contain;
  width: 100%;
  height: auto;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1050px) {
  .page-wrap am-flex:has(am-2-3),
  .page-wrap am-flex:has(am-1-2) {
    grid-template-columns: 1fr !important;
  }

  .page-wrap am-flex:has(am-1-4),
  .journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hero-copy,
  .side-copy {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 4.8rem;
    padding: 0.8rem 1rem;
  }

  .brand small { display: none; }
  .brand strong { font-size: 1.25rem; }
  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.15rem;
  }

  .hamburger {
    position: relative;
    z-index: 1002;
    width: 2.65rem;
    height: 2.65rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 253, 249, 0.9);
    cursor: pointer;
  }

  .hamburger span {
    width: 1.1rem;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .nav {
    height:100vh;
    position: fixed !important;
    inset: 0 !important;
    z-index: 1001 !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding: 6rem 1.5rem 2rem;
    background: rgba(237, 245, 252, 0.97);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
  }

  .nav-toggle:checked ~ .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(0.42rem) rotate(45deg);
  }

  .nav-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-0.42rem) rotate(-45deg);
  }

  .nav > ul {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav a{
    padding: 0 1rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px;

    box-shadow: none;
    color: var(--ink) !important;
    font-family: var(--mono);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    opacity: 1 !important;
  }


  .nav li:last-child > a {
    min-height: 3.6rem;
    padding: 0 2rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--ink);
    box-shadow: none;
    color: #fff !important;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    opacity: 1 !important;
  }

  .language-menu {
    flex-direction: row !important;
    gap: 0.5rem !important;
    margin: 1rem 0 0 !important;
    padding: 0 !important;
    border-left: 0 !important;
  }

  .language-menu a {
    min-width: 2.4rem;
    height: 2.4rem;
    min-height: 2.4rem;
    padding: 0 0.7rem;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--line);
    color: var(--ink) !important;
    font-family: var(--mono);
    font-size: 0.75rem;
  }
}

@media (max-width: 700px) {
  .page-wrap {
    width: calc(100vw - 28px) !important;
    margin-top: 18px !important;
  }

  .page-wrap am-flex:has(am-1-4),
  .journal-grid,
  .related-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-copy,
  .side-copy,
  .page-card,
  .mini-card,
  .service-card {
    padding: 34px 26px !important;
  }

  main.page-wrap section.am-block.full-card {
    padding: 0 !important;
  }

  main.page-wrap section.am-block.full-card > am-layout-section {
    padding: 56px 42px !important;
  }

  .full-card .mini-card {
    padding: 34px 0 0 0 !important;
  }

  .mini-card { min-height: auto !important; }

  .button,
  .am-button {
    min-height: 54px !important;
    padding: 0 26px !important;
  }

  .site-footer {
    padding: 28px 16px;
    flex-direction: column;
  }
}
