/* Styled by Jimena — design system
   Neutrals with a pop: warm ivory canvas, espresso ink,
   blush + burnished gold, one cobalt "ojo" accent. */

:root {
  --ivory: #FBF7F2;
  --paper: #FFFDFA;
  --espresso: #221D19;
  --taupe: #8C8177;
  --blush: #E9C9C0;
  --blush-soft: #F4E5E0;
  --gold: #C19A5B;
  --gold-deep: #A8823F;
  --cobalt: #2E55C9;
  --maxw: 1120px;
}

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

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

body {
  background: var(--ivory);
  color: var(--espresso);
  font-family: 'Hanken Grotesk', -apple-system, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.serif { font-family: 'Fraunces', Georgia, serif; }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 420;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

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

a { color: inherit; }

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

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

/* ---------- the ojo mark ---------- */
.ojo {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3px var(--gold);
  flex: none;
}

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--blush) 55%, transparent);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  font-family: 'Fraunces', serif; font-size: 19px; font-weight: 500;
  text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.brand em { font-style: italic; font-weight: 420; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 500; color: var(--espresso);
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a.btn { color: var(--ivory); }
.nav-links a.btn:hover { color: var(--espresso); }
.btn {
  display: inline-block;
  background: var(--espresso); color: var(--ivory);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--espresso);
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: transparent; color: var(--espresso); }
.btn-light { background: var(--ivory); color: var(--espresso); border-color: var(--ivory); }
.btn-light:hover { background: transparent; color: var(--ivory); }
.nav-links .btn { padding: 10px 20px; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.eyebrow {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
  display: flex; align-items: center; gap: 12px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 62px); margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--gold-deep); }
.hero .lede { font-size: 19px; color: #4d453f; max-width: 46ch; margin-bottom: 34px; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cities {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--taupe); font-weight: 500;
}
.hero-photo { position: relative; justify-self: end; width: min(100%, 440px); }
.hero-photo .arch {
  border-radius: 999px 999px 12px 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.hero-photo .arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before {
  content: ''; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid var(--gold);
  border-radius: 999px 999px 12px 12px;
  pointer-events: none;
}
@media (max-width: 880px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { justify-self: center; }
}

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-head { margin-bottom: 48px; max-width: 640px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); margin-top: 14px; }
.section-head h2 em { font-style: italic; color: var(--gold-deep); }

/* empathy strip */
.empathy { background: var(--paper); border-block: 1px solid var(--blush-soft); }
.empathy-lines { display: grid; gap: 0; max-width: 760px; margin: 0 auto; }
.empathy-line {
  font-family: 'Fraunces', serif; font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 420; font-style: italic; line-height: 1.4;
  padding: 26px 8px; text-align: center;
  border-bottom: 1px solid var(--blush-soft);
}
.empathy-line:last-child { border-bottom: none; }
.empathy-kicker {
  text-align: center; margin-top: 30px; font-size: 15px; color: var(--taupe);
}

