/*
Theme Name: Artisan Tech
Theme URI: https://artisantechnologies.com.au/
Author: Artisan Tech Pty Ltd
Description: Custom multilingual company website for Artisan Tech Pty Ltd.
Version: 1.0.0
Text Domain: artisan-tech
*/

:root {
  --navy: #12324a;
  --navy-dark: #0b2538;
  --blue: #176b8f;
  --green: #2b8a78;
  --ink: #1c2b34;
  --muted: #60717b;
  --line: #dce4e8;
  --light: #f4f7f8;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", "Noto Sans SC", "Noto Sans KR", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.admin-bar .site-header { top: 32px; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(23, 49, 63, 0.08); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  flex: 0 0 auto;
}
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { color: var(--navy); letter-spacing: 0.08em; font: 700 14px/1 "Manrope", sans-serif; }
.brand-copy small { margin-top: 5px; color: #82919a; letter-spacing: 0.22em; font-size: 8px; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #42545e; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.nav-cta):hover { color: var(--blue); }
.language-switcher {
  padding: 3px;
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #bcc9cf;
  border-radius: 4px;
  background: var(--white);
}
.language-option {
  padding: 5px 7px;
  color: #61727c;
  border: 0;
  border-radius: 2px;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.language-option:hover { color: var(--navy); }
.language-option.is-active { color: var(--white); background: var(--navy); }
.nav-cta { padding: 11px 18px; color: var(--white); border-radius: 4px; background: var(--navy); }
.nav-cta:hover { background: var(--blue); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px 0; background: var(--navy); transition: 180ms ease; }

.hero { position: relative; padding: 156px 0 88px; background: var(--light); }
.hero-grid, .hero-glow { display: none; }
.hero-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 80px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
h1, h2, h3 { margin: 0; font-family: "Manrope", "Noto Sans SC", "Noto Sans KR", Arial, sans-serif; }
.hero h1 { max-width: 720px; color: var(--navy-dark); letter-spacing: -0.035em; font-size: clamp(45px, 5vw, 67px); line-height: 1.08; }
.hero h1 em { color: inherit; font-style: normal; }
.hero-lead { max-width: 670px; margin: 25px 0 31px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 49px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}
.button-primary { color: var(--white); background: var(--navy); }
.button-primary:hover { background: var(--blue); }
.button-ghost { color: var(--navy); border-color: #b9c7cd; background: var(--white); }
.button-ghost:hover { border-color: var(--navy); }
.trust-row { margin-top: 42px; display: flex; gap: 45px; }
.trust-row > div { display: grid; }
.trust-row strong { color: var(--navy); font-size: 14px; }
.trust-row span { margin-top: 3px; color: #71818a; font-size: 12px; }
.hero-visual { display: grid; place-items: center; }
.hero-panel {
  width: 100%;
  min-height: 310px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  border-radius: 5px;
  background: var(--navy);
}
.hero-panel-label { margin-bottom: auto; color: #a9c4d3; letter-spacing: 0.14em; font-size: 10px; font-weight: 700; }
.hero-panel strong { max-width: 280px; font: 700 35px/1.2 "Manrope", sans-serif; }
.hero-panel-lines { margin: 24px 0; display: flex; gap: 8px; }
.hero-panel-lines span { width: 45px; height: 3px; background: #ffffff; }
.hero-panel-lines span:nth-child(2) { background: #56b5a5; }
.hero-panel-lines span:nth-child(3) { background: #7fa8bd; }
.hero-panel p { margin: 0; color: #c2d2da; font-size: 13px; }

.section { padding: 96px 0; }
.section-label { display: inline-block; margin-bottom: 14px; color: var(--green); letter-spacing: 0.14em; font-size: 11px; font-weight: 800; }
.section-label.light { color: #8dd1c5; }
.section-heading { margin-bottom: 42px; display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: end; gap: 70px; }
.section-heading h2, .process-heading h2 { max-width: 710px; color: var(--navy-dark); letter-spacing: -0.03em; font-size: clamp(34px, 4vw, 48px); line-height: 1.15; }
.section-heading p { margin: 0; color: var(--muted); line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card {
  position: relative;
  min-height: 295px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.service-card:hover { border-color: #a9bdc7; box-shadow: 0 10px 28px rgba(22, 49, 63, 0.08); }
.service-card-featured { background: var(--white); }
.card-number { position: absolute; top: 28px; right: 29px; color: #9babb3; font-size: 11px; font-weight: 700; }
.card-icon { width: 43px; height: 43px; margin-bottom: 25px; border: 1px solid #b8d2d0; border-radius: 4px; background: #f1f8f7; }
.card-icon span, .card-icon::before, .card-icon::after { display: none; }
.service-card h3 { color: var(--navy); font-size: 21px; }
.service-card p { margin: 13px 0 19px; color: var(--muted); line-height: 1.65; }
.service-card ul { margin: 0; padding: 0; list-style: none; }
.service-card li { position: relative; margin-top: 8px; padding-left: 16px; color: #485d68; font-size: 13px; }
.service-card li::before { position: absolute; top: 6px; left: 0; width: 5px; height: 5px; border-radius: 50%; content: ""; background: var(--green); }

.about { color: var(--ink); border-top: 1px solid var(--line); background: var(--light); }
.about-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
.about-story h2 { color: var(--navy-dark); letter-spacing: -0.03em; font-size: clamp(34px, 4vw, 48px); line-height: 1.15; }
.about-story p { margin: 22px 0 28px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.text-link { display: inline-flex; gap: 20px; color: var(--blue); border-bottom: 1px solid #a8c7d4; padding-bottom: 5px; font-weight: 700; }
.founder-cards { display: grid; gap: 14px; }
.founder-card { padding: 30px; display: grid; grid-template-columns: auto 1fr; gap: 23px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.founder-card-accent { border-color: var(--line); }
.founder-monogram { width: 48px; height: 48px; display: grid; place-items: center; color: var(--navy); border-radius: 4px; background: #e8f1f4; font: 700 11px/1 "Manrope", sans-serif; }
.founder-card-accent .founder-monogram { color: #376b62; background: #eaf5f2; }
.founder-role, .founder-card-accent .founder-role { color: var(--green); letter-spacing: 0.1em; font-size: 9px; font-weight: 800; }
.founder-card h3 { margin-top: 8px; color: var(--navy); font-size: 20px; line-height: 1.35; }
.founder-card p { margin: 10px 0 0; color: var(--muted); line-height: 1.65; }

.process { background: var(--white); }
.process-heading { margin-bottom: 48px; text-align: center; }
.process-heading h2 { margin: 0 auto; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { padding: 26px; border-top: 3px solid var(--navy); background: var(--light); }
.process-step > span { color: var(--green); font-size: 11px; font-weight: 800; }
.process-step h3 { margin-top: 24px; color: var(--navy); font-size: 20px; }
.process-step p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.contact { padding-top: 0; background: var(--white); }
.contact-panel { padding: 64px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 75px; color: var(--white); border-radius: 5px; background: var(--navy-dark); }
.contact-copy h2 { letter-spacing: -0.03em; font-size: clamp(35px, 4vw, 47px); line-height: 1.15; }
.contact-copy > p { margin: 20px 0 31px; color: #b8c7cf; line-height: 1.7; }
.email-link { display: flex; align-items: center; gap: 13px; }
.email-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--white); border: 1px solid #718b99; border-radius: 4px; font-weight: 700; }
.email-link small, .email-link strong { display: block; }
.email-link small { margin-bottom: 4px; color: #8fa3ae; letter-spacing: 0.1em; font-size: 8px; }
.email-link strong { font-size: 13px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; color: #d2dce1; font-size: 12px; font-weight: 600; }
.contact-form label:nth-child(3), .contact-form label:nth-child(4), .form-submit, .form-note { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; color: var(--white); border: 1px solid #536d7b; border-radius: 3px; outline: 0; background: #16374b; }
.contact-form input, .contact-form select { height: 45px; padding: 0 13px; }
.contact-form textarea { padding: 12px 13px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #8dd1c5; }
.contact-form select option { color: var(--ink); background: var(--white); }
.form-submit { margin-top: 3px; color: var(--navy-dark); background: #8dd1c5; }
.form-submit:hover { background: #a4ded4; }
.form-note { margin: -8px 0 0; color: #7f96a2; text-align: center; font-size: 10px; }

.site-footer { padding: 38px 0; color: #71818a; border-top: 1px solid var(--line); background: var(--white); font-size: 12px; }
.footer-layout { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 28px; }
.footer-layout p { margin: 0; text-align: center; line-height: 1.65; }
.footer-layout > a:last-child { justify-self: end; color: var(--navy); }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 480ms ease, transform 480ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 80ms; }

@media (max-width: 920px) {
  .main-nav { gap: 18px; }
  .hero-layout { gap: 45px; }
  .about-layout, .contact-panel { gap: 45px; }
  .contact-panel { padding: 48px; }
}

@media (max-width: 800px) {
  .admin-bar .site-header { top: 46px; }
  .container { width: min(100% - 34px, 680px); }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 30px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    visibility: hidden;
    opacity: 0;
    background: var(--white);
    transform: translateY(-8px);
    transition: 180ms ease;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav > a:not(.nav-cta) { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .language-switcher { width: fit-content; margin: 22px 0; }
  .nav-cta { padding: 15px; text-align: center; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 130px 0 75px; }
  .hero-layout, .section-heading, .about-layout, .contact-panel { grid-template-columns: 1fr; }
  .hero-panel { min-height: 240px; }
  .section { padding: 78px 0; }
  .section-heading { gap: 15px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-layout { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-layout > a:last-child { justify-self: center; }
}

@media (max-width: 560px) {
  .nav-wrap { min-height: 70px; }
  .main-nav { top: 70px; }
  .hero { padding-top: 113px; }
  .hero h1 { font-size: 41px; }
  .hero-lead { font-size: 16px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .trust-row { gap: 18px; }
  .trust-row > div { flex: 1; }
  .hero-panel { min-height: 210px; padding: 28px; }
  .hero-panel strong { font-size: 29px; }
  .service-grid, .process-steps { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 27px; }
  .founder-card { padding: 25px; grid-template-columns: 1fr; }
  .contact { padding-bottom: 0; }
  .contact-panel { width: 100%; padding: 50px 23px; border-radius: 0; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label { grid-column: 1; }
  .email-link strong { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
