/* ===============================
   Perky Pen — About Page Styles
   Scope: .about-page
   Brand: #FFF6EF, #694029, #EB9C54, #DD7A20, #211D1A
   Fonts: Headings -> Playfair Display (alt for TAN Ashford)
          Accents  -> "Schoolbell"
          Body     -> "Inter", sans-serif (alt for Canva Sans)
   =============================== */

/* ---- OPTIONAL (load Google Fonts if not enqueued elsewhere) ----
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Playfair+Display:wght@600;700&family=Schoolbell&display=swap');
*/
/* === TAN Ashford === */
@font-face {
  font-family: "TAN Ashford";
  src: url("/fonts/ashford-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TAN Ashford";
  src: url("/fonts/ashford-bold-italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* === Canva Sans === */
@font-face {
  font-family: "Canva Sans";
  src: url("/fonts/CanvaSans-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canva Sans";
  src: url("/fonts/CanvaSans-RegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Canva Sans";
  src: url("/fonts/CanvaSans-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canva Sans";
  src: url("/fonts/CanvaSans-MediumItalic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Canva Sans";
  src: url("/fonts/CanvaSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Canva Sans";
  src: url("/fonts/CanvaSans-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* === Apply globally === */
:root {
  --font-display: "TAN Ashford", Georgia, serif;
  --font-body: "Canva Sans", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

p, body {
  font-family: var(--font-body);
}

  button,
  .button,         /* common WP class */
  [type="button"],
  [type="submit"],
  [role="button"] {
    font-family: 'Schoolbell', cursive;
    font-weight: 400;   /* Schoolbell only has regular weight */
    letter-spacing: 0.5px; /* optional, improves readability */
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root tokens */
.about-page {
  --pp-cream: #FFF6EF;
  --pp-brown: #694029;
  --pp-orange-300: #EB9C54;
  --pp-orange-500: #DD7A20;
  --pp-ink: #211D1A;

  --pp-radius: 16px;
  --pp-radius-sm: 12px;
  --pp-shadow: 0 10px 30px rgba(33, 29, 26, 0.08);

  --pp-gap: clamp(16px, 2.4vw, 28px);
  --pp-section: clamp(40px, 7vw, 88px);

  --pp-h1: clamp(32px, 5vw, 56px);
  --pp-h2: clamp(22px, 3.2vw, 34px);
  --pp-h3: clamp(18px, 2.4vw, 22px);
  --pp-text: clamp(16px, 1.4vw, 18px);
}

/* Typography */
.about-page {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--pp-ink);
  line-height: 1.6;
  background: var(--pp-cream);
}

.about-page h1,
.about-page h2 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--pp-brown);
  line-height: 1.2;
  letter-spacing: .2px;
}

.about-page h1 { font-size: var(--pp-h1); margin: 0 0 8px; }
.about-page h2 { font-size: var(--pp-h2); margin: 0 0 12px; }
.about-page h3 { font-size: var(--pp-h3); margin: 0 0 8px; color: var(--pp-ink); }

.about-page .accent-hand {
  font-family: "Schoolbell", "Comic Sans MS", cursive; /* sparingly */
  color: var(--pp-orange-500);
}

/* Layout helpers */
.about-page .container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.about-page p { font-size: var(--pp-text); margin: 0 0 12px; }
.about-page ul { padding-left: 1.1rem; margin: 8px 0 0; }

/* ===============================
   HERO
   =============================== */
.about-page .hero-section {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #FFF6EF 0%, #FFF6EF 60%, #ffffff 100%);
  padding: 0 0 var(--pp-section);
}
.about-page .hero-section figure { margin: 0; }
.about-page .hero-section img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.about-page .hero-section .hero-text {
  width: min(1120px, 92%);
  margin: calc(var(--pp-gap)*-1) auto 0; /* overlap for punch */
  background: #fff;
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
  padding: clamp(16px, 4vw, 28px);
  border: 1px solid rgba(33,29,26,.06);
  margin-top: 2rem;
}
.about-page .hero-section .hero-text p strong { color: var(--pp-orange-500); }

/* Section shell */
.about-page section {
  padding-block: var(--pp-section);
}

/* ===============================
   SPLIT SECTIONS (image + text)
   =============================== */
.about-page .diverse-selection .content,
.about-page .quality-artistry .content,
.about-page .personalised-service .content {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--pp-gap);
  align-items: center;
}

.about-page .diverse-selection figure,
.about-page .quality-artistry figure,
.about-page .personalised-service figure {
  margin: 0;
  filter: drop-shadow(var(--pp-shadow));
  border-radius: var(--pp-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(33,29,26,.06);
}
.about-page .diverse-selection img,
.about-page .quality-artistry img,
.about-page .personalised-service img {
  width: 100%;
  height: auto;
  display: block;
}

.about-page .diverse-selection .text,
.about-page .quality-artistry .text,
.about-page .personalised-service .text {
  background: #fff;
  padding: clamp(16px, 3vw, 28px);
  border-radius: var(--pp-radius);
  border: 1px solid rgba(33,29,26,.06);
  box-shadow: var(--pp-shadow);
}

.about-page .quality-artistry .content {
  grid-template-columns: 1fr 1.15fr; /* image right */
}
.about-page .quality-artistry .text h2 { color: var(--pp-orange-500); }
.about-page .personalised-service .text h2 { color: var(--pp-brown); }

/* Bullets w/ custom marker */
.about-page .text ul { list-style: none; padding-left: 0; }
.about-page .text ul li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
}
.about-page .text ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--pp-orange-300), var(--pp-orange-500));
  box-shadow: 0 0 0 3px rgba(221,122,32,.15);
}

/* ===============================
   FOUNDER STORY
   =============================== */
.about-page .founder-story {
  background: linear-gradient(180deg, #fff 0%, #FFF6EF 100%);
}
.about-page .founder-story .content {
  width: min(1120px, 92%);
  margin: 0 auto;
}
/* Make the figure hug the image and center it */
.about-page .founder-story figure{
  width: fit-content;          /* shrink-wrap to image */
  max-width: 100%;
  margin: var(--pp-gap) auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Style the image itself; never upscale */
.about-page .founder-story img{
  display: block;
  width: auto;                 /* use intrinsic width */
  max-width: min(100%, 720px); /* cap on large screens; no upscaling */
  height: auto;
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
  border: 1px solid rgba(33,29,26,.06);
}

.about-page .founder-story h2 {
  display: inline-block;
  background: linear-gradient(90deg, var(--pp-brown), var(--pp-orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===============================
   CTA BUTTON (if used)
   =============================== */
.about-page .pp-btn {
  --_bg: var(--pp-brown);
  --_fg: #fff;
  display: inline-block;
  background: var(--_bg);
  color: var(--_fg);
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.about-page .pp-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(105,64,41,.18); }
.about-page .pp-btn--light { --_bg: #fff; --_fg: var(--pp-brown); border-color: rgba(33,29,26,.12); }

/* ===============================
   ACCESSIBILITY & MOTION
   =============================== */
.about-page img { color: transparent; } /* avoids odd alt rendering in some UAs */
@media (prefers-reduced-motion: reduce) {
  .about-page * { transition: none !important; animation: none !important; }
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 980px) {
  .about-page .diverse-selection .content,
  .about-page .quality-artistry .content,
  .about-page .personalised-service .content {
    grid-template-columns: 1fr;
  }
  /* Put images on top for mobile readability */
  .about-page .quality-artistry .content { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .about-page .hero-section .hero-text { padding: 16px 14px; }
  .about-page .text ul li { padding-left: 24px; }
  .about-page .text ul li::before { width: 10px; height: 10px; top: .6em; }
}

/* ===== Navigation ===== */
.nav{
  position:fixed; inset:0 0 auto 0;
  padding:18px 40px;
  display:flex; justify-content:space-between; align-items:center;
  z-index:1000;
  background:rgba(255,246,239,.92); /* brand cream with translucency */
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--pp-tan);
}

.logo{
  font-family:var(--font-display);
  font-size:22px; letter-spacing:2px;
  text-decoration:none; color:var(--pp-brown);
}

.nav-menu{ display:flex; gap:36px; list-style:none; }

.nav-menu a{
  color:var(--pp-ink);
  text-decoration:none;
  font-size:14px; font-weight:500; letter-spacing:1px; text-transform:uppercase;
  transition:color .2s ease, opacity .2s ease;
}
.nav-menu a:hover{ color:var(--pp-orange-dark); }

.contact-btn{
  color:var(--pp-brown);
  text-decoration:underline;
  font-size:14px; letter-spacing:1px; text-transform:uppercase;
}

.hamburger{ display:none; flex-direction:column; gap:4px; cursor:pointer; }
.hamburger span{ width:24px; height:2px; background:var(--pp-ink); transition:.3s; }
