/* Magentica Diseño Floral */
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/CormorantGaramond.woff2") format("woff2"); font-style: normal; font-weight: 500 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/CormorantGaramond-Italic.woff2") format("woff2"); font-style: italic; font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; src: url("/fonts/DMSans.woff2") format("woff2"); font-style: normal; font-weight: 400 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ink: #241f1c;
  --ink-soft: #5e5650;
  --ink-mute: #6b625b;
  --paper: #f7f3ee;
  --paper-deep: #efe8e0;
  --rule: #d9cfc5;
  --accent: #b02a6f;
  --accent-deep: #8c1f58;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --space-section: clamp(72px, 10vw, 140px);
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  --step-4: clamp(2.875rem, 1.8rem + 4.2vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 128px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { font-family: var(--sans); font-size: var(--step-0); line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -100px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(247 243 238 / 0.97); border-bottom: 1px solid var(--rule); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgb(247 243 238 / 0.9); backdrop-filter: blur(8px); } }
.site-header__inner { display: flex; align-items: center; gap: 40px; min-height: 112px; }
.brand { display: block; flex-shrink: 0; width: 96px; text-decoration: none; }
.brand img { width: 100%; height: auto; }
.site-header nav { margin-left: auto; }
.nav { display: flex; gap: 28px; }
.nav a, .header-cta { font-size: 0.9375rem; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.header-cta { color: var(--accent); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.header-cta:hover { color: var(--accent-deep); }
.brand + .header-cta { margin-left: auto; }

/* Shared */
.kicker, .facts dt, .details dt, .occasion__num, .quote figcaption span { font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.section { padding-block: var(--space-section); }
.section-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; margin-bottom: clamp(40px, 6vw, 72px); align-items: end; }
.section-head h2 { grid-column: 1 / span 6; font-size: var(--step-3); }
.section-head p { grid-column: 8 / -1; color: var(--ink-soft); max-width: 40ch; }
.button { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 500; padding: 15px 28px; border-radius: 2px; }
.button:hover { background: var(--accent-deep); color: #fff; }
.link-quiet { color: var(--ink-soft); }
.link-arrow { font-size: 0.9375rem; color: var(--accent); text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--accent-deep); text-decoration: underline; }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 88px) var(--space-section); }
.hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.hero__text { grid-column: 1 / span 6; padding-bottom: 8px; }
.hero h1 { font-size: var(--step-4); margin: 20px 0 28px; max-width: 11ch; }
.hero h1 em { display: block; font-style: italic; color: var(--accent); }
.lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.facts { display: flex; gap: 48px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--rule); }
.facts dd { font-family: var(--serif); font-size: 1.375rem; margin-top: 2px; }
.hero__media { grid-column: 8 / -1; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__media figcaption { margin-top: 12px; font-size: var(--step--1); color: var(--ink-mute); }
.hero__media figcaption a { color: var(--ink); }

/* Occasions */
.occasions { background: var(--paper-deep); }
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.split__head { grid-column: 1 / span 4; align-self: start; position: sticky; top: 120px; }
.split__head h2 { font-size: var(--step-3); margin-bottom: 20px; }
.split__head p { color: var(--ink-soft); max-width: 30ch; }
.occasion-list { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.occasion { padding: 28px 0 36px; border-top: 1px solid var(--rule); }
.occasion h3 { font-size: var(--step-2); margin: 10px 0 10px; }
.occasion p { color: var(--ink-soft); margin-bottom: 16px; max-width: 38ch; }

/* Gallery */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; }
.work { grid-column: span 3; }
.work--feature { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.work:nth-child(2), .work:nth-child(4) { grid-column: 7 / span 3; }
.work:nth-child(3), .work:nth-child(5) { grid-column: 10 / span 3; }
.work:nth-child(6) { grid-column: 2 / span 4; }
.work:nth-child(7) { grid-column: 7 / span 6; }
.work a { display: block; overflow: hidden; }
.work img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.6s ease; }
.work--feature img { aspect-ratio: 3 / 4; }
.work:nth-child(7) img { aspect-ratio: 5 / 4; }
.work a:hover img { transform: scale(1.025); }
.work figcaption { margin-top: 14px; color: var(--ink-soft); font-size: 0.9375rem; max-width: 36ch; }
.work__name { display: block; font-family: var(--serif); font-size: 1.375rem; color: var(--ink); line-height: 1.2; }

/* Reviews */
.reviews { border-top: 1px solid var(--rule); }
.quotes { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; }
.quote { grid-column: span 6; }
.quote--lead { grid-column: 1 / span 10; }
.quote blockquote p { font-family: var(--serif); font-size: var(--step-2); line-height: 1.3; }
.quote blockquote p::before { content: "“"; }
.quote blockquote p::after { content: "”"; }
.quote--lead blockquote p { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.625rem); line-height: 1.2; font-style: italic; }
.quote figcaption { margin-top: 16px; font-weight: 500; }
.quote figcaption span { font-weight: 400; margin-left: 10px; }

.reviews__cta { margin-top: clamp(40px, 6vw, 64px); }

/* FAQ */
.faq { background: var(--paper-deep); }
.faq-list { grid-column: 6 / -1; }
.faq-item { padding: 24px 0 28px; border-top: 1px solid var(--rule); }
.faq-item h3 { font-size: var(--step-2); margin-bottom: 10px; }
.faq-item p { color: var(--ink-soft); max-width: 60ch; }

/* Contact */
.contact { background: var(--ink); color: var(--paper); }
.contact a:hover { color: #f0a6c9; }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.contact__info { grid-column: 1 / span 6; }
.contact h2 { font-size: var(--step-3); max-width: 14ch; }
.contact__intro { color: #c9bfb6; margin: 20px 0 48px; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.details dt { color: #b3a89e; margin-bottom: 6px; }
.inline-list { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.contact__map { grid-column: 8 / -1; min-height: 420px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(0.85) contrast(1.05); }

/* 404 */
.notfound__title { font-size: var(--step-4); margin: 16px 0 24px; }

/* Footer */
.site-footer { padding-block: 40px; font-size: var(--step--1); color: var(--ink-mute); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.site-footer__inner p:last-child { margin-left: auto; }
.brand--footer { width: 120px; }

/* Responsive */
@media (max-width: 900px) {
  .site-header nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero__grid, .split, .works, .quotes, .contact__grid, .section-head { grid-template-columns: 1fr; }
  .hero__text, .hero__media, .split__head, .occasion-list, .faq-list, .contact__info, .contact__map, .section-head h2, .section-head p, .quote, .quote--lead { grid-column: 1 / -1; }
  .hero__media { order: -1; }
  .hero h1 { margin-top: 12px; }
  .section-head p { margin-top: 16px; }
  .split__head { position: static; margin-bottom: 32px; }
  .works { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .work, .work:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .work.work--feature { grid-column: 1 / -1; }
  .work--feature img { aspect-ratio: 4 / 3; }
  .work:nth-child(7) img { aspect-ratio: 1; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 88px; }
  .site-header__inner { gap: 20px; min-height: 72px; }
  .site-header .brand { width: 56px; }
  .occasion-list, .details { grid-template-columns: 1fr; }
  .facts { gap: 28px; flex-wrap: wrap; }
  .work__name { font-size: 1.2rem; }
  .work figcaption { font-size: var(--step--1); }
  .site-footer__inner p:last-child { margin-left: 0; }
}
