
:root {
  --blue: #bcd7f5;
  --blue-soft: #ddebfb;
  --blue-deep: #9dc2ec;
  --cream: #fffaf6;
  --cream-deep: #f8efe9;
  --peach: #f8c6b7;
  --coral: #ef9e86;
  --ink: #191919;
  --muted: #666464;
  --line: rgba(25, 25, 25, 0.10);
  --white: #ffffff;
  --shadow-soft: 0 20px 60px rgba(79, 98, 124, 0.12);
  --shadow-card: 0 22px 64px rgba(89, 99, 122, 0.15);
  --serif: "Playfair Display", serif;
  --sans: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea { font: inherit; }

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

.container {
  width: min(90%, 1180px);
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 246, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(188, 215, 245, 0.7);
  border-radius: 24px;
  padding: 10px 16px;
  box-shadow: 0 10px 30px rgba(157, 194, 236, 0.18);
}

.brand img {
  width: 94px;
  height: auto;
  display: block;
}

.footer-brand {
  background: rgba(255,255,255,0.55);
}

.footer-brand img {
  width: 110px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
  border-radius: 999px;
}

/* TYPOGRAPHY */

.eyebrow,
.section-label,
.project-type {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow,
.section-label,
.project-type {
  color: var(--coral);
}

.hero h1,
section h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.98;
}

section { padding: 116px 0; }

/* HERO */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 110px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 12%, rgba(188, 215, 245, 0.33), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(248, 198, 183, 0.36), transparent 26%),
    linear-gradient(135deg, var(--cream) 0%, #fcf4ee 52%, #edf6ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(188, 215, 245, 0.23);
  left: -90px;
  bottom: -120px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(248, 198, 183, 0.20);
  right: -90px;
  top: -80px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3.7rem, 8vw, 6.7rem);
  margin: 22px 0 24px;
  max-width: 780px;
}

.hero h1 em {
  display: block;
  font-style: italic;
  color: #6f95c0;
}

