/* ==============================================
   PERLEWHITE CLINICAL
   Melbourne, Victoria, Australia

   Professional Dental Aesthetics
   Pearl White / Platinum Silver / Deep Navy
   ============================================== */

/* 01. DESIGN VARIABLES */

:root {
  --navy: #14263e;
  --navy-light: #344b65;

  --white: #ffffff;
  --pearl: #f8f9fb;

  --platinum: #d9dce0;
  --silver: #a4a9b0;
  --silver-dark: #606975;

  --text-muted: #536174;

  --line: rgba(20, 38, 62, 0.14);

  --font-heading: "Cormorant Garamond", Georgia, serif;

  --font-body: "Manrope", Arial, sans-serif;

  --pointer-x: 50%;
  --pointer-y: 30%;
}

/* 02. GLOBAL STYLES */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;

  scroll-behavior: smooth;
  scroll-padding-top: 35px;

  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  isolation: isolate;

  min-height: 100vh;

  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;

  color: var(--navy);
  background: var(--pearl);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 5px;
}

::selection {
  background: var(--navy);
  color: var(--white);
}

/* 03. ANIMATED BACKGROUND */

.ambient {
  position: fixed;
  inset: 0;

  z-index: -1;

  overflow: hidden;
  pointer-events: none;

  background:
    radial-gradient(ellipse at 90% 10%, #dce0e6 0%, transparent 50%),
    radial-gradient(ellipse at 5% 80%, #e9ecf0 0%, transparent 40%),
    linear-gradient(135deg, #ffffff, #f5f6f8);
}

.ambient-glow {
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at var(--pointer-x) var(--pointer-y),
    rgba(255, 255, 255, 0.95),
    transparent 35%
  );
}

/* FLOATING SILVER CURVES */

.silver-orbit {
  position: absolute;

  width: 160%;
  height: 65%;

  left: -30%;

  border-radius: 50%;

  border-top: 1px solid rgba(130, 140, 154, 0.4);

  background: linear-gradient(
    to bottom,
    rgba(188, 196, 207, 0.16),
    transparent 50%
  );

  animation: orbitFloat 14s ease-in-out infinite alternate;
}

.orbit-one {
  top: 30%;

  transform: rotate(-24deg);
}

.orbit-two {
  top: 34%;

  opacity: 0.6;

  transform: rotate(-28deg);

  animation-delay: -5s;
}

.orbit-three {
  top: 38%;

  opacity: 0.3;

  transform: rotate(-32deg);

  animation-delay: -9s;
}

/* 04. HEADER */

.site-header {
  width: 100%;
  max-width: 1800px;

  margin: auto;

  padding: 25px 5%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 20px;

  border-bottom: 1px solid var(--line);
}

.header-brand {
  display: inline-flex;
  align-items: center;

  min-height: 44px;

  font-size: 15px;
  font-weight: 700;

  letter-spacing: 2.5px;

  white-space: nowrap;
}

.header-brand span {
  color: var(--silver-dark);
}

.header-caption {
  font-size: 13px;
  font-weight: 500;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: var(--text-muted);
}

.header-contact {
  display: inline-flex;
  align-items: center;

  gap: 8px;

  min-height: 44px;

  font-size: 15px;
  font-weight: 600;

  letter-spacing: 0.5px;

  white-space: nowrap;

  transition: color 0.3s ease;
}

.header-contact:hover {
  color: var(--silver-dark);
}

/* 05. HERO SECTION */

.hero {
  width: 100%;
  max-width: 1400px;

  min-height: 78vh;
  min-height: 78svh;

  margin: auto;

  padding: 90px 30px 100px;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  text-align: center;
}

/* 06. ANIMATED PERLEWHITE WORDMARK */

.brand-lockup {
  width: 100%;

  margin-bottom: 45px;

  text-align: center;
}

.brand-name {
  display: inline-block;

  max-width: 100%;

  font-family: var(--font-heading);

  font-size: clamp(26px, 8.5vw, 112px);

  font-weight: 500;
  font-style: normal;

  letter-spacing: 0.12em;

  line-height: 1.2;

  white-space: nowrap;

  padding: 10px 0 15px;

  margin-right: -0.12em;

  color: var(--silver-dark);
}

/* METALLIC SILVER REFLECTION */

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .brand-name {
    background: linear-gradient(
      115deg,
      #606975 0%,
      #aeb5bf 20%,
      #e8ebef 35%,
      #8a939e 48%,
      #d5d9df 65%,
      #6c7581 85%,
      #606975 100%
    );

    background-size: 250% auto;

    background-position: 0% center;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    color: transparent;

    animation: metallicShine 9s ease-in-out infinite alternate;
  }
}

/* CLINICAL SUBTITLE */

.brand-clinical {
  display: flex;

  justify-content: center;
  align-items: center;

  gap: 22px;

  margin-top: 10px;

  color: var(--silver-dark);

  font-family: var(--font-body);

  font-size: 17px;
  font-weight: 500;

  letter-spacing: 10px;

  line-height: 1.5;
}

.brand-clinical span {
  display: block;

  width: 60px;
  height: 1px;

  flex-shrink: 0;

  background: linear-gradient(
    to right,
    transparent,
    var(--silver-dark),
    transparent
  );
}

/* 07. COMING SOON STATUS */

.launch-status {
  display: inline-flex;

  justify-content: center;
  align-items: center;

  gap: 12px;

  padding: 13px 24px;

  border-radius: 50px;

  border: 1px solid rgba(116, 125, 137, 0.45);

  background: rgba(255, 255, 255, 0.55);

  font-size: 13px;
  font-weight: 600;

  letter-spacing: 2.5px;

  line-height: 1.5;
}

.status-dot {
  width: 8px;
  height: 8px;

  flex-shrink: 0;

  border-radius: 50%;

  background: var(--navy);

  animation: statusPulse 3s ease-out infinite;
}

/* 08. HEADLINE AND DESCRIPTION */

h1 {
  font-family: var(--font-heading);

  font-size: clamp(52px, 7.5vw, 100px);

  font-weight: 400;

  letter-spacing: -0.035em;

  line-height: 1.05;

  margin: 30px 0 22px;
}

h1 em {
  font-weight: 400;

  color: var(--navy-light);
}

.hero-description {
  max-width: 750px;

  font-size: 19px;
  font-weight: 400;

  line-height: 1.8;

  color: var(--text-muted);
}

.coming-soon {
  margin: 30px 0 25px;

  font-size: 16px;
  font-weight: 600;

  letter-spacing: 0.8px;

  line-height: 1.7;
}

/* 09. PRIMARY CONTACT BUTTON */

.primary-button {
  position: relative;

  display: inline-flex;

  justify-content: center;
  align-items: center;

  gap: 28px;

  min-height: 58px;

  overflow: hidden;

  padding: 17px 32px;

  border: 1px solid var(--navy);
  border-radius: 3px;

  background: var(--navy);

  color: var(--white);

  font-size: 15px;
  font-weight: 600;

  letter-spacing: 1.8px;

  text-transform: uppercase;

  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

/* BUTTON LIGHT REFLECTION */

.primary-button::before {
  content: "";

  position: absolute;

  top: 0;
  left: -100%;

  width: 60%;
  height: 100%;

  pointer-events: none;

  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );

  transition: left 0.7s ease;
}

.primary-button:hover {
  background: var(--navy-light);

  box-shadow: 0 10px 30px rgba(20, 38, 62, 0.15);

  transform: translateY(-2px);
}

.primary-button:hover::before {
  left: 150%;
}

.primary-button span {
  font-size: 20px;
}

/* 10. CONTACT SECTION */

.contact-section {
  padding: 75px 5% 65px;

  border-top: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.72);

  text-align: center;
}

