/* ==========================================================================
   linalifts — global styles
   ========================================================================== */

:root {
  --cream: #FBF7F2;
  --cream-2: #F5EFE7;
  --pink-soft: #FCE4E4;
  --pink: #F0BEC0;
  --pink-deep: #D4878A;
  --pink-deeper: #B8696D;
  --ink: #2A2424;
  --muted: #7A6E6A;
  --line: #EFE6DD;
  --white: #FFFFFF;
  --shadow: 0 6px 30px rgba(42, 36, 36, 0.08);

  --serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 14px;
}

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

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

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}

p {
  font-size: clamp(1rem, 1.1vw, 1.075rem);
  color: var(--ink);
}

.muted {
  color: var(--muted);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pink-deeper);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section {
  padding: clamp(60px, 9vw, 120px) 0;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 242, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo .accent {
  color: var(--pink-deeper);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--pink-deeper);
}

.nav-cta {
  background: var(--pink-deep);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--pink-deeper);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 80px);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 24px;
}

.hero-text h1 em {
  font-style: italic;
  color: var(--pink-deeper);
  font-weight: 400;
}

.hero-text .lede {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--pink-soft);
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(42, 36, 36, 0.1) 100%);
  pointer-events: none;
}

.hero-deco {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--pink-soft);
  filter: blur(60px);
  opacity: 0.6;
  z-index: -1;
}

.hero-deco.one {
  top: 80px;
  right: -60px;
}

.hero-deco.two {
  bottom: -100px;
  left: -80px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--pink-deep);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(212, 135, 138, 0.3);
}

.btn:hover {
  background: var(--pink-deeper);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 135, 138, 0.4);
}

.btn-large {
  padding: 20px 40px;
  font-size: 1.05rem;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}

.btn-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.btn-stack .micro {
  font-size: 0.85rem;
  color: var(--muted);
  margin-left: 8px;
}

.cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* ==========================================================================
   Credibility strip
   ========================================================================== */

.cred {
  background: var(--cream-2);
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cred-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 60px);
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.cred-item svg {
  flex-shrink: 0;
  color: var(--pink-deeper);
}

.cred-item.divider {
  width: 1px;
  height: 18px;
  background: var(--line);
  padding: 0;
}

/* ==========================================================================
   About section
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}

.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--pink-soft);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-text p strong {
  color: var(--ink);
  font-weight: 500;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--pink-deeper);
  font-weight: 500;
  border-bottom: 1px solid var(--pink-deep);
  padding-bottom: 2px;
  transition: gap 0.2s;
}

.read-more:hover {
  gap: 14px;
}

/* ==========================================================================
   Included section
   ========================================================================== */

.included {
  background: var(--cream-2);
}

.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.included-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--pink-soft);
  box-shadow: var(--shadow);
}

.included-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.included-list {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.included-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.included-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-deeper);
}

.included-item h3 {
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.included-item p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ==========================================================================
   How it works
   ========================================================================== */

.how-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 80px);
}

.how-header h2 {
  margin-bottom: 16px;
}

.how-header p {
  color: var(--muted);
  font-size: 1.1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  text-align: left;
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(42, 36, 36, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(42, 36, 36, 0.08);
}

.step-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--pink-deep);
  font-style: italic;
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.step h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  background: linear-gradient(135deg, var(--pink-soft) 0%, var(--cream-2) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before,
.final-cta::after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--pink);
  filter: blur(120px);
  opacity: 0.4;
}

.final-cta::before {
  top: -200px;
  left: -100px;
}

.final-cta::after {
  bottom: -200px;
  right: -100px;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.final-cta h2 {
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 36px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 0 32px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(251, 247, 242, 0.1);
}

.footer-brand h3 {
  font-family: var(--serif);
  color: var(--cream);
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.footer-brand p {
  color: rgba(251, 247, 242, 0.6);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.footer-links a {
  color: rgba(251, 247, 242, 0.7);
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(251, 247, 242, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background 0.2s, transform 0.2s;
}

.social-icons a:hover {
  background: var(--pink-deep);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 24px;
  text-align: center;
  color: rgba(251, 247, 242, 0.4);
  font-size: 0.85rem;
}

/* ==========================================================================
   My Story page
   ========================================================================== */

.story-hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 80px);
  text-align: center;
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
}

.story-hero .eyebrow {
  margin-bottom: 16px;
}

.story-hero h1 {
  margin-bottom: 20px;
}

.story-hero p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.15rem;
}

.story-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 24px;
}

