/* =========================================
   Naila's Studio — shared styles
   Used by every page on the site
   ========================================= */

:root {
  --charcoal: #2E2E2E;
  --wine: #782021;
  --ice: #F7F3EF;
  --ivory: #E8D6D1;
  --grace: #C7B7AF;
  --rose: #A66A6A;
  --mocha: #6B5B56;
  --cream: #F5EFEA;
  --gradient: linear-gradient(90deg, #2E2E2E 0%, #782021 100%);

  --heading: "Cormorant Garamond", Georgia, serif;
  --body: "Lato", Helvetica, Arial, sans-serif;

  --max: 1120px;
  --gutter: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ice);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Thin gradient bar (signature detail) ---------- */
.bar {
  height: 4px;
  background: var(--gradient);
}

/* ---------- Header + navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ice);
  border-bottom: 1px solid rgba(46, 46, 46, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--wine);
  border-bottom-color: var(--wine);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--charcoal);
  transition: transform 0.25s, opacity 0.25s;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ice);
    border-bottom: 1px solid rgba(46, 46, 46, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open { max-height: 400px; }

  .nav-links li { border-top: 1px solid rgba(46, 46, 46, 0.06); }

  .nav-links a {
    display: block;
    padding: 18px var(--gutter);
    border-bottom: 0;
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1.5px solid var(--charcoal);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  background: var(--charcoal);
  color: var(--ice);
}

.btn-wine {
  border-color: var(--wine);
  color: var(--wine);
}

.btn-wine:hover {
  background: var(--wine);
  color: var(--ice);
}

/* ---------- Section basics ---------- */
section { padding: 96px 0; }

.section-heading {
  font-size: clamp(34px, 5vw, 54px);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 72px 0 40px;
}

.site-footer h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 28px;
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1.5px solid var(--charcoal);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.socials a:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--ice);
}

.socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-small {
  font-size: 13px;
  color: var(--mocha);
}

/* ---------- Fade-in on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================
   HOMEPAGE
   ========================================= */

/* Hero */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 0;
}

.hero-logo {
  width: min(620px, 88vw);
  margin: 0 auto;
}

.hero-tagline {
  font-family: var(--heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 36px);
  margin: 28px 0 0;
}

.hero-line {
  width: 72px;
  height: 2px;
  background: var(--wine);
  margin: 32px auto 0;
}

/* Split: do it for me / do it yourself */
.split { background: var(--cream); }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.split-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--wine);
  background: var(--ice);
  padding: 48px 40px;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.split-card:hover {
  transform: translateY(-4px);
  background: #fff;
}

.split-card h3 {
  font-size: clamp(30px, 3.6vw, 40px);
  margin-bottom: 16px;
}

.split-card p {
  margin: 0 0 32px;
  color: var(--mocha);
  flex-grow: 1;
}

.split-card .arrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
}

@media (max-width: 720px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-card { padding: 36px 28px; }
}

/* Meet me teaser */
.meet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.polaroid {
  background: #fff;
  padding: 16px 16px 64px;
  width: min(380px, 100%);
  margin: 0 auto;
  transform: rotate(-3deg);
  box-shadow: 0 18px 40px rgba(46, 46, 46, 0.14);
  position: relative;
  transition: transform 0.35s ease;
}

.polaroid:hover { transform: rotate(0deg); }

.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

.polaroid figcaption {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--heading);
  font-style: italic;
  font-size: 22px;
  color: var(--charcoal);
}

.meet-text h2 {
  font-size: clamp(34px, 4.6vw, 52px);
  margin-bottom: 32px;
}

@media (max-width: 820px) {
  .meet-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }
}

/* =========================================
   INNER PAGES — shared
   ========================================= */
.page-intro {
  text-align: center;
  padding: 104px 0 72px;
}

.page-intro h1 {
  font-size: clamp(40px, 6.4vw, 72px);
  max-width: 880px;
  margin: 0 auto;
}

.page-intro .lede {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--mocha);
}

.cta-band {
  text-align: center;
  background: var(--cream);
}

.cta-band h2 {
  font-size: clamp(32px, 4.6vw, 48px);
  margin-bottom: 28px;
}

/* =========================================
   SERVICES
   ========================================= */
.service-block {
  padding: 80px 0;
  border-top: 1px solid rgba(46, 46, 46, 0.1);
}

.service-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.service-head h2 { font-size: clamp(36px, 5vw, 56px); }

.service-head p {
  margin: 0;
  font-family: var(--heading);
  font-style: italic;
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.35;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.price-card {
  background: #fff;
  border-top: 3px solid var(--wine);
  padding: 30px 28px 26px;
}

.price-card h3 {
  font-size: 26px;
  margin-bottom: 6px;
}

.price-card .note {
  font-size: 14px;
  color: var(--mocha);
  margin: 0 0 18px;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(46, 46, 46, 0.15);
  font-size: 15px;
}

.price-list li:last-child { border-bottom: 0; }

.price-list .amt {
  font-weight: 700;
  white-space: nowrap;
  color: var(--wine);
}

.extra {
  font-size: 13px;
  color: var(--rose);
  margin: 14px 0 0;
}

.callout {
  margin-top: 28px;
  padding: 22px 26px;
  border: 1.5px solid var(--wine);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: baseline;
}

.callout strong {
  font-family: var(--heading);
  font-size: 24px;
}

.callout span { color: var(--mocha); font-size: 15px; }

.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ivory);
  color: var(--wine);
  vertical-align: middle;
}