.section-heading {
  max-width: 850px;

  margin: 0 auto 40px;
}

.eyebrow {
  display: inline-block;

  font-size: 13px;
  font-weight: 600;

  letter-spacing: 2.5px;

  line-height: 1.8;

  text-transform: uppercase;

  color: var(--text-muted);
}

.section-heading h2 {
  font-family: var(--font-heading);

  font-size: clamp(34px, 4vw, 52px);

  font-weight: 500;

  line-height: 1.2;

  margin: 15px 0 18px;
}

.section-heading p {
  font-size: 17px;

  color: var(--text-muted);

  line-height: 1.8;
}

/* 11. CONTACT CARDS */

.contact-grid {
  max-width: 1250px;

  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 22px;

  margin: 0 auto;
}

.contact-card {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 0;

  border: 1px solid var(--line);

  border-radius: 4px;

  padding: 35px 20px 30px;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(239, 242, 246, 0.45)
  );

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* SILVER CARD DETAIL */

.contact-card::before {
  position: absolute;

  content: "";

  left: 15%;
  top: 0;

  width: 70%;
  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    var(--silver-dark),
    transparent
  );
}

.contact-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 15px 35px rgba(20, 38, 62, 0.07);

  border-color: var(--silver);
}

.contact-number {
  font-size: 13px;

  color: var(--silver-dark);

  letter-spacing: 2px;
}

