/*
Theme Name: Dr. Shweta Agarwal Portfolio
Theme URI: https://www.alliedmedicalcenter.net
Author: Antigravity
Author URI: https://github.com/google-deepmind
Description: A professional, premium, and pixel-perfect portfolio theme for Dr. Shweta Agarwal, Consultant Breast Radiologist.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-shweta-agarwal
*/

:root {
  --blush: #F8E8EC;
  --rose: #E8B4C4;
  --rose-deep: #C4899A;
  --rosegold: #C9A08D;
  --charcoal: #2E2A2C;
  --ink-soft: #7A6E72;
  --ivory: #FCFAF7;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', -apple-system, sans-serif;
  --maxw: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
}

.label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.rule {
  border: none;
  height: 1px;
  width: 64px;
  margin: 24px 0;
  background: linear-gradient(90deg, var(--rosegold), var(--rose) 65%, transparent);
}

.rule.center {
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, transparent, var(--rosegold) 35%, var(--rose) 65%, transparent);
}

.btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 999px;
  color: var(--charcoal);
  background: linear-gradient(120deg, var(--blush), var(--rose));
  transition: box-shadow .4s, transform .4s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -18px rgba(196, 137, 154, .65);
}

.btn.line {
  background: transparent;
  border: 1px solid var(--rose-deep);
  color: var(--rose-deep);
}

.btn.line:hover {
  background: var(--blush);
  box-shadow: none;
  color: var(--charcoal);
}

.textlink {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--rose-deep);
  border-bottom: 1px solid var(--rose);
  padding-bottom: 7px;
  transition: letter-spacing .4s ease, color .3s;
}

.textlink:hover {
  letter-spacing: .34em;
  color: var(--charcoal);
}

.textlink.onDark {
  color: var(--rose);
  border-bottom-color: rgba(232, 180, 196, .5);
}

.textlink.onDark:hover {
  color: #fff;
}

/* ---------- nav ---------- */
nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: rgba(252, 250, 247, .85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 160, 141, .22);
}

.nav-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 44px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .03em;
}

.wordmark em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose-deep);
}

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

.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .3s;
}

.nav-links a:hover {
  color: var(--rose-deep);
}

.nav-links .btn {
  padding: 12px 26px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}

.hero-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px 60px 90px calc(max(44px, (100vw - var(--maxw)) / 2 + 44px));
  background: linear-gradient(135deg, var(--white) 0%, var(--blush) 78%, var(--rose) 160%);
}

.hero-left h1 {
  font-size: clamp(50px, 5.8vw, 80px);
  letter-spacing: .005em;
}

.hero-left h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose-deep);
}

.hero-sub {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 2.1;
}

.philosophy {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  color: var(--charcoal);
}

.philosophy .dot {
  color: var(--rose-deep);
}

.hero-cta {
  margin-top: 44px;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: #DDD7D3;
}

.hero-photo {
  position: absolute;
  top: -6%;
  left: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(1);
  will-change: transform;
  display: block;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: .45;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.duotone {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(248, 232, 236, .22), rgba(232, 180, 196, .30));
  mix-blend-mode: multiply;
}

.hero-right .caption {
  position: absolute;
  left: 34px;
  bottom: 28px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 9.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--rose-deep), transparent);
}

/* ---------- about strip ---------- */
.about {
  padding: 130px 0;
}

.about-card {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 70px 78px;
  background: var(--white);
  border: 1px solid rgba(201, 160, 141, .45);
  text-align: center;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(232, 180, 196, .35);
  pointer-events: none;
}

.about-card h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  margin-top: 18px;
}

.about-card h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose-deep);
}

.about-card p {
  margin-top: 22px;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.about-card strong {
  font-weight: 500;
  color: var(--charcoal);
}

/* ---------- expertise ---------- */
.expertise {
  padding: 40px 0 130px;
}

.sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 70px;
}

.sec-head h2 {
  font-size: clamp(32px, 3.8vw, 46px);
  margin-top: 16px;
}

.sec-head h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose-deep);
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.exp {
  background: var(--white);
  border: 1px solid rgba(232, 180, 196, .4);
  padding: 46px 32px 42px;
  text-align: center;
  transition: box-shadow .45s, transform .45s, border-color .45s;
}

.exp:hover {
  transform: translateY(-6px);
  border-color: var(--rose);
  box-shadow: 0 0 0 6px rgba(248, 232, 236, .55), 0 28px 60px -30px rgba(196, 137, 154, .5);
}

.exp .icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 26px;
  color: var(--rose-deep);
}

.exp .icon svg {
  width: 100%;
  height: 100%;
}

.exp h3 {
  font-size: 21.5px;
  line-height: 1.25;
}

.exp p {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ---------- screening ---------- */
.screening {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: rgba(255, 255, 255, .85);
  padding: 150px 0;
  text-align: center;
}

.scan-bg {
  position: absolute;
  inset: 0;
  opacity: .5;
  pointer-events: none;
}

.screening .duotone {
  background: linear-gradient(160deg, rgba(196, 137, 154, .28), rgba(46, 42, 44, .1));
  mix-blend-mode: screen;
  opacity: .5;
}

.screening .inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 44px;
}

.screening .label {
  color: var(--rose);
}

.stat {
  font-family: var(--serif);
  font-size: clamp(84px, 11vw, 150px);
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  margin-top: 34px;
}

.stat sup {
  font-size: .32em;
  color: var(--rose);
  font-style: italic;
  vertical-align: super;
}

.stat-lbl {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rose);
}

