/* ==========================================================================
   Paris with Agathe — styles
   ========================================================================== */

/* Fonts */
@font-face { font-family: "Whimsical Romance Script"; src: url("fonts/whimsicalromancescript-regular.woff2") format("woff2"), url("fonts/whimsicalromancescript-regular.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("fonts/quicksand-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Quicksand"; src: url("fonts/quicksand-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* ---- SETTINGS: tweak these ---- */
  --hero-text: #fbf1e7;                 /* tagline colour on the hero */
  --hero-overlay: rgba(0, 0, 0, 0.25);  /* dark layer over the hero photo */
  --logo-max-w: min(80vw, 60rem);       /* big hero logo: max width */
  --logo-max-h: 12rem;                  /* big hero logo: max height */
  --wordmark-max-w: 11rem;              /* nav wordmark: max width */
  --wordmark-max-h: 2.5rem;             /* nav wordmark: max height */

  /* Palette */
  --blue-dust: #93aebf;
  --prussian: #1c2f4d;
  --pistachio: #f2ceae;
  --matte-red: #d48d91;
  --paper: #fbf1e7;

  /* Fonts */
  --title: "Whimsical Romance Script", Georgia, serif;
  --body: "Quicksand", "Helvetica Neue", Arial, sans-serif;

  --ink: var(--prussian);
  --line: rgba(28, 47, 77, 0.18);
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --space: clamp(4rem, 10vw, 9rem);
  --h1: clamp(2.75rem, 1.5rem + 5vw, 6.5rem);
  --h2: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 clamp(1rem, 0.95rem + 0.2vw, 1.125rem)/1.75 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; overflow: hidden; background: var(--pistachio); }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: var(--title); font-weight: 400; font-style: normal; margin: 0; }
h1 { font-size: var(--h1); line-height: 1.05; }
h2 { font-size: var(--h2); line-height: 1.2; }
p { margin: 0 0 1.25em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 2rem; padding: 1.25rem var(--gutter); background: var(--prussian); color: var(--paper); }
.brand { display: flex; align-items: center; margin-right: auto; }
.logo { display: inline-block; line-height: 0; }
.logo img { width: auto; height: auto; }
.brand .logo img { max-width: var(--wordmark-max-w); max-height: var(--wordmark-max-h); }
.nav { display: flex; gap: clamp(1rem, 2.5vw, 2.5rem); }
.nav a, .lang { font-size: 0.8125rem; letter-spacing: 0.08em; position: relative; padding: 0.25rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.lang { display: inline-flex; align-items: center; justify-content: center; line-height: 1; border: 1px solid rgba(251, 241, 231, 0.5); border-radius: 2rem; padding: 0.45rem 0.8rem; transition: background .3s, color .3s; }
.lang:hover { background: var(--paper); color: var(--prussian); }

/* Home — hero */
.hero { position: relative; height: calc(100svh - 4.4rem); min-height: 34rem; display: grid; place-items: center; overflow: hidden; text-align: center; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-overlay); }
.hero-content { padding: 4rem var(--gutter); width: 100%; animation: rise 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hero-logo { margin: 0; line-height: 0; }
.hero-logo .logo img { max-width: var(--logo-max-w); max-height: var(--logo-max-h); }
.hero-sub { margin-top: clamp(0.75rem, 1.5vw, 1.25rem); color: var(--hero-text); text-shadow: 0 0.05rem 1rem rgba(0, 0, 0, 0.2); }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); font-size: 1.25rem; color: var(--hero-text); animation: bob 2.4s ease-in-out infinite; }

/* Home — text around the photos */
.intro { max-width: 46rem; margin: 0 auto; padding: var(--space) var(--gutter); text-align: center; }
.intro p:last-child { margin-bottom: 0; }
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.75rem, 2vw, 1.5rem); padding: 0 var(--gutter); }
.triptych figure { aspect-ratio: 4 / 5; }

/* Home — closing section */
.closing { padding: var(--space) var(--gutter); text-align: center; background: var(--pistachio); }
.closing .ways { max-width: 40rem; margin: 0 auto 2.5rem; }
.closing h2 { max-width: 48rem; margin: 0 auto 2.5rem; }
.link-arrow { font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 0.3rem; }
.link-arrow span { display: inline-block; transition: transform .3s; }
.link-arrow:hover span { transform: translateX(0.35rem); }

