@font-face {
  font-family: "Yuji Boku Local";
  src: url("assets/fonts/YujiBoku-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --canvas: #fdf7f2;
  --paper: #fffaf6;
  --ink: #1a1008;
  --teal: #063336;
  --teal-soft: #084a4d;
  --rose: #9e1c60;
  --rose-soft: #dbaabe;
  --sand: #e8ddd5;
  --line: rgba(6, 51, 54, 0.12);
  --shadow: 0 18px 40px rgba(6, 51, 54, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #7aacad rgba(122, 172, 173, 0.18);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Raleway, Arial, sans-serif;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: rgba(122, 172, 173, 0.18);
}

*::-webkit-scrollbar-thumb {
  background: #7aacad;
}

button,
input,
textarea {
  font: inherit;
}

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

.site,
.nav-inner,
.comm-sec,
.footer-inner {
  width: min(72vw, 1120px);
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 30px 0 0;
  background: rgba(253, 247, 242, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  transition: border-color 160ms ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-social {
  position: absolute;
  top: 4px;
  right: 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-social a {
  display: grid;
  place-items: center;
  color: var(--rose);
  width: 22px;
  height: 22px;
  overflow: visible;
}

.nav-social svg {
  overflow: visible;
}

.nav-logo {
  margin-bottom: 56px;
}

.nav-logo img {
  width: min(295px, 36vw);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 56px);
  width: 100%;
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--teal);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-bottom: 1px solid transparent;
  padding-bottom: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rose);
  border-bottom-color: var(--rose);
}

.hero {
  padding: 42px 0 48px;
}

.hero-frame {
  min-height: clamp(430px, 62vh, 680px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f6ece5;
}

.hero-frame img {
  width: 100%;
  height: clamp(430px, 62vh, 680px);
  object-fit: contain;
  object-position: center;
}

.hero-link,
.btn-p,
.modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 22px;
  border: 0;
  background: var(--rose);
  color: var(--canvas);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.sec-label {
  margin: 0 0 10px;
  color: var(--rose);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.sec-h2 {
  margin: 0 0 22px;
  color: var(--teal-soft);
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.gallery-sec,
.contact-sec,
.faq-sec {
  padding: 54px 0;
  border-top: 1px solid rgba(6, 51, 54, 0.08);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.g-card {
  overflow: hidden;
  border: 1px solid rgba(6, 51, 54, 0.1);
  background: var(--paper);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.g-card:hover {
  transform: translateY(-5px);
  border-color: rgba(158, 28, 96, 0.28);
  box-shadow: var(--shadow);
}

.g-img {
  position: relative;
  height: 300px;
  background: var(--sand);
}

.g-img::after {
  content: "View details";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 74, 77, 0.28);
  color: var(--canvas);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0;
  transition: opacity 180ms ease;
}

.g-card:hover .g-img::after {
  opacity: 1;
}

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

.g-info {
  padding: 16px 16px 18px;
}

.g-info h3,
.art-modal-info h2 {
  margin: 0 0 6px;
  color: var(--teal);
  font-family: "Yuji Boku Local", Georgia, serif;
  font-size: 21px;
  font-weight: 400;
}

.g-info p {
  min-height: 44px;
  margin: 0 0 8px;
  color: rgba(26, 16, 8, 0.56);
  font-size: 14px;
  line-height: 1.55;
}

.g-info strong {
  color: var(--teal);
  font-size: 16px;
}

.about-sec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(6, 51, 54, 0.08);
}

.about-photo {
  min-height: 400px;
  background: var(--sand);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 76px);
}

.about-text p:not(.sec-label) {
  margin: 0 0 18px;
  color: rgba(26, 16, 8, 0.72);
  font-size: 15px;
  line-height: 1.9;
}

.comm-wrap {
  background: var(--rose);
  color: var(--canvas);
}

.comm-sec {
  padding: 60px 0;
  text-align: center;
}

.comm-label {
  margin: 0 0 10px;
  color: var(--rose-soft);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.comm-sec h2 {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: 24px;
  letter-spacing: 0.06em;
}

.comm-sec > p {
  max-width: 560px;
  margin: 0 auto 30px;
  color: rgba(253, 247, 242, 0.82);
  line-height: 1.85;
}

.comm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}

.comm-steps div {
  border: 1px solid rgba(253, 247, 242, 0.2);
  background: rgba(253, 247, 242, 0.08);
  padding: 18px 16px;
}

.comm-steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--rose-soft);
  font-size: 22px;
  font-weight: 800;
}

.comm-steps p {
  margin: 0;
  color: rgba(253, 247, 242, 0.72);
  font-size: 13px;
  line-height: 1.65;
}

.contact-inner,
.newsletter-inner {
  max-width: 520px;
  margin: 0 auto;
}

.contact-type {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.contact-opt,
.faq-tab {
  flex: 1;
  border: 1px solid rgba(158, 28, 96, 0.25);
  background: transparent;
  color: var(--rose);
  padding: 12px;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-opt.active,
.contact-opt.active {
  background: var(--rose);
  color: var(--canvas);
  border-color: var(--rose);
}

label {
  display: block;
  margin-bottom: 13px;
  color: var(--teal);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.fi {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid rgba(158, 28, 96, 0.22);
  background: #ffe9f5;
  color: #621738;
  outline: none;
  padding: 12px;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
}

.fi::placeholder {
  font-weight: 300;
}

textarea.fi {
  min-height: 96px;
  resize: vertical;
}

.btn-p {
  width: 100%;
}

.faq-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

.faq-sec > .sec-label,
.faq-sec > .sec-h2 {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.faq-tab {
  flex: 1;
  min-width: 190px;
  color: var(--teal);
  background: transparent;
  border-color: rgba(158, 28, 96, 0.28);
  transition: color 160ms ease, border-color 160ms ease;
}

.faq-tab:hover,
.faq-tab.active {
  color: var(--rose);
  background: transparent;
  border-color: rgba(158, 28, 96, 0.72);
}

.faq-panel {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 34px;
}

.faq-panel.active {
  display: grid;
}

details {
  border-bottom: 1px solid rgba(6, 51, 54, 0.12);
  padding: 16px 0;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--teal);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--rose);
  line-height: 1;
}

summary span::before,
summary span::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 999px;
}

summary span::before {
  width: 13px;
  height: 1px;
}

summary span::after {
  width: 1px;
  height: 13px;
  transition: transform 160ms ease, opacity 160ms ease;
}

details[open] summary span {
  transform: none;
}

details[open] summary span::after {
  transform: rotate(90deg);
  opacity: 0;
}

details p {
  margin: 12px 28px 0 0;
  color: rgba(26, 16, 8, 0.68);
  font-size: 14px;
  line-height: 1.8;
}

.newsletter-sec {
  padding: 46px 0;
  border-top: 1px solid rgba(6, 51, 54, 0.08);
  text-align: center;
}

.newsletter-inner > p:not(.sec-label) {
  color: rgba(26, 16, 8, 0.64);
  line-height: 1.8;
}

.newsletter-form {
  display: block;
  margin-top: 18px;
}

.newsletter-fields {
  display: flex;
  gap: 10px;
}

.newsletter-form .fi {
  margin-top: 0;
  background: var(--paper);
}

.newsletter-check,
.privacy-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  color: var(--teal);
  text-align: left;
  text-transform: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
}

.newsletter-check {
  color: #440025;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.newsletter-check input {
  appearance: none;
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1px solid rgba(98, 23, 56, 0.45);
  background: var(--canvas);
  cursor: pointer;
}

.newsletter-check input:checked {
  border-color: #621738;
  background: #ffe9f5;
}

.newsletter-check input:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 1.5px solid #621738;
  border-bottom: 1.5px solid #621738;
  transform: rotate(42deg);
}

.phone-field {
  display: grid;
  grid-template-columns: minmax(132px, 0.42fr) 1fr;
  gap: 8px;
  margin-top: 6px;
}

.phone-field .fi {
  margin-top: 0;
}

.phone-code {
  cursor: pointer;
}

.hidden-field {
  display: none;
}

.thank-you-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(520px, 90vw);
  margin: 0 auto;
  text-align: center;
}

