@font-face {
  font-family: "Montserrat Local";
  src: url("../assets/fonts/montserrat-variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3 Local";
  src: url("../assets/fonts/source-sans-3-variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --cyan: #00acc1;
  --charcoal: #333;
  --ink: #333;
  --muted: #444;
  --white: #fff;
  --panel: rgba(255, 255, 255, 0.92);
  --border-light: rgba(255, 255, 255, 0.86);
  --transition: 0.6s ease-in-out;
  color-scheme: dark;
}

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

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--charcoal);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
  font-family: "Source Sans 3 Local", "Source Sans Pro", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

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

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

.page-background,
.page-overlay {
  position: fixed;
  inset: 0;
}

.page-background {
  z-index: 0;
  min-height: 700px;
  overflow: hidden;
  background: url("../assets/images/page-image-3.jpg") no-repeat center center / cover;
}

#ripple-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.page-overlay {
  z-index: 1;
  min-height: 700px;
  pointer-events: none;
  background: rgba(0, 31, 37, 0.48);
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--charcoal);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader span {
  position: absolute;
  width: 70px;
  aspect-ratio: 1;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  opacity: 0;
  animation: loader-ripple 1.5s linear infinite;
}

.loader span:nth-child(2) {
  animation-delay: 0.3s;
}

.loader span:nth-child(3) {
  animation-delay: 0.6s;
}

