/* ============================================================
   Axivora.website — Modern Editorial Luxury
   Pure CSS3 · Mobile-first · Production-ready
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --bg-ivory: #FFFDF8;
  --bg-linen: #F8F4EC;
  --primary: #C97C5D;
  --primary-dark: #B56A4C;
  --secondary: #7D9772;
  --accent: #C6A664;
  --soft-accent: #D8BFD8;
  --text: #2E2E2E;
  --text-secondary: #6E6E6E;
  --card: #FFFFFF;
  --border: #EAE5DC;
  --white: #FFFFFF;

  --font-display: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --font-serif: "Libre Baskerville", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 12px rgba(46, 46, 46, 0.04);
  --shadow-md: 0 8px 28px rgba(46, 46, 46, 0.06);
  --shadow-lg: 0 16px 48px rgba(46, 46, 46, 0.08);

  --header-h: 72px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: min(1120px, calc(100% - 3rem));
  --container-wide: min(1280px, calc(100% - 3rem));
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--text);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: var(--space-sm);
}

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

.section {
  padding: var(--space-2xl) 0;
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children slightly via nth-child delays */
.services-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

.metrics-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.metrics-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.metrics-grid .reveal:nth-child(3) { transition-delay: 0.19s; }
.metrics-grid .reveal:nth-child(4) { transition-delay: 0.26s; }

.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.pricing-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.pricing-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.journal-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.journal-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.timeline-item:nth-child(1) { transition-delay: 0.05s; }
.timeline-item:nth-child(2) { transition-delay: 0.12s; }
.timeline-item:nth-child(3) { transition-delay: 0.19s; }
.timeline-item:nth-child(4) { transition-delay: 0.26s; }
.timeline-item:nth-child(5) { transition-delay: 0.33s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(201, 124, 93, 0.28);
}

.btn-outline {
  background-color: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: rgba(201, 124, 93, 0.04);
}

.btn-nav {
  background-color: var(--text);
  color: var(--white);
  border-color: var(--text);
  padding: 0.65rem 1.4rem;
  font-size: 0.8125rem;
}

.btn-nav:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(201, 124, 93, 0.25);
}

.btn-nav-desktop {
  display: none;
}

.nav-cta-mobile {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.btn-full {
  width: 100%;
}

/* ---------- Section Headers ---------- */
.section-header {
  max-width: 540px;
  margin-bottom: var(--space-xl);
}

.section-header-center {
  margin-inline: auto;
  text-align: center;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
}

/* ============================================================
   Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container-wide);
  margin-inline: auto;
  height: var(--header-h);
  gap: var(--space-md);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  flex-shrink: 0;
  transition: color 0.3s var(--ease);
}

.logo:hover {
  color: var(--primary);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta-mobile .btn-nav {
  display: inline-flex;
}

.nav-cta-mobile .btn-nav::after {
  display: none;
}

.nav-cta-mobile .btn-nav:hover {
  color: var(--white);
}

/* Mobile nav toggle (checkbox hack) */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 10;
}

.nav-toggle-label span {
  display: block;
  height: 1.5px;
  width: 100%;
  background-color: var(--text);
  border-radius: 2px;
  transition:
    transform 0.35s var(--ease),
    opacity 0.25s var(--ease);
  transform-origin: center;
}

