:root {
  --ink: #1c2430;
  --muted: #667085;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --teal: #0c7773;
  --coral: #d85f4a;
  --gold: #d7a640;
  --navy: #17213b;
  --border: #e5dfd3;
  --shadow: 0 20px 55px rgba(23, 33, 59, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(12, 119, 115, 0.08), transparent 34rem),
    linear-gradient(180deg, #fffaf2 0%, #f8fbfb 42%, #ffffff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 250, 242, 0.88);
  border-bottom: 0;
  backdrop-filter: blur(18px);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.34rem;
  background: linear-gradient(90deg, #d82027, #f3ba26, #0c7773, #1267b2, #d82027);
  content: "";
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.brand-logo {
  width: clamp(8.2rem, 15vw, 12.4rem);
  height: 6.4rem;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 6px 10px rgba(23, 33, 59, 0.14));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.1;
}

.brand small {
  margin-top: 0.08rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.7rem);
  color: #344054;
  font-size: 0.95rem;
  font-weight: 600;
}

nav a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.82rem 1.2rem;
  border: 0;
  border-radius: 0.5rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.header-action,
.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(12, 119, 115, 0.22);
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
}

.header-action:hover,
.button.primary:hover {
  background: #09625f;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1rem, 4vw, 4rem) 2rem;
}

.hero-copy {
  max-width: 44rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
}

h1 {
  max-width: 16ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.25rem, 5vw, 4.35rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 4rem);
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 39rem;
  color: #4b5565;
  font-size: 1.16rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0 2rem;
}

.hero-image {
  position: relative;
  overflow: hidden;
  min-height: 27rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.3rem;
  background: #ddd6c8;
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 27rem;
  object-fit: cover;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 35rem;
  margin: 0;
}

.trust-strip div {
  padding: 1rem;
  border: 1px solid rgba(229, 223, 211, 0.8);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.72);
}

.trust-strip dt {
  font-weight: 900;
  color: var(--navy);
}

.trust-strip dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 1rem clamp(1rem, 4vw, 4rem) 3rem;
}

.category-bar span {
  padding: 0.68rem 1rem;
  border: 1px dashed rgba(12, 119, 115, 0.38);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

.section,
.split-section,
.quote-section {
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  max-width: 64rem;
  margin-bottom: 2rem;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: var(--paper);
  box-shadow: 0 15px 35px rgba(28, 36, 48, 0.08);
}

.product-art {
  min-height: 14rem;
  background-color: #eef5f2;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.54) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.54) 1px, transparent 1px);
  background-size: 18px 18px;
}

.product-photo {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  object-position: center;
}

.product-photo-contain {
  object-fit: contain;
  background: #f5f1ea;
}

.cap-art {
  background:
    radial-gradient(ellipse at 50% 78%, #101b32 0 25%, transparent 26%),
    radial-gradient(ellipse at 48% 62%, #25375f 0 33%, transparent 34%),
    radial-gradient(circle at 50% 56%, var(--gold) 0 5%, transparent 6%),
    #eaf4f3;
}

.polo-art {
  background:
    linear-gradient(135deg, transparent 0 34%, #fefefe 35% 64%, transparent 65%),
    radial-gradient(circle at 36% 46%, var(--teal) 0 5%, transparent 6%),
    linear-gradient(90deg, #dbe7f3 0 49%, #cbd9e9 50% 100%);
}

.patch-art {
  background:
    radial-gradient(circle at 50% 50%, #fff 0 23%, transparent 24%),
    radial-gradient(circle at 50% 50%, var(--coral) 0 34%, transparent 35%),
    repeating-conic-gradient(from 0deg, var(--navy) 0 7deg, var(--gold) 7deg 14deg);
}

.product-body {
  padding: 1.25rem;
}

.tag {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: var(--coral);
  background: rgba(216, 95, 74, 0.1);
  font-size: 0.75rem;
  font-weight: 900;
}

.product-body p:not(.tag) {
  color: var(--muted);
  line-height: 1.55;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
}

.product-footer span {
  color: var(--navy);
  font-weight: 900;
}

.add-button {
  min-width: 7.2rem;
  height: 2.45rem;
  border: 0;
  border-radius: 0.45rem;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about-section,
.process-section,
.details-section {
  padding: clamp(3.5rem, 6vw, 6rem) clamp(1rem, 4vw, 4rem);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  background: #fff;
}

.about-section p:not(.eyebrow),
.process-grid p,
.details-section p:not(.eyebrow),
.info-card p {
  color: var(--muted);
  line-height: 1.65;
}

.info-card,
.process-grid article,
.details-section article {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 14px 32px rgba(28, 36, 48, 0.08);
}

.info-card {
  padding: 1.4rem;
}

.process-section {
  background: var(--cream);
}

.process-grid,
.details-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-grid article,
.details-section article {
  padding: 1.25rem;
}

.process-grid span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.details-section {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.45fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  background: var(--navy);
  color: #fff;
}

.split-section p {
  max-width: 47rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.7;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.6rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "✓";
}

.quote-card {
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-subheading {
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.hats-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.linen-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(28, 36, 48, 0.08);
}

figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

figcaption {
  padding: 1rem;
  font-weight: 800;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  background: var(--cream);
}

.quote-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.quote-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 18px 45px rgba(28, 36, 48, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: #344054;
  font-weight: 800;
}

.hidden-field {
  display: none;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 0.5rem;
  padding: 0.88rem 0.95rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(12, 119, 115, 0.16);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: #fff;
  background: #111827;
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer div:last-child {
  display: grid;
  gap: 0.4rem;
  text-align: right;
}

.thank-you {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 6.6rem);
  max-width: 46rem;
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 4rem);
}

.thank-you h1 {
  max-width: none;
}

.thank-you p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.thank-you .button {
  justify-self: start;
  margin-top: 1rem;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(20rem, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-details {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
  font-weight: 800;
}

.contact-details a {
  color: var(--teal);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand img {
  width: 5rem;
  height: 4rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.24));
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero,
  .about-section,
  .split-section,
  .quote-section,
  .contact-page {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 11ch;
  }

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

@media (max-width: 620px) {
  .header-action {
    display: none;
  }

  .hero {
    padding-top: 2rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .trust-strip,
  .product-grid,
  .gallery,
  .process-grid,
  .details-section,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-image,
  .hero-image img {
    min-height: 20rem;
  }

  .site-footer {
    display: grid;
  }

  .site-footer div:last-child {
    text-align: left;
  }
}
