/* ---------------------------------------------------------------------------
   Florencia Rodriguez Medeyros — florenciarodriguez.com
--------------------------------------------------------------------------- */

:root {
  --paper: #faf8f5;
  --ink: #1c2321;
  --ink-soft: #4c5350;
  --accent: #0f5e55;
  --accent-dark: #0a453e;
  --line: #e4e0d9;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --measure: 62ch;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }

a { color: var(--accent); }

strong { font-weight: 600; }

/* Header ------------------------------------------------------------------ */

.site-header {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark { display: inline-flex; align-items: center; flex-shrink: 0; }

.wordmark img {
  display: block;
  height: 2.5rem;
  width: auto;
  mix-blend-mode: multiply;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-header nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
}

.site-header nav a:hover { color: var(--accent); }

.site-header .nav-cta {
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

.site-header .nav-cta:hover { background: var(--accent); color: #fff; }

/* Hero -------------------------------------------------------------------- */

.hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: 6.5rem 1.5rem 5.5rem;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 7vw, 4.75rem);
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
}

.hero-sub {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  color: var(--ink-soft);
  max-width: 38em;
  margin-bottom: 2.25rem;
}

.hero-actions { display: flex; gap: 0.875rem; flex-wrap: wrap; }

.button {
  display: inline-block;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-dark); }

.button.ghost { border: 1px solid var(--line); color: var(--ink); }
.button.ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-brands {
  margin-top: 3.5rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.hero-brands span { font-weight: 600; color: var(--ink); }

/* Sections ---------------------------------------------------------------- */

.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 2rem;
}

.section h2 {
  font-size: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.section h2 .index {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.section-body { max-width: var(--measure); }

.section-body p + p { margin-top: 1rem; }

.lead { font-size: 1.1875rem; }

/* Services ---------------------------------------------------------------- */

.services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 2.5rem;
}

.services h3 { font-size: 1.1875rem; margin-bottom: 0.4rem; }

.services p { font-size: 0.9375rem; color: var(--ink-soft); }

/* Timeline ---------------------------------------------------------------- */

.timeline { list-style: none; }

.timeline li {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.timeline li + li { border-top: 1px solid var(--line); }

.timeline .when {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 0.25rem;
}

.timeline h3 { font-size: 1.1875rem; margin-bottom: 0.4rem; }

.timeline p { font-size: 0.9375rem; color: var(--ink-soft); }

.education {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* Contact ----------------------------------------------------------------- */

.contact .hero-actions { margin-top: 1.75rem; }

/* Footer ------------------------------------------------------------------ */

.site-footer {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.site-footer nav { display: flex; gap: 1.25rem; }

.site-footer a { color: var(--ink-soft); text-decoration: none; }

.site-footer a:hover { color: var(--accent); }

/* Privacy page ------------------------------------------------------------ */

.prose {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.prose h1 { font-size: 2.25rem; margin-bottom: 0.5rem; }

.prose .updated { color: var(--ink-soft); font-size: 0.875rem; margin-bottom: 2.5rem; }

.prose h2 { font-size: 1.375rem; margin: 2.25rem 0 0.75rem; }

.prose p + p { margin-top: 1rem; }

.prose ul { margin: 0.75rem 0 0.75rem 1.25rem; }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 48rem) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1.25rem;
  }
  .site-header nav {
    width: 100%;
    gap: 0.875rem 0.75rem;
  }
  .site-header nav a { font-size: 0.875rem; }
  .site-header .nav-cta { margin-left: auto; }
  .wordmark img { height: 2.125rem; }
  .section { grid-template-columns: 1fr; gap: 1.75rem; padding: 3.25rem 1.5rem; }
  .services { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 0.35rem; }
  .hero { padding: 4rem 1.5rem 3.75rem; }
  .hero-brands { margin-top: 2.75rem; }
}
