:root {
  --background: #fffaf5;
  --text: #30252e;
  --accent: #a63b62;
}

body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  background: var(--background);
  color: var(--text);
  font: 1rem/1.6 system-ui, sans-serif;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid #eadfe4;
}

.logo {
  color: var(--text);
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 16px;
}

a {
  color: var(--accent);
}

section {
  padding: 40px 0;
}

.intro {
  padding: 72px 0;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.projects img {
  display: block;
  width: 100%;
  border-radius: 16px;
}

.projects h3 {
  margin-bottom: 0;
}

.projects p {
  margin-top: 0;
}

@media (max-width: 600px) {
  .projects {
    grid-template-columns: 1fr;
  }
}

.intro {
  margin-top: 28px;
  padding: clamp(36px, 7vw, 88px) clamp(20px, 5vw, 64px);
  border-radius: 28px;
  background: linear-gradient(115deg, #ffe4d9, #fffaf5 55%, #fff2ae);
}

.intro p {
  max-width: 42ch;
}

.projects a {
  display: block;
  border-radius: 16px;
}

.projects a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .projects a img {
    transition: transform 200ms ease, box-shadow 200ms ease;
  }

  .projects a:hover img {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px #30252e24;
  }
}

.work-button {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #30252e;
  color: #fffaf5;
  text-decoration: none;
  font-weight: 600;
}

.work-button:hover,
.work-button:focus-visible {
  background: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

#contact {
  margin: 32px 0 48px;
  padding: clamp(28px, 6vw, 64px);
  border-radius: 28px;
  background: #ffe4d9;
}

#contact h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
}

#contact p {
  max-width: 45ch;
  margin: 12px 0 4px;
}

.projects img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.projects .project-wide {
  grid-column: 1 / -1;
}

.projects .project-wide img {
  aspect-ratio: auto;
}
#artwork-preview {
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #211b22;
}

#artwork-preview::backdrop {
  background: rgb(24 18 24 / 85%);
}

#artwork-preview img {
  display: block;
  max-width: 90vw;
  max-height: 88dvh;
}

#artwork-preview button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fffaf5;
  color: #30252e;
  font-size: 26px;
  cursor: pointer;
}

body:has(#artwork-preview[open]) {
  overflow: hidden;
}

.site-header {
  padding: 18px 0;
}

.site-header .logo {
  font-size: 1.4rem;
  letter-spacing: -0.06em;
}

.site-header .logo span {
  color: var(--accent);
}

.site-header nav {
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
}

.site-header nav a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--accent);
}

.site-header nav a {
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffe4d9;
}

.site-header nav a:hover {
  background: #ffd6c7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card {
  padding: 24px;
  border: 1px solid #e9ddd3;
  border-radius: 18px;
  background: #fffdf9;
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.pricing-rate {
  margin: 12px 0;
  color: var(--accent);
}

.pricing-rate strong {
  font-size: 1.6rem;
}

.pricing-card ul,
.pricing-terms ul {
  margin: 0;
  padding-left: 1.2rem;
}

.pricing-terms {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid #e9ddd3;
  border-radius: 14px;
}

.pricing-terms summary {
  cursor: pointer;
  font-weight: 600;
}

.pricing-terms ul {
  margin-top: 12px;
}

@media (max-width: 700px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-header nav {
    flex-wrap: wrap;
  }
}
#about {
  border-top: 1px solid #eadfe4;
}

#about h2 {
  margin: 0 0 10px;
}

#about p {
  max-width: 58ch;
  margin: 0;
}
.site-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-header .logo img {
  object-fit: contain;
}

.site-header .logo .logo-name {
  color: var(--text);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .site-header .logo img:hover {
    animation: icon-shake 400ms ease-in-out;
  }
}

@keyframes icon-shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-12deg); }
  50% { transform: rotate(12deg); }
  75% { transform: rotate(-6deg); }
}
#faq details {
  max-width: 680px;
  padding: 14px 0;
  border-top: 1px solid #e9ddd3;
}

#faq summary {
  cursor: pointer;
  font-weight: 600;
}

#faq details p {
  max-width: 60ch;
  margin: 10px 0 0;
}

.contact-form {
  display: grid;
  gap: 8px;
  max-width: 560px;
  margin-top: 24px;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid #c9a99e;
  border-radius: 10px;
  background: #fffaf5;
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
}
.contact-links {
  gap: 8px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #dcbfb4;
  border-radius: 999px;
  background: #fffaf5;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid #eadfe4;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font: bold 1rem monospace;
  text-decoration: none;
}

.footer-brand img {
  object-fit: contain;
}

.footer-accent {
  color: var(--accent);
}

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 5px 5px 14px;
  border: 1px solid #e9ddd3;
  border-radius: 999px;
  background: #fffaf5;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-top span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffe4d9;
  color: var(--accent);
}

.footer-top:hover,
.footer-top:focus-visible {
  border-color: var(--accent);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .footer-top span {
    transition: transform 180ms ease;
  }

  .footer-top:hover span {
    transform: translateY(-2px);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .footer-brand img:hover {
    animation: icon-shake 400ms ease-in-out;
  }
}