.nav-toggle:checked + .nav-toggle-label span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile menu panel */
@media (max-width: 899px) {
  .nav {
    position: relative;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-ivory);
    padding: var(--space-lg) 1.5rem 1.75rem;
    gap: 1.35rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    animation: fadeIn 0.3s var(--ease);
    z-index: 99;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(216, 191, 216, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 75%, rgba(125, 151, 114, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 60% 10%, rgba(198, 166, 100, 0.1) 0%, transparent 50%),
    var(--bg-ivory);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}

.shape-blob-1 {
  width: 420px;
  height: 420px;
  background: rgba(201, 124, 93, 0.12);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.shape-blob-2 {
  width: 320px;
  height: 320px;
  background: rgba(125, 151, 114, 0.14);
  bottom: 5%;
  left: -8%;
  animation-delay: -6s;
  animation-duration: 22s;
}

.shape-blob-3 {
  width: 240px;
  height: 240px;
  background: rgba(216, 191, 216, 0.2);
  top: 40%;
  left: 50%;
  animation-delay: -12s;
  animation-duration: 20s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(18px, -22px) scale(1.04); }
  66% { transform: translate(-14px, 12px) scale(0.97); }
}

.shape-botanical {
  position: absolute;
  color: var(--secondary);
  opacity: 0.22;
}

.botanical-1 {
  width: 100px;
  height: 150px;
  top: 12%;
  left: 6%;
  animation: float 24s ease-in-out infinite;
}

.botanical-2 {
  width: 70px;
  height: 90px;
  bottom: 18%;
  right: 8%;
  color: var(--accent);
  opacity: 0.28;
  animation: float 20s ease-in-out infinite reverse;
}

.shape-line {
  position: absolute;
  border: 1px solid var(--border);
  opacity: 0.6;
}

.line-1 {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  top: 20%;
  right: 12%;
  border-color: rgba(198, 166, 100, 0.35);
  animation: float 28s ease-in-out infinite;
}

.line-2 {
  width: 80px;
  height: 80px;
  border-radius: 40% 60% 55% 45%;
  bottom: 25%;
  left: 15%;
  border-color: rgba(125, 151, 114, 0.3);
  animation: float 16s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================================
   Services
   ============================================================ */
.services {
  background-color: var(--bg-linen);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 124, 93, 0.25);
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   Philosophy
   ============================================================ */
.philosophy {
  background-color: var(--bg-ivory);
  padding: var(--space-3xl) 0;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.philosophy-quote {
  position: relative;
  padding: var(--space-lg) 0;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.5;
  color: var(--soft-accent);
  opacity: 0.7;
  display: block;
  margin-bottom: var(--space-sm);
  user-select: none;
}

.philosophy-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.01em;
}

.philosophy-story .section-title {
  margin-bottom: var(--space-md);
}

.philosophy-story p:not(.section-label) {
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

.philosophy-story p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Portfolio
   ============================================================ */
.portfolio {
  background-color: var(--bg-linen);
}

.portfolio-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.project-image {
  position: relative;
  height: 280px;
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--img-tone) 35%, var(--bg-linen)),
      color-mix(in srgb, var(--img-tone) 55%, #E8DFD0)
    );
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}

/* Fallback for browsers without color-mix */
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .project-image {
    background: var(--img-tone);
    opacity: 0.85;
  }
}

.project-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 253, 248, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(46, 46, 46, 0.08) 0%, transparent 40%);
  transition: transform 0.7s var(--ease);
}

.project-card:hover .project-image::before {
  transform: scale(1.08);
}

.project-tall .project-image {
  height: 340px;
}

.project-wide .project-image {
  height: 260px;
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  background: linear-gradient(
    to top,
    rgba(46, 46, 46, 0.55) 0%,
    rgba(46, 46, 46, 0.1) 50%,
    transparent 100%
  );
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.project-card:hover .project-overlay,
.project-card:focus-within .project-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Always show labels lightly on touch / for accessibility */
.project-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.75);
  margin-bottom: 0.35rem;
}

.project-overlay h3 {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.project-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.project-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}

.project-card:hover .project-link::after {
  width: 100%;
}

/* Show category + title at rest for mobile readability */
@media (hover: none) {
  .project-overlay {
    opacity: 1;
    transform: none;
    background: linear-gradient(
      to top,
      rgba(46, 46, 46, 0.5) 0%,
      transparent 60%
    );
  }
}

/* ============================================================
   Process Timeline
   ============================================================ */
.process {
  background-color: var(--bg-ivory);
}

.timeline {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  padding-left: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--border),
    var(--accent),
    var(--border)
  );
}

