:root {
  color-scheme: light;
  font-family: Inter, Arial, sans-serif;
  color: #11131a;
  background: #f5f5f2;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 94% 3%, rgba(198, 207, 255, .32), transparent 34%),
    #f5f5f2;
}

a { color: inherit; }

.site-shell {
  width: min(100% - 48px, 1280px);
  min-height: 100vh;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #d8d9d7;
}

.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: clamp(172px, 22vw, 235px); height: auto; }

.header-note,
.eyebrow,
.project-index,
.project-status,
.project-link,
.site-footer {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.header-note { color: #646975; text-align: right; }

.home-main { flex: 1; padding: clamp(48px, 7vh, 80px) 0 50px; }

.eyebrow { margin: 0 0 22px; color: #585e6d; }

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

.home-title,
.aura-title {
  max-width: 1100px;
  margin-bottom: 20px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(48px, 5.8vw, 80px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.07em;
}

.home-title { margin-bottom: 38px; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.project-card {
  position: relative;
  isolation: isolate;
  min-height: clamp(295px, 26vw, 335px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 2.5vw, 36px);
  border-radius: 20px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.project-card::before {
  position: absolute;
  z-index: -1;
  width: 290px;
  height: 290px;
  right: -88px;
  top: 48px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: .17;
  transform: rotate(-20deg);
  transition: transform .35s ease;
}

.project-card::after {
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 190px;
  right: -58px;
  top: 95px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: .17;
}

.project-card:hover { transform: translateY(-6px); box-shadow: 0 24px 45px rgba(20, 30, 60, .16); }
.project-card:hover::before { transform: translate(-15px, 10px) rotate(10deg); }
.project-card:focus-visible, .brand:focus-visible, .back-link:focus-visible { outline: 3px solid #1e6fff; outline-offset: 4px; }

.project-top, .project-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; }
.project-bottom { flex-wrap: wrap; }
.project-index { opacity: .72; }
.project-arrow { font-size: 28px; line-height: .7; font-weight: 400; transition: transform .25s ease; }
.project-card:hover .project-arrow { transform: translate(4px, -4px); }
.project-name { display: block; margin-bottom: 13px; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: clamp(35px, 3vw, 49px); line-height: 1; letter-spacing: -.055em; }
.project-status { display: block; margin-bottom: 0; opacity: .72; }
.project-link { align-self: flex-end; margin-left: auto; opacity: .82; white-space: nowrap; }

.project-onda { color: #fff; background: linear-gradient(145deg, #122ca7 0%, #385dff 66%, #7890ff 100%); }
.project-aura { color: #292048; background: linear-gradient(145deg, #e0d7fb 0%, #c8b4f4 70%, #a98ce8 100%); }
.project-trampo { color: #e9faff; background: linear-gradient(145deg, #101e2f 0%, #153c54 70%, #19646d 100%); }
.project-studio { color: #172c38; background: linear-gradient(145deg, #f0f1ea 0%, #dde7df 62%, #cadad6 100%); border: 1px solid #cbd8d3; }
.project-studio::before, .project-studio::after { border-radius: 24px; transform: rotate(24deg); }
.project-studio .project-name { max-width: 12ch; }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 36px; border-top: 1px solid #d8d9d7; color: #858995; }

.aura-main { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 80px 0; }
.aura-mark { width: 84px; height: 84px; margin-bottom: 52px; border-radius: 24px; background: radial-gradient(circle at 36% 32%, #f5eeff, #a182e3 65%, #594197); box-shadow: 0 28px 65px rgba(93, 62, 154, .22); }
.aura-title { margin-bottom: 10px; }
.aura-description { margin-bottom: 40px; color: #686d78; font-size: clamp(22px, 3vw, 34px); }
.back-link { display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid #cdd0d5; border-radius: 100px; text-decoration: none; font-size: 14px; font-weight: 700; transition: background .2s ease; }
.back-link:hover { background: #fff; }

@media (max-width: 850px) {
  .project-card { min-height: 230px; }
  .project-name { font-size: 42px; }
  .home-main { padding-top: 65px; }
}

@media (max-width: 640px) {
  .project-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .site-shell { width: min(100% - 36px, 1280px); }
  .site-header { min-height: 84px; }
  .brand img { width: 170px; }
  .header-note { display: none; }
  .home-main { padding: 56px 0 52px; }
  .home-title { font-size: clamp(45px, 12vw, 64px); }
  .home-title { margin-bottom: 34px; }
  .project-card { min-height: 205px; padding: 25px; }
  .project-name { font-size: 38px; }
  .project-link { font-size: 9px; }
  .site-footer { flex-direction: column; gap: 8px; font-size: 10px; }
  .aura-mark { margin-bottom: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-card, .project-card::before, .project-arrow, .back-link { transition: none; }
}
