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

:root {
  --background: #f4efe7;
  --foreground: #161925;
  --accent: #f1876f;
  --border: #d6cfc4;
  --ink: #151823;
  --cream: #f4efe7;
  --coral: #f1876f;
  --sky: #9fcbd6;
  --butter: #edca76;
  --sage: #aec6ab;
  --font-body: 'DM Sans', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }

.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 clamp(20px, 3.2vw, 58px);
  overflow: hidden;
  background: radial-gradient(circle at 22% 28%, rgb(241 135 111 / 9%), transparent 28%), var(--ink);
  color: var(--cream);
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(244 239 231 / 16%);
  font-size: 0.78rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgb(244 239 231 / 18%);
  border-radius: 999px;
  color: #c8c6c0;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgb(174 198 171 / 10%);
  animation: pulse 2.8s ease-in-out infinite;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(390px, 0.64fr);
  gap: clamp(38px, 6vw, 104px);
  align-items: center;
  min-height: calc(100vh - 164px);
  min-height: calc(100svh - 164px);
  padding: clamp(62px, 8vh, 96px) 0;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: flex;
  justify-content: space-between;
  max-width: 760px;
  margin: 0 0 clamp(36px, 5vh, 58px);
  color: #acaeb5;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span:last-child { color: var(--coral); }