.contact-card h3 {
  font-family: var(--font-heading);

  font-size: clamp(28px, 2.7vw, 34px);

  font-weight: 500;

  line-height: 1.2;

  margin: 15px 0 10px;
}

.contact-role {
  font-size: 15px;

  color: var(--text-muted);

  line-height: 1.7;

  margin-bottom: 20px;
}

.contact-card a {
  display: inline-block;

  max-width: 100%;

  margin-top: auto;

  padding: 10px 0;

  min-height: 44px;

  font-size: 16px;
  font-weight: 500;

  line-height: 1.6;

  overflow-wrap: anywhere;
}

.contact-card a:hover {
  text-decoration: underline;

  text-underline-offset: 5px;
}

.contact-card a span {
  color: var(--silver-dark);

  margin-left: 4px;
}

/* 12. MANUFACTURING ENQUIRIES */

.joint-contact {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  flex-wrap: wrap;

  gap: 8px;

  min-height: 44px;

  margin-top: 35px;

  font-size: 15px;
  font-weight: 500;

  line-height: 1.8;

  padding: 8px 0;

  border-bottom: 1px solid var(--silver);

  transition: color 0.3s ease;
}

.joint-contact:hover {
  color: var(--silver-dark);
}

/* 13. FOOTER */

.site-footer {
  text-align: center;

  padding: 40px 24px;

  border-top: 1px solid var(--line);
}

.footer-brand {
  font-size: 15px;
  font-weight: 600;

  letter-spacing: 2.5px;

  margin-bottom: 15px;
}

.site-footer p,
.site-footer a {
  font-size: 14px;

  color: var(--text-muted);

  line-height: 1.9;
}

/* MELBOURNE LOCATION */

.site-footer .footer-location {
  font-size: 15px;
  font-weight: 500;

  color: var(--navy);

  margin-top: 5px;

  letter-spacing: 0.4px;
}

.site-footer a:hover {
  color: var(--navy);
}

.copyright {
  margin-top: 15px;
}

.footer-domain {
  display: inline-block;

  padding: 8px 0;

  min-height: 44px;
}

/* 14. ENTRANCE ANIMATIONS */

.reveal {
  animation: fadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.delay-one {
  animation-delay: 0.1s;
}

.delay-two {
  animation-delay: 0.3s;
}

.delay-three {
  animation-delay: 0.5s;
}

.delay-four {
  animation-delay: 0.7s;
}

/* 15. SCROLL REVEAL */

.js-enabled .scroll-reveal {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.85s ease,
    transform 0.85s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;

  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .scroll-reveal.is-visible {
  opacity: 1;

  transform: translateY(0);
}

.js-enabled .contact-card.is-visible:hover {
  transform: translateY(-5px);
}

/* 16. ANIMATION KEYFRAMES */

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(22px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* METALLIC WORDMARK */

@keyframes metallicShine {
  from {
    background-position: 0% center;
  }

  to {
    background-position: 100% center;
  }
}

/* FLOATING SILVER BACKGROUND */

@keyframes orbitFloat {
  from {
    translate: 0 0;
  }

  to {
    translate: 0 -30px;
  }
}

/* COMING SOON PULSE */

@keyframes statusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 38, 62, 0.25);
  }

  70%,
  100% {
    box-shadow: 0 0 0 8px rgba(20, 38, 62, 0);
  }
}

/* 17. SMALL DESKTOP AND TABLET */

@media (max-width: 1100px) {
  .contact-grid {
    grid-template-columns: 1fr;

    max-width: 650px;

    gap: 18px;
  }

  .contact-card {
    padding: 30px 24px;
  }

  .contact-card h3 {
    font-size: 32px;
  }
}

/* 18. TABLET RESPONSIVENESS */

@media (max-width: 900px) {
  .header-caption {
    display: none;
  }

  .hero {
    padding: 80px 24px;
  }

  .brand-name {
    font-size: clamp(28px, 8.5vw, 80px);

    letter-spacing: 0.1em;

    margin-right: -0.1em;
  }

  .brand-clinical {
    font-size: 16px;

    letter-spacing: 8px;
  }

  .hero-description {
    font-size: 18px;
  }
}

/* 19. MOBILE RESPONSIVENESS */

