/* Let's Pahal — company site. Self-hosted fonts, no runtime third-party requests. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Satisfy"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/satisfy-latin-400.woff2") format("woff2"); }

:root {
  /* Sampled from the Let's Pahal mark + developer banner */
  --orange: #FE7002;        /* brand orange (logo) — decoration, large shapes */
  --orange-strong: #E86200; /* large display text on cream (>= 3:1) */
  --orange-text: #B34700;   /* small orange text on cream/white (>= 4.5:1) */
  --orange-soft: #FFE6D2;
  --navy: #023C52;          /* brand navy (logo swoosh) — ink */
  --navy-deep: #012A3A;
  --ink: #023C52;
  --muted: #3D5866;
  --cream: #FBF6EE;
  --cream-2: #FEF9F1;
  --surface: #FFFFFF;
  --line: #EADFCF;
  --shadow: 0 1px 2px rgba(2, 60, 82, .06), 0 12px 32px -12px rgba(2, 60, 82, .18);
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1200px;
  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --script: "Satisfy", "Brush Script MT", cursive;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(234, 223, 207, .8);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark { font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; color: var(--navy); white-space: nowrap; }
.wordmark span { color: var(--orange-strong); }
.brand-tag { font-size: .72rem; font-weight: 500; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--navy); white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--orange-soft); color: var(--orange-text); }
.nav .nav-cta { background: var(--navy); color: #fff; }
.nav .nav-cta:hover { background: var(--navy-deep); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px;
  font: 600 1rem/1.2 var(--font); text-decoration: none;
  transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(2, 60, 82, .6); }
.btn-primary svg { color: var(--orange); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-orange { background: var(--orange); color: var(--navy-deep); }
.btn-orange:hover { background: #FF8424; transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 72px) 0 clamp(80px, 10vw, 136px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-text);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); border-radius: 2px; }
.hero h1 { margin-top: 16px; font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
.hero h1 em { font-style: normal; color: var(--orange-strong); }
.hero-sub { margin-top: 20px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 32ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-media { position: relative; margin: 0; }
.hero-photo {
  position: relative; overflow: hidden;
  border-radius: 46% 28px 28px 28px / 60% 28px 28px 28px;
  aspect-ratio: 1946 / 1000;
  box-shadow: var(--shadow);
  background: #f3dcc4;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-arc { position: absolute; pointer-events: none; }
.hero-arc--orange { right: -4.5%; top: -9%; width: 34%; z-index: 1; }
.hero-arc--navy { left: -7%; bottom: -15%; width: 62%; }

.script {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.2; color: var(--navy);
}
.script span { color: var(--orange-strong); }
.hero-script { margin-top: 36px; display: inline-block; transform: rotate(-3deg); transform-origin: left bottom; }
.hero-script .underline { width: 74%; height: auto; margin: -2px 0 0 24%; color: var(--orange); }

.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 130px); z-index: 0; }

/* ---------- Pillars strip (mirrors the banner's four circled icons) ---------- */
.pillars { background: var(--navy); color: #fff; }
.pillars ul {
  list-style: none; margin: 0; padding: 28px 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
}
.pillars li { display: flex; align-items: center; gap: 14px; padding: 6px 20px; }
.pillars li + li { border-left: 1px solid rgba(255, 255, 255, .16); }
.pillars .ic { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); display: grid; place-items: center; flex-shrink: 0; color: var(--orange); }
.pillars .ic svg { width: 24px; height: 24px; }
.pillars strong { display: block; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.pillars small { display: block; font-size: .85rem; color: rgba(255, 255, 255, .78); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { margin-top: 12px; font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }

/* Our work */
.work { background: var(--cream-2); }
.product {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}
.product-body { padding: clamp(24px, 4vw, 48px); }
.product-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.product-icon { width: 68px; height: 68px; border-radius: 18px; background: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.product-icon img { width: 44px; height: 44px; }
.product h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.product .motto { font-size: .9rem; color: var(--muted); font-weight: 500; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.badge--live { background: #E3F4EA; color: #145C34; }
.badge--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1F8A4C; }
.badge--soon { background: var(--orange-soft); color: var(--orange-text); }
.product .lede { margin-top: 24px; font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 600; color: var(--navy); line-height: 1.3; }
.product .lede span { color: var(--orange-strong); }
.product .desc { margin-top: 12px; color: var(--muted); max-width: 52ch; }
.product .cta-row { margin-top: 28px; }
.product-aside {
  position: relative; background: var(--navy); color: #fff;
  padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px;
  overflow: hidden;
}
.product-aside::before {
  content: ""; position: absolute; width: 300px; height: 300px; right: -170px; bottom: -190px;
  border-radius: 50%; border: 22px solid var(--orange);
}
.product-aside ul { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.product-aside li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; line-height: 1.5; }
.product-aside li svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--orange); margin-top: 1px; }
.product-aside .aside-title { position: relative; font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }

.cards { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ring { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--navy); display: grid; place-items: center; color: var(--navy); }
.ring svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.25rem; }
.card .motto { font-size: .9rem; font-weight: 600; color: var(--orange-text); }
.card p { color: var(--muted); font-size: .97rem; }
.card .link { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--navy); text-decoration-color: var(--orange); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.card .link:hover { color: var(--orange-text); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-mark { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.about-mark .disc { aspect-ratio: 1; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; }
.about-mark .disc img { width: 72%; height: auto; }
.about-mark .tag { margin-top: 24px; text-align: center; transform: rotate(-3deg); }
.about-copy .section-head { margin-bottom: 28px; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.values li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.values .num { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-text); display: grid; place-items: center; }
.values .num svg { width: 24px; height: 24px; }
.values h3 { font-size: 1.1rem; }
.values p { margin-top: 4px; color: var(--muted); }

/* Contact */
.contact { padding-top: 0; }
.contact-card {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px);
  background: var(--navy); color: #fff;
  padding: clamp(32px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center;
}
.contact-card::before, .contact-card::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.contact-card::before { width: 520px; height: 520px; right: -200px; bottom: -330px; border: 34px solid var(--orange); }
.contact-card::after { width: 260px; height: 260px; right: 60px; top: -190px; border: 2px solid rgba(255,255,255,.18); }
.contact-card > * { position: relative; z-index: 1; }
.contact-card .eyebrow { color: #FFB27A; }
.contact-card h2 { margin-top: 12px; font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.contact-card p { margin-top: 14px; color: rgba(255,255,255,.82); max-width: 46ch; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mail-link { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 600; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; word-break: break-all; }
.mail-link svg { width: 28px; height: 28px; color: var(--orange); flex-shrink: 0; }
.mail-link:hover span { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; }
.contact-actions small { color: rgba(255,255,255,.7); font-size: .88rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--cream); padding: 40px 0 32px; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { text-decoration: none; color: var(--navy); font-weight: 500; font-size: .95rem; }
.footer-links a:hover { color: var(--orange-text); text-decoration: underline; text-underline-offset: 4px; }
.footer-meta { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); font-size: .88rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 72px 0; }
.notfound img { width: 120px; height: 120px; margin: 0 auto 20px; }
.notfound .code { font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); }
.notfound h1 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3rem); }
.notfound p { margin: 14px auto 0; color: var(--muted); max-width: 44ch; }
.notfound .cta-row { justify-content: center; }
.notfound .script { margin-top: 36px; color: var(--navy); max-width: none; transform: rotate(-3deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .pillars ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .pillars li:nth-child(3) { border-left: 0; }
  .cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cards .card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-sub { max-width: 40ch; }
  .hero-media { order: 2; margin-top: 8px; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-mark { max-width: 300px; }
  .contact-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 72px; }
  .site-header .wrap { min-height: 64px; gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .brand { gap: 8px; }
  .wordmark { font-size: 1.08rem; }
  .brand-tag { display: none; }
  .nav ul { gap: 0; }
  .nav a { padding: 8px 7px; font-size: .84rem; }
  .nav .nav-cta { padding: 8px 12px; margin-left: 2px; }
  .product-aside::before { width: 220px; height: 220px; right: -150px; bottom: -150px; border-width: 18px; }
  .contact-card::before { width: 280px; height: 280px; right: -170px; bottom: -190px; border-width: 22px; }
  .contact-card::after { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .pillars ul { grid-template-columns: minmax(0, 1fr); padding: 20px 0; row-gap: 4px; }
  .pillars li { padding: 10px 0; }
  .pillars li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 24px; }
  .hero-photo { border-radius: 38% 20px 20px 20px / 55% 20px 20px 20px; }
}
@media (max-width: 370px) {
  .wordmark { font-size: 1rem; }
  .brand img { width: 32px; height: 32px; }
  .nav a { padding: 8px 5px; font-size: .8rem; }
  .nav .nav-cta { padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover, .btn:hover { transform: none; }
}

/* Contact form */
.contact-form { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: 0 24px 48px -24px rgba(0,0,0,.45); display: grid; gap: 14px; }
.contact-form .field { display: grid; gap: 6px; }
.contact-form label { font-size: .9rem; font-weight: 600; color: var(--navy); }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream-2); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(254,112,2,.35); }
.contact-form [aria-invalid="true"] { border-color: #C2410C; }
.contact-form .field-error { margin: 0; min-height: 0; font-size: .82rem; color: #B42318; }
.contact-form .field-error:empty { display: none; }
.contact-form .btn { justify-self: start; border: 0; cursor: pointer; }
.contact-form .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-card .contact-form p { margin: 0; max-width: none; }
.form-status { font-size: .92rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { color: #1E6B3A; }
.form-status.bad { color: #B42318; }
.contact-card .contact-form .form-alt { font-size: .85rem; color: var(--muted); }
.form-alt a { color: var(--orange-text); font-weight: 600; }
@media (max-width: 560px) { .contact-form .btn { justify-self: stretch; } }

/* Images can't be dragged out of the page */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