h1 {
  max-width: 1120px;
  margin-bottom: clamp(44px, 6vh, 70px);
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 8.7vw, 10.4rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 em, .purpose h2 em { color: var(--coral); font-weight: 400; }

.hero-intro-wrap {
  display: grid;
  grid-template-columns: minmax(70px, 9vw) minmax(0, 560px);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  margin-left: clamp(0px, 7vw, 120px);
}

.intro-rule {
  height: 1px;
  margin-top: 0.8rem;
  background: var(--coral);
}

.hero-intro {
  margin-bottom: 0;
  color: #c7c7c8;
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  line-height: 1.65;
}

.hero-art {
  position: relative;
  min-height: clamp(500px, 60vh, 690px);
  overflow: hidden;
  border-radius: clamp(26px, 3vw, 46px);
  background: radial-gradient(circle at 23% 22%, rgb(244 239 231 / 55%) 0 5%, transparent 5.4%), linear-gradient(145deg, #f3c982 0%, #ef987a 48%, #86bbc8 100%);
  box-shadow: 0 28px 80px rgb(3 5 12 / 28%);
}

.art-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: linear-gradient(rgb(21 24 35 / 36%) 1px, transparent 1px), linear-gradient(90deg, rgb(21 24 35 / 36%) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: linear-gradient(150deg, #000, transparent 78%);
  mask-image: linear-gradient(150deg, #000, transparent 78%);
}

.art-orbit {
  position: absolute;
  border: 1px solid rgb(21 24 35 / 42%);
  border-radius: 50%;
}

.orbit-large { width: 82%; aspect-ratio: 1; top: 38%; left: 52%; }
.orbit-small { width: 34%; aspect-ratio: 1; top: 53%; left: 60%; border-width: 14px; border-color: rgb(244 239 231 / 36%); }

.art-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: clamp(130px, 12vw, 185px);
  aspect-ratio: 1;
  padding: 18px;
  border: 1px solid rgb(244 239 231 / 58%);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.art-card strong {
  align-self: flex-end;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.art-card-one { top: 13%; left: 10%; background: rgb(244 239 231 / 52%); transform: rotate(-4deg); }
.art-card-two { right: 9%; bottom: 12%; background: rgb(21 24 35 / 12%); transform: rotate(5deg); }

.art-core {
  position: absolute;
  top: 46%;
  left: 48%;
  display: grid;
  place-items: center;
  width: clamp(96px, 9vw, 138px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.8rem;
  box-shadow: 0 18px 40px rgb(21 24 35 / 24%);
}

.art-caption {
  position: absolute;
  left: 28px;
  bottom: 23px;
  max-width: 170px;
  margin: 0;
  color: rgb(21 24 35 / 70%);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-footer {
  min-height: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-top: 1px solid rgb(244 239 231 / 16%);
  color: #868996;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-footer p { margin: 0; }
.hero-footer p:nth-child(2) { text-align: center; }
.hero-footer p:last-child { text-align: right; color: var(--cream); }
.hero-footer p:last-child span { color: var(--coral); }

.purpose {
  padding: clamp(86px, 10vw, 164px) clamp(20px, 3.2vw, 58px) clamp(100px, 12vw, 180px);
  background: var(--cream);
}

.section-kicker {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  color: #77767a;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.purpose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  gap: clamp(60px, 8vw, 140px);
  padding: clamp(68px, 8vw, 120px) 0 clamp(90px, 10vw, 150px);
}

.purpose h2 {
  max-width: 1040px;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6.8vw, 8.2rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.purpose-copy {
  align-self: end;
  max-width: 480px;
  color: #5d5d62;
  font-size: clamp(0.96rem, 1.05vw, 1.08rem);
  line-height: 1.72;
}

.purpose-copy p:first-child { color: var(--ink); font-weight: 500; }
.purpose-copy p:last-child { margin-bottom: 0; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 24px);
}

.principle {
  overflow: hidden;
  border-radius: clamp(24px, 2.4vw, 36px);
  color: var(--ink);
}

.principle-human { background: #dce9e2; }
.principle-practical { background: #f0d7ad; }
.principle-community { background: #dbe0f1; }

.principle-art {
  min-height: clamp(260px, 28vw, 430px);
  border-bottom: 1px solid rgb(21 24 35 / 12%);
  background-image: url('principles.png');
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.art-human { background-position: left center; }
.art-practical { background-position: center; }
.art-community { background-position: right center; }

.principle-content {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.5vw, 40px);
}

.principle-content > span {
  color: rgb(21 24 35 / 58%);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.principle h3 {
  margin: auto 0 13px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.1vw, 3.8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.principle p {
  max-width: 310px;
  margin-bottom: 0;
  color: rgb(21 24 35 / 68%);
  font-size: 0.88rem;
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(64px, 9vw, 160px);
  padding: clamp(90px, 11vw, 170px) clamp(20px, 3.2vw, 58px);
  background: radial-gradient(circle at 12% 82%, rgb(244 239 231 / 58%) 0 6%, transparent 6.3%), var(--sky);
  color: var(--ink);
}

.contact-intro { align-self: start; }

.contact-kicker {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgb(21 24 35 / 28%);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact h2 {
  max-width: 760px;
  margin: clamp(48px, 6vw, 86px) 0 36px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 6.3vw, 7.6rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.contact h2 em { color: var(--cream); font-weight: 400; }

.contact-message {
  max-width: 560px;
  margin-bottom: clamp(46px, 6vw, 72px);
  color: rgb(21 24 35 / 72%);
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  line-height: 1.72;
}

.contact-email {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgb(21 24 35 / 42%);
}

.contact-email span {
  color: rgb(21 24 35 / 56%);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-email strong { font-size: clamp(0.92rem, 1.3vw, 1.18rem); font-weight: 500; }

.contact-form-wrap {
  padding: clamp(28px, 4vw, 64px);
  border-radius: clamp(28px, 3vw, 46px);
  background: var(--cream);
  box-shadow: 0 28px 80px rgb(21 24 35 / 13%);
}

.contact-form, .contact-form label { display: grid; }
.contact-form { gap: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { gap: 10px; }

.contact-form label > span {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #aaa49b;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.contact-form input { min-height: 48px; }
.contact-form textarea { min-height: 156px; padding: 13px 0; resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 2px 0 -1px var(--coral);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.form-actions button {
  flex: 0 0 auto;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.form-actions button span { margin-left: 14px; color: var(--coral); }
.form-actions button:hover { transform: translateY(-2px); background: #252938; }
.form-actions button:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.form-actions p {
  max-width: 230px;
  margin: 0;
  color: #77767a;
  font-size: 0.7rem;
  line-height: 1.5;
}

.site-footer {
  min-height: 122px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 clamp(20px, 3.2vw, 58px);
  background: var(--ink);
  color: #8e909b;
  font-size: 0.74rem;
}

.site-footer p { margin: 0; }
.footer-name { color: var(--cream); font-weight: 600; }
.site-footer p:nth-child(2) { text-align: center; }
.copyright { text-align: right; }

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1050px) {
  .hero-stage { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 30px; }
  .hero-art { min-height: 560px; }
  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-copy { margin-left: 24vw; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principle-community { grid-column: 1 / -1; }
  .principle-community .principle-art { min-height: 380px; }
  .contact { grid-template-columns: 1fr; }
  .contact-message { max-width: 680px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 78px; }
  .header-status { padding: 8px; }
  .header-status span:last-child { display: none; }
  .hero-stage { gap: 28px; padding: 62px 0 54px; }
  .eyebrow { margin-bottom: 44px; }
  .eyebrow span:last-child { display: none; }
  h1 { font-size: clamp(4.2rem, 20vw, 7rem); line-height: 0.82; }
  .hero-intro-wrap { grid-template-columns: 46px 1fr; gap: 18px; margin-left: 0; }
  .hero-art { min-height: 430px; border-radius: 26px; }
  .art-card { width: 118px; border-radius: 19px; }
  .art-card strong { font-size: 2.5rem; }
  .art-core { width: 92px; }
  .hero-footer { min-height: 96px; grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-footer p:nth-child(2) { display: none; }
  .hero-footer p:last-child { text-align: right; }
  .purpose-grid { gap: 42px; }
  .purpose h2 { font-size: clamp(3.4rem, 15vw, 5.4rem); }
  .purpose-copy { margin-left: 0; }
  .principles { grid-template-columns: 1fr; }
  .principle-community { grid-column: auto; }
  .principle-art, .principle-community .principle-art { min-height: 330px; }
  .contact h2 { font-size: clamp(3.8rem, 17vw, 5.8rem); }
  .contact-form-wrap { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 28px; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status-dot { animation: none; }
  .form-actions button { transition: none; }
}
