/* John Rose — johnroseagent.com
   Palette from the approved Carrd work; layout is a full two-page site. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/inter.woff2") format("woff2");
}

:root {
  --evergreen: #1f2e2a;
  --evergreen-deep: #16221f;
  --offwhite: #f4f1ea;
  --cream: #e8e2d6;
  --stone: #c9b79c;
  --charcoal: #2a2c2b;
  --ink: #1c221f;
  --nav-h: 4.5rem;
  --content: 70rem;
  --narrow: 40rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

html:focus-within {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  background: var(--offwhite);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:focus-visible {
  outline: 1px solid var(--stone);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--evergreen);
  color: var(--offwhite);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}
.skip:focus { top: 1rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(31, 46, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 183, 156, 0.18);
  color: var(--offwhite);
}

.nav-inner {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--offwhite);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 0.7rem 0;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--offwhite);
}

.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--stone);
}

@media (min-width: 768px) {
  .nav-inner { padding: 0 2.5rem; }
  .wordmark { font-size: 1.75rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.8rem 1.6rem;
  border-radius: 0.2rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-light {
  background: var(--cream);
  color: var(--charcoal);
  border: 1px solid var(--cream);
}
.btn-light:hover { background: var(--offwhite); border-color: var(--offwhite); }

.btn-ghost-light {
  background: transparent;
  color: var(--offwhite);
  border: 1px solid rgba(244, 241, 234, 0.7);
}
.btn-ghost-light:hover { background: rgba(244, 241, 234, 0.1); border-color: var(--offwhite); }

.btn-dark {
  background: var(--evergreen);
  color: var(--offwhite);
  border: 1px solid var(--evergreen);
}
.btn-dark:hover { background: var(--evergreen-deep); border-color: var(--evergreen-deep); }

.btn-ghost-dark {
  background: transparent;
  color: var(--evergreen);
  border: 1px solid var(--evergreen);
}
.btn-ghost-dark:hover { background: rgba(31, 46, 42, 0.06); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  color: var(--offwhite);
  overflow: hidden;
  background: var(--evergreen-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 183, 156, 0.08), transparent 50%),
    linear-gradient(160deg, #243833 0%, #1a2925 42%, #121c19 100%);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 22, 20, 0.82) 0%,
    rgba(15, 22, 20, 0.35) 45%,
    rgba(15, 22, 20, 0.15) 100%
  );
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 4.5rem 1.5rem 4.25rem;
}

.hero-label {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  border: 1px dashed rgba(201, 183, 156, 0.45);
  padding: 0.4rem 0.65rem;
  background: rgba(18, 28, 25, 0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero .name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(3.4rem, 11vw, 6.75rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.hero .title {
  margin-top: 1.35rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--offwhite);
}

.hero .region,
.hero-band .region {
  margin-top: 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.hero .btn-row { margin-top: 2.25rem; }

.hero-band {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: flex-end;
  color: var(--offwhite);
  background: var(--evergreen);
  overflow: hidden;
}

.hero-band .hero-media { opacity: 0.9; }
.hero-band .hero-content {
  max-width: var(--content);
  margin-left: auto;
  margin-right: auto;
  padding: 5.5rem 1.5rem 3.5rem;
}
.hero-band .region { margin-top: 0.85rem; }
.hero-band .name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
}
.hero-band .region { margin-top: 0.75rem; }

@media (min-width: 768px) {
  .hero-shell { padding: 5rem 2.5rem 4.75rem; }
  .hero-label { top: 2rem; left: 2.5rem; }
  .hero-band .hero-content { padding-left: 2.5rem; padding-right: 2.5rem; }
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
  .section { padding: 7.5rem 2.5rem; }
}

.section-inner {
  max-width: var(--content);
  margin: 0 auto;
}

.section-narrow {
  max-width: var(--narrow);
  margin: 0 auto;
}

.kicker {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--evergreen);
}

.on-dark { background: var(--evergreen); color: var(--offwhite); }
.on-dark .section-title { color: var(--offwhite); }
.on-cream { background: var(--cream); }
.on-paper { background: var(--offwhite); }

/* ---------- Intro split ---------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1.15fr;
    gap: 5.5rem;
  }
}

.portrait {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  border-radius: 0.15rem;
}
@media (min-width: 900px) {
  .portrait,
  .photo-frame { margin: 0; }
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(201, 183, 156, 0.7);
  background:
    linear-gradient(160deg, rgba(31, 46, 42, 0.06), rgba(201, 183, 156, 0.08));
  color: var(--evergreen);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  padding: 1.25rem;
}

.on-dark .placeholder {
  border-color: rgba(201, 183, 156, 0.45);
  background: rgba(244, 241, 234, 0.04);
  color: var(--stone);
}

.intro-copy .kicker { margin-bottom: 1rem; }
.intro-copy .lead {
  margin-top: 1.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--evergreen);
  max-width: 14em;
  text-wrap: balance;
}

/* ---------- How I help ---------- */
.help-head { margin-bottom: 2.75rem; }
.help-head .section-title { margin-top: 0.7rem; }

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  padding: 2.35rem 2rem 2.15rem;
  background: var(--offwhite);
  border: 1px solid rgba(31, 46, 42, 0.08);
}

.card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--evergreen);
}

.card .btn { margin-top: 2rem; align-self: flex-start; }

/* ---------- Life outside / photo ---------- */
.life {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .life {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 5rem;
  }
}

.photo-frame {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  border-radius: 0.15rem;
}

.life-copy .outside {
  margin-top: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--offwhite);
}

/* ---------- Instagram / tours ---------- */
.ig-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.ig-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--evergreen);
  border-bottom: 1px solid var(--stone);
  padding-bottom: 0.15rem;
}
.ig-link:hover { color: var(--ink); }

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

@media (min-width: 640px) {
  .thumbs { grid-template-columns: repeat(3, 1fr); }
}

.thumb {
  aspect-ratio: 4 / 5;
  border-radius: 0.15rem;
  color: var(--evergreen);
}

/* ---------- CTA band ---------- */
.cta {
  padding: 5.5rem 1.5rem;
  text-align: center;
}
@media (min-width: 768px) { .cta { padding: 7rem 2.5rem; } }

.cta .lead {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.2;
  color: var(--offwhite);
  max-width: 16em;
  margin: 0 auto;
  text-wrap: balance;
}
.cta .btn-row {
  margin-top: 2.25rem;
  justify-content: center;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 0;
  padding: 2.1rem 1.75rem;
  background: var(--offwhite);
  border: 1px solid rgba(31, 46, 42, 0.08);
  color: var(--evergreen);
}

.contact-card .icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--evergreen);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card .icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1;
}

.contact-card .detail {
  margin-top: auto;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}
.contact-card:hover .detail { border-bottom-color: var(--stone); }

.area {
  margin-top: 3.5rem;
  text-align: center;
}
.area .place {
  margin-top: 0.65rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--evergreen);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--evergreen-deep);
  color: var(--cream);
  padding: 2.75rem 1.5rem;
}
@media (min-width: 768px) { .footer { padding: 3rem 2.5rem; } }

.footer-inner {
  max-width: var(--content);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.footer-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--offwhite);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.5rem;
  font-size: 0.88rem;
}

.footer-links a:hover { color: var(--offwhite); }

.social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social a {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--offwhite);
}
.social a:hover {
  background: var(--cream);
  color: var(--evergreen);
  border-color: var(--cream);
}
.social svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

img.photo {
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center 30%;
}
img.portrait.photo { aspect-ratio: 4 / 5; object-position: center 25%; }
