/* ==========================================================================
   Maj-lis sida — design tokens
   Palette grounded in Maj-lis's own words: the aura tones she both paints with
   and describes feeling during a reading, now read as first light rather
   than dusk — a wash of dawn colour meant to feel like hope.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg:          #FBF4EA; /* base background, warm dawn paper */
  --bg-alt:      #F5EBDC; /* banded sections */
  --bg-panel:    #FFFFFF; /* card / form surfaces */
  --line:        #E8DCC4; /* hairlines */

  --gold:        #C1852E; /* candlelight — primary accent, text-safe */
  --gold-soft:   #F3D08B;
  --coral:       #D06F3E; /* warm ember, text-safe */
  --coral-soft:  #F3B78F;
  --blush:       #BD5C86; /* soft pink, text-safe */
  --blush-soft:  #F4C7DC;
  --sky:         #4C7FA6; /* pale dawn blue, text-safe */
  --sky-soft:    #C3DEEE;
  --violet:      #7C5AA8; /* new: the purple she loves, text-safe */
  --violet-soft: #DDCBEF;

  --ink:         #2A2036; /* primary text */
  --ink-dim:     #6B5F7C; /* secondary text */

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body:    "Karla", ui-sans-serif, system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1160px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-dim);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; color: var(--ink-dim); }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

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

/* ==========================================================================
   Signature element — the aura
   A slow-breathing radial blend of her favourite colours, now read as a
   dawn wash across the page. Also appears behind the portrait and as a
   small footer mark.
   ========================================================================== */

.aura-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(650px 550px at 12% -8%, color-mix(in srgb, var(--blush-soft) 55%, transparent), transparent 60%),
    radial-gradient(750px 650px at 108% 10%, color-mix(in srgb, var(--sky-soft) 50%, transparent), transparent 60%),
    radial-gradient(700px 600px at 50% -5%, color-mix(in srgb, var(--violet-soft) 40%, transparent), transparent 65%),
    radial-gradient(800px 700px at 50% 115%, color-mix(in srgb, var(--gold-soft) 45%, transparent), transparent 60%);
  opacity: 1;
}

.aura-orb {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: conic-gradient(from 90deg,
    var(--gold-soft), var(--coral-soft), var(--blush-soft), var(--violet-soft), var(--sky-soft), var(--gold-soft));
  filter: blur(48px) saturate(1.3);
  opacity: 0.8;
  animation: breathe 9s var(--ease) infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%      { transform: scale(1.08); opacity: 0.9; }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.logo em {
  font-style: italic;
  color: var(--gold);
}

.site-nav {
  display: flex;
  gap: 32px;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink-dim);
  transition: color 0.2s var(--ease);
}
.site-nav a:hover { color: var(--ink); }

.nav-cta {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--bg);
  background: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--violet) 45%, transparent);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .site-nav.is-open { max-height: 320px; }
  .site-nav a {
    padding: 16px 24px;
    border-top: 1px solid var(--line);
  }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header { position: sticky; }
}

/* ==========================================================================
   Shared bits
   ========================================================================== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--coral));
  color: #FFFDF9;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--coral) 55%, transparent);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.section {
  position: relative;
  z-index: 1;
  padding-block: 110px;
}
.section > .wrap > h2,
.section > .wrap > p.eyebrow {
  max-width: 640px;
}

/* ==========================================================================
   Hero + cursor magic
   The one place the page reacts to touch: motes of her palette drift up
   wherever a cursor moves or a finger taps, like warmth catching light.
   ========================================================================== */

.hero {
  position: relative;
  z-index: 1;
  padding-block: 120px 100px;
  cursor: default;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--blush);
}

.hero-lede {
  font-size: 1.1rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-portrait .aura-orb {
  inset: 0;
  animation-duration: 11s;
}
.portrait-frame {
  position: relative;
  width: 78%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: 0 30px 60px -25px rgba(124, 90, 168, 0.35);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.hero-sparkle-hint {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  opacity: 0.75;
}

.sparkle {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--spark-color, var(--gold)) 0%, color-mix(in srgb, var(--spark-color, var(--gold)) 60%, transparent) 55%, transparent 75%);
  transform: translate(-50%, -50%) scale(0);
  animation: sparkle-pop 900ms ease-out forwards;
}

@keyframes sparkle-pop {
  0%   { transform: translate(-50%, -50%) scale(0) rotate(0deg); opacity: 0; }
  18%  { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(20deg); }
  100% { transform: translate(-50%, calc(-50% - 46px)) scale(0.4) rotate(90deg); opacity: 0; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { max-width: 320px; margin-inline: auto; order: -1; }
}

/* ==========================================================================
   About
   ========================================================================== */

.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  box-shadow: 0 22px 46px -30px rgba(42, 32, 54, 0.55);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.about-text .signature {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--violet);
  font-size: 1.2rem;
  margin-top: 24px;
}

@media (max-width: 860px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-image { max-width: 340px; margin-inline: auto; }
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.services h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin-bottom: 48px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.service-card h3 {
  font-size: 1.4rem;
  color: var(--violet);
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.service-meta dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 6px;
}
.service-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
}
.service-meta .price dd {
  color: var(--coral);
  font-weight: 600;
}

.services-note {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-dim);
}

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

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}
.gallery-lede {
  max-width: 52ch;
  margin-bottom: 48px;
}

/* Masonry via columns: the canvases are all different shapes, so each one
   keeps its own proportions instead of being cropped into a fixed tile. */
.art-grid {
  columns: 3;
  column-gap: 24px;
}

.art-card {
  break-inside: avoid;
  margin-bottom: 34px;
}

.art-card h3 {
  font-size: 1.1rem;
  margin-top: 16px;
  margin-bottom: 0;
}

.art-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  box-shadow: 0 18px 40px -28px rgba(42, 32, 54, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.art-card:hover .art-photo {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -26px rgba(42, 32, 54, 0.6);
}

@media (max-width: 900px) {
  .art-grid { columns: 2; }
}
@media (max-width: 560px) {
  .art-grid { columns: 1; }
}

/* ==========================================================================
   Studio / mood mosaic
   ========================================================================== */

.mood h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}
.mood-lede {
  max-width: 52ch;
  margin-bottom: 48px;
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mood-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-panel);
}
.mood-item img {
  width: 100%;
  height: auto;          /* let aspect-ratio win over the height attribute */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.mood-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .mood-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .mood-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.contact-inner {
  max-width: 620px;
  text-align: center;
}

.contact-inner h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}
.contact-lede {
  margin-inline: auto;
  max-width: 46ch;
}

/* The number itself is the loudest thing in the section — it is the whole
   point of the page for anyone who got this far. */
.contact-number {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact-number:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding-block: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, var(--gold), var(--coral), var(--blush), var(--violet), var(--sky), var(--gold));
  flex-shrink: 0;
}
.footer-inner p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-dim);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
