html {
  --artwork-y: 0%;
  --paper: #fff8ed;
  --paper-muted: rgba(255, 248, 237, .76);
  --cream: #ffe6d4;
  --copper: #e7b398;
  --link: #ffd4bc;
  --panel: rgba(62, 38, 29, .82);
  --panel-soft: rgba(255, 242, 220, .075);
  --line: rgba(255, 243, 222, .26);
  --shadow: rgba(42, 24, 17, .22);
  min-height: 100%;
  font-size: 62.5%;
  background: #d8b894;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }

html::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  content: "";
  pointer-events: none;
  background-color: #d8b894;
  background-image: url("fox-and-moss-botanical-background-portrait.jpg");
  background-position: center var(--artwork-y);
  background-repeat: no-repeat;
  background-size: cover;
  will-change: background-position;
}

body {
  position: relative;
  z-index: 1;
  width: min(840px, calc(100% - 3.2rem));
  min-height: 90vh;
  margin: 5vh auto;
  overflow-x: clip;
  color: var(--paper);
  font: 400 1.82rem/1.7 "Alice", Georgia, serif;
}

@media (orientation: landscape) {
  html::before { background-image: url("fox-and-moss-botanical-background.png"); }
}

.site-header,
#content,
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px var(--shadow);
  backdrop-filter: blur(2px);
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.1rem;
  padding: 2.6rem 3.2rem;
}

.brand-lockup {
  display: inline-flex;
  min-width: 0;
  flex-direction: column;
  gap: .15rem;
  color: inherit;
  border: 0;
}

.brand-lockup:hover,
.brand-lockup:focus { border: 0; }

.brand-tagline {
  color: var(--cream);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.12;
}

.eyebrow,
.section-label,
.status-kicker {
  margin: 0 0 .55rem;
  color: var(--copper);
  font-size: 1.28rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.main-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem 1.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu a {
  display: inline-flex;
  min-height: 4.4rem;
  align-items: center;
  padding: .6rem .2rem;
  color: var(--paper-muted);
  font-size: 1.58rem;
  border-bottom: 2px solid transparent;
}

.main-menu a:hover,
.main-menu a:focus,
.main-menu a[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--copper);
}

#content {
  margin-top: 2.2rem;
  padding: clamp(2.4rem, 5vw, 4rem);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2.2rem;
  padding: 1.7rem 3.2rem;
  color: var(--paper-muted);
  font-size: 1.4rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

main, .inner, section, article, aside { min-width: 0; max-width: 100%; }

h1, h2, h3 {
  margin-top: 0;
  color: var(--cream);
  font-weight: 400;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.8rem;
  font-size: clamp(3.8rem, 8vw, 6rem);
  letter-spacing: -.04rem;
}

h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 6vw, 4.2rem);
}

h3 {
  margin-bottom: .7rem;
  font-size: 2.15rem;
}

p { max-width: 63rem; margin: 0 0 1.45em; }

p, li, summary, a, h1, h2, h3 { overflow-wrap: break-word; }

a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 212, 188, .55);
}

a:hover,
a:focus { color: var(--paper); border-bottom-color: var(--paper); }

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  transform: translateY(-160%);
  padding: 1rem 1.4rem;
  color: #2e1b15;
  background: var(--paper);
  border: 2px solid #2e1b15;
  border-radius: .6rem;
}

.skip-link:focus { transform: translateY(0); }

.studio-hero,
.product-hero,
.privacy-hero,
.error-hero { padding: 1rem 0 3.2rem; }

.hero-lede,
.intro-summary,
.app-principle {
  max-width: 64rem;
  color: rgba(255, 248, 237, .94);
  font-size: clamp(1.9rem, 3.4vw, 2.2rem);
  line-height: 1.58;
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem);
  gap: 2.4rem;
  align-items: stretch;
  margin: 1rem 0 4.5rem;
  padding: clamp(2rem, 4vw, 2.8rem);
  background: linear-gradient(135deg, rgba(255, 242, 220, .11), rgba(255, 242, 220, .045));
  border: 1px solid var(--line);
}

.feature-copy p:last-of-type { margin-bottom: 1.6rem; }

.project-status,
.status-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .55rem;
  padding: 1.8rem;
  text-align: center;
  background: rgba(255, 242, 220, .07);
  border: 1px solid rgba(255, 243, 222, .22);
}

