/* ============================================================
   GEMXPERT — Gemological Lab
   Design tokens
   ============================================================ */
:root{
  --ink:        #142621;
  --ink-2:      #1B342C;
  --paper:      #F4EFE3;
  --paper-2:    #ECE4D0;
  --emerald:    #1F4B3C;
  --gold:       #AD8A4E;
  --gold-light: #D9BD84;
  --garnet:     #7C2E34;
  --line:       #D9CFB2;
  --line-dark:  rgba(244,239,227,0.16);
  --text:       #22281F;
  --text-muted: #5C5646;
  --text-on-dark: #E9E3D2;
  --text-on-dark-muted: #A9AB98;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;

  --maxw: 1180px;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

h1,h2,h3,h4{
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: 0.005em;
}

p{ color: var(--text-muted); }

/* ---------- Section marker (replaces generic ALL-CAPS eyebrow) ---------- */
.marker{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 18px;
}
.marker .hexdot{
  width:9px; height:9px;
  background: var(--gold);
  clip-path: polygon(25% 0%,75% 0%,100% 50%,75% 100%,25% 100%,0% 50%);
  flex-shrink:0;
}
.marker span{
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--gold);
}
.marker.on-dark span{ color: var(--gold-light); }
.marker::after{
  content:"";
  height:1px;
  flex:1;
  background: var(--line);
  max-width: 120px;
}
.marker.on-dark::after{ background: var(--line-dark); }

.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .marker{ justify-content:center; }
.section-head.center .marker::after{ display:none; }
.section-head h2{
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 16px;
}
.section-head p{
  font-size: 17px;
  max-width: 520px;
}
.section-head.center p{ margin: 0 auto; }

section{ padding: 96px 0; }
@media (max-width: 720px){ section{ padding: 64px 0; } }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn-gold{ background: var(--gold); color: var(--ink); }
.btn-gold:hover{ background: var(--gold-light); }
.btn-outline-dark{ border-color: rgba(20,38,33,0.35); color: var(--ink); background:transparent; }
.btn-outline-dark:hover{ border-color: var(--ink); background: rgba(20,38,33,0.05); }
.btn-outline-light{ border-color: rgba(233,227,210,0.4); color: var(--text-on-dark); background:transparent; }
.btn-outline-light:hover{ border-color: var(--text-on-dark); background: rgba(233,227,210,0.08); }
.btn-block{ width:100%; justify-content:center; }

/* ---------- Header ---------- */
header.site{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  padding: 22px 0;
  transition: background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
header.site.scrolled{
  background: rgba(20,38,33,0.92);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  border-bottom-color: var(--line-dark);
}
header.site .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{ width:34px; height:34px; }
.brand .name{
  font-family: var(--serif);
  font-size: 19px;
  font-weight:600;
  letter-spacing: 0.03em;
  color: var(--text-on-dark);
}
.brand .name b{ color: var(--gold-light); font-weight:600; }

nav.primary{ display:flex; align-items:center; gap:36px; }
nav.primary a{
  font-size: 14.5px;
  color: var(--text-on-dark-muted);
  position:relative;
  padding: 4px 0;
  transition: color .2s ease;
}
nav.primary a:hover, nav.primary a.active{ color: var(--text-on-dark); }
nav.primary a.active::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-6px;
  height:2px;
  background: var(--gold);
}
.header-actions{ display:flex; align-items:center; gap:18px; }
.header-actions .btn{ padding: 11px 22px; font-size:13.5px; }

nav.primary a.nav-report{
  color: var(--gold-light);
  font-weight:600;
  letter-spacing:.02em;
}
nav.primary a.nav-report:hover{ color: var(--gold); }
nav.primary a.nav-report::before{
  content:"";
  display:inline-block;
  width:6px; height:6px;
  margin-right:8px;
  background: var(--gold);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  vertical-align:middle;
}

.nav-toggle{
  display:none;
  width:38px; height:38px;
  border:1px solid var(--line-dark);
  background:transparent;
  color: var(--text-on-dark);
  align-items:center; justify-content:center;
  cursor:pointer;
}
.nav-toggle svg{ width:18px; height:18px; }