@media (max-width: 600px) {
  html {
    scroll-padding-top: 20px;
  }

  .site-header {
    padding: 15px 5%;

    gap: 12px;
  }

  .header-brand {
    font-size: 14px;

    letter-spacing: 1.5px;
  }

  .header-contact {
    font-size: 14px;

    letter-spacing: 0;
  }

  .hero {
    min-height: auto;

    padding: 65px 20px 70px;
  }

  .brand-lockup {
    margin-bottom: 35px;
  }

  .brand-name {
    font-size: clamp(23px, 8.5vw, 51px);

    letter-spacing: 0.08em;

    margin-right: -0.08em;

    padding: 5px 0 10px;
  }

  .brand-clinical {
    font-size: 14px;

    letter-spacing: 6px;

    gap: 12px;

    margin-top: 8px;
  }

  .brand-clinical span {
    width: 30px;
  }

  .launch-status {
    font-size: 13px;

    letter-spacing: 2px;

    padding: 12px 20px;
  }

  h1 {
    font-size: clamp(40px, 11vw, 54px);

    line-height: 1.12;

    margin: 25px 0 20px;
  }

  .hero-description {
    max-width: 360px;

    font-size: 17px;

    line-height: 1.8;
  }

  .coming-soon {
    font-size: 16px;

    letter-spacing: 0.3px;

    margin: 25px 0;
  }

  .primary-button {
    min-height: 56px;

    padding: 16px 28px;

    font-size: 14px;

    letter-spacing: 1.5px;
  }

  .primary-button span {
    font-size: 18px;
  }

  .contact-section {
    padding: 50px 20px 45px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .eyebrow {
    font-size: 13px;

    letter-spacing: 2px;
  }

  .section-heading h2 {
    font-size: 34px;

    line-height: 1.2;
  }

  .section-heading p {
    font-size: 16px;

    line-height: 1.8;
  }

  .contact-grid {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .contact-card {
    padding: 28px 16px;
  }

  .contact-number {
    font-size: 13px;
  }

  .contact-card h3 {
    font-size: 30px;

    margin: 12px 0 8px;
  }

  .contact-role {
    font-size: 15px;

    margin-bottom: 12px;
  }

  .contact-card a {
    font-size: 15px;
  }

  .joint-contact {
    font-size: 15px;

    margin-top: 25px;
  }

  .site-footer {
    padding: 32px 20px;
  }

  .footer-brand {
    font-size: 14px;

    letter-spacing: 2px;
  }

  .site-footer p,
  .site-footer a {
    font-size: 14px;

    line-height: 1.8;
  }

  .site-footer .footer-location {
    font-size: 15px;

    font-weight: 500;

    margin-top: 8px;
  }

  .silver-orbit {
    width: 220%;

    left: -60%;
  }
}

/* 20. SMALL MOBILE SCREENS */

@media (max-width: 360px) {
  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .header-brand {
    font-size: 13px;

    letter-spacing: 1px;
  }

  .hero {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-name {
    font-size: 8.2vw;

    letter-spacing: 0.05em;

    margin-right: -0.05em;
  }

  .brand-clinical {
    font-size: 13px;

    letter-spacing: 4px;

    gap: 10px;
  }

  .brand-clinical span {
    width: 24px;
  }

  h1 {
    font-size: 40px;
  }

  .contact-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .contact-card {
    padding-left: 12px;
    padding-right: 12px;
  }

  .contact-card h3 {
    font-size: 28px;
  }

  .contact-card a {
    font-size: 15px;
  }

  .site-footer .footer-location {
    font-size: 14px;
  }
}

/* 21. TOUCHSCREEN OPTIMISATION */

@media (hover: none) {
  .contact-card:hover,
  .primary-button:hover,
  .js-enabled .contact-card.is-visible:hover {
    transform: none;
  }
}

/* 22. ACCESSIBILITY — REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;

    transition: none !important;
  }

  .js-enabled .scroll-reveal {
    opacity: 1;

    transform: none;
  }

  .brand-name {
    background: none;

    color: var(--silver-dark);

    -webkit-text-fill-color: var(--silver-dark);
  }
}

/* 23. ACCESSIBILITY — HIGH CONTRAST */

@media (forced-colors: active) {
  .brand-name {
    background: none;

    color: CanvasText;

    -webkit-text-fill-color: CanvasText;
  }

  .primary-button {
    border: 1px solid ButtonText;
  }
}

/* ==============================================
   END OF PERLEWHITE CLINICAL STYLESHEET
   ============================================== */