.story-content p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 500;
  float: left;
  line-height: 0.9;
  margin: 8px 12px 0 0;
  color: var(--pink-deeper);
}

.story-photo {
  margin: 48px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.story-photo.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.story-photo.duo > div {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}

.story-photo.duo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-photo.duo .label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(42, 36, 36, 0.85);
  color: var(--cream);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.story-pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.4;
  color: var(--pink-deeper);
  border-left: 3px solid var(--pink-deep);
  padding-left: 24px;
  margin: 40px 0;
  font-weight: 400;
}

.story-end-cta {
  text-align: center;
  margin: 60px auto 0;
  padding: 48px 32px;
  background: var(--cream-2);
  border-radius: var(--radius);
}

.story-end-cta h3 {
  margin-bottom: 12px;
}

.story-end-cta p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* ==========================================================================
   Thank you page
   ========================================================================== */

.thanks {
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
}

.thanks-header {
  max-width: 640px;
  margin: 0 auto 40px;
  padding: 0 var(--pad);
}

.thanks-header .eyebrow {
  margin-bottom: 16px;
}

.thanks-header h1 {
  margin-bottom: 16px;
}

.thanks-header p {
  font-size: 1.15rem;
  color: var(--muted);
}

.form-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.form-wrap iframe {
  width: 100%;
  border: none;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.thanks-after {
  text-align: center;
  max-width: 580px;
  margin: 40px auto 0;
  padding: 0 var(--pad);
  color: var(--muted);
  font-size: 0.98rem;
}

.thanks-after a {
  color: var(--pink-deeper);
  font-weight: 500;
  border-bottom: 1px solid var(--pink-deep);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  background: var(--cream-2);
}

.testimonials-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 80px);
}

.testimonials-header h2 {
  margin-bottom: 16px;
}

.testimonials-header p {
  color: var(--muted);
  font-size: 1.1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(42, 36, 36, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(42, 36, 36, 0.08);
}

.testimonial-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--pink-soft);
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-body {
  padding: 26px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.quote-mark {
  color: var(--pink);
  margin-bottom: 12px;
  flex-shrink: 0;
}

.testimonial blockquote {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 18px;
  flex: 1;
  font-weight: 400;
}

.testimonial-attribution {
  font-size: 0.88rem;
  color: var(--pink-deeper);
  font-weight: 500;
  margin-top: auto;
  font-family: var(--sans);
  font-style: normal;
  letter-spacing: 0.02em;
}

/* Mini testimonial used on the My Story page */

.story-mini-testimonial {
  margin: 56px 0;
  padding: 36px 32px;
  background: var(--cream-2);
  border-radius: var(--radius);
  text-align: center;
}

.story-mini-testimonial svg {
  color: var(--pink-deep);
  margin-bottom: 14px;
  display: inline-block;
}

.story-mini-quote {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 16px;
  font-weight: 400;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.story-mini-attribution {
  font-size: 0.9rem;
  color: var(--pink-deeper);
  font-weight: 500;
  font-style: normal;
  font-family: var(--sans);
}

/* ==========================================================================
   Mobile nav (hamburger + drawer)
   ========================================================================== */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 51;
  margin-left: 8px;
}

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

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  padding: 20px var(--pad) 28px;
  gap: 0;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s ease, visibility 0.35s;
  box-shadow: 0 16px 30px rgba(42, 36, 36, 0.08);
  z-index: 49;
}

.nav-mobile a:not(.btn) {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}

.nav-mobile a:not(.btn):last-of-type {
  border-bottom: none;
}

.nav-mobile a:not(.btn):hover,
.nav-mobile a:not(.btn):active {
  color: var(--pink-deeper);
}

.nav-mobile .btn {
  margin-top: 16px;
  justify-content: center;
}

body.nav-open .nav-mobile {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==========================================================================
   Image placeholders (when actual photos not yet present)
   ========================================================================== */

.placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--pink-soft), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 880px) {
  .hero-grid,
  .about-grid,
  .included-grid {
    grid-template-columns: 1fr;
  }

  .about-grid .about-photo,
  .included-grid .included-photo {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-photo {
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-photo {
    aspect-ratio: 16 / 10;
  }

  .footer-top {
    flex-direction: column;
  }

  .story-photo.duo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .cred-inner {
    gap: 14px;
  }

  .cred-item.divider {
    display: none;
  }

  h1 {
    font-size: 2.25rem;
  }

  .btn-large {
    width: 100%;
  }

  .cta-row {
    width: 100%;
  }

  .cta-row .btn {
    width: 100%;
  }
}
