/* ==========================================================================
   Amore Exquisite — Elegant Romance theme
   Palette: ivory, blush, champagne gold
   ========================================================================== */

:root {
  --cream: #faf6ef;
  --cream-deep: #f3ecdf;
  --ink: #33291f;
  --ink-soft: #6b5d4d;
  --gold: #b08d57;
  --gold-soft: #c9ad7f;
  --blush: #e7c8c4;
  --blush-deep: #c98d8d;
  --white: #fffdf9;
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Jost", "Segoe UI", "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; transition: color .25s; }
a:hover { color: var(--blush-deep); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; }

.container { width: min(1120px, 92%); margin: 0 auto; }

/* --- small-caps kicker above headings --- */
.kicker {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}

/* --- gold rule ornament --- */
.rule {
  display: flex; align-items: center; justify-content: center;
  gap: .75rem; margin: 1.2rem auto;
  color: var(--gold);
}
.rule::before, .rule::after {
  content: ""; height: 1px; width: 64px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.rule::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(176, 141, 87, .18);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
}

.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: .06em;
  color: var(--ink);
}
.brand-sub {
  font-size: .62rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: .25rem;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold-soft);
}

.btn {
  display: inline-block;
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  padding: .85rem 2rem;
  border: none; border-radius: 2px;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 6px 18px rgba(176, 141, 87, .28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(176, 141, 87, .38); }

.btn-outline {
  background: transparent;
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  box-shadow: none;
}
.btn-outline:hover { background: var(--gold); color: var(--white) !important; }

.nav .btn { padding: .65rem 1.5rem; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px;
}
.nav-toggle span {
  display: block; height: 1.5px; background: var(--ink);
  margin: 6px 8px; transition: transform .3s, opacity .3s;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(176, 141, 87, .2);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 1rem; border-bottom: none; }
  .nav-links .btn { margin: 1rem auto; display: inline-block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

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

.hero {
  position: relative;
  text-align: center;
  padding: 7.5rem 1rem 8rem;
  background:
    radial-gradient(ellipse 65% 55% at 50% 0%, rgba(231, 200, 196, .45), transparent),
    radial-gradient(ellipse 40% 35% at 12% 85%, rgba(201, 173, 127, .18), transparent),
    radial-gradient(ellipse 40% 35% at 88% 85%, rgba(231, 200, 196, .25), transparent),
    var(--cream);
  overflow: hidden;
}

.hero .kicker { font-size: .82rem; }

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: .04em;
  margin: .4rem 0 1rem;
}

.hero .script {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  color: var(--blush-deep);
  margin-bottom: 2.2rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-ornament {
  width: 190px; margin: 0 auto 1.5rem; color: var(--gold);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: 5.5rem 0; }
.section-alt { background: var(--white); border-block: 1px solid rgba(176, 141, 87, .12); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-head p { color: var(--ink-soft); margin-top: 1rem; }

/* --- two-column intro --- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } }

.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 1.2rem; }
.split p { color: var(--ink-soft); margin-bottom: 1.1rem; }

/* --- framed photo (real photo w/ graceful placeholder fallback) --- */
.frame {
  position: relative;
  padding: 14px;
  background: var(--white);
  border: 1px solid rgba(176, 141, 87, .35);
  box-shadow: 0 18px 40px rgba(51, 41, 31, .10);
}
.frame::after {
  content: "";
  position: absolute; inset: 7px;
  border: 1px solid rgba(176, 141, 87, .3);
  pointer-events: none;
}
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.frame.frame-wide img { aspect-ratio: 3 / 2; }

/* --- service cards --- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid rgba(176, 141, 87, .22);
  padding: 3rem 2.5rem;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(51, 41, 31, .1); }
.card .icon { width: 54px; height: 54px; margin: 0 auto 1.4rem; color: var(--gold); }
.card h3 { font-size: 1.6rem; margin-bottom: .9rem; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card ul {
  list-style: none; margin: 1.4rem 0 0; text-align: left;
  display: inline-block;
}
.card ul li {
  padding: .45rem 0 .45rem 1.6rem;
  position: relative;
  color: var(--ink-soft); font-size: .95rem;
  border-bottom: 1px dashed rgba(176, 141, 87, .25);
}
.card ul li:last-child { border-bottom: none; }
.card ul li::before {
  content: "✦"; position: absolute; left: 0; color: var(--blush-deep); font-size: .7rem; top: .7rem;
}

/* --- portfolio grid --- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

.gallery .frame { padding: 10px; }
.gallery .frame::after { inset: 5px; }
.gallery figcaption {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); text-align: center; padding-top: .8rem;
}

/* --- CTA band --- */
.cta-band {
  text-align: center;
  padding: 5.5rem 1rem;
  background:
    radial-gradient(ellipse 70% 90% at 50% 110%, rgba(231, 200, 196, .5), transparent),
    var(--cream-deep);
  border-block: 1px solid rgba(176, 141, 87, .18);
}
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: .8rem; }
.cta-band p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 2rem; }

/* ==========================================================================
   Contact form
   ========================================================================== */

.form-wrap {
  max-width: 680px; margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(176, 141, 87, .25);
  padding: 3rem;
}
@media (max-width: 560px) { .form-wrap { padding: 1.8rem 1.3rem; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: .45rem;
}

input, select, textarea {
  width: 100%;
  font-family: var(--sans); font-size: 1rem; font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(176, 141, 87, .3);
  padding: .8rem 1rem;
  border-radius: 2px;
  transition: border-color .25s, box-shadow .25s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, .15);
}
textarea { resize: vertical; min-height: 140px; }

.form-note { font-size: .85rem; color: var(--ink-soft); margin-top: 1.2rem; text-align: center; }

/* Honeypot — kept out of view and out of the tab order and the a11y tree,
   without display:none, which some bots detect and skip. */
.hp-field {
  position: absolute; left: -9999px;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

.form-status {
  min-height: 1.2em;
  margin-top: 1rem;
  font-size: .9rem;
  color: var(--ink-soft);
}
.form-status.is-success { color: #4a7c59; }
.form-status.is-error { color: #a4453c; }

button[type="submit"]:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

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

.site-footer {
  background: #2b2118;
  color: #cbbfae;
  padding: 3.5rem 0 2rem;
  text-align: center;
}
.site-footer .brand-name { color: var(--cream); }
.site-footer .brand-sub { color: var(--gold-soft); }
.footer-links {
  list-style: none;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 1.8rem;
  margin: 1.6rem 0;
}
.footer-links a {
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: #cbbfae;
}
.footer-links a:hover { color: var(--gold-soft); }
.footer-social a {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold-soft); font-size: .85rem; letter-spacing: .1em;
}
.footer-contact {
  font-size: .85rem; letter-spacing: .05em; margin: 1.6rem 0 .8rem;
}
.footer-contact a { color: #cbbfae; }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-dot { margin: 0 .6rem; opacity: .6; }
.copyright { font-size: .78rem; margin-top: 1.6rem; opacity: .7; }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */

.page-hero {
  text-align: center;
  padding: 4.5rem 1rem 4rem;
  background:
    radial-gradient(ellipse 60% 80% at 50% -20%, rgba(231, 200, 196, .4), transparent),
    var(--cream);
  border-bottom: 1px solid rgba(176, 141, 87, .12);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-hero p { color: var(--ink-soft); max-width: 560px; margin: 1rem auto 0; }

/* --- reveal on scroll (hidden state only applies when JS is running) --- */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