.screening p.copy {
  margin-top: 34px;
  color: rgba(255, 255, 255, .65);
  font-size: 15px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.screening .btn {
  margin-top: 44px;
  background: transparent;
  border: 1px solid var(--rose);
  color: var(--rose);
}

.screening .btn:hover {
  background: rgba(232, 180, 196, .12);
  box-shadow: none;
}

/* ---------- credentials bar ---------- */
.creds {
  background: var(--white);
  border-top: 1px solid rgba(201, 160, 141, .3);
  border-bottom: 1px solid rgba(201, 160, 141, .3);
  padding: 34px 0;
}

.creds-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 44px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 0;
}

.creds span {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.creds .sep {
  width: 1px;
  height: 16px;
  margin: 0 30px;
  background: linear-gradient(180deg, transparent, var(--rosegold), transparent);
}

/* ---------- pull quote ---------- */
.quote {
  padding: 160px 0;
  text-align: center;
  background: var(--ivory);
}

.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.8vw, 44px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  max-width: 820px;
  margin: 36px auto 0;
  color: var(--charcoal);
}

.quote blockquote em {
  color: var(--rose-deep);
}

.quote .attr {
  margin-top: 32px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- footer ---------- */
footer {
  background: var(--white);
  border-top: 1px solid rgba(201, 160, 141, .3);
  padding: 100px 0 44px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 56px;
}

.foot-brand .wordmark {
  font-size: 28px;
}

.foot-brand p {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 32ch;
}

.ribbon-mark {
  width: 30px;
  height: 44px;
  margin-top: 26px;
  color: var(--rose-deep);
  opacity: .85;
}

.ribbon-mark svg {
  width: 100%;
  height: 100%;
}

footer h4 {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--rosegold);
  margin-bottom: 22px;
}

footer li {
  list-style: none;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

footer li a {
  transition: color .3s;
}

footer li a:hover {
  color: var(--rose-deep);
}

.foot-bottom {
  margin-top: 80px;
  padding-top: 26px;
  border-top: 1px solid rgba(232, 180, 196, .35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: #B4A8AC;
}

.socials {
  display: flex;
  gap: 22px;
}

.socials a {
  width: 19px;
  height: 19px;
  color: var(--rosegold);
  transition: color .3s;
}

.socials a:hover {
  color: var(--rose-deep);
}

.socials svg {
  width: 100%;
  height: 100%;
}

/* ---------- screening photo layer ---------- */
.scan-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
  opacity: .24;
}

/* ---------- gallery ---------- */
.gallery {
  padding: 130px 0;
  background: var(--white);
}

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

.gal-item {
  position: relative;
  overflow: hidden;
  background: #E8E3E0;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
  transition: transform 1.4s cubic-bezier(.2, .6, .2, 1), filter .9s ease;
}

.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(248, 232, 236, .16), rgba(232, 180, 196, .26));
  mix-blend-mode: multiply;
  transition: opacity .9s ease;
}

.gal-item:hover img {
  transform: scale(1.045);
  filter: grayscale(.15);
}

.gal-item:hover::after {
  opacity: .45;
}

.gal-item .tag {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 2;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}

.gal-item.tall {
  grid-row: span 2;
}

.gal-item.wide {
  grid-column: span 2;
}

.gal-item.full {
  grid-column: 1 / -1;
}

.gal-note {
  margin-top: 34px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

/* ---------- journey timeline ---------- */
.journey {
  padding: 40px 0 130px;
}

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 52px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--rose), var(--rosegold) 55%, transparent);
}

.milestone {
  position: relative;
  padding-bottom: 56px;
}

.milestone:last-child {
  padding-bottom: 0;
}

.milestone::before {
  content: "";
  position: absolute;
  left: -48px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--rose-deep);
}

.milestone .year {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--rose-deep);
  letter-spacing: .06em;
}

.milestone h3 {
  font-size: 23px;
  margin-top: 4px;
}

.milestone p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- speaking ---------- */
.speaking {
  padding: 130px 0;
  background: var(--ivory);
}

.topics {
  max-width: 820px;
  margin: 0 auto;
}

.topic {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 34px;
  align-items: baseline;
  padding: 38px 8px;
  border-bottom: 1px solid rgba(201, 160, 141, .35);
  transition: padding-left .4s ease, background .4s;
}

.topic:first-child {
  border-top: 1px solid rgba(201, 160, 141, .35);
}

.topic:hover {
  padding-left: 22px;
  background: rgba(248, 232, 236, .35);
}

.topic .no {
  font-family: var(--serif);
  font-size: 34px;
  font-style: italic;
  font-weight: 400;
  color: var(--rose);
  line-height: 1;
}

.topic h3 {
  font-size: 23px;
}

.topic p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 60ch;
}

.speak-cta {
  text-align: center;
  margin-top: 56px;
}

/* ---------- about signature ---------- */
.signature {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
  color: var(--rose-deep);
}

/* ---------- motion ---------- */
.fade {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s ease, transform 1s ease;
}

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

.fade.d1 {
  transition-delay: .12s;
}

.fade.d2 {
  transition-delay: .24s;
}

.fade.d3 {
  transition-delay: .36s;
}

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

  html {
    scroll-behavior: auto;
  }

  .hero-photo {
    transform: none !important;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-left {
    padding: 150px 44px 80px;
  }

  .hero-right {
    height: 66vh;
    min-height: 420px;
  }

  .scroll-hint {
    display: none;
  }

  .exp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .gal-item.wide {
    grid-column: span 2;
  }

  .gal-item.tall {
    grid-row: span 2;
  }

  .about-card {
    padding: 56px 40px;
  }
}

@media (max-width: 620px) {
  .wrap, .nav-in, .creds-in {
    padding-left: 26px;
    padding-right: 26px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .exp-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .gal-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .gal-item.tall, .gal-item.wide, .gal-item.full {
    grid-row: auto;
    grid-column: auto;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-left {
    padding: 130px 26px 70px;
  }

  .creds .sep {
    margin: 0 18px;
  }
}