/* Who am I */
.about { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 3vw, 3rem); align-items: start; padding: clamp(3rem, 8vw, 7rem) var(--gutter) var(--space); }
.portrait { grid-column: 1 / span 5; aspect-ratio: 4 / 5; position: sticky; top: 7rem; }
.about-text { grid-column: 7 / span 6; }
.about h1 { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.quote { padding: var(--space) var(--gutter); text-align: center; background: var(--blue-dust); }
.quote h2 { max-width: 48rem; margin: 0 auto; }

/* Experiences — 4 photos per experience */
.exp-list { padding: 0 var(--gutter) var(--space); }
.exp { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem, 3vw, 3rem); align-items: center; padding: clamp(3rem, 7vw, 6rem) 0; border-bottom: 1px solid var(--line); }
.exp:last-child { border-bottom: 0; }
.exp-gallery { grid-column: 1 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.5rem, 1vw, 1rem); }
.exp-gallery:has(figure:only-child) { grid-template-columns: 1fr; }
.exp-gallery figure { aspect-ratio: 4 / 5; }
.exp-text { grid-column: 8 / span 5; }
.exp:nth-child(even) .exp-gallery { grid-column: 7 / span 6; grid-row: 1; }
.exp:nth-child(even) .exp-text { grid-column: 1 / span 5; grid-row: 1; }
.exp h2 { margin-bottom: 1.5rem; }

/* Footer */
.site-footer { background: var(--prussian); color: var(--paper); padding: var(--space) var(--gutter) 2.5rem; text-align: center; }
.eyebrow { font: 400 0.75rem/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-dust); margin-bottom: 1.75rem; }
.footer-title { color: var(--pistachio); max-width: 40rem; margin: 0 auto 2.5rem; }
.button { display: inline-block; border: 1px solid rgba(242, 206, 174, 0.55); border-radius: 3rem; padding: 1rem 2.25rem; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; transition: background .3s, color .3s; }
.button:hover { background: var(--matte-red); border-color: var(--matte-red); color: var(--prussian); }
.footer-links { list-style: none; padding: 0; margin: 4rem 0 3rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem 2.5rem; font-size: 0.9375rem; }
.footer-links a:hover { color: var(--matte-red); }
.fineprint { font-size: 0.75rem; color: var(--blue-dust); margin: 0; letter-spacing: 0.06em; }

@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translate(-50%, 0.4rem); } }

/* Mobile */
@media (max-width: 52rem) {
  .site-header { flex-wrap: wrap; gap: 0.75rem 1rem; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: 0.5rem; }
  .nav a, .lang { font-size: 0.75rem; letter-spacing: 0.04em; }
  .hero { height: calc(100svh - 6.8rem); }
  .triptych { grid-template-columns: 1fr 1fr; }
  .triptych figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .portrait, .about-text { grid-column: 1 / -1; }
  .portrait { position: static; margin-bottom: 3rem; }
  .exp-gallery, .exp:nth-child(even) .exp-gallery, .exp-text, .exp:nth-child(even) .exp-text { grid-column: 1 / -1; grid-row: auto; }
  .exp-gallery { margin-bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Let centered text use the full width */
.closing h2, .footer-title, .quote h2 { max-width: 75rem; }

.intro h2 { margin-bottom: 1.5rem; }

/* Who am I — extra blocks */
.info-block { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.info-block h2 { margin-bottom: 1rem; }

/* Experiences — intro + prices */
.exp-intro { border-bottom: 1px solid var(--line); margin: 0 var(--gutter); padding-inline: 0; }
.subtitle { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); color: var(--prussian); opacity: .75; margin: -1.5rem 0 2rem; }
.prices { padding: var(--space) var(--gutter); text-align: center; background: var(--pistachio); }
.prices h2 { margin-bottom: 1.5rem; }
.prices-text { max-width: 40rem; margin: 0 auto; }
.price-list { list-style: none; padding: 0; margin: 2.5rem auto 0; max-width: 46rem; display: grid; gap: 1rem; }
.price-list li { padding: 1.25rem 1.5rem; border: 1px solid rgba(28, 47, 77, 0.3); border-radius: 0.75rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); }
.intro { max-width: 75rem; }
.intro p { max-width: 46rem; margin-inline: auto; }