.thank-you-page h1 {
  margin: 0 0 14px;
  color: #621738;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.thank-you-page p:not(.sec-label) {
  margin: 0 0 28px;
  color: rgba(26, 16, 8, 0.68);
  line-height: 1.8;
}

.footer {
  background: var(--teal-soft);
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
  flex-wrap: wrap;
}

.footer-brand {
  color: rgba(212, 236, 236, 0.55);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links button {
  border: 0;
  background: transparent;
  color: rgba(212, 236, 236, 0.45);
  cursor: pointer;
  font-size: 11px;
  transition: color 160ms ease;
}

.footer-links button:hover,
.footer-links button:focus-visible {
  color: #dbaabe;
}

.footer-copy {
  color: rgba(212, 236, 236, 0.3);
  font-size: 11px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 74, 77, 0.58);
}

.modal-overlay.open {
  display: flex;
}

.modal {
  position: relative;
  width: min(900px, 94vw);
  max-height: 88vh;
  overflow: auto;
  background: var(--canvas);
  box-shadow: 0 24px 60px rgba(6, 51, 54, 0.22);
  scrollbar-color: #7aacad rgba(122, 172, 173, 0.18);
  scrollbar-width: thin;
}

.small-modal {
  width: min(420px, 92vw);
  padding: 44px 36px 34px;
  text-align: center;
}

