:root {
  --navy: #162b6f;
  --ink: #1a1a1a;
  --charcoal: #2d2d2d;
  --cyan: #4dc9e6;
  --sky: #89cff0;
  --mist: #a8d5e2;
  --peach: #f4b29b;
  --coral: #f29c6b;
  --cream: #f5e6d3;
  --blush: #e8b4d9;
  --paper: #fffaf6;
  --white: #ffffff;
  --muted: #4a4a4a;
  --shadow: 0 16px 36px rgba(45, 45, 45, 0.12);
  --site-width: 1180px;
  --header-height: 86px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Assistant", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral);
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(var(--site-width), calc(100% - 48px));
  margin: 0 auto;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}

.brand-text {
  font-family: "Bodoni Moda", "Fraunces", serif;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav ul {
  display: flex;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.55rem 1rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--cyan);
  color: var(--ink);
}

.hero-band {
  background: linear-gradient(90deg, var(--mist) 0%, var(--peach) 58%, var(--coral) 100%);
}

.hero {
  width: min(1400px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) 1.05fr;
  min-height: 640px;
}

.hero-card {
  background: rgba(255, 250, 246, 0.94);
  margin: 4.5rem 0 4.5rem 8%;
  padding: 3rem 2.6rem 2.6rem;
  align-self: center;
  box-shadow: var(--shadow);
}

.hero-card h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin-bottom: 0.85rem;
}

.hero-lede {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.45;
  margin-bottom: 1.2rem;
}

.credential-list {
  list-style: disc;
  margin: 0 0 1.6rem 1.1rem;
  padding: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
}

.hero-photo {
  min-height: 520px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 0.72rem 1.4rem;
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--charcoal);
  cursor: pointer;
  font-family: "Assistant", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

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

.btn-coral {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
}

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

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

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.hero-socials {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.hero-socials a,
.inline-socials a {
  color: var(--ink);
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}

.hero-socials svg,
.inline-socials svg,
.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.about-band {
  background: linear-gradient(90deg, var(--sky) 0%, #cfe9f6 45%, var(--paper) 100%);
}

.about {
  width: min(1400px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 620px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center 30%;
}

.about-card {
  background: rgba(255, 250, 246, 0.95);
  margin: 4rem 8% 4rem 0;
  padding: 2.6rem 2.4rem;
  align-self: center;
  box-shadow: var(--shadow);
}

.about-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1.1rem;
}

.about-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.section {
  width: min(var(--site-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 3.6rem 0 4.4rem;
}

.section-title {
  font-size: clamp(2.3rem, 5vw, 3.3rem);
  margin-bottom: 1.6rem;
}

.section-title.center {
  text-align: center;
}

.featured-wrap {
  background: var(--white);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid #e6e6e6;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.feature-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.feature-card .card-body {
  padding: 1.15rem 1.15rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.feature-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}

.feature-card .btn {
  align-self: flex-start;
  min-width: 88px;
  padding: 0.4rem 1rem;
  font-size: 14px;
}

.involvement-band {
  background: linear-gradient(90deg, var(--cream) 0%, var(--sky) 48%, var(--blush) 100%);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.logo-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-footer {
  background: var(--white);
  padding: 2.4rem 0 2.6rem;
  text-align: center;
}

.footer-inner {
  width: min(var(--site-width), calc(100% - 48px));
  margin: 0 auto;
}

.footer-name {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.footer-email {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin: 1rem 0 1.2rem;
}

.socials a {
  color: var(--ink);
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.socials a:hover,
.hero-socials a:hover,
.inline-socials a:hover {
  color: var(--coral);
}

.copyright {
  font-size: 12px;
  color: #777;
}

.page-band {
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 42%, var(--white) 100%);
  min-height: calc(100vh - 220px);
}

.page-hero {
  width: min(var(--site-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 3.2rem 0 1.4rem;
}

.page-hero p {
  max-width: 42rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  background: var(--charcoal);
}

.project-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.project-card h3 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: var(--white);
  font-size: 1.05rem;
  padding: 2.4rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

.resume-band {
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 50%, var(--white) 100%);
}

.resume-links {
  display: flex;
  gap: 1rem;
  margin: 1.2rem 0 1.8rem;
  flex-wrap: wrap;
}

.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.resume-grid a {
  display: block;
  box-shadow: var(--shadow);
  background: var(--white);
}

.resume-grid img {
  width: 100%;
  height: auto;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 86px);
}

.inline-socials {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.contact-visual {
  background:
    linear-gradient(180deg, rgba(80, 140, 190, 0.35), rgba(40, 70, 110, 0.42)),
    url("../images/portrait-outdoor.jpg") center 18% / cover no-repeat;
  color: var(--white);
  padding: 5rem 8% 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-visual h1,
.contact-visual p,
.contact-visual a {
  color: var(--white);
}

.contact-visual h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  margin-bottom: 0.8rem;
}

.contact-visual .phone {
  font-weight: 700;
  font-size: 1.15rem;
}

.contact-panel {
  background: var(--white);
  padding: 5rem 8% 4rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.contact-form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 0.55rem 0;
  font: inherit;
  color: var(--ink);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

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

.form-success,
.form-error {
  padding: 1rem 1.1rem;
  background: var(--paper);
  border-left: 4px solid var(--coral);
}

.form-error {
  border-left-color: #e03d38;
  margin-bottom: 1rem;
}

@media (max-width: 980px) {
  .hero,
  .about,
  .featured-grid,
  .project-grid,
  .resume-grid,
  .contact-split,
  .contact-form,
  .logo-row {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .about-card {
    margin: 2rem 1.25rem;
  }

  .hero-photo,
  .about-photo img {
    min-height: 420px;
  }

  .logo-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 0.6rem 1.2rem 1rem;
  }

  .header-inner {
    position: relative;
  }

  .contact-visual,
  .contact-panel {
    padding: 3rem 1.4rem;
  }
}

@media (max-width: 640px) {
  .logo-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
