/*
Theme Name: Makeup by Sumaiya
Description: A portfolio and booking enquiry theme for Makeup by Sumaiya.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: makeup-by-sumaiya
WPVibe: yes
*/
:root {
  --ink: #271828;
  --plum: #281828;
  --paper: #fbf5f0;
  --rose: #edc4c6;
  --line: #d8c5c8;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 96px); margin-inline: auto; }
.header { background: #211322; color: #fff7f2; }
.nav { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.nav nav { display: flex; gap: clamp(18px, 4vw, 50px); }
.nav a { text-decoration: none; }
.nav nav a:hover, .footer a:hover { text-decoration: underline; }
.wordmark { font: 1.65rem/1.08 var(--serif); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 10px 22px; border: 1px solid transparent; font: 600 .92rem/1.3 var(--sans); text-decoration: none; cursor: pointer; }
.button.outline { border-color: #997885; }
.button.outline:hover { background: #412b3e; }
.button.light { color: #271828; background: var(--rose); }
.button.light:hover { background: #f8dade; }
.hero { min-height: min(690px, 82svh); position: relative; display: grid; align-items: center; isolation: isolate; overflow: hidden; background: #2a172b; color: #fff6f0; }
.hero-photo { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #241427 7%, #241427c4 33%, #24142710 70%); }
.hero-content { padding-block: 72px 80px; }
.eyebrow { margin: 0 0 15px; font-size: .875rem; line-height: 1.3; letter-spacing: .15em; text-transform: uppercase; font-weight: 650; color: #824057; }
.hero .eyebrow, .booking .eyebrow { color: #f1c4ca; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.04; }
h1 { font-size: clamp(3.3rem, 7vw, 6.4rem); letter-spacing: -.052em; }
h2 { font-size: clamp(2.5rem, 5.5vw, 4.45rem); letter-spacing: -.05em; }
h3 { font-size: 1.75rem; letter-spacing: -.025em; }
h1 em, .booking h2 em { color: #efbdc5; }
.intro { margin-block: 24px 28px; max-width: 29ch; font-size: 1.12rem; color: #f3e1e5; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.text-link { font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.section { padding-block: clamp(62px, 8vw, 110px); }
.service-grid, .look-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 35px; }
.service { border-top: 1px solid var(--line); padding: 24px 0 0; }
.service p { max-width: 34ch; }
.looks { background: #f0e3e3; }
figure { margin: 0; }
figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #dec7c9; }
figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 12px; font: 1.35rem var(--serif); flex-wrap: wrap; }
figcaption small { font: .81rem var(--sans); color: #684e56; }
.about, .booking-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.about p:not(.eyebrow) { margin-top: 8px; max-width: 55ch; }
.booking { background: var(--plum); color: #fff6f0; }
.booking p:not(.eyebrow) { max-width: 45ch; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; min-width: 0; font-size: .9rem; }
.form label span { display: contents; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { min-height: 46px; width: 100%; border: 1px solid #b78d9b; border-radius: 0; padding: 10px 12px; color: var(--ink); background: #fff7f2; font: inherit; }
.form textarea { resize: vertical; }
.form button { justify-self: start; grid-column: 1 / -1; }
.status { border-left: 2px solid var(--rose); padding-left: 14px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; padding-block: 24px; }
.footer span { font: 1.2rem var(--serif); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { display: inline-block; padding: 8px 14px; }
:focus-visible { outline: 2px solid #ac5a79; outline-offset: 4px; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 42px); }
  .nav { min-height: 72px; gap: 12px; flex-wrap: wrap; padding-block: 14px; }
  .nav nav { order: 3; width: 100%; justify-content: center; border-top: 1px solid #644756; padding-top: 10px; }
  .nav .button { padding-inline: 14px; min-height: 42px; }
  .hero { min-height: 625px; align-items: end; }
  .hero-photo { object-position: 70% 29%; }
  .hero::before { background: linear-gradient(0deg, #241427 4%, #241427df 26%, #2414270a 84%); }
  .hero-content { padding-block: 180px 47px; }
  .about, .booking-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .look-grid { gap: 10px; }
  figcaption { font-size: 1.06rem; }
}
@media (max-width: 390px) {
  .wordmark { font-size: 1.32rem; }
  .form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
