/* ==========================================================================
   Loriya Overseas
   Palette derives from the logo: brand red sampled at #A93C4C
   ========================================================================== */

:root {
  --red: #a93c4c;
  --red-deep: #8c2e3c;
  --red-wash: #f7edee;

  --ink: #241b1d;
  --ink-soft: #4a3c3f;
  --muted: #6e6063;

  --paper: #ffffff;
  --paper-alt: #faf7f6;
  --line: #e8dedf;
  --line-strong: #d6c8ca;

  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --wrap: 1140px;
  --r: 3px;
}

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

html { scroll-behavior: smooth; }

/* anchor targets clear the sticky header instead of hiding under it */
[id] { scroll-margin-top: 96px; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--ink);
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }

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

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.eyebrow-light { color: #e6b9c0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 12px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.head-cta .btn { white-space: nowrap; }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* ---------- utility bar ---------- */
.utility {
  background: var(--ink);
  color: #cdbfc1;
  font-family: var(--mono);
  font-size: 12px;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
  flex-wrap: wrap;
}
.u-right { display: flex; gap: 22px; flex-wrap: wrap; }
.u-item { color: #cdbfc1; text-decoration: none; }
.u-item:hover { color: #fff; }

/* ---------- header ---------- */
.site-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.head-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 14px;
}
.brand { flex-shrink: 0; line-height: 0; }
.brand img { width: 148px; height: auto; }

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.nav a:hover { color: var(--red); border-bottom-color: var(--red); }

.head-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 40px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- hero ---------- */
.hero {
  padding-block: 76px 84px;
  background:
    radial-gradient(circle at 88% 12%, var(--red-wash), transparent 46%),
    var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 15ch;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-points li { position: relative; padding-left: 16px; }
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--red);
}

/* ceramic sample board */
.sampleboard {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 16px;
  box-shadow: 0 18px 44px -28px rgba(36, 27, 29, .45);
}
.sb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.t { aspect-ratio: 1; display: block; }
.t1 { background: linear-gradient(140deg, #efe7e3, #ddd0ca); }
.t2 { background: linear-gradient(140deg, #b9525f, #8c2e3c); }
.t3 { background: linear-gradient(140deg, #e8dad4, #c9b3ab); }
.t4 { background: linear-gradient(140deg, #6e6063, #46383b); }
.t5 { background: linear-gradient(140deg, #f5efe9, #e3d7cd); }
.t6 { background: linear-gradient(140deg, #a93c4c, #6f2530); }
.t7 { background: linear-gradient(140deg, #d8c9c0, #b3a094); }
.t8 { background: linear-gradient(140deg, #faf7f6, #e9e1dc); }
.t9 { background: linear-gradient(140deg, #8f7f78, #5d4f4a); }

.sb-tag {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}
.sb-tag b { color: var(--ink); font-weight: 500; }

/* ---------- credential strip ---------- */
.credstrip { border-block: 1px solid var(--line); background: var(--paper-alt); }
.credstrip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-inline: 24px;
}
.cred {
  padding: 20px 22px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cred + .cred { padding-left: 22px; border-left: 1px solid var(--line); }
.cred b { font-family: var(--display); font-size: 16px; font-weight: 600; }
.cred span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* ---------- section shell ---------- */
.section { padding-block: 84px; }
.section-alt { background: var(--paper-alt); border-block: 1px solid var(--line); }

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 42px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--ink);
}
.sec-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.sec-note { color: var(--muted); font-size: 15px; max-width: 42ch; }

/* ---------- product cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.card-swatch { aspect-ratio: 4 / 3; }
.sw-1 { background: linear-gradient(150deg, #efe7e3 0%, #cdbcb3 100%); }
.sw-2 { background: linear-gradient(150deg, #f6f1ec 0%, #b9a79c 100%); }
.sw-3 { background: linear-gradient(150deg, #f2e4e6 0%, #b9525f 100%); }
.sw-4 { background: linear-gradient(150deg, #ded4cd 0%, #6e6063 100%); }

.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 17px; font-weight: 600; }
.card-body p { font-size: 14.5px; color: var(--muted); }

.mini-spec {
  margin: 0;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
}
.mini-spec > div { display: flex; flex-direction: column; gap: 2px; }
.mini-spec dt { color: var(--muted); }
.mini-spec dd { margin: 0; color: var(--ink); }

.cards-foot {
  margin-top: 26px;
  font-size: 15px;
  color: var(--muted);
}
.cards-foot a { font-weight: 600; text-decoration: none; }
.cards-foot a:hover { text-decoration: underline; }

/* ---------- spec table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper);
}
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.spec th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 14px 18px;
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
}
.spec td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.spec tbody tr:last-child td { border-bottom: 0; }
.spec tbody tr:hover td { background: var(--red-wash); }

.table-note {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.steps li {
  background: var(--paper);
  padding: 26px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  border: 1px solid var(--red);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.steps h3 { font-size: 17px; font-weight: 600; }
.steps p { font-size: 14.5px; color: var(--muted); }

/* ---------- two markets ---------- */
.section-dark { background: var(--ink); color: #ded2d4; }
.section-dark h2, .section-dark h3 { color: #fff; }

.two-markets {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.tm-copy h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 16px; }
.tm-copy p { color: #b9a9ac; max-width: 40ch; }

.tm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tm-card {
  border: 1px solid #433437;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tm-card h3 { font-size: 17px; font-weight: 600; }
.tm-card > p { font-size: 14.5px; color: #b9a9ac; }
.tm-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tm-card li {
  font-family: var(--mono);
  font-size: 12px;
  color: #cdbfc1;
  padding-left: 15px;
  position: relative;
}
.tm-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--red);
}

/* ---------- enquiry ---------- */
.enquiry-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.enq-copy h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.enq-copy > p { color: var(--muted); margin-bottom: 30px; max-width: 40ch; }

.contact-list { list-style: none; display: flex; flex-direction: column; }
.contact-list li {
  display: flex;
  gap: 18px;
  padding-block: 13px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  align-items: baseline;
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.cl-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  width: 92px;
  flex-shrink: 0;
}
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.enq-assurance {
  margin-top: 24px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 42ch;
}

.enq-form {
  border: 1px solid var(--line);
  background: var(--paper-alt);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field .opt { text-transform: none; letter-spacing: 0; }
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 11px 13px;
  width: 100%;
  transition: border-color .18s ease;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.field input[aria-invalid="true"] { border-color: var(--red); background: var(--red-wash); }

.form-status {
  font-size: 14.5px;
  min-height: 1.4em;
  margin: 0;
}
.form-status.ok { color: #1f6b4a; }
.form-status.err { color: var(--red-deep); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #b9a9ac; padding-top: 62px; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}
.foot-brand img { width: 158px; height: auto; margin-bottom: 18px; }
.foot-brand p { font-size: 14.5px; max-width: 34ch; }

.foot-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
  margin-bottom: 14px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot-col a { color: #b9a9ac; text-decoration: none; font-size: 14.5px; }
.foot-col a:hover { color: #fff; }
.foot-contact li { font-size: 14.5px; }

.foot-base {
  border-top: 1px solid #3b2d30;
  padding-block: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #9d8c90;
}

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .4);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.06); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .two-markets { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
    box-shadow: 0 18px 30px -22px rgba(36, 27, 29, .5);
  }
  .nav.open { display: flex; }
  .nav a { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }

  .nav-toggle { display: flex; }
  .head-inner { position: relative; }

  .hero { padding-block: 52px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: 100%; }

  /* stacked, the board is decoration — cap it so content stays reachable */
  .sampleboard { max-width: 420px; }

  .credstrip-inner { grid-template-columns: 1fr 1fr; }
  .cred:nth-child(odd) { padding-left: 0; border-left: 0; }
  .cred:nth-child(n+3) { border-top: 1px solid var(--line); }

  .section { padding-block: 58px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }

  .enquiry-grid { grid-template-columns: 1fr; gap: 38px; }
  .tm-cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  /* keep logo, CTA and menu on one line in the sticky header */
  .brand img { width: 116px; }
  .head-inner { gap: 12px; padding-block: 11px; }
  .head-cta { gap: 8px; }
  .head-cta .btn { padding: 10px 14px; font-size: 13.5px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .enq-form { padding: 22px; }

  /* contact details earn the space here; the location line does not */
  .utility { font-size: 11px; }
  .utility-inner { justify-content: center; }
  .utility-inner > .u-item { display: none; }
  .u-right { gap: 18px; }
}
