/*
Theme Name: Sherif Studio
Theme URI: https://sherif-wp.objectsdev.com
Author: Objects
Description: A custom starter theme for the Sherif website.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: sherif-studio
*/

:root {
  --page-bg: #eef4f8;
  --panel-bg: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(247, 250, 252, 0.98);
  --panel-soft: rgba(9, 81, 134, 0.06);
  --text-main: #102334;
  --text-soft: #50697d;
  --text-faint: #73879a;
  --accent: #0b7dd8;
  --accent-strong: #5eb4ff;
  --line: rgba(16, 35, 52, 0.1);
  --shadow: 0 24px 70px rgba(38, 81, 115, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 15% 18%, rgba(94, 180, 255, 0.22), transparent 26%),
    radial-gradient(circle at 86% 14%, rgba(11, 125, 216, 0.16), transparent 22%),
    linear-gradient(180deg, #f5f9fc 0%, #eef4f8 52%, #e7f0f6 100%);
}

a {
  color: inherit;
}

.page-frame {
  position: relative;
  min-height: 100vh;
  max-width: 1280px;
  margin: 0 auto;
  padding: 26px 18px 54px;
}

.page-grid {
  position: absolute;
  border-radius: 28px;
  border: 1px solid rgba(11, 125, 216, 0.08);
  background-image:
    linear-gradient(rgba(11, 125, 216, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 125, 216, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.4;
  pointer-events: none;
}

.page-grid-left {
  top: 120px;
  left: -10px;
  width: 240px;
  height: 240px;
}

.page-grid-right {
  top: 260px;
  right: 0;
  width: 260px;
  height: 260px;
}

.topbar,
.hero-stage,
.story-band,
.cards-section,
.site-footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-monogram {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--accent), #085b9d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}

.brand-copy strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-copy small,
.lead,
.feature-card p,
.story-card p,
.info-panel p,
.site-footer p {
  color: var(--text-soft);
}

.header-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.header-nav a {
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--text-main);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy,
.hero-composition,
.story-card,
.info-panel,
.site-footer {
  border: 1px solid var(--line);
  background: var(--panel-bg);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
  border-radius: var(--radius-xl);
}

.eyebrow,
.card-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(11, 125, 216, 0.08);
  color: #0d6cba;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 11ch;
  margin: 18px 0 20px;
  font-size: clamp(3rem, 6.2vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 58ch;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-actions a:hover,
.hero-actions a:focus-visible {
  transform: translateY(-2px);
}

.primary-link {
  background: linear-gradient(135deg, var(--accent), #075d9f);
  color: #f7fbff;
}

.secondary-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 36px 0 0;
}

.hero-metrics div {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.55);
}

.hero-metrics dt {
  color: var(--text-faint);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-metrics dd {
  margin: 10px 0 0;
  font-size: 1.05rem;
}

.hero-composition {
  padding: 22px;
  border-radius: var(--radius-xl);
  display: grid;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 50%),
    var(--panel-strong);
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.66);
}

.feature-card h2,
.feature-card h3,
.story-card h3,
.info-panel h3 {
  margin: 14px 0 10px;
}

.feature-card-primary {
  padding: 28px;
  min-height: 280px;
  background:
    linear-gradient(145deg, rgba(11, 125, 216, 0.14), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.78);
}

.feature-card-primary h2 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1;
}

.composition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.accent-card {
  background:
    radial-gradient(circle at top right, rgba(94, 180, 255, 0.18), transparent 38%),
    rgba(255, 255, 255, 0.72);
}

.story-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  margin-top: 24px;
}

.story-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.story-card-quote {
  display: grid;
  align-items: end;
  min-height: 220px;
  background:
    linear-gradient(150deg, rgba(11, 125, 216, 0.12), rgba(255, 255, 255, 0.72)),
    var(--panel-bg);
}

.story-card-quote p {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: var(--text-main);
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.9;
}

.cards-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.info-panel {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
}

.info-panel span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 125, 216, 0.08);
  color: #0d6cba;
  font-size: 0.9rem;
}

.site-footer {
  margin-top: 24px;
  padding: 18px 24px;
  border-radius: 999px;
  text-align: center;
}

@media (max-width: 980px) {
  .hero-stage,
  .story-band,
  .cards-section,
  .composition-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 34px 24px;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .page-frame {
    padding: 16px 12px 34px;
  }

  .topbar {
    align-items: flex-start;
    border-radius: 30px;
    flex-direction: column;
  }

  .header-nav {
    gap: 14px;
  }

  .hero-actions a {
    width: 100%;
  }
}
