/* -------------------------------------------------
   Loop & Carry
   Plain CSS — no frameworks or external assets
-------------------------------------------------- */

:root {
  --ink: #20221f;
  --muted: #666962;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --sand: #e7dfcf;
  --sage: #a8b19c;
  --sage-dark: #65705c;
  --terracotta: #bd7358;
  --line: #d9d6cd;
  --focus: #315f9b;

  --max-width: 1180px;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(34, 34, 30, 0.08);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-8);
}

/* Header */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid rgba(32, 34, 31, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

/* Hero */

.hero {
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--sage-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(3.5rem, 8vw, 6.8rem);
}

.hero h1 em {
  color: var(--terracotta);
  font-style: italic;
}

.hero-text {
  max-width: 560px;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  color: #fff;
  background: var(--ink);
}

.button-primary:hover {
  background: #3a3d38;
}

.text-link {
  font-weight: 700;
  text-underline-offset: 5px;
}

.text-link:hover {
  text-decoration-thickness: 2px;
}

/* Hero illustration */

.hero-art {
  position: relative;
  min-height: 520px;
  isolation: isolate;
}

.hero-art::before {
  position: absolute;
  inset: 8% 4% 5% 10%;
  z-index: -2;
  border-radius: 47% 53% 49% 51%;
  background: var(--sand);
  content: "";
  transform: rotate(-8deg);
}

.art-shadow {
  position: absolute;
  right: 6%;
  bottom: 11%;
  width: 72%;
  height: 12%;
  border-radius: 50%;
  background: rgba(40, 39, 34, 0.15);
  filter: blur(14px);
}

.bag-shape {
  position: absolute;
  right: 12%;
  bottom: 16%;
  width: 66%;
  height: 58%;
}

.bag-handle {
  position: absolute;
  top: -21%;
  left: 20%;
  width: 60%;
  height: 55%;
  border: 18px solid var(--ink);
  border-bottom: 0;
  border-radius: 80px 80px 0 0;
}

.bag-body {
  position: absolute;
  inset: 10% 0 0;
  overflow: hidden;
  border-radius: 16px 16px 28px 28px;
  background: #d6c4a6;
  box-shadow: var(--shadow);
}

.bag-body::after {
  position: absolute;
  top: 0;
  left: 13%;
  width: 74%;
  height: 8px;
  border-radius: 0 0 8px 8px;
  background: rgba(32, 34, 31, 0.25);
  content: "";
}

.bag-stitch {
  position: absolute;
  top: 18%;
  bottom: 12%;
  width: 1px;
  background: rgba(32, 34, 31, 0.2);
}

.bag-stitch-left {
  left: 13%;
}

.bag-stitch-right {
  right: 13%;
}

.floating-tag {
  position: absolute;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--terracotta);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  box-shadow: 0 10px 25px rgba(100, 55, 43, 0.2);
}

.tag-one {
  top: 17%;
  left: 5%;
}

.tag-two {
  right: 1%;
  bottom: 24%;
  background: var(--sage-dark);
}

.floating-loop {
  position: absolute;
  top: 5%;
  right: 20%;
  width: 82px;
  height: 82px;
  border: 11px solid var(--ink);
  border-radius: 50%;
  transform: rotate(24deg);
}

/* Collection */

.collection {
  background: var(--surface);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 0.65fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 3rem;
}

.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading > p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-visual {
  position: relative;
  min-height: 310px;
  overflow: hidden;
}

.visual-clip {
  background: #ddd4c2;
}

.visual-strap {
  background: #d8dfd3;
}

.visual-pouch {
  background: #ead6cc;
}

.product-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: rgba(32, 34, 31, 0.55);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.clip-art {
  position: absolute;
  top: 25%;
  left: 50%;
  width: 115px;
  height: 190px;
  border: 18px solid var(--ink);
  border-radius: 60px;
  transform: translateX(-50%) rotate(18deg);
}

.clip-art::after {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 65px;
  height: 65px;
  border: 10px solid var(--terracotta);
  border-radius: 50%;
  content: "";
}

.strap-art {
  position: absolute;
  top: 15%;
  left: 50%;
  width: 70px;
  height: 250px;
  border-radius: 40px;
  background: var(--ink);
  transform: translateX(-50%) rotate(-22deg);
}

.strap-art::before,
.strap-art::after {
  position: absolute;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 7px solid var(--terracotta);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.strap-art::before {
  top: 15px;
}

.strap-art::after {
  bottom: 15px;
}

.pouch-art {
  position: absolute;
  top: 25%;
  left: 50%;
  width: 180px;
  height: 135px;
  border-radius: 15px 15px 35px 35px;
  background: var(--sage-dark);
  box-shadow: 18px 18px 0 rgba(32, 34, 31, 0.08);
  transform: translateX(-50%) rotate(7deg);
}

.pouch-art::before {
  position: absolute;
  top: 22px;
  right: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  content: "";
}

.pouch-art::after {
  position: absolute;
  top: 12px;
  right: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  content: "";
}

.product-info {
  padding: 1.5rem;
}

.product-type {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.product-info > p:not(.product-type) {
  min-height: 3.4em;
  margin: 0.6rem 0 1.5rem;
  color: var(--muted);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.price {
  font-weight: 800;
}

.product-link {
  font-weight: 700;
  text-underline-offset: 4px;
}

/* About */

.about {
  background: var(--sand);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

.about-copy {
  max-width: 520px;
  color: #464941;
  font-size: 1.1rem;
}

.about-copy p:first-child {
  margin-top: 0;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

/* Contact */

.contact {
  background: var(--paper);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 3rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  border-radius: 24px;
  background: var(--ink);
  color: var(--paper);
}

.contact-copy .eyebrow {
  color: #c6d0bd;
}

.contact-copy p:last-child {
  max-width: 480px;
  margin-bottom: 0;
  color: #c8c9c3;
}

.contact-details {
  display: grid;
  align-content: center;
  gap: 1.5rem;
  margin: 0;
  font-style: normal;
}

.contact-details > div {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-label {
  color: #adb2a9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Footer */

.site-footer {
  color: #c5c7c1;
  background: #151614;
}

.footer-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-inner a {
  font-size: 0.9rem;
  text-underline-offset: 4px;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    width: min(100%, 560px);
    min-height: 440px;
    margin-inline: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 0.625rem);
    margin-inline: auto;
  }

  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 680px) {
  :root {
    --space-8: 4.5rem;
  }

  .container {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
    border-radius: 9px;
  }

  .site-nav a:hover {
    background: var(--paper);
    text-decoration: none;
  }

  .hero {
    padding-block: 4rem 3rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 17vw, 5.3rem);
  }

  .hero-art {
    min-height: 360px;
  }

  .bag-shape {
    width: 62%;
    height: 55%;
  }

  .bag-handle {
    border-width: 13px;
  }

  .floating-tag {
    width: 50px;
    height: 50px;
  }

  .floating-loop {
    width: 62px;
    height: 62px;
    border-width: 8px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .product-visual {
    min-height: 280px;
  }

  .product-info > p:not(.product-type) {
    min-height: 0;
  }

  .contact-card {
    padding: 2rem 1.5rem;
    border-radius: 18px;
  }

  .footer-inner {
    min-height: 100px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