.timeline-item {
  display: flex;
  gap: 1.75rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  transition:
    border-color 0.35s var(--ease),
    background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.timeline-item:hover .timeline-num {
  border-color: var(--primary);
  background: rgba(201, 124, 93, 0.06);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  padding-top: 0.65rem;
}

.timeline-content p {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   Metrics
   ============================================================ */
.metrics {
  background-color: var(--bg-linen);
  padding: var(--space-xl) 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.metric-card {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials {
  background-color: var(--bg-ivory);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-portrait {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 253, 248, 0.4), transparent 50%),
    linear-gradient(135deg, #C97C5D, #D4A08A);
  margin-bottom: 1.25rem;
  border: 2px solid var(--border);
}

.portrait-2 {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 253, 248, 0.4), transparent 50%),
    linear-gradient(135deg, #7D9772, #A3B89A);
}

.portrait-3 {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 253, 248, 0.4), transparent 50%),
    linear-gradient(135deg, #C6A664, #D8C490);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.stars span {
  width: 14px;
  height: 14px;
  background-color: var(--accent);
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 68% 57%,
    79% 91%, 50% 70%, 21% 91%, 32% 57%,
    2% 35%, 39% 35%
  );
  opacity: 0.85;
}

.testimonial-card blockquote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.client-name {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.client-company {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ============================================================
   Recognition
   ============================================================ */
.recognition {
  background-color: var(--bg-linen);
  padding: var(--space-xl) 0 var(--space-2xl);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.partner-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #B0AAA0;
  padding: 0.75rem 0.5rem;
  transition: color 0.4s var(--ease);
  user-select: none;
}

.partner-logo:hover {
  color: var(--text);
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing {
  background-color: var(--bg-ivory);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-featured {
  border-color: var(--accent);
  border-width: 1.5px;
  box-shadow: var(--shadow-sm);
}

.recommended {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--accent);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.4rem;
}

.pricing-tagline {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.pricing-amount .currency {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.pricing-features {
  margin-bottom: 2rem;
}

.pricing-features li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0.7;
}

/* ============================================================
   Journal
   ============================================================ */
.journal {
  background-color: var(--bg-linen);
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.journal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.journal-thumb {
  height: 200px;
  background-size: cover;
  transition: transform 0.6s var(--ease);
}

.journal-card:hover .journal-thumb {
  transform: scale(1.04);
}

.thumb-1 {
  background:
    linear-gradient(160deg, rgba(201, 124, 93, 0.35), rgba(248, 244, 236, 0.5)),
    linear-gradient(45deg, #E8D5C8, #C9A892);
}

.thumb-2 {
  background:
    linear-gradient(160deg, rgba(125, 151, 114, 0.35), rgba(248, 244, 236, 0.5)),
    linear-gradient(45deg, #D4DDCE, #A8BBA0);
}

.thumb-3 {
  background:
    linear-gradient(160deg, rgba(198, 166, 100, 0.35), rgba(248, 244, 236, 0.5)),
    linear-gradient(45deg, #E8DFC8, #C6B888);
}

.journal-body {
  padding: 1.5rem 1.5rem 1.75rem;
  overflow: hidden;
}

.journal-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 0.6rem;
}

.journal-body h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.read-more {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.03em;
  position: relative;
  display: inline-block;
}

.read-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--border);
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease);
  transform-origin: left;
}

.read-more:hover {
  color: var(--primary);
}

.read-more:hover::after {
  background-color: var(--primary);
}

/* ============================================================
   Newsletter
   ============================================================ */
.newsletter {
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(216, 191, 216, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 0%, rgba(198, 166, 100, 0.1) 0%, transparent 50%),
    var(--bg-ivory);
  padding: var(--space-3xl) 0;
}

.newsletter-inner {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}

.newsletter-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.newsletter-desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 440px;
  margin-inline: auto;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.95rem 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--card);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.newsletter-form input[type="email"]::placeholder {
  color: #A8A8A8;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 124, 93, 0.12);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background-color: var(--bg-linen);
  border-top: 1px solid var(--border);
  padding-top: var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
  padding-bottom: var(--space-xl);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  position: relative;
  display: inline-block;
  width: fit-content;
  transition: color 0.3s var(--ease);
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.35s var(--ease);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-col a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition:
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.social-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: rgba(201, 124, 93, 0.05);
}

.social-icon::after {
  display: none;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.logo-footer {
  font-size: 1.35rem;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ============================================================
   Tablet (768px+)
   ============================================================ */
@media (min-width: 768px) {
  :root {
    --container: min(1120px, calc(100% - 4rem));
    --container-wide: min(1280px, calc(100% - 4rem));
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .philosophy-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .portfolio-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .project-tall {
    grid-row: span 1;
  }

  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .journal-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .newsletter-form {
    flex-direction: row;
  }

  .newsletter-form input[type="email"] {
    flex: 1;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .logo-row {
    gap: 2rem 3.5rem;
  }
}

/* ============================================================
   Desktop (900px+)
   ============================================================ */
@media (min-width: 900px) {
  .nav-toggle-label {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .nav-cta-mobile {
    display: none;
  }

  .btn-nav-desktop {
    display: inline-flex;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-masonry {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(240px, auto);
  }

  .project-tall {
    grid-row: span 2;
  }

  .project-tall .project-image {
    height: 100%;
    min-height: 500px;
  }

  .project-wide {
    grid-column: span 2;
  }

  .project-image {
    height: 280px;
  }

  .project-wide .project-image {
    height: 280px;
  }
}

/* ============================================================
   Large Desktop (1100px+)
   ============================================================ */
@media (min-width: 1100px) {
  .hero {
    padding: var(--space-3xl) 2rem;
  }

  .botanical-1 {
    width: 130px;
    height: 195px;
    left: 8%;
  }

  .botanical-2 {
    width: 90px;
    height: 110px;
    right: 10%;
  }

  .pricing-featured {
    transform: scale(1.03);
  }

  .pricing-featured:hover {
    transform: scale(1.03) translateY(-4px);
  }
}

/* ============================================================
   Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Focus Visible (Accessibility)
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn:focus-visible,
.nav-links a:focus-visible,
.social-icon:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