.project-status strong,
.status-card strong {
  color: var(--cream);
  font-size: 2rem;
  font-weight: 400;
}

.project-status small,
.status-card small { color: var(--paper-muted); }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  align-items: center;
}

.button-link {
  display: inline-flex;
  min-height: 4.8rem;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.5rem;
  color: #321f18;
  background: #f3c8ae;
  border: 1px solid #ffe1cf;
  border-radius: .7rem;
}

.button-link:hover,
.button-link:focus {
  color: #23130f;
  background: #ffe0cf;
  border-color: #fff0e6;
}

.quiet-link {
  display: inline-flex;
  min-height: 4.4rem;
  align-items: center;
}

.about-section,
.support-section,
.story-section,
.privacy-section {
  margin-top: 4.5rem;
  padding-top: 3.4rem;
  border-top: 1px solid rgba(255, 243, 222, .18);
}

.story-grid,
.policy-grid,
.privacy-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.3rem 0;
}

.story-card,
.policy-card,
.privacy-index > a {
  padding: 1.7rem;
  background: var(--panel-soft);
  border: 1px solid rgba(255, 243, 222, .18);
}

.story-card p,
.policy-card p { margin-bottom: 0; font-size: 1.58rem; line-height: 1.6; }

.privacy-index > a {
  display: block;
  min-height: 12rem;
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 243, 222, .18);
}

.privacy-index > a:hover,
.privacy-index > a:focus { background: rgba(255, 242, 220, .12); }

.privacy-index strong {
  display: block;
  margin-bottom: .6rem;
  color: var(--cream);
  font-size: 2rem;
  font-weight: 400;
}

.privacy-index span { color: var(--paper-muted); font-size: 1.5rem; }

.updated,
.fine-print { color: var(--paper-muted); font-size: 1.45rem; }

.policy-item,
.faq-group,
.intro-details {
  margin: 1rem 0;
  background: rgba(255, 242, 220, .055);
  border: 1px solid rgba(255, 243, 222, .2);
}

.policy-item > summary,
.faq-group > summary,
.intro-details > summary {
  display: flex;
  min-height: 4.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  color: var(--cream);
  font-size: 1.75rem;
  list-style: none;
}

.policy-item > summary::-webkit-details-marker,
.faq-group > summary::-webkit-details-marker,
.intro-details > summary::-webkit-details-marker { display: none; }

.policy-item > summary::after,
.faq-group > summary::after,
.intro-details > summary::after { content: "+"; flex: 0 0 auto; color: var(--copper); }

.policy-item[open] > summary::after,
.faq-group[open] > summary::after,
.intro-details[open] > summary::after { content: "−"; }

.policy-item > p,
.policy-item > div,
.intro-details > p {
  max-width: none;
  margin: 0;
  padding: .25rem 1.5rem 1.5rem;
  font-size: 1.55rem;
  line-height: 1.62;
}

.faq-group-body { padding: .2rem 1rem 1rem; }
.faq-group-body .policy-item { background: rgba(255, 242, 220, .035); }

.product-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 20rem);
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.status-card { min-height: 18rem; }

.deep-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.4rem;
  margin: 2rem 0 0;
}

.deep-links a { min-height: 4.4rem; display: inline-flex; align-items: center; }

.error-code { font-size: 1.35rem; letter-spacing: .16em; color: var(--copper); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html::before { will-change: auto; background-position: center center !important; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 720px) {
  body { width: calc(100% - 1.6rem); margin: 2.2vh auto; }
  .site-header { padding: 2.2rem 1.8rem; }
  #content { padding: 2.5rem 1.8rem; }
  .site-footer { padding: 1.7rem 1.8rem; }
  .featured-project,
  .product-topline { grid-template-columns: 1fr; }
  .project-status,
  .status-card { min-height: 0; text-align: left; }
  .story-grid,
  .policy-grid,
  .privacy-index { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  body { width: calc(100% - .8rem); }
  .brand-tagline { font-size: 2.5rem; }
  .main-menu { gap: .4rem 1.2rem; }
  #content { padding: 2.2rem 1.4rem; }
  .site-header { padding: 2rem 1.4rem; }
  .site-footer { padding: 1.6rem 1.4rem; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-link, .quiet-link { width: 100%; justify-content: center; }
}
