@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #233b4d; font: clamp(.9375rem, .9rem + .15vw, 1.0625rem)/1.65 "DM Sans", Arial, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: #555; }
:focus-visible { outline: 2px solid #222; outline-offset: 4px; }
.wrap { width: min(1480px, calc(100% - clamp(40px, 9vw, 150px))); margin-inline: auto; }
header { border-bottom: 1px solid #444; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(22px, 3vw, 44px); flex-wrap: wrap; }
.brand { font-weight: bold; text-decoration: none; white-space: nowrap; }
nav { display: flex; gap: clamp(18px, 3vw, 46px); flex-wrap: wrap; }
nav a:not([aria-current]) { text-decoration: none; }
nav a:hover { text-decoration: underline; }
main { padding-block: clamp(32px, 6vw, 94px) clamp(64px, 9vw, 140px); }
main.wrap, .home-main .wrap, .interior-main .wrap {
  width: min(1240px, calc(100% - clamp(48px, 15vw, 256px)));
}

@media (max-width: 760px) {
  main.wrap, .home-main .wrap, .interior-main .wrap { width: calc(100% - 40px); }
}
section + section { margin-top: clamp(50px, 8vw, 124px); }
h1, h2, h3, p { margin: 0 0 .65em; }
h1 { font-size: clamp(2.25rem, 5vw, 4.75rem); line-height: 1.03; letter-spacing: -.045em; }
h2 { font-size: clamp(1.65rem, 3.1vw, 3rem); line-height: 1.1; letter-spacing: -.035em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.75rem); line-height: 1.2; margin-top: .65em; }
.split, .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 76px); }
.hero { gap: 0; border: 1px solid #555; grid-template-columns: 46% 54%; }
.hero > div:first-child { align-self: center; padding: clamp(26px, 5vw, 72px); }
.placeholder { display: grid; place-items: center; min-height: 260px; background: #ededed; color: #4d4d4d; text-align: center; padding: 16px; }
.hero .placeholder { min-height: clamp(420px, 48vw, 680px); }
.about .split { align-items: center; }
.about .placeholder { min-height: clamp(280px, 34vw, 520px); }
.map { max-width: 560px; margin-inline: auto; }
input, textarea, button { border: 1px solid #777; border-radius: 0; padding: 12px 16px; font: inherit; background: white; color: inherit; }
button { cursor: pointer; background: #e9e9e9; }
button:hover { background: #ddd; }
.contact-inquiries h2 { margin: 0; }
.contact-details dl { margin: 16px 0 0; }
.contact-details dt { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 700; }
.contact-details dd { margin: 4px 0 16px; }
.contact-lines {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.contact-label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-details a { color: var(--teal); text-decoration: underline; }
textarea { resize: vertical; }
footer { border-top: 1px solid #444; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  header .wrap { gap: 14px; }
  nav { gap: 14px; }
  .split, .cards, .hero { grid-template-columns: 1fr; }
  .hero .placeholder { min-height: 280px; }
  .about .commitment .placeholder { order: 1; }
}

header nav { margin-inline-start: auto; justify-content: flex-end; font-size: clamp(.875rem, .81rem + .28vw, 1rem); }
header .wrap { justify-content: flex-start; }
.logo-strip { overflow: hidden; }
.logo-track { display: flex; width: max-content; animation: roll-logos 24s linear infinite; }
.logo-track ul { display: flex; gap: 16px; margin: 0; padding: 16px 16px 16px 0; list-style: none; }
.logo-track li { display: grid; place-items: center; width: 200px; height: 84px; }
.logo-strip:focus { overflow-x: auto; }
.logo-strip:focus .logo-track { animation: none; }
.logo-strip:focus ul[aria-hidden] { display: none; }
@keyframes roll-logos { to { transform: translateX(-50%); } }

.company-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  min-height: clamp(420px, 48vw, 680px);
  padding: clamp(16px, 5vw, 48px);
  background: var(--ice);
}
.company-copy { max-width: 680px; padding: clamp(24px, 4vw, 54px); background: #fcfcfc; border: 1px solid #777; }
.company-copy p { margin-bottom: 0; }
.company-image-label { align-self: flex-end; background: #e3e3e3; padding: 2px 6px; }


@media (prefers-reduced-motion: reduce) {
  .logo-strip { overflow-x: auto; }
  .logo-track { animation: none; }
  .logo-track ul[aria-hidden] { display: none; }
}
@media (max-width: 760px) {
  header .brand { margin-inline-end: auto; }
}

.world-markets { text-align: center; }
.world-markets h2 { font-size: clamp(1.65rem, 3.1vw, 3rem); }
.map-frame { border: 1px solid #aaa; background: #f5f5f5; padding: clamp(12px, 3vw, 28px); }
.market-map { display: block; width: 100%; height: auto; }

/* Glamourtex finishes. The layout rules above mirror the lo-fi prototype. */
:root {
  --navy: #082552;
  --teal: #137780;
  --ice: #eaf4f3;
  --line: #c6d9dd;
}

h1, h2, h3 { color: var(--navy); }
header { border-color: var(--line); background: white; }
.brand img { display: block; width: clamp(180px, 20vw, 290px); max-width: 100%; height: auto; }
a:hover, nav a[aria-current] { color: var(--teal); }
:focus-visible { outline-color: var(--teal); }
.hero { background: var(--navy); border-color: var(--navy); color: white; }
.hero h1 { color: white; font-size: clamp(2.15rem, 4.2vw, 4.75rem); margin-bottom: .25em; }
.hero p { max-width: 30ch; }
.placeholder {
  background: var(--ice) var(--photo) center / cover no-repeat;
}
.company-intro {
  background: var(--ice) url("assets/sample-pics/web/RAFAEL-7-room.jpg") center / cover no-repeat;
}
.company-copy, .company-image-label { border-color: var(--line); background: #fffffff2; }
.map-frame { border-color: var(--line); background: var(--ice); }
input, textarea { border-color: #738d98; }
input, textarea, button { font-family: inherit; }
button { background: var(--teal); border-color: var(--teal); color: white; }
button:hover { background: var(--navy); }
footer { background: var(--navy); border-top: 2px solid var(--teal); color: white; font-size: .875rem; }
footer a:hover { color: #b5e5e5; }
article:target { outline: 2px solid var(--teal); outline-offset: 4px; }

/* Map labels render in the page instead of relying on browser tooltips. */
.country-tooltip {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  padding: .35rem .65rem;
  border-radius: .25rem;
  background: var(--navy);
  color: white;
  font-size: .875rem;
  box-shadow: 0 2px 8px #08255233;
}


/* Give photography more room while keeping text blocks comfortable to read. */
.cards img, .home-product-grid img { display: block; width: 100%; height: auto; }
.cards h2 { font-size: clamp(1.25rem, 2.1vw, 1.9rem); margin-top: .6em; }
.about .split p, .world-markets > p { max-width: 65ch; }
.world-markets > p { margin-inline: auto; }
.hero-cta {
  display: inline-block;
  margin-top: 10px;
  padding: .7em 1em;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 480px) {
  .company-intro { padding: 16px; }
  .company-copy { padding: 20px; }
}

/* Keep the header compact. */
header .wrap {
  width: min(1360px, calc(100% - clamp(48px, 13vw, 224px)));
  padding-block: 12px;
}

.brand img {
  width: clamp(160px, 16vw, 220px);
}

@media (max-width: 480px) {
  header .wrap { gap: 8px; }
  header nav { gap: 8px 14px; }
}

/* Home page: full-width photography and inset editorial sections. */
.home-main, .interior-main { padding-top: 0; }

.home-banner, .page-banner {
  display: grid;
  align-items: center;
  min-height: clamp(460px, 60vw, 760px);
  color: white;
  background:
    linear-gradient(90deg, rgb(8 37 82 / 94%), rgb(8 37 82 / 65%) 56%, rgb(8 37 82 / 18%)),
    var(--banner-photo) center / cover no-repeat,
    var(--navy);
}

.home-banner {
  --banner-photo: url("assets/sample-pics/web/EIFFEL-7-room.jpg");
}

.page-banner { min-height: clamp(280px, 38vw, 540px); }
.page-banner-copy { padding-block: clamp(44px, 6vw, 84px); }
.page-banner h1 { color: white; margin: 0; }
.page-content { padding-top: clamp(32px, 6vw, 94px); }
.page-banner-copy { text-align: center; }
.page-banner-copy p {
  max-width: 58ch;
  margin: 1rem auto 0;
}
.page-banner {
  background-image: linear-gradient(rgb(8 37 82 / 72%), rgb(8 37 82 / 72%)), var(--banner-photo);
}

.home-banner-copy { padding-block: clamp(54px, 8vw, 116px); }
.home-banner h1 { max-width: 16ch; color: white; margin-bottom: .4em; }
.home-eyebrow { font-size: .875rem; font-weight: 700; }
.home-story { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(26px, 7vw, 100px); }
.home-story img { display: block; width: 100%; height: auto; object-fit: cover; }
.home-story img { aspect-ratio: 4 / 3; }
.home-link { color: var(--teal); font-weight: 700; }
.home-collections { background: var(--ice); padding-block: clamp(42px, 7vw, 105px); }
.home-section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 20px; }
.home-section-heading h2 { margin-bottom: 0; }
.home-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 34px); }
.home-product-grid a { display: block; text-decoration: none; }
.home-product-grid a:hover h3 { color: var(--teal); text-decoration: underline; }
.home-product-grid h3 { font-size: clamp(1.1rem, 1.8vw, 1.6rem); }

@media (max-width: 760px) {
  .home-story { grid-template-columns: 1fr; }
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Contact page trade-show listings */
.contact-events {
  margin-top: clamp(50px, 8vw, 124px);
  padding-top: clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.event-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  margin-top: 24px;
}

.event-photo {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  justify-self: center;
}


.event-card { padding-block: 14px; border-bottom: 1px solid var(--line); }
.event-card h3 { margin: 0; }
.event-location { margin: 2px 0; font-size: .9em; }
.event-card a { color: var(--teal); font-size: .9em; }

@media (max-width: 700px) {
  .event-showcase { grid-template-columns: 1fr; }
  .event-photo { justify-self: start; }
}

.manufacturing { text-align: center; }
.manufacturing p { max-width: 65ch; margin-inline: auto; }

.factory-strip { margin-top: 24px; }
.factory-strip .logo-track { animation-duration: 48s; }
.factory-strip .logo-track li { width: clamp(160px, 24vw, 260px); height: auto; }
.factory-strip .logo-track img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.factory-strip:hover .logo-track { animation-play-state: paused; }


/* Homepage rug development process */
.home-process {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: start;
}

.process-intro {
  padding: clamp(24px, 4vw, 52px);
  background: var(--navy);
  color: white;
}

.process-intro h2, .process-intro .home-link { color: inherit; }
.process-steps { margin: 0; padding-left: 1.6em; }
.process-steps li { padding: 16px 0 16px 10px; border-bottom: 1px solid var(--line); }
.process-steps li::marker { color: var(--teal); font-weight: 700; }
.process-steps h3 { margin-top: 0; }
.process-steps p { margin-bottom: 0; }

@media (max-width: 760px) {
  .home-process { grid-template-columns: 1fr; }
}

/* Wide, overlapping bands evoke a woven pattern. */
body {
  background-image:
    linear-gradient(145deg, transparent 58%, rgb(19 119 128 / 5%) 58% 69%, transparent 69%),
    linear-gradient(30deg, transparent 65%, rgb(8 37 82 / 4%) 65% 76%, transparent 76%);
  background-size: 880px 690px, 1120px 860px;
  background-position: right 0 top 100px, left 0 top 160px;
}

/* Scroll reveals leave the photo banners and the woven background still. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending:not(:focus-within) { opacity: 0; }
  .reveal-entered { animation: section-enter 620ms ease-out; }
  .reveal-entered:focus-within { animation: none; }
}

@keyframes section-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Audit and certification names shown as readable text cards. */
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  overflow-x: auto;
  gap: clamp(16px, 3vw, 36px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.certificate-grid li {
  display: grid;
  align-content: center;
  min-height: clamp(130px, 17vw, 220px);
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  text-align: center;
}



.certificate-grid img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: contain;
}

.logo-track img {
  display: block;
  width: 132px;
  height: 58px;
  object-fit: contain;
}

/* Give Contact Us a dedicated button in the compact header. */
header nav { align-items: center; }
header nav a.contact-nav-link {
  padding: .35em .85em;
  border: 1px solid var(--teal);
  border-radius: 4px;
  background: var(--teal);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

header nav a.contact-nav-link:hover,
header nav a.contact-nav-link[aria-current="page"] {
  border-color: var(--navy);
  background: var(--navy);
}

footer .footer-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "links brand office";
  align-items: start;
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(32px, 5vw, 64px);
}

.footer-identity { grid-area: brand; justify-self: center; width: min(100%, 24ch); }
footer .footer-brand {
  display: block;
  padding: 6px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 4px;
  background: rgb(255 255 255 / 6%);
}
.footer-identity p { max-width: 28ch; margin: 0 0 12px; }
footer .footer-heading {
  color: white;
  width: 100%;
  margin: 0 0 8px;
  font-size: .85rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

footer .footer-brand img {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px 12px;
  background: white;
}
footer nav { grid-area: links; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-details { grid-area: office; justify-self: end; max-width: 32ch; }
.footer-details address { display: grid; gap: 6px; font-style: normal; overflow-wrap: anywhere; }
.footer-details a { text-decoration: none; }
.footer-details a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  footer .footer-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "brand brand" "links office";
  }
  .footer-details { justify-self: start; }
}

@media (max-width: 480px) {
  footer .footer-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand" "links" "office";
  }
  footer nav { flex-direction: row; gap: 8px 16px; }
}

/* Keep complete sample sheets visible in the story and About sections. */
.home-story img { object-fit: contain; background: white; }
.about .split .placeholder { background-size: contain; background-color: white; }

.scene-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  align-items: start;
  gap: 20px;
}
.rug-scene { aspect-ratio: 4 / 5; overflow: hidden; }
.rug-scene img { display: block; width: 100%; height: 100%; object-fit: cover; }


.event-intro { margin: 0; padding-bottom: 16px; }

.footer-address-label { font-weight: 700; }
.footer-address-label:not(:first-child) { margin-top: 10px; }