.hero-text {
  max-width: 610px;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.pill {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(188, 215, 245, 0.7);
  color: #5f84ae;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--ink);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}

.btn-dark:hover {
  background: #6f95c0;
  border-color: #6f95c0;
}

.btn-light {
  background: rgba(255,255,255,0.58);
  border-color: rgba(25,25,25,0.18);
}

.btn-light:hover {
  background: var(--white);
}

.btn-cream {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn-cream:hover {
  background: var(--blue);
  color: var(--ink);
  border-color: var(--blue);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-logo-card {
  position: absolute;
  inset: 0 10% 12% 8%;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(188, 215, 245, 0.7);
  border-radius: 38px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.hero-logo-card img {
  width: 72%;
  max-width: 290px;
}

.graphic {
  position: absolute;
  user-select: none;
  pointer-events: none;
}

.graphic-wave {
  width: 240px;
  right: -10px;
  bottom: 8px;
}

.graphic-shell {
  width: 90px;
  right: 8%;
  top: 10%;
}

.graphic-sparkle {
  width: 64px;
  left: 4%;
  top: 4%;
}

.graphic-palm {
  width: 150px;
  left: -20px;
  bottom: 2%;
  opacity: 0.9;
}

/* MARQUEE */

.marquee {
  border-top: 1px solid rgba(25,25,25,0.08);
  border-bottom: 1px solid rgba(25,25,25,0.08);
  overflow: hidden;
  padding: 16px 0;
  background: linear-gradient(90deg, #cfe2f8 0%, #f9d3c7 100%);
}

.marquee-track {
  width: max-content;
  display: flex;
  gap: 48px;
  animation: scroll 24s linear infinite;
}

.marquee-track span {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.16em;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* INTRO */

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

.intro-inner {
  max-width: 850px;
  text-align: center;
}

.intro h2 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  margin: 18px 0 26px;
}

.intro p:last-child {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
}

/* SECTION HEAD */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 58px;
}

.section-head h2 {
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  max-width: 770px;
  margin-top: 14px;
}

.section-note {
  max-width: 330px;
  color: var(--muted);
}

/* SERVICES */

.services {
  background: linear-gradient(180deg, #eff6fe 0%, #fbf5ef 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 360px;
  padding: 32px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(188, 215, 245, 0.65);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.service-card:nth-child(2) {
  border-color: rgba(248, 198, 183, 0.65);
}

.service-card:nth-child(3) {
  background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(234, 244, 255, 0.88));
}

.service-icon {
  width: 52px;
  margin-bottom: 16px;
}

.service-num {
  color: #6f95c0;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.service-card h3,
.project-card h3 {
  font-family: var(--serif);
  font-weight: 600;
}

.service-card h3 {
  font-size: 1.95rem;
  line-height: 1.06;
  margin-bottom: 14px;
}

.service-card p:last-child {
  color: var(--muted);
}

/* WORK */

.work {
  background: linear-gradient(180deg, #fffaf6 0%, #f1f7fe 100%);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.project-card {
  padding: 16px;
  border-radius: 30px;
  background: rgba(255,255,255,0.84);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(188, 215, 245, 0.45);
}

.project-image {
  min-height: 460px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.project-image-dental {
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.70), transparent 22%),
    linear-gradient(145deg, #c4daf5, #eaf3ff);
}

.project-image-pilates {
  background:
    radial-gradient(circle at 70% 25%, rgba(255,255,255,0.75), transparent 24%),
    linear-gradient(145deg, #fbdad0, #fff0ea);
}

.project-tag {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(6px);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-mark {
  position: absolute;
  right: 18px;
  bottom: -12px;
  font-family: var(--serif);
  font-size: clamp(6rem, 14vw, 10rem);
  opacity: 0.18;
  color: #5f84ae;
}

.project-copy {
  padding: 24px 8px 10px;
}

.project-card h3 {
  font-size: 2.15rem;
  margin: 8px 0 10px;
}

.project-card p:last-child,
.work-cta p {
  color: var(--muted);
}

.work-cta {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(25,25,25,0.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.work-cta a,
.text-link {
  font-weight: 700;
  color: #6f95c0;
}

/* ABOUT */

.about {
  background: linear-gradient(135deg, #edf6ff 0%, #fff7f1 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 90px;
  align-items: center;
}

.portrait-wrap {
  position: relative;
}

.portrait-card {
  padding: 18px;
  background: rgba(255,255,255,0.75);
  border-radius: 34px;
  border: 1px solid rgba(188, 215, 245, 0.7);
  box-shadow: var(--shadow-card);
}

.portrait-photo {
  width: 100%;
  border-radius: 26px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.about-accent {
  position: absolute;
  pointer-events: none;
}

.about-shell {
  width: 88px;
  right: -24px;
  bottom: 14%;
}

.about-sparkle {
  width: 58px;
  left: -18px;
  top: 6%;
}

.about-copy h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  margin: 16px 0 26px;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 590px;
}

/* CONTACT */

.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(188,215,245,0.16), transparent 24%),
    radial-gradient(circle at 84% 80%, rgba(248,198,183,0.14), transparent 22%),
    #141414;
  color: var(--cream);
  text-align: center;
}

.contact::before,
.contact::after {
  content: "✦";
  position: absolute;
  color: var(--coral);
  opacity: 0.7;
  font-size: 2rem;
}

.contact::before {
  left: 9%;
  top: 18%;
}

.contact::after {
  right: 11%;
  bottom: 16%;
}

.contact .section-label {
  color: var(--peach);
}

.contact-inner { max-width: 850px; }

.contact h2 {
  font-size: clamp(2.9rem, 6vw, 5.7rem);
  margin: 18px 0 26px;
}

.contact p:not(.section-label) {
  max-width: 620px;
  margin: 0 auto 34px;
  color: #d7d1cc;
}

/* FOOTER */

.footer {
  padding: 54px 0;
  background: linear-gradient(180deg, #fef8f4 0%, #edf5ff 100%);
  border-top: 1px solid rgba(25,25,25,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 30px;
}

.footer-grid p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.86rem;
}

.footer-links,
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
}

.footer-links a:hover { color: #6f95c0; }

.footer-meta { text-align: right; }
.footer-meta p { margin: 0; }

/* RESPONSIVE */

@media (max-width: 980px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .services-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta {
    text-align: left;
  }
}

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

  .nav-links {
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 5%;
    background: rgba(255, 250, 246, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open { display: flex; }

  .brand {
    padding: 8px 12px;
    border-radius: 20px;
  }

  .brand img { width: 78px; }
  .footer-brand img { width: 92px; }

  .hero {
    min-height: auto;
    padding-top: 88px;
  }

  .hero h1 { font-size: clamp(3.15rem, 16vw, 4.8rem); }

  section { padding: 88px 0; }

  .hero-visual {
    min-height: 390px;
  }

  .hero-logo-card {
    inset: 0 6% 14% 6%;
    padding: 18px;
  }

  .graphic-wave {
    width: 170px;
    right: 0;
  }

  .graphic-shell {
    width: 64px;
    right: 10%;
  }

  .graphic-palm {
    width: 105px;
    left: -8px;
  }

  .project-image {
    min-height: 340px;
  }

  .work-cta {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* PREMIUM PORTFOLIO */

.portfolio-head {
  margin-bottom: 68px;
}

.portfolio-grid {
  display: grid;
  gap: 42px;
}

.case-study {
  overflow: hidden;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(188, 215, 245, 0.55);
  box-shadow: var(--shadow-card);
}

.case-study-featured {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 680px;
}

.case-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.case-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-featured .case-media > img {
  object-position: center;
}

.case-overlay {
  position: absolute;
  inset: 20px 20px auto 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.case-index,
.case-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(25, 25, 25, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-index {
  color: #6f95c0;
}

.case-status {
  color: var(--coral);
}

.case-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.case-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6fe;
  color: #5f84ae;
  font-size: 0.72rem;
  font-weight: 700;
}

.case-meta span:nth-child(even) {
  background: #fff0ea;
  color: #c97963;
}

.case-study h3 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1;
  margin-bottom: 20px;
}

.case-intro {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 620px;
}

.case-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid rgba(25, 25, 25, 0.08);
}

.case-label {
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.case-details p:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.case-study-solflo {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  grid-template-rows: auto auto;
}

.case-content-top {
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-content: center;
}

.case-media-logo {
  grid-column: 2;
  grid-row: 1;
  min-height: 420px;
  padding: 36px;
  background:
    radial-gradient(circle at 80% 20%, rgba(188, 215, 245, 0.36), transparent 28%),
    linear-gradient(145deg, #eef6ff, #fff7f2);
}

.logo-stage {
  height: 100%;
  min-height: 348px;
  display: grid;
  place-items: center;
  padding: 42px;
  border-radius: 26px;
  background: #5a5a5a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.logo-stage img {
  width: min(74%, 330px);
  height: auto;
  border-radius: 50%;
}

.case-content-bottom {
  grid-column: 2;
  grid-row: 2;
  padding-top: 16px;
}

.case-content-bottom .case-details {
  margin-top: 0;
}

.portfolio-footer {
  margin-top: 46px;
  padding: 30px 0 0;
  border-top: 1px solid rgba(25,25,25,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.portfolio-footer-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1.1;
  margin-bottom: 6px;
}

.portfolio-footer p:last-child {
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.contact-email {
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-email:hover {
  color: var(--peach);
}

.footer-meta a {
  color: var(--muted);
}

.footer-meta a:hover {
  color: #6f95c0;
}

@media (max-width: 980px) {
  .case-study-featured {
    grid-template-columns: 1fr;
  }

  .case-study-solflo {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .case-content-top {
    grid-column: 1;
    grid-row: 1;
  }

  .case-media-logo {
    grid-column: 1;
    grid-row: 2;
  }

  .case-content-bottom {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (max-width: 720px) {
  .case-media {
    min-height: 360px;
  }

  .case-content {
    padding: 30px 24px;
  }

  .case-details {
    grid-template-columns: 1fr;
  }

  .portfolio-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .logo-stage {
    min-height: 280px;
    padding: 28px;
  }
}
