/* Cloud One Studio — shared styles */

:root {
  --vapor:   #E7ECF6;
  --haze:    #F3EDE8;
  --ink:     #14182B;
  --muted:   #565E7A;
  --faint:   #8B92A9;
  --peri:    #4B57C9;
  --apricot: #D98A55;
  --blush:   #E8779A;   /* Cora's accent — the product has its own warmth */
  --rule:    rgba(20, 24, 43, .1);

  --shell:   min(68rem, 100% - clamp(2rem, 8vw, 8rem));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* anchored sections stop clear of the top edge */
[id] { scroll-margin-top: 2rem; }

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--vapor);
  -webkit-font-smoothing: antialiased;
}

/* Signature: a slow weather system drifting behind the page. */
.sky {
  position: fixed;
  inset: -25%;
  z-index: -1;
  background:
    radial-gradient(42% 38% at 22% 22%, rgba(255,255,255,.95), transparent 65%),
    radial-gradient(38% 34% at 78% 14%, rgba(75,87,201,.16), transparent 62%),
    radial-gradient(52% 46% at 62% 72%, var(--haze), transparent 68%),
    radial-gradient(30% 28% at 10% 68%, rgba(217,138,85,.14), transparent 60%);
  filter: blur(6px);
  animation: drift 46s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1);    }
  to   { transform: translate3d( 3%,  2%, 0) scale(1.08); }
}

.shell { width: var(--shell); margin-inline: auto; }

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 40, "WONK" 0;
  font-weight: 400;
  letter-spacing: -.02em;
  margin: 0;
}

h1 { font-size: clamp(2.75rem, 8vw, 5.25rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem);  line-height: 1.1; }
h3 { font-size: 1.1rem; line-height: 1.35; letter-spacing: -.01em; }

p { margin: 0; line-height: 1.65; color: var(--muted); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  max-width: 36rem;
}

.label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 1rem;
}

a { color: var(--peri); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--peri); outline-offset: 3px; border-radius: 3px; }

/* ---------- header ---------- */

.masthead {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.wordmark {
  font-family: Fraunces, Georgia, serif;
  font-variation-settings: "SOFT" 40, "WONK" 0;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
}

.masthead nav { display: flex; gap: 1.5rem; font-size: .92rem; }
.masthead nav a { color: var(--muted); text-decoration: none; }
.masthead nav a:hover { color: var(--ink); }

/* ---------- sections ---------- */

.band { padding-block: clamp(4rem, 9vw, 7.5rem); }
.band + .band { border-top: 1px solid var(--rule); }

/* Hero sits high and the Cora band crowds it deliberately — the section
   header should peek above the fold on a laptop so there's something to
   scroll toward. */
.hero { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2.5rem, 4vw, 3.25rem); }
.hero .lead { margin-top: clamp(1.5rem, 3vw, 2rem); }
.hero + .band { padding-top: clamp(2.5rem, 4vw, 3.25rem); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: clamp(2rem, 4vw, 2.5rem);
  padding: .8rem 1.4rem;
  border: 1px solid rgba(20, 24, 43, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--muted);
  cursor: not-allowed;
}

.badge::before {
  content: "";
  width: .45rem; height: .45rem;
  border-radius: 50%;
  background: var(--apricot);
  flex: none;
}

/* ---------- Cora ---------- */

.cora-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 4.5rem);
  align-items: center;
}

@media (min-width: 60rem) {
  .cora-grid { grid-template-columns: 1fr minmax(0, 22rem); }
}

.cora-name {
  font-family: Fraunces, Georgia, serif;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-weight: 500;
  color: var(--blush);
}

.cora-copy p { margin-top: 1.25rem; max-width: 34rem; }

.specs {
  list-style: none;
  margin: clamp(2rem, 4vw, 2.75rem) 0 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  max-width: 34rem;
}

@media (min-width: 40rem) {
  .specs { grid-template-columns: 1fr 1fr; gap: 1.6rem 2.5rem; }
}

.specs h3 { margin-bottom: .35rem; }
.specs p { font-size: .93rem; line-height: 1.55; }

.screens {
  display: flex;
  justify-content: center;
  gap: clamp(.75rem, 2vw, 1.25rem);
}

.screens img {
  display: block;
  width: 100%;
  min-width: 0;      /* let flex items shrink below intrinsic width on mobile */
  max-width: 15rem;
  height: auto;
  border-radius: 1.6rem;
  border: 1px solid rgba(20, 24, 43, .07);
  box-shadow: 0 1.6rem 3.5rem -1rem rgba(20, 24, 43, .28);
}

.screens img:first-child { transform: rotate(-2.5deg) translateY(1rem); }
.screens img:last-child  { transform: rotate(2.5deg); }

/* ---------- contact ---------- */

.mail {
  display: inline-block;
  margin-top: 1.75rem;
  font-family: Fraunces, Georgia, serif;
  font-variation-settings: "SOFT" 40, "WONK" 0;
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  letter-spacing: -.02em;
  color: var(--peri);
  text-decoration: none;
  border-bottom: 1px solid rgba(75, 87, 201, .35);
  padding-bottom: .15rem;
}

.mail:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--rule);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
  font-size: .88rem;
  color: var(--faint);
}

.footer p { font-size: inherit; color: inherit; line-height: 1.6; }
.byline { color: var(--muted); }
.footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sky { animation: none; }
}
