/*
Theme Name: Ashmita Architecture
Theme URI: https://ashmita.easy-pg.com/
Author: Codex
Description: A minimal, project-led architecture portfolio theme for Ashmita Verma.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: ashmita-architecture
*/

:root {
  --av-bg: #f8f7f3;
  --av-paper: #ffffff;
  --av-ink: #151515;
  --av-muted: #6e6b64;
  --av-line: #ded9cf;
  --av-soft: #ede8df;
  --av-accent: #8b6f4d;
  --av-accent-dark: #4e432f;
  --av-green: #2d5c52;
  --av-max: 1240px;
  --av-gutter: clamp(18px, 4vw, 56px);
  --av-serif: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --av-sans: Inter, Manrope, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--av-ink);
  background: var(--av-bg);
  font-family: var(--av-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.av-shell {
  width: min(var(--av-max), calc(100% - (var(--av-gutter) * 2)));
  margin: 0 auto;
}

.av-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 243, 0.88);
  border-bottom: 1px solid rgba(21, 21, 21, 0.1);
  backdrop-filter: blur(18px);
}

.av-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 32px;
}

.av-brand {
  display: grid;
  gap: 1px;
  text-decoration: none;
}

.av-brand__name {
  font-family: var(--av-serif);
  font-size: 27px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.av-brand__role {
  color: var(--av-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.av-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.av-menu a {
  color: var(--av-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.av-menu a:hover,
.av-menu .current-menu-item > a {
  color: var(--av-ink);
}

.av-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  min-height: calc(100vh - 78px);
  border-bottom: 1px solid var(--av-line);
}

.av-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 9vw, 120px) var(--av-gutter);
}

.av-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--av-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.av-kicker::before {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
}

.av-hero h1,
.av-display {
  margin: 0;
  font-family: var(--av-serif);
  font-weight: 400;
  font-size: clamp(58px, 8.6vw, 132px);
  line-height: 0.88;
  letter-spacing: 0;
}

.av-hero__lead {
  max-width: 590px;
  margin: 34px 0 0;
  color: var(--av-muted);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.7;
}

.av-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.av-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--av-ink);
  border-radius: 0;
  background: var(--av-ink);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.av-button--ghost {
  background: transparent;
  color: var(--av-ink);
}

.av-hero__visual {
  position: relative;
  min-height: 560px;
  background: var(--av-soft);
  overflow: hidden;
}

.av-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.av-hero__visual--empty {
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(21, 21, 21, 0.16) 49% 50%, transparent 50%),
    linear-gradient(0deg, transparent 0 49%, rgba(21, 21, 21, 0.16) 49% 50%, transparent 50%),
    linear-gradient(135deg, transparent 0 54%, rgba(139, 111, 77, 0.2) 54% 55%, transparent 55%),
    var(--av-soft);
  background-size: 120px 120px, 120px 120px, 100% 100%, 100% 100%;
}

.av-hero__caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.55);
}

.av-hero__visual--empty .av-hero__caption {
  color: var(--av-muted);
  text-shadow: none;
}

.av-section {
  padding: clamp(76px, 10vw, 132px) 0;
  border-bottom: 1px solid var(--av-line);
}

.av-section--paper {
  background: var(--av-paper);
}

.av-section-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(36px, 6vw, 72px);
}

.av-section-title {
  margin: 0;
  font-family: var(--av-serif);
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: 0;
}

.av-section-text {
  margin: 0;
  color: var(--av-muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.75;
}

.av-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--av-line);
  border: 1px solid var(--av-line);
}

.av-project-card {
  display: grid;
  background: var(--av-bg);
  color: var(--av-ink);
  text-decoration: none;
}

.av-project-card__image {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(21, 21, 21, 0.14) 49% 50%, transparent 50%),
    linear-gradient(0deg, transparent 0 49%, rgba(21, 21, 21, 0.14) 49% 50%, transparent 50%),
    var(--av-soft);
  background-size: 88px 88px;
  overflow: hidden;
}

.av-project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.av-project-card:hover img {
  transform: scale(1.035);
}

.av-project-card__body {
  padding: 24px;
  min-height: 182px;
}