.print-line {
  text-align: center;
  padding: 72px 0;
  background: var(--charcoal);
  color: var(--ice);
}

.print-line h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin-bottom: 12px;
}

.print-line p { margin: 0; color: var(--grace); }

.small-print {
  text-align: center;
  font-size: 14px;
  color: var(--mocha);
  max-width: 620px;
  margin: 0 auto;
  padding: 48px var(--gutter) 0;
}

@media (max-width: 820px) {
  .service-head { grid-template-columns: 1fr; gap: 16px; }
  .service-block { padding: 64px 0; }
}

/* =========================================
   DIGITAL MARKETING
   ========================================= */
.story {
  max-width: 680px;
  margin: 0 auto;
}

.story p {
  font-size: 18px;
  margin: 0 0 20px;
}

.closer {
  font-family: var(--heading);
  font-style: italic;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.3;
  color: var(--wine);
  margin-top: 32px;
}

.course { background: var(--cream); }

.course-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.course-inner h2 { font-size: clamp(34px, 5vw, 52px); }

.course-inner p {
  margin: 0 0 18px;
  font-size: 18px;
}

@media (max-width: 820px) {
  .course-inner { grid-template-columns: 1fr; gap: 28px; }
}

.store { text-align: center; }

.store h2 {
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 44px;
}

.store-card {
  display: block;
  max-width: 540px;
  margin: 0 auto;
  border: 1.5px solid var(--wine);
  padding: 14px;
  background: #fff;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.store-card:hover { transform: translateY(-6px); }

.store-card .label {
  display: block;
  padding: 18px 0 6px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
}

/* =========================================
   ABOUT
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 72px;
  align-items: center;
  padding: 88px 0 104px;
}

.notebook {
  position: relative;
  background-color: #fffdfb;
  background-image:
    linear-gradient(90deg, transparent 63px, rgba(120, 32, 33, 0.35) 63px, rgba(120, 32, 33, 0.35) 65px, transparent 65px);
  padding: 58px 48px 52px 96px;
  box-shadow: 0 20px 44px rgba(46, 46, 46, 0.1);
  line-height: 36px;
  font-size: 17px;
}

.notebook::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 40px;
  bottom: 40px;
  width: 16px;
  background: radial-gradient(circle, var(--ice) 6px, transparent 7px) 0 0 / 16px 90px repeat-y;
}

.notebook h1 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  margin-bottom: 30px;
}

.notebook p { margin: 0 0 36px; }

/* Ruled lines start under the heading, so every line of text sits on one */
.notebook .lines {
  margin: 0 -48px 0 -96px;
  padding: 0 48px 0 96px;
  background-image: repeating-linear-gradient(180deg, transparent 0, transparent 35px, rgba(199, 183, 175, 0.7) 35px, rgba(199, 183, 175, 0.7) 36px);
}

.notebook .signoff {
  margin: 0;
  font-family: var(--heading);
  font-style: italic;
  font-size: 22px;
}

.notebook .signature {
  width: 230px;
  margin-top: 6px;
}

.photo-strip {
  background: #fff;
  padding: 14px 14px 46px;
  width: min(250px, 100%);
  margin: 0 auto;
  transform: rotate(3deg);
  box-shadow: 0 18px 40px rgba(46, 46, 46, 0.16);
  display: grid;
  gap: 10px;
  position: relative;
  transition: transform 0.35s ease;
}

.photo-strip:hover { transform: rotate(0deg); }

.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
}

.photo-strip::after {
  content: "NAILA'S STUDIO";
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--mocha);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 64px;
    padding: 56px 0 80px;
  }
}

@media (max-width: 560px) {
  .notebook {
    padding: 44px 22px 40px 58px;
    background-image:
      linear-gradient(90deg, transparent 39px, rgba(120, 32, 33, 0.35) 39px, rgba(120, 32, 33, 0.35) 41px, transparent 41px);
  }
  .notebook .lines { margin: 0 -22px 0 -58px; padding: 0 22px 0 58px; }
  .notebook::before { left: 12px; width: 14px; }
  .notebook .signature { width: 180px; }
}

/* =========================================
   ENQUIRE
   ========================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0 0 72px;
  padding: 0;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 40px 26px;
  background: #fff;
  border-radius: 999px 999px 24px 24px;
  border: 1.5px solid var(--wine);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--ice);
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 700;
}

.step h3 {
  font-size: 25px;
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  font-size: 15px;
  color: var(--mocha);
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-radius: 24px; padding: 30px 24px; }
}

.form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  padding: 40px clamp(18px, 4vw, 48px);
  border-top: 4px solid var(--wine);
}

.form-wrap iframe {
  width: 100%;
  border: 0;
  min-height: 560px;
}

.form-fallback {
  text-align: center;
  font-size: 14px;
  color: var(--mocha);
  margin: 20px 0 0;
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.store-grid .store-card { max-width: none; margin: 0; }

.store-grid .store-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.store-grid .course-card img {
  object-position: 50% center;
}

@media (max-width: 720px) {
  .store-grid { grid-template-columns: 1fr; }
}