.is-ready .loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loader-ripple {
  0% {
    opacity: 0;
    transform: scale(0.1);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 62px;
  transition: width var(--transition);
}

.site-nav {
  position: absolute;
  top: 19px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 23px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 29px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s 0.15s ease, visibility 0.45s 0.15s ease;
}

.nav-links button {
  position: relative;
  padding: 0 0 10px;
  border: 0;
  color: var(--white);
  background: transparent;
  font-family: "Montserrat Local", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-links button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links button:hover::after,
.nav-links button.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  position: relative;
  width: 28px;
  height: 25px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  right: 0;
  width: 25px;
  height: 1px;
  background: var(--white);
  transition: top 0.3s ease, transform 0.3s ease, opacity 0.2s ease;
}

.menu-toggle span:nth-child(1) {
  top: 4px;
}

.menu-toggle span:nth-child(2) {
  top: 12px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}

.page-layout {
  min-height: 100vh;
}

.landing-shell {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  transition: width var(--transition);
}

.landing {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  padding: 62px 28px 0;
  text-align: center;
}

.landing-content {
  width: min(100%, 820px);
  transform: translateY(-26px) scale(1.08);
  opacity: 0;
  transition: opacity 1.3s 0.25s linear, transform 1.3s 0.25s linear;
}

.is-ready .landing-content {
  opacity: 1;
  transform: translateY(-26px) scale(1);
}

.brand-logo {
  width: 260px;
  height: auto;
  max-height: 88px;
  margin: 0 auto 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero-copy {
  padding: 14px 0 0;
}

.hero-copy h1,
.section-heading h2,
.contact-detail h3 {
  font-family: "Montserrat Local", Arial, sans-serif;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 30px;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0.15em;
}

.hero-copy h1 span,
.hero-copy h1 strong {
  display: block;
}

.hero-copy h1 span {
  font-weight: 250;
}

.hero-copy h1 strong {
  font-size: 30px;
  font-weight: 700;
}

.hero-copy p {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.down-cue {
  display: flex;
  height: 75px;
  align-items: center;
  justify-content: center;
}

.down-cue span {
  position: relative;
  display: block;
  width: 1px;
  height: 22px;
  border-left: 1px dashed rgba(255, 255, 255, 0.85);
}

.down-cue span::after {
  position: absolute;
  bottom: -2px;
  left: -3px;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 0;
  font-family: "Montserrat Local", Arial, sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.button-primary {
  min-width: 156px;
  border: 1px solid var(--cyan);
  background: var(--cyan);
}

.button-outline {
  min-width: 158px;
  border: 1px solid var(--border-light);
  background: rgba(0, 0, 0, 0.06);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: #0699aa;
  background: #0699aa;
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.social-row-light {
  padding-top: 40px;
}

.social-icon {
  display: inline-grid;
  min-width: 12px;
  height: 17px;
  place-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: default;
  user-select: none;
}

.social-heart {
  font-size: 10px;
  transform: rotate(-13deg);
}

.social-zalo {
  font-size: 10px;
  letter-spacing: -0.03em;
}

.content-panel {
  position: fixed;
  z-index: 4;
  top: 0;
  right: -50%;
  width: 50%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ink);
  background: var(--panel);
  scrollbar-color: rgba(51, 51, 51, 0.35) transparent;
  scrollbar-width: thin;
  visibility: hidden;
  transition: right var(--transition), visibility var(--transition);
}

.show-content .site-header,
.show-content .landing-shell {
  width: 50%;
}

.show-content .content-panel {
  right: 0;
  visibility: visible;
}

.show-content .nav-links {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.show-content .menu-toggle span:nth-child(1) {
  top: 12px;
  transform: rotate(45deg);
}

.show-content .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.show-content .menu-toggle span:nth-child(3) {
  top: 12px;
  transform: rotate(-45deg);
}

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

.section-intro {
  padding: 52px 36px 42px;
}

.section-heading h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.section-heading h2 span {
  font-weight: 250;
}

.wrap-line {
  position: relative;
  margin: 20px 0 50px;
}

.wrap-line::after {
  position: absolute;
  bottom: -30px;
  left: 50%;
  width: 40px;
  height: 1px;
  margin-left: -20px;
  content: "";
  background: currentColor;
}

.section-intro > p,
.notify-dialog p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.social-row-dark {
  padding-top: 30px;
  gap: 19px;
}

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

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #222;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 37, 0.42);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-title,
.gallery-description {
  position: absolute;
  z-index: 2;
  left: 50%;
  color: var(--white);
  opacity: 0;
  transform: translate(-50%, 14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-title {
  top: 41%;
  padding: 8px 12px;
  border: 1px solid var(--white);
  font-family: "Montserrat Local", Arial, sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gallery-description {
  top: 62%;
  width: 74%;
  font-size: 12px;
  line-height: 1.45;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay,
.gallery-item:hover .gallery-title,
.gallery-item:focus-visible .gallery-title,
.gallery-item:hover .gallery-description,
.gallery-item:focus-visible .gallery-description {
  opacity: 1;
}

.gallery-item:hover .gallery-title,
.gallery-item:focus-visible .gallery-title,
.gallery-item:hover .gallery-description,
.gallery-item:focus-visible .gallery-description {
  transform: translate(-50%, 0);
}

.contact-section {
  min-height: 520px;
  padding: 92px 0 86px;
}

.contact-heading {
  width: min(78%, 570px);
  margin: 0 auto 104px;
}

.form-status {
  min-height: 21px;
  margin: 10px 0 0;
  color: #267d49;
  font-size: 13px;
}

.form-status.is-error {
  color: #aa3e3e;
}

.contact-details {
  display: grid;
  width: min(90%, 660px);
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-detail svg {
  width: 34px;
  height: 34px;
  margin: 0 auto 25px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.contact-detail h3 {
  margin: 0 0 13px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.contact-detail p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

dialog {
  max-width: none;
}

dialog::backdrop {
  background: rgba(4, 20, 25, 0.43);
}

.notify-dialog {
  width: min(600px, calc(100vw - 30px));
  padding: 0;
  border: 0;
  color: #aaa;
  background: var(--charcoal);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.notify-dialog[open] {
  animation: dialog-in 0.35s ease both;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.dialog-panel {
  position: relative;
  padding: 57px 101px 68px;
  text-align: center;
}

.dialog-close,
.gallery-close {
  position: absolute;
  z-index: 5;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dialog-close {
  top: 17px;
  right: 14px;
}

.dialog-close span,
.gallery-close span {
  position: absolute;
  top: 14px;
  left: 5px;
  width: 21px;
  height: 1px;
  background: currentColor;
}

.dialog-close span:first-child,
.gallery-close span:first-child {
  transform: rotate(45deg);
}

.dialog-close span:last-child,
.gallery-close span:last-child {
  transform: rotate(-45deg);
}

.wrap-line-light {
  margin-top: 15px;
}

.wrap-line-light h2 {
  color: #aaa;
}

.notify-form {
  padding-top: 48px;
}

.notify-input-row {
  display: flex;
  border-bottom: 1px solid #777;
}

.notify-input-row input {
  min-width: 0;
  flex: 1;
  padding: 14px 0;
  border: 0;
  color: var(--white);
  background: transparent;
  font-family: "Montserrat Local", Arial, sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.notify-input-row input::placeholder {
  color: #aaa;
  opacity: 1;
}

.notify-input-row button {
  width: 52px;
  min-width: 52px;
  margin-bottom: -1px;
  border: 0;
  color: var(--white);
  background: var(--cyan);
  cursor: pointer;
}

.notify-dialog .form-status {
  color: #8acda0;
}

.notify-dialog .form-status.is-error {
  color: #ff9f9f;
}

.gallery-dialog {
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  padding: 0;
  border: 0;
  color: var(--white);
  background: rgba(15, 15, 15, 0.97);
}

.gallery-dialog[open] {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
}

.gallery-dialog::backdrop {
  background: rgba(0, 0, 0, 0.86);
}

.gallery-dialog figure {
  display: grid;
  max-width: min(1100px, calc(100vw - 180px));
  max-height: calc(100vh - 90px);
  justify-self: center;
  margin: 0;
  place-items: center;
}

.gallery-dialog figure img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
}

.gallery-dialog figcaption {
  min-height: 34px;
  padding-top: 15px;
  font-family: "Montserrat Local", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-close {
  top: 21px;
  right: 24px;
}

.gallery-control {
  width: 60px;
  height: 80px;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
  font-family: Arial, sans-serif;
  font-size: 52px;
  font-weight: 200;
  cursor: pointer;
}

.gallery-control:hover,
.gallery-control:focus-visible {
  color: var(--cyan);
}

@media (max-height: 740px) and (min-width: 991px) {
  .landing-content {
    transform: translateY(5px) scale(1.08);
  }

  .is-ready .landing-content {
    transform: translateY(5px) scale(1);
  }

  .brand-logo {
    width: 220px;
    max-height: 74px;
    margin-bottom: 33px;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .hero-copy h1 {
    margin-bottom: 22px;
  }

  .down-cue {
    height: 104px;
  }

  .social-row-light {
    padding-top: 47px;
  }
}

@media (max-width: 990px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .page-background,
  .page-overlay {
    min-height: 100vh;
  }

  .site-header,
  .show-content .site-header {
    width: 100%;
  }

  .landing-shell,
  .show-content .landing-shell {
    position: relative;
    width: 100%;
    height: 740px;
    min-height: 740px;
  }

  .landing {
    min-height: 740px;
  }

  .content-panel {
    position: relative;
    right: auto;
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    visibility: visible;
  }

  .show-content .site-header {
    position: absolute;
  }

  .show-content .site-nav {
    position: fixed;
    z-index: 10;
    padding: 8px 12px 4px;
    background: rgba(14, 39, 42, 0.68);
  }

  .gallery-description {
    display: none;
  }

  .contact-section {
    padding-bottom: 70px;
  }
}

@media (max-width: 767px) {
  .site-nav {
    top: 16px;
    right: 15px;
    gap: 16px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links button {
    font-size: 10px;
  }

  .landing {
    align-items: flex-start;
    padding: 88px 18px 25px;
  }

  .landing-content {
    width: 100%;
  }

  .is-ready .landing-content {
    transform: none;
  }

  .brand-logo {
    width: min(230px, 68vw);
    max-height: 78px;
    margin-bottom: 20px;
  }

  .hero-copy h1 {
    margin-bottom: 94px;
    font-size: clamp(21px, 6.4vw, 28px);
    line-height: 1.45;
    letter-spacing: 0.1em;
  }

  .hero-copy h1 strong {
    font-size: clamp(23px, 7vw, 30px);
  }

  .hero-copy p {
    max-width: 520px;
    margin-inline: auto;
    font-size: 13px;
  }

  .desktop-break {
    display: none;
  }

  .down-cue {
    height: 110px;
  }

  .hero-actions {
    gap: 8px;
  }

  .button {
    min-height: 46px;
    padding-inline: 11px;
    font-size: 10px;
    letter-spacing: 0.11em;
  }

  .button-primary,
  .button-outline {
    min-width: 0;
  }

  .social-row-light {
    padding-top: 40px;
  }

  .section-intro {
    padding: 49px 20px 38px;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .section-intro > p {
    font-size: 13px;
  }

  .gallery-title {
    top: 50%;
    font-size: 10px;
    transform: translate(-50%, -50%);
  }

  .gallery-item:hover .gallery-title,
  .gallery-item:focus-visible .gallery-title {
    transform: translate(-50%, -50%);
  }

  .contact-section {
    min-height: 0;
    padding: 58px 0 70px;
  }

  .contact-heading {
    width: calc(100% - 40px);
    margin-bottom: 86px;
  }

  .contact-details {
    width: calc(100% - 36px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .contact-detail:last-child {
    grid-column: 1 / -1;
  }

  .dialog-panel {
    padding: 48px 26px 47px;
  }

  .notify-form {
    padding-top: 36px;
  }

  .notify-input-row input {
    font-size: 10px;
  }

  .gallery-dialog[open] {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .gallery-dialog figure {
    max-width: calc(100vw - 110px);
  }

  .gallery-control {
    width: 45px;
  }
}

@media (max-width: 430px) {
  .hero-copy h1 span {
    white-space: nowrap;
  }

  .hero-copy p {
    max-width: 330px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    aspect-ratio: 3 / 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .landing-content {
    opacity: 1;
    transform: none;
  }
}