.av-project-card__meta,
.av-meta-line {
  color: var(--av-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.av-project-card h3 {
  margin: 12px 0 12px;
  font-family: var(--av-serif);
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
}

.av-project-card p {
  margin: 0;
  color: var(--av-muted);
  line-height: 1.65;
}

.av-practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--av-line);
  border-left: 1px solid var(--av-line);
}

.av-practice-item {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--av-line);
  border-bottom: 1px solid var(--av-line);
}

.av-practice-item span {
  color: var(--av-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.av-practice-item h3 {
  margin: 58px 0 16px;
  font-family: var(--av-serif);
  font-size: 31px;
  line-height: 1;
  font-weight: 400;
}

.av-practice-item p {
  margin: 0;
  color: var(--av-muted);
}

.av-profile-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: start;
}

.av-profile-card {
  position: sticky;
  top: 112px;
  padding: 30px;
  border: 1px solid var(--av-line);
  background: var(--av-bg);
}

.av-profile-card__name {
  margin: 0;
  font-family: var(--av-serif);
  font-size: 44px;
  line-height: 0.95;
  font-weight: 400;
}

.av-profile-card__text {
  margin: 22px 0 0;
  color: var(--av-muted);
}

.av-timeline {
  border-top: 1px solid var(--av-line);
}

.av-timeline__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--av-line);
}

.av-timeline__date {
  color: var(--av-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.av-timeline h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.av-timeline p {
  margin: 0;
  color: var(--av-muted);
}

.av-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.av-skill {
  padding: 10px 13px;
  border: 1px solid var(--av-line);
  background: var(--av-paper);
  color: var(--av-accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.av-contact-band {
  background: var(--av-ink);
  color: #fff;
  padding: clamp(70px, 10vw, 126px) 0;
}

.av-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(40px, 7vw, 98px);
  align-items: end;
}

.av-contact-band .av-kicker,
.av-contact-band .av-section-text {
  color: rgba(255, 255, 255, 0.72);
}

.av-contact-band .av-section-title {
  color: #fff;
}

.av-contact-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.av-contact-list a,
.av-contact-list span {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.av-contact-list small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.av-site-footer {
  padding: 26px 0;
  background: var(--av-ink);
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.av-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 24px;
}

.av-page-header {
  padding: clamp(70px, 9vw, 124px) 0 clamp(42px, 7vw, 82px);
  border-bottom: 1px solid var(--av-line);
}

.av-page-header h1 {
  margin: 0;
  font-family: var(--av-serif);
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.92;
  font-weight: 400;
}

.av-content {
  padding: clamp(54px, 8vw, 96px) 0;
}

.av-content :where(p, ul, ol) {
  max-width: 760px;
}

.av-project-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  min-height: calc(100vh - 78px);
  border-bottom: 1px solid var(--av-line);
}

.av-project-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 8vw, 110px) var(--av-gutter);
}

.av-project-hero__copy h1 {
  margin: 20px 0 0;
  font-family: var(--av-serif);
  font-size: clamp(48px, 6.4vw, 102px);
  line-height: 0.92;
  font-weight: 400;
}

.av-project-hero__image {
  background: var(--av-soft);
}

.av-project-hero__image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.av-project-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--av-line);
  background: var(--av-paper);
}

.av-project-fact {
  padding: 22px;
  border-right: 1px solid var(--av-line);
}

.av-project-fact small {
  display: block;
  color: var(--av-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.av-project-fact strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
}

@media (max-width: 960px) {
  .av-header-inner {
    min-height: 70px;
  }

  .av-menu {
    display: none;
  }

  .av-hero,
  .av-section-head,
  .av-profile-grid,
  .av-contact-grid,
  .av-project-hero {
    grid-template-columns: 1fr;
  }

  .av-hero__copy {
    min-height: 58vh;
  }

  .av-project-grid,
  .av-practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .av-profile-card {
    position: static;
  }

  .av-project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .av-brand__name {
    font-size: 23px;
  }

  .av-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .av-project-grid,
  .av-practice-grid,
  .av-project-facts {
    grid-template-columns: 1fr;
  }

  .av-project-card__body,
  .av-practice-item {
    padding: 20px;
  }

  .av-practice-item {
    min-height: 220px;
  }

  .av-timeline__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .av-footer-inner,
  .av-contact-list a,
  .av-contact-list span {
    display: block;
  }

  .av-contact-list small {
    display: block;
    margin-bottom: 6px;
  }
}