@media (max-width: 900px){
  nav.primary{
    position:fixed;
    top:0; right:0;
    height:100vh;
    width: min(320px, 80vw);
    background: var(--ink);
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .35s ease;
    border-left: 1px solid var(--line-dark);
  }
  nav.primary.open{ transform: translateX(0); }
  nav.primary a{ font-size:18px; }
  .header-actions .btn-outline-light{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ---------- Hero ---------- */
.hero{
  background: var(--ink);
  color: var(--text-on-dark);
  overflow:hidden;
}
.hero .wrap{
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items:center;
  gap: 60px;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero-copy .marker span{ color: var(--gold-light); }
.hero-copy h1{
  font-family: var(--serif);
  color: var(--text-on-dark);
  font-size: clamp(42px, 6vw, 66px);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 24px;
  opacity:0; transform: translateY(16px);
  animation: rise .8s .15s ease forwards;
}
.hero-copy h1 em{
  font-style:normal;
  color: var(--gold-light);
}
.hero-copy p{
  color: var(--text-on-dark-muted);
  font-size: 17px;
  max-width: 460px;
  margin-bottom: 36px;
  opacity:0; transform: translateY(16px);
  animation: rise .8s .3s ease forwards;
}
.hero-actions{
  display:flex; gap:16px; flex-wrap:wrap;
  opacity:0; transform: translateY(16px);
  animation: rise .8s .45s ease forwards;
}
@keyframes rise{ to{ opacity:1; transform:none; } }

.hero-visual{
  position:relative;
  aspect-ratio: 4/5;
  opacity:0;
  animation: fadein 1s .2s ease forwards;
}
@keyframes fadein{ to{ opacity:1; } }
.hero-visual .frame{
  position:absolute; inset:0;
  clip-path: polygon(12% 0%, 100% 0%, 100% 88%, 88% 100%, 0% 100%, 0% 12%);
  overflow:hidden;
  border: 1px solid var(--line-dark);
}
.hero-visual .frame img{
  width:100%; height:100%; object-fit:cover;
}
.loupe{
  position:absolute;
  width: 168px; height:168px;
  bottom: -8%;
  left: -10%;
  border-radius:50%;
  border: 3px solid var(--gold);
  background-repeat:no-repeat;
  background-size: 104% 103%;
  background-position: 60% 35%;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45), inset 0 0 0 6px rgba(20,38,33,0.9);
}
.loupe::after{
  content:"";
  position:absolute;
  right:-14px; bottom:-14px;
  width: 56px; height:8px;
  background: var(--gold);
  border-radius: 4px;
  transform: rotate(45deg);
}
@media (max-width: 900px){
  .hero .wrap{ grid-template-columns:1fr; padding-top:110px; min-height:auto; }
  .hero-visual{ aspect-ratio: 5/4; order:-1; }
  .loupe{ width:110px; height:110px; left:-6%; bottom:-6%; }
}

/* ---------- About ---------- */
.about{ background: var(--paper); }
.about-grid{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items:center;
}
.about-image{
  position:relative;
  clip-path: polygon(0% 8%, 92% 0%, 100% 92%, 8% 100%);
  aspect-ratio: 4/5;
  overflow:hidden;
}
.about-image img{ width:100%; height:100%; object-fit:cover; }
@media (max-width: 900px){
  .about-grid{ grid-template-columns: 1fr; gap: 40px; }
  .about-image{ max-width: 420px; margin: 0 auto; }
}
.about-copy h3{ font-size: clamp(26px,3vw,32px); margin-bottom:18px; }
.about-copy p{ margin-bottom:16px; font-size:16px; }
.standards{
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 28px 30px;
}
.standards h4{
  font-family: var(--sans);
  font-size:13px;
  letter-spacing:0.02em;
  color: var(--ink);
  margin-bottom:16px;
  font-weight:700;
}
.standards li{
  display:flex;
  gap:12px;
  align-items:flex-start;
  font-size:15px;
  color: var(--text-muted);
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.standards li:first-of-type{ border-top:none; padding-top:0; }
.standards li svg{ width:15px; height:15px; flex-shrink:0; margin-top:3px; color:var(--gold); }

/* ---------- Services ---------- */
.services{ background: var(--paper-2); }
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card{
  background: var(--paper-2);
  padding: 40px 34px;
  transition: background .25s ease;
}
.service-card:hover{ background: var(--paper); }
.hexicon{
  width:60px; height:60px;
  clip-path: polygon(25% 0%,75% 0%,100% 50%,75% 100%,25% 100%,0% 50%);
  background: var(--ink);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:26px;
}
.hexicon svg{ width:26px; height:26px; color: var(--gold-light); }
.service-card h3{ font-size:20px; margin-bottom:10px; }
.service-card p{ font-size:14.5px; }
@media (max-width: 900px){ .services-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .services-grid{ grid-template-columns: 1fr; } }

/* ---------- Gallery (specimen cards) ---------- */
.gallery{ background: var(--ink); color: var(--text-on-dark); }
.gallery .section-head h2{ color: var(--text-on-dark); font-size: clamp(30px, 3.6vw, 44px); }
.gallery .section-head p{ color: var(--text-on-dark-muted); }
.speci-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.specimen{
  position:relative;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  padding: 18px 18px 22px;
}
.specimen .frame{
  aspect-ratio: 4/3;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background: #0E1B17;
}
.specimen img{ width:100%; height:100%; object-fit:contain; transition: transform .5s ease; }
.specimen:hover img{ transform: scale(1.035); }
.specimen .corner{ position:absolute; width:14px; height:14px; border-color: var(--gold); pointer-events:none; }
.specimen .corner.tl{ top:8px; left:8px; border-top:2px solid; border-left:2px solid; }
.specimen .corner.br{ bottom:8px; right:8px; border-bottom:2px solid; border-right:2px solid; }
.specimen .label{
  margin-top:16px;
  text-align:center;
  font-family: var(--serif);
  font-size:19px;
  color: var(--text-on-dark);
}
.specimen .sub{
  text-align:center;
  font-family: var(--mono);
  font-size:11px;
  color: var(--gold-light);
  letter-spacing:0.03em;
  margin-top:4px;
}

/* ---------- Contact ---------- */
.contact{ background: var(--paper); }
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.contact-info{
  background: #fff;
  padding: 52px 48px;
}
.contact-info h3{ font-size:24px; margin-bottom:14px; }
.contact-info > p{ margin-bottom:32px; font-size:15.5px; }
.info-row{
  display:flex;
  gap:16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.info-row:first-of-type{ border-top:none; }
.info-row svg{ width:20px; height:20px; color:var(--gold); flex-shrink:0; margin-top:2px; }
.info-row .label{ font-size:12.5px; color:var(--text-muted); margin-bottom:4px; letter-spacing:0.02em; }
.info-row .value{ font-family: var(--sarif); font-size:15px; color:var(--ink); }
.contact-cta{
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 52px 48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.contact-cta h3{ color:var(--text-on-dark); font-size: clamp(24px,3vw,30px); margin: 14px 0 14px; }
.contact-cta p{ color: var(--text-on-dark-muted); margin-bottom:30px; font-size:15.5px; }
@media (max-width:860px){
  .contact-grid{ grid-template-columns:1fr; }
}

/* ---------- Contact form (contact.html) ---------- */
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-size:13px; color: var(--text-muted); }
.field input, .field textarea, .field select{
  border:1px solid var(--line);
  background:#fff;
  padding: 13px 14px;
  font-family: var(--sans);
  font-size:15px;
  color: var(--text);
}
.field input:focus, .field textarea:focus, .field select:focus{ border-color: var(--gold); }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero{
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 168px 0 72px;
}
.page-hero .marker span{ color: var(--gold-light); }
.page-hero h1{ color: var(--text-on-dark); font-size: clamp(36px,5vw,52px); }
.page-hero p{ color: var(--text-on-dark-muted); max-width:560px; margin-top:16px; font-size:16.5px; }

/* ---------- Process / signature block ---------- */
.signature-block{
  display:flex;
  align-items:center;
  gap:22px;
  margin-top:36px;
  padding-top:28px;
  border-top: 1px solid var(--line);
}
.signature-block img{ width:130px; opacity:0.85; }
.signature-block .who{ font-size:14px; color:var(--text-muted); }
.signature-block .who b{ display:block; color:var(--ink); font-family:var(--serif); font-size:17px; font-weight:600; }

/* ---------- Footer ---------- */
footer.site{
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding: 72px 0 28px;
  border-top: 1px solid var(--line-dark);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand{ margin-bottom:16px; }
.footer-brand p{ color: var(--text-on-dark-muted); font-size:14.5px; max-width:280px; }
.footer-col h5{
  font-family:var(--sans);
  font-size:13px;
  color: var(--gold-light);
  letter-spacing:0.02em;
  margin-bottom:18px;
  font-weight:600;
}
.footer-col li{ margin-bottom:12px; }
.footer-col a{ font-size:14.5px; color: var(--text-on-dark-muted); transition: color .2s ease; }
.footer-col a:hover{ color: var(--text-on-dark); }
.footer-bottom{
  display:flex;
  justify-content:space-around;
  align-items:center;
  padding-top:28px;
  border-top:1px solid var(--line-dark);
  font-size:13px;
  flex-wrap:wrap;
  gap:12px;
}
@media (max-width:860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width:600px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ---------- misc ---------- */
.callbar{
  position:fixed;
  bottom:22px; right:22px;
  z-index:90;
  width:56px; height:56px;
  background: var(--gold);
  color: var(--ink);
  clip-path: polygon(25% 0%,75% 0%,100% 50%,75% 100%,25% 100%,0% 50%);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.callbar svg{ width:22px; height:22px; }


/*/////////////// New update ////////////////*/



.mob-acc-rep {
    display: none;
}

.mob-report {
    display: none;
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: .02em;
}

.mob-report::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    background: var(--gold);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    vertical-align: middle;
}

@media (max-width: 720px) {
    .mob-acc-rep {
        display: block;
        margin-top: -56px;
    }

    .mob-report {
        display: block;
    }
}

