/*
Theme Name: The Aesthete Academy
Theme URI: https://theaestheteacademy.com
Author: Libava Softworks
Description: Custom theme for The Aesthete Academy — interior design education, spatial aesthetics and photorealistic visualization.
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.0
Tested up to: 7.1
License: Private
Text Domain: tae
*/

/* ============================================================
   Design tokens

   Quiet and expensive rather than loud. Bone paper, ink text, a
   single clay accent used sparingly so it still reads as an accent.
============================================================ */
:root {
  --bone:        #FAF8F5;
  --bone-deep:   #F1EDE7;
  --ink:         #16150F;
  --ink-soft:    #4A4740;
  --ink-faint:   #8C877D;
  --clay:        #A9744F;
  --clay-deep:   #8A5C3D;
  --line:        #E3DDD3;
  --white:       #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-ui:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1280px;
  --pad: 40px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.5s var(--ease);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.container--narrow { max-width: 860px; }

/* Type scale */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.lede {
  font-size: 1.12rem;
  line-height: 1.72;
  color: var(--ink-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 38px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bone);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.btn:hover { background: transparent; color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }

.btn--light { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn--light:hover { background: transparent; color: var(--bone); }

/* A quiet underlined text link with a sliding rule */
.link-rule {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  transition: gap var(--t);
}
.link-rule:hover { gap: 16px; }

/* Section rhythm */
.section { padding: 120px 0; }
.section--tight { padding: 84px 0; }
.section--deep { background: var(--bone-deep); }
.section--ink { background: var(--ink); color: var(--bone); }
.section--ink .eyebrow { color: rgba(250, 248, 245, 0.5); }
.section--ink .lede { color: rgba(250, 248, 245, 0.72); }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head .eyebrow { display: block; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 22px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