.small-modal p:not(.sec-label) {
  margin: 0;
  color: rgba(26, 16, 8, 0.68);
  line-height: 1.8;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.art-modal {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
}

.art-gallery {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 620px;
  padding: 38px;
  background: #f6ece5;
}

.art-main-image {
  width: 100%;
  height: min(58vh, 520px);
  min-height: 420px;
  background: #eaded5;
  object-fit: contain;
  object-position: center;
}

.art-thumbs {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
}

.art-thumbs button {
  flex: 0 0 118px;
  height: 96px;
  border: 1px solid rgba(6, 51, 54, 0.12);
  background: #eaded5;
  padding: 0;
  cursor: pointer;
}

.art-thumbs button.active {
  border-color: var(--rose);
}

.art-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.art-modal-info,
.inquiry-modal,
.legal-modal {
  padding: 44px 36px 34px;
}

.art-modal-info {
  padding: 76px 50px 44px;
}

.art-modal-info h2 {
  margin-bottom: 0;
  font-size: 36px;
}

.art-modal-info p {
  color: rgba(26, 16, 8, 0.68);
  font-size: 17px;
  line-height: 1.85;
}

#modalMeta {
  font-style: italic;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.55;
}

#modalMeta .meta-size {
  display: block;
  margin-top: 7px;
}

.art-modal-info strong {
  display: block;
  margin: 10px 0 18px;
  color: #621738;
  font-size: 22px;
}

.art-modal-info .modal-btn {
  width: 100%;
  margin-top: 22px;
}

.inquiry-modal {
  width: min(540px, 94vw);
}

.form-note,
.inquiry-for {
  color: rgba(26, 16, 8, 0.68);
  font-size: 13px;
  line-height: 1.7;
}

.legal-content h3 {
  margin: 22px 0 8px;
  color: var(--teal);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.legal-content p {
  color: rgba(26, 16, 8, 0.72);
  font-size: 12px;
  line-height: 1.7;
}

.legal-placeholder {
  color: #dbaabe;
  font-weight: 600;
}

.legal-content .effective-date {
  font-style: italic;
  font-size: 13px;
  font-weight: 400;
}

@media (max-width: 980px) {
  .site,
  .nav-inner,
  .comm-sec,
  .footer-inner {
    width: 92vw;
  }

  .about-sec,
  .art-modal {
    grid-template-columns: 1fr;
  }

  .hero-frame img {
    height: clamp(420px, 58vh, 620px);
  }

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

  .about-photo {
    min-height: 300px;
  }
}

@media (max-width: 700px) {
  .nav-logo img {
    width: min(255px, 74vw);
  }

  .nav-inner {
    display: grid;
    grid-template-columns: 1fr 44px;
    align-items: center;
    column-gap: 10px;
  }

  .nav-logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    margin-bottom: 54px;
  }

  .nav-social {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    flex-direction: column;
    gap: 9px;
    margin: 0 0 54px;
    transform: none;
  }

  .nav-social a {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .nav-social svg {
    width: 17px;
    height: 17px;
  }

  .nav-links {
    grid-column: 1 / -1;
    gap: 16px 22px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .hero {
    padding-top: 24px;
  }

  .gallery-grid,
  .comm-steps,
  .faq-panel.active {
    grid-template-columns: 1fr;
  }

  .g-img {
    height: 360px;
  }

  .contact-type,
  .newsletter-fields,
  .faq-tabs {
    flex-direction: column;
  }

  .newsletter-inner {
    width: 92vw;
  }

  .newsletter-fields {
    width: 100%;
    gap: 12px;
  }

  .newsletter-form .fi,
  .newsletter-form .modal-btn {
    width: 100%;
    min-width: 0;
  }

  .newsletter-form .modal-btn {
    min-height: 52px;
  }

  .newsletter-check {
    align-items: flex-start;
    max-width: 100%;
  }

  .phone-field {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 18px;
  }

  .footer-right {
    flex-direction: column;
    justify-content: center;
    margin-left: 0;
    gap: 14px;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .footer-brand,
  .footer-copy {
    width: 100%;
    text-align: center;
  }

  .modal-overlay {
    padding: 14px;
  }

  .art-gallery {
    min-height: 380px;
    padding: 24px;
  }

  .art-main-image {
    height: 260px;
    min-height: 240px;
  }

  .art-thumbs button {
    flex-basis: 74px;
    height: 62px;
  }

  .art-modal-info {
    padding: 30px 24px 28px;
  }

  .inquiry-modal,
  .legal-modal {
    padding: 38px 24px 28px;
  }

  .art-modal-info h2 {
    margin-bottom: 2px;
    font-size: 30px;
  }

  .art-modal-info p {
    font-size: 15px;
    line-height: 1.7;
  }

  .art-modal-info strong {
    margin: 8px 0 14px;
    font-size: 20px;
  }

  .art-modal-info .modal-btn {
    margin-top: 14px;
  }
}
