:root {
  --cream: #fbf7f1;
  --paper: #fffdf9;
  --ink: #282326;
  --muted: #746c70;
  --coral: #cf6b5c;
  --coral-dark: #a94f45;
  --gold: #c79b54;
  --violet: #8d789d;
  --border: rgba(69, 53, 62, .13);
  --shadow: 0 24px 65px rgba(77, 55, 65, .11);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
body { min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.7; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(207, 107, 92, .45); outline-offset: 3px; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 100px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--coral-dark); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 1px; content: ""; background: var(--gold); }
h1, h2, h3 { line-height: 1.13; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.25rem, 6vw, 6rem); font-weight: 500; letter-spacing: -.055em; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.35rem, 4.4vw, 4rem); font-weight: 500; letter-spacing: -.045em; }
.section-heading { max-width: 740px; margin-bottom: 46px; }
.section-heading h2, .about-copy h2, .contact-copy h2 { margin-top: 14px; }
.section-heading p, .about-copy > p, .contact-copy > p { margin-top: 17px; color: var(--muted); }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

.header { position: fixed; z-index: 60; top: 0; right: 0; left: 0; border-bottom: 1px solid rgba(69, 53, 62, .08); background: rgba(255, 253, 249, .91); backdrop-filter: blur(16px); }
.nav { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 25px; }
.brand { display: inline-flex; align-items: baseline; gap: 5px; font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; letter-spacing: -.02em; }
.brand strong { color: var(--ink); font-weight: 600; }
.brand span { color: var(--coral); font-style: italic; }
.nav-menu { display: flex; align-items: center; gap: 23px; color: #5f565b; font-size: .76rem; font-weight: 700; }
.nav-menu > a:not(.nav-cta):hover { color: var(--coral-dark); }
.nav-cta { padding: 10px 15px; border-radius: 30px; color: #fff; background: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); transition: .25s; }

.hero { position: relative; overflow: hidden; padding: 145px 0 90px; background: linear-gradient(135deg, #fffdf9 0%, #f8eee7 62%, #f2e3dd 100%); }
.hero::before { position: absolute; top: -170px; right: -110px; width: 520px; height: 520px; border: 1px solid rgba(199, 155, 84, .21); border-radius: 50%; content: ""; box-shadow: 0 0 0 65px rgba(199, 155, 84, .045), 0 0 0 130px rgba(199, 155, 84, .025); }
.hero-grid { position: relative; display: grid; align-items: center; grid-template-columns: 1.08fr .92fr; gap: 75px; }
.hero h1 { max-width: 760px; margin-top: 19px; }
.hero-copy > p { max-width: 680px; margin-top: 24px; color: var(--muted); font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 21px; border: 0; border-radius: 30px; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--coral); box-shadow: 0 12px 28px rgba(169, 79, 69, .2); }
.button--secondary { border: 1px solid var(--border); background: rgba(255, 255, 255, .65); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 32px; }
.hero-notes span { padding: 6px 10px; border: 1px solid var(--border); border-radius: 20px; color: #766a70; background: rgba(255, 255, 255, .45); font-size: .66rem; }
.portrait-frame { position: relative; overflow: hidden; border: 1px solid rgba(110, 80, 94, .14); background: linear-gradient(145deg, #eadbd3, #cab8c8); box-shadow: var(--shadow); }
.portrait-frame::before, .project-image::before { position: absolute; inset: 0; display: grid; place-items: center; content: attr(data-placeholder); color: #725f69; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.portrait-frame img, .project-image img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.portrait-frame img.image-missing, .project-image img.image-missing { display: none; }
.hero-portrait { min-height: 520px; border-radius: 45% 45% 18px 18px; }
.portrait-label { position: absolute; z-index: 2; right: 20px; bottom: 20px; left: 20px; padding: 15px 18px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 12px; color: var(--ink); background: rgba(255, 253, 249, .83); backdrop-filter: blur(10px); font-size: .72rem; }
.portrait-label strong { display: block; font-family: Georgia, serif; font-size: 1.08rem; }

.about-section { background: #fff; }
.about-grid { display: grid; align-items: center; grid-template-columns: .82fr 1.18fr; gap: 80px; }
.about-portrait { min-height: 570px; border-radius: 180px 180px 18px 18px; }
.about-points { display: grid; gap: 12px; margin-top: 32px; }
.about-points article { display: flex; align-items: flex-start; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.about-points article > span { color: var(--coral); font-size: .7rem; font-weight: 900; }
.about-points h3 { font-size: .93rem; }
.about-points p { margin-top: 3px; color: var(--muted); font-size: .75rem; }

.services-section { background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.service-card { padding: 26px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255, 255, 255, .72); transition: transform .25s, box-shadow .25s; }
.service-card:hover { box-shadow: 0 18px 40px rgba(77, 55, 65, .09); transform: translateY(-4px); }
.service-icon { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 50%; color: var(--coral-dark); background: #f5dfd8; font-family: Georgia, serif; font-weight: 700; }
.service-card h3 { margin-top: 18px; font-size: 1rem; }
.service-card p { margin-top: 9px; color: var(--muted); font-size: .78rem; }
.service-link { display: inline-block; margin-top: 18px; color: var(--coral-dark); font-size: .72rem; font-weight: 800; }

.portfolio-section { background: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: 0 13px 35px rgba(77, 55, 65, .07); }
.project-image { position: relative; height: 250px; overflow: hidden; background: linear-gradient(145deg, #ead7d0, #c8b3c7); }
.project-image img { transition: transform .4s ease; }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-copy { padding: 24px; }
.project-copy > span { display: inline-block; padding: 5px 8px; border-radius: 5px; color: var(--coral-dark); background: #f8e2dc; font-size: .61rem; font-weight: 900; text-transform: uppercase; }
.project-copy h3 { margin-top: 13px; font-size: 1.03rem; }
.project-copy p { margin-top: 9px; color: var(--muted); font-size: .76rem; }
.project-copy > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 17px; }
.project-copy small { padding: 4px 7px; border: 1px solid var(--border); border-radius: 20px; color: #786b72; }

.testimonials-section { color: #fff; background: #30292d; }
.testimonials-section .eyebrow { color: #ecc9c1; }
.testimonials-section .section-heading p { color: #c4b9bd; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
blockquote { padding: 27px; border: 1px solid rgba(255, 255, 255, .11); border-radius: 18px; background: rgba(255, 255, 255, .045); }
blockquote p { color: #f3ecef; font-family: Georgia, serif; font-size: 1.02rem; }
blockquote footer { margin-top: 25px; }
blockquote strong, blockquote span { display: block; }
blockquote strong { color: #f0c8bf; font-size: .78rem; }
blockquote span { color: #a99ba2; font-size: .67rem; }

.process-section { background: #fff; }
.process-list { display: grid; list-style: none; grid-template-columns: repeat(5, 1fr); gap: 13px; }
.process-list li { position: relative; padding: 22px 18px; border-top: 2px solid var(--coral); background: var(--cream); }
.process-list span { color: var(--coral); font-size: .7rem; font-weight: 900; }
.process-list h3 { margin-top: 16px; font-size: .88rem; }
.process-list p { margin-top: 6px; color: var(--muted); font-size: .72rem; }

.contact-section { background: linear-gradient(135deg, #f7ebe5, #f4eff3); }
.contact-grid { display: grid; align-items: start; grid-template-columns: .85fr 1.15fr; gap: 65px; }
.contact-note { margin-top: 30px; padding: 18px; border-left: 3px solid var(--gold); background: rgba(255, 255, 255, .5); }
.contact-note strong, .contact-note span { display: block; }
.contact-note span { margin-top: 3px; color: var(--muted); font-size: .75rem; }
.contact-form { display: grid; padding: 29px; border: 1px solid rgba(110, 80, 94, .13); border-radius: 20px; background: rgba(255, 255, 255, .74); box-shadow: var(--shadow); grid-template-columns: 1fr 1fr; gap: 17px; }
.contact-form label { color: #645960; font-size: .73rem; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 7px; border: 1px solid #d9cbcf; border-radius: 10px; outline: 0; background: rgba(255, 255, 255, .84); }
.contact-form input, .contact-form select { height: 47px; padding: 0 13px; }
.contact-form textarea { min-height: 120px; padding: 12px 13px; resize: vertical; }
.field-full { grid-column: 1 / -1; }
.form-message { min-height: 24px; color: var(--coral-dark); font-size: .78rem; font-weight: 800; }

.footer { padding: 48px 20px 23px; color: #cbbfc4; background: #251f22; }
.footer-content { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; }
.brand--footer strong { color: #fff; }
.footer-content p { margin-top: 8px; color: #94878d; font-size: .73rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: .72rem; }
.portfolio-return { padding: 8px 12px; border-radius: 20px; color: #fff; background: var(--coral); font-weight: 800; }
.footer-note { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .09); text-align: center; font-size: .68rem; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; width: min(380px, calc(100% - 32px)); padding: 16px 18px; border-left: 4px solid var(--gold); border-radius: 11px; color: #fff; background: #30292d; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transform: translateY(24px); transition: .25s; }
.toast.visible { opacity: 1; transform: none; }
.toast strong, .toast span { display: block; }
.toast span { margin-top: 3px; color: #c9bdc2; font-size: .74rem; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-menu { position: fixed; inset: 78px 0 auto 0; display: none; padding: 24px 20px 30px; align-items: stretch; flex-direction: column; gap: 5px; background: #fffdf9; box-shadow: 0 22px 35px rgba(77, 55, 65, .13); text-align: center; }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 9px; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .hero-notes { justify-content: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-portrait { width: min(100%, 520px); min-height: 560px; margin-inline: auto; }
  .about-portrait { width: min(100%, 480px); min-height: 560px; margin-inline: auto; }
  .services-grid, .portfolio-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1120px); }
  .section { padding: 75px 0; }
  .hero { padding: 125px 0 70px; }
  h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-portrait { min-height: 430px; }
  .about-portrait { min-height: 470px; }
  .services-grid, .portfolio-grid, .testimonials-grid, .process-list { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; grid-template-columns: 1fr; }
  .contact-form label, .field-full { grid-column: 1; }
  .footer-content { flex-direction: column; }
}

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