:root {
  --ink: #17211d;
  --muted: #64716d;
  --sage: #9caf9f;
  --sage-dark: #526a5f;
  --cream: #faf7f0;
  --soft: #eef3ee;
  --gold: #c79d5f;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(23, 33, 29, 0.12);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  z-index: 10;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(250, 247, 240, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(82, 106, 95, 0.14);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.08rem;
}
.brand span { color: var(--sage-dark); }
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.95rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 650;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .button-small { color: var(--white); }

.button, .button-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button {
  padding: 15px 22px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(23, 33, 29, 0.16);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(23, 33, 29, 0.18);
  box-shadow: none;
}
.button-small {
  padding: 10px 15px;
  background: var(--sage-dark);
}
.button:hover, .button-small:hover { transform: translateY(-2px); }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 22px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 54px;
}
.eyebrow {
  color: var(--sage-dark);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 14px;
}
h1, h2, h3 {
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0;
}
h1 { font-size: clamp(3rem, 7vw, 5.9rem); max-width: 860px; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
h3 { font-size: 1.45rem; }
.lede {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  color: var(--muted);
  max-width: 720px;
  margin: 24px 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 14px;
  margin-top: 38px;
}
.trust-item {
  padding: 17px;
  border-radius: 20px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(82, 106, 95, 0.14);
}
.trust-item strong { display: block; font-size: 1.05rem; }
.trust-item span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

.hero-card {
  position: relative;
  padding: 16px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(238,243,238,0.84));
  box-shadow: var(--shadow);
}
.hero-card img {
  width: 100%;
  height: min(58vh, 560px);
  min-height: 430px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 26px;
}
.hero-note-card {
  margin-top: 14px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(82, 106, 95, 0.14);
  box-shadow: 0 12px 28px rgba(23, 33, 29, 0.08);
}
.hero-note-card p { margin: 8px 0 0; color: var(--muted); }

.section {
  padding: 76px 22px;
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-soft { background: var(--soft); }
.section-white { background: var(--white); }
.section-header { max-width: 800px; margin-bottom: 34px; }
.section-header p { color: var(--muted); font-size: 1.08rem; }

.grid-3, .grid-2 {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(82, 106, 95, 0.13);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 36px rgba(23, 33, 29, 0.06);
}
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(199, 157, 95, 0.18);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.bio-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  align-items: start;
}
.bio-photo {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  padding: 14px;
}
.bio-photo img {
  border-radius: 24px;
  height: 560px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}
.bio-copy p { color: var(--muted); font-size: 1.06rem; }
.highlight {
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: rgba(250, 247, 240, 0.8);
  border-radius: 0 24px 24px 0;
  margin-top: 24px;
  color: var(--ink) !important;
  font-weight: 650;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.credential {
  padding: 18px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid rgba(82, 106, 95, 0.13);
}
.credential a { font-weight: 800; color: var(--sage-dark); text-decoration: none; }
.credential p { margin: 8px 0 0; font-size: 0.93rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  min-height: 210px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(23,33,29,0.12), rgba(156,175,159,0.22)),
    var(--soft);
  border: 1px dashed rgba(82, 106, 95, 0.32);
  display: flex;
  align-items: end;
  padding: 20px;
  color: var(--sage-dark);
  font-weight: 800;
}
.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 436px;
  background-image: linear-gradient(to top, rgba(23,33,29,0.68), rgba(23,33,29,0.05)), url('assets/jen-aragon-profile.jpg');
  background-size: cover;
  background-position: center top;
  color: var(--white);
}

.cta {
  max-width: var(--max);
  margin: 0 auto;
  padding: 62px;
  border-radius: 38px;
  background: linear-gradient(135deg, var(--ink), #304339);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}
.cta p { color: rgba(255,255,255,0.76); font-size: 1.1rem; }
.cta .button { background: var(--white); color: var(--ink); justify-self: end; }

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 68px 22px 38px;
}
.page-hero p { max-width: 780px; color: var(--muted); font-size: 1.18rem; }

.footer {
  padding: 42px 22px;
  background: var(--ink);
  color: rgba(255,255,255,0.78);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.footer a { color: var(--white); text-decoration: none; }

@media (max-width: 900px) {
  .nav { align-items: flex-start; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
  .hero, .bio-layout, .cta { grid-template-columns: 1fr; }
  .hero-card img, .bio-photo img { height: 500px; min-height: 0; }
  .trust-row, .grid-3, .grid-2, .credentials, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .cta .button { justify-self: start; }
}

@media (max-width: 620px) {
  .nav { display: block; }
  .nav-links { margin-top: 14px; justify-content: flex-start; }
  .hero { padding-top: 46px; }
  .trust-row, .grid-3, .grid-2, .credentials, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.featured { grid-column: auto; grid-row: auto; min-height: 320px; }
  .hero-card img, .bio-photo img { height: 390px; }
  .cta { padding: 34px 24px; }
}

.gallery-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 68px 22px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 42px;
  align-items: center;
}
.gallery-hero-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 760px;
}
.gallery-hero-image {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 560px;
}
.gallery-hero-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
}
.gallery-hero-image span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  font-weight: 850;
}
.story-intro h2 {
  max-width: 980px;
  color: var(--sage-dark);
}
.gallery-story-section { overflow: hidden; }
.story-row {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 34px;
  align-items: start;
}
.story-row.reverse {
  grid-template-columns: 1.26fr 0.74fr;
}
.story-row.reverse .story-copy { order: 2; }
.story-row.reverse .photo-grid { order: 1; }
.story-copy {
  position: sticky;
  top: 96px;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(82, 106, 95, 0.12);
}
.section-white .story-copy { background: rgba(238,243,238,0.72); }
.story-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.photo-card {
  grid-column: span 3;
  min-height: 330px;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: var(--soft);
  box-shadow: 0 16px 38px rgba(23,33,29,0.09);
}
.photo-card.wide { grid-column: span 6; min-height: 360px; }
.photo-card.tall { grid-row: span 2; min-height: 674px; }
.photo-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.photo-card:hover img { transform: scale(1.035); }
.photo-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 18px 18px;
  color: #fff;
  font-weight: 850;
  background: linear-gradient(to top, rgba(23,33,29,0.78), rgba(23,33,29,0));
  text-shadow: 0 1px 12px rgba(0,0,0,0.32);
}
.memory-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.memory-strip img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 12px 26px rgba(23,33,29,0.08);
}
.memory-strip img:nth-child(even) { margin-top: 34px; }

@media (max-width: 980px) {
  .gallery-hero, .story-row, .story-row.reverse { grid-template-columns: 1fr; }
  .story-row.reverse .story-copy, .story-row.reverse .photo-grid { order: initial; }
  .story-copy { position: static; }
  .memory-strip { grid-template-columns: repeat(3, 1fr); }
  .memory-strip img:nth-child(even) { margin-top: 0; }
}
@media (max-width: 640px) {
  .gallery-hero-image, .gallery-hero-image img { min-height: 420px; height: 420px; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card, .photo-card.wide, .photo-card.tall { grid-column: auto; grid-row: auto; min-height: 360px; }
  .memory-strip { grid-template-columns: 1fr 1fr; }
  .memory-strip img { height: 210px; }
}
