/* ============================================
   timediscrete — Field Journal
   Precision, cultivated.
   Parchment #F1EEE3 · Ink #262B22 · Moss #3E5940
   Pollen #BD8A2E · Mist #C7C4B5 · Card #FAF8F1
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --parchment: #F1EEE3;
  --ink: #262B22;
  --moss: #3E5940;
  --moss-dark: #2C4330;
  --pollen: #BD8A2E;
  --mist: #C7C4B5;
  --card: #FAF8F1;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--parchment);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 3px;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.section-text {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.78;
  max-width: 600px;
}

/* --- Plumeria mark: inline <use> against a per-page <symbol> sprite,
   recolored via fill: currentColor --- */
.mark {
  display: block;
  fill: currentColor;
}

/* --- Divider: a field-journal seal set into a hairline rule --- */
.divider {
  position: relative;
  border-top: 1px solid var(--mist);
}

.divider-mark {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background-color: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider-mark .mark {
  width: 31px;
  height: 31px;
  color: var(--moss);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(241, 238, 227, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mist);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo img {
  height: 2.4rem;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 4.25rem;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--moss-dark);
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.78;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-mark {
  width: 300px;
  height: 300px;
  color: var(--moss);
  animation: bloom 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.figure-caption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.45;
}

@keyframes bloom {
  from {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mark {
    animation: none;
  }
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
  border: 1.5px solid var(--moss);
}

.btn-primary {
  background-color: var(--moss);
  color: var(--parchment);
}

.btn-primary:hover {
  background-color: var(--moss-dark);
  border-color: var(--moss-dark);
  opacity: 1;
}

.btn-outline {
  background-color: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  margin-left: 0.75rem;
}

.btn-outline:hover {
  background-color: var(--ink);
  color: var(--parchment);
  opacity: 1;
}

/* --- About --- */
.about {
  padding: 6rem 0;
}

.about .container {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.about-visual {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.about-visual .mark {
  width: 170px;
  height: 170px;
  color: var(--moss);
  opacity: 0.9;
}

.about-content {
  flex: 1;
}

.about-content p + p {
  margin-top: 1.25rem;
}

/* --- Values --- */
.values {
  padding: 6rem 0;
}

.values-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

.value-card {
  text-align: center;
  padding: 0 2rem;
  border-left: 1px solid var(--mist);
}

.value-card:first-child {
  border-left: none;
}

.value-icon {
  width: 30px;
  height: 30px;
  margin: 0 auto 1.5rem;
}

.value-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--moss);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.925rem;
  line-height: 1.65;
  opacity: 0.72;
}

/* --- Services --- */
.services {
  padding: 6rem 0;
}

.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-header .section-text {
  margin: 0 auto;
}

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

.service-card {
  padding: 2.25rem 2rem;
  border-radius: 2px;
  background-color: var(--card);
  border: 1px solid var(--mist);
  transition: border-color 0.2s ease;
}

.service-card:hover {
  border-color: var(--moss);
}

.service-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--moss);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.925rem;
  line-height: 1.65;
  opacity: 0.72;
}

.service-card-cta {
  margin-top: 1.25rem;
}

/* --- Pricing / Tiers --- */
.pricing {
  padding: 6rem 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pricing-header .section-text {
  margin: 0 auto;
}

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

.tier-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tier-card {
  padding: 2.25rem 2rem;
  border-radius: 2px;
  background-color: var(--card);
  border: 1px solid var(--mist);
  text-align: center;
  transition: border-color 0.2s ease;
}

.tier-discount {
  padding: 1rem 1.25rem;
  border: 1.5px dashed var(--pollen);
  border-radius: 2px;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0.9;
}

.tier-discount strong {
  color: var(--pollen);
  opacity: 1;
}

.tier-card:hover {
  border-color: var(--moss);
}

.tier-featured {
  background-color: var(--moss);
  color: var(--parchment);
  border-color: var(--moss);
}

.tier-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--pollen);
  margin-bottom: 0.6rem;
}

.tier-featured .tier-index {
  color: var(--pollen);
}

.tier-badge {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.5rem;
}

.tier-featured .tier-badge {
  color: var(--parchment);
  opacity: 0.75;
}

.tier-note {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.75rem;
}

.tier-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.tier-price {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 600;
}

.tier-duration {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  opacity: 0.6;
  margin-bottom: 1.25rem;
}

.tier-card p {
  font-size: 0.925rem;
  line-height: 1.65;
  opacity: 0.85;
}

.tier-card p + p {
  margin-top: 0.75rem;
}

/* --- Contact --- */
.contact {
  padding: 6rem 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header .section-text {
  margin: 0 auto;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  gap: 1.25rem;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--mist);
  border-radius: 2px;
  background-color: var(--card);
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--moss);
}

.contact-form .btn {
  align-self: flex-start;
}

/* --- AI Guidance Offer (homepage) --- */
.ai-guidance {
  padding: 6rem 0;
  text-align: center;
}

.ai-guidance-header {
  max-width: 640px;
  margin: 0 auto;
}

.ai-guidance-header .section-text {
  margin: 0 auto;
}

.ai-guidance-tiers {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 3rem;
  margin: 3rem 0;
}

.ai-guidance-tier {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 220px;
}

.ai-guidance-tier strong {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
}

.ai-guidance-tier span {
  font-size: 0.85rem;
  opacity: 0.6;
}

.ai-guidance-cta {
  display: flex;
  justify-content: center;
}

/* --- Footer --- */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--mist);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img {
  height: 2rem;
  width: auto;
  opacity: 0.7;
}

.footer-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.6;
  opacity: 0.55;
}

.footer-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.6;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-social {
  width: 16px;
  height: 16px;
  color: var(--ink);
}

/* --- Legal --- */
.legal {
  padding: 6.5rem 0 4rem;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  opacity: 0.6;
}

.legal-note {
  padding: 1rem 1.25rem;
  border: 1.5px dashed var(--pollen);
  border-radius: 2px;
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.legal-note strong {
  color: var(--pollen);
  opacity: 1;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--moss-dark);
  margin-top: 2.5rem;
  margin-bottom: 0.9rem;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.82;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0 0 1rem 1.25rem;
}

.legal-content li {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.82;
  margin-bottom: 0.4rem;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-mark {
    width: 220px;
    height: 220px;
  }

  .about .container {
    flex-direction: column;
    text-align: center;
  }

  .about-visual {
    flex: none;
  }

  .about-content .section-text {
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: rgba(241, 238, 227, 0.98);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--mist);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .value-card {
    border-left: none;
    border-top: 1px solid var(--mist);
    padding: 2rem 1rem 0;
  }

  .value-card:first-child {
    border-top: none;
    padding-top: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .ai-guidance-tiers {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .legal {
    padding: 5.5rem 0 3rem;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .hero-content .btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

.honeypot {
  display: none;
}
