:root {
  --bg: #fbfaf8;
  --paper: #fbfaf8;
  --text: #111111;
  --muted: #5f5a58;
  --line: #111111;
  --accent: #f7b5d8;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  padding: 20px 40px;
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--text);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  line-height: 1;
}

.logo-mark {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
}

.logo-mark img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.08s ease;
}

.logo-icon-default {
  opacity: 1;
}

.logo-icon-hover {
  opacity: 0;
}

.logo:hover .logo-icon-default {
  opacity: 0;
}

.logo:hover .logo-icon-hover {
  opacity: 1;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 105vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 40px 140px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  transform: translateY(-10vh);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-eyebrow {
  color: var(--text);
}

h1,
h2 {
  margin: 0;
  font-family: "cesso", "Bodoni 72", "Didot", "Baskerville", Georgia, serif;
  font-weight: 400;
  line-height: 1.05;
}

.brand-title {
  font-family: "cesso", "Bodoni 72", "Didot", "Baskerville", Georgia, serif;
  font-size: clamp(64px, 13vw, 170px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.9;
}

h2 {
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: 0.02em;
}

.section {
  padding: 96px 40px;
}

.section.soft {
  background: var(--paper);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.section-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  text-align: center;
}

.section-heading p {
  max-width: 720px;
  margin: 0 auto;
}

.intro p,
.section p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 19px;
  color: var(--muted);
}

.agi-photo {
  width: min(460px, 100%);
  margin: 48px auto 0;
}

.agi-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 24px;
  border: 1px solid var(--text);
  border-radius: 0;
  color: var(--bg);
  background: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.portfolio-grid .portfolio-item {
  width: calc((100% - 36px) / 3);
}

.portfolio-item {
  min-height: 360px;
  display: block;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: zoom-in;
  appearance: none;
}

.portfolio-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.03);
}

details {
  border-top: 1px solid var(--text);
  padding: 22px 0;
}

details:last-child {
  border-bottom: 1px solid var(--text);
}

summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 20px;
  text-align: center;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "✴︎";
  display: inline-block;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

details[open] summary::before {
  content: "−";
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}

summary:hover {
  color: var(--accent);
}

details p {
  margin: 14px auto 0;
  max-width: 620px;
}

details ul {
  max-width: 620px;
  margin: 14px auto 0;
  padding-left: 22px;
  color: var(--muted);
  text-align: left;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
}

details li + li {
  margin-top: 6px;
}

.contact-list {
  display: grid;
  gap: 26px;
  margin-top: 34px;
}

.contact-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 19px;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  padding: 32px 40px;
  border-top: 1px solid var(--text);
  color: var(--muted);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 6px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(251, 250, 248, 0.62);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: 96vw;
  max-height: 92vh;
  object-fit: contain;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}

@media (hover: none) {
  .main-nav a:hover {
    color: var(--text);
  }

  .logo:hover .logo-icon-default {
    opacity: 1;
  }

  .logo:hover .logo-icon-hover {
    opacity: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 18px 20px;
    flex-direction: column;
    gap: 14px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
  }

  .hero {
    min-height: 86vh;
    padding: 90px 20px 120px;
  }

  .hero-bg {
    background-image: url("../assets/img/hero-mobile.jpg");
    background-attachment: scroll;
    background-position: center;
  }

  .hero-content {
    transform: translateY(-8vh);
  }

  .section {
    padding: 72px 20px;
  }

  .section-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }

  .intro p,
  .section p {
    font-size: 18px;
  }

  .agi-photo {
    width: min(360px, 100%);
    margin-top: 40px;
  }

  .portfolio-grid .portfolio-item {
    width: 100%;
  }

  .portfolio-item {
    min-height: 280px;
  }

  .portfolio-item img {
    min-height: 280px;
  }

  .lightbox {
    padding: 18px;
    background: rgba(251, 250, 248, 0.7);
  }

  .lightbox-img {
    max-width: 96vw;
    max-height: 88vh;
  }
}