/* note from jimena */
.note-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.note-photo { position: relative; width: min(100%, 380px); }
.note-photo img { border-radius: 12px; aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.note-photo figcaption { margin-top: 12px; font-size: 13px; color: var(--taupe); font-style: italic; }
.note-body p { margin-bottom: 18px; font-size: 18px; }
.signoff { font-family: 'Fraunces', serif; font-style: italic; font-size: 26px; color: var(--gold-deep); }
@media (max-width: 880px) { .note-grid { grid-template-columns: 1fr; gap: 36px; } }

/* method */
.method { background: var(--espresso); color: var(--ivory); }
.method .eyebrow { color: var(--gold); }
.method .section-head h2 em { color: var(--gold); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { border-top: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); padding-top: 26px; }
.step .no {
  font-family: 'Fraunces', serif; font-style: italic;
  color: var(--gold); font-size: 17px;
}
.step h3 { font-size: 25px; margin: 10px 0 12px; color: var(--ivory); }
.step p { color: #CFC6BD; font-size: 15.5px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* services */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier {
  background: var(--paper); border: 1px solid var(--blush-soft);
  border-radius: 14px; padding: 36px 30px 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.tier.feature { border-color: var(--gold); box-shadow: 0 12px 40px -18px rgba(193,154,91,0.4); }
.tier .tag {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
}
.tier h3 { font-size: 27px; }
.tier p { font-size: 15.5px; color: #4d453f; flex: 1; }
.tier .invest { font-size: 13px; color: var(--taupe); font-style: italic; }
.tier a { align-self: flex-start; }
@media (max-width: 880px) { .tiers { grid-template-columns: 1fr; } }

/* gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.gallery-grid figure { border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; }
.gallery-grid figure:nth-child(odd) { border-radius: 999px 999px 10px 10px; }
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
@media (hover: hover) { .gallery-grid figure:hover img { transform: scale(1.04); } }
.gallery-note { margin-top: 22px; font-size: 14px; color: var(--taupe); font-style: italic; }
@media (max-width: 880px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* faq */
.faq { background: var(--paper); border-block: 1px solid var(--blush-soft); }
.faq-list { max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--blush-soft); padding: 6px 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-family: 'Fraunces', serif; font-size: 20px; font-weight: 420;
  padding: 18px 40px 18px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold-deep); font-size: 24px; font-family: 'Hanken Grotesk', sans-serif;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: #4d453f; max-width: 62ch; }

/* final cta */
.finale { background: var(--espresso); color: var(--ivory); text-align: center; padding: 110px 0; }
.finale .imagine {
  font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 24px;
}
.finale h2 { font-size: clamp(32px, 4.4vw, 52px); max-width: 18ch; margin: 0 auto 20px; }
.finale h2 em { font-style: italic; color: var(--gold); }
.finale p { color: #CFC6BD; max-width: 52ch; margin: 0 auto 36px; }

/* footer */
footer { padding: 44px 0 56px; }
.foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.foot .links { display: flex; gap: 24px; }
.foot a {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500; text-decoration: none; color: var(--taupe);
}
.foot a:hover { color: var(--espresso); }
.foot .made { font-size: 12px; color: var(--taupe); display: flex; align-items: center; gap: 10px; }

/* ---------- forms (apply + feedback) ---------- */
.form-page { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.form-page header { text-align: center; margin-bottom: 48px; }
.form-page h1 { font-size: clamp(34px, 4.5vw, 46px); margin: 14px 0 18px; }
.form-page h1 em { font-style: italic; color: var(--gold-deep); }
.form-page .intro { color: #4d453f; font-size: 17px; text-align: left; }
.field { margin-bottom: 28px; }
.field > label, .field > .q {
  display: block; font-family: 'Fraunces', serif;
  font-size: 18px; font-weight: 500; margin-bottom: 10px;
}
.field .hint { font-size: 13.5px; color: var(--taupe); margin: -6px 0 10px; font-style: italic; }
input[type="text"], input[type="email"], textarea, select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--blush); border-radius: 10px;
  background: var(--paper); color: var(--espresso);
  font-family: 'Hanken Grotesk', sans-serif; font-size: 15.5px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent);
}
.choices { display: flex; flex-direction: column; gap: 10px; }
.choices label {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15.5px; cursor: pointer;
  background: var(--paper); border: 1px solid var(--blush-soft);
  padding: 13px 16px; border-radius: 10px;
}
.choices label:has(input:checked) { border-color: var(--gold); background: #FDF8F1; }
.choices input { margin-top: 4px; accent-color: var(--cobalt); }
.form-actions { text-align: center; margin-top: 44px; }
.form-actions .whisper { margin-top: 16px; font-size: 13px; color: var(--taupe); font-style: italic; }
.section-label {
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
  margin: 52px 0 20px; display: flex; align-items: center; gap: 12px;
}
.section-label::after { content: ''; height: 1px; background: var(--blush); flex: 1; }

/* reveal animation — only when JS confirms a live viewport (progressive enhancement) */
html.anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.anim .reveal.in { opacity: 1; transform: none; }
