:root {
  --ink: #171717;
  --muted: #6d6a67;
  --line: #dedbd7;
  --paper: #ffffff;
  --soft: #f2efec;
  --rose: #d7b8b4;
  --sage: #7f9281;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
}

.header-main {
  min-height: 106px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

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

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.header-contact {
  display: grid;
  justify-items: end;
  font-size: 13px;
}

.header-contact span {
  color: var(--muted);
}

.header-contact a {
  text-decoration: none;
}

.header-contact a:hover,
.header-contact a:focus-visible {
  text-decoration: underline;
}

.header-socials {
  display: flex;
  gap: 12px;
  margin-top: 3px;
}

.header-socials a {
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  border-top: 1px solid #ededed;
  border-bottom: 1px solid #ededed;
  background: #fff;
}

.desktop-nav .shell {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
}

.desktop-nav a {
  position: relative;
  padding: 16px 0 14px;
  color: #333;
  font-size: 14px;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 1px;
  background: #111;
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #dedbd7;
}

.hero-media {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms ease;
}

.hero-media.is-active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.12);
  pointer-events: none;
}

.hero-categories {
  position: relative;
  z-index: 2;
  padding-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.hero-categories a {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.86);
  color: #111;
  font-size: 17px;
  text-align: center;
  text-decoration: none;
  transition: background 150ms ease;
}

.hero-categories a:hover,
.hero-categories a:focus-visible {
  background: #fff;
}

.hero-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 74px;
  left: 0;
}

.hero-caption div {
  width: min(560px, 86vw);
  padding: 24px 30px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-caption span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-caption h1 {
  margin: 5px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 400;
}

.hero-caption a {
  font-size: 14px;
  text-underline-offset: 5px;
}

.slider-dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 22px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.slider-dots button.is-active {
  background: #fff;
}

.product-section {
  padding-block: 92px;
}

.section-title {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-title span,
.story-text > span,
.page-hero > span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.section-title h2,
.story-text h2,
.page-hero h1 {
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 400;
}

.section-title p,
.page-hero p {
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 24px;
}

.product-card {
  min-width: 0;
}

.product-image {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--soft);
}

.product-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.025);
}

.product-info {
  padding-top: 16px;
  text-align: center;
}

.product-info > span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.product-info h2 {
  min-height: 48px;
  margin: 6px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 400;
}

.product-info h2 a {
  text-decoration: none;
}

.product-info strong {
  font-size: 14px;
  font-weight: 500;
}

.center-action {
  margin-top: 52px;
  text-align: center;
}

.outline-button,
.dark-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid #111;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
}

.dark-button {
  background: #171717;
  color: #fff;
}

.story-section {
  padding: 90px 0;
  background: var(--soft);
}

.story-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 72px;
}

.story-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.story-photo img {
  height: 100%;
  object-fit: cover;
}

.story-text {
  max-width: 510px;
}

.story-text p {
  color: #55514e;
}

.story-text a,
.blog-card a {
  display: inline-block;
  margin-top: 10px;
  text-underline-offset: 5px;
}

.blog-section {
  padding-block: 92px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 20px;
}

.blog-card time {
  color: var(--muted);
  font-size: 12px;
}

.blog-card h2 {
  margin: 8px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.3;
  font-weight: 400;
}

.blog-card p {
  color: var(--muted);
}

.site-footer {
  padding-top: 72px;
  background: #171717;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 58px;
}

.brand-light small,
.footer-brand p,
.footer-contact p {
  color: #aaa;
}

.footer-brand p {
  max-width: 310px;
}

.footer-grid h2 {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-grid nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-grid nav a,
.footer-contact a {
  color: #c8c8c8;
  font-size: 14px;
  text-decoration: none;
}

.footer-grid nav a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  min-height: 64px;
  border-top: 1px solid #393939;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #929292;
  font-size: 12px;
}

.page-hero {
  padding-block: 88px 58px;
  text-align: center;
}

.page-hero p {
  max-width: 650px;
  margin-inline: auto;
}

.page-hero-small {
  padding-bottom: 22px;
}

.filters {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.filters a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  font-size: 13px;
  text-decoration: none;
}

.filters a[aria-current="page"] {
  border-color: #171717;
  background: #171717;
  color: #fff;
}

.product-section-inner {
  padding-top: 18px;
}

.product-page {
  padding-block: 72px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 72px;
}

.product-page-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--soft);
}

.product-page-image img {
  height: 100%;
  object-fit: cover;
}

.product-page-copy {
  align-self: center;
}

.back-link {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 13px;
}

.product-page-copy > span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.product-page-copy h1 {
  margin: 8px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 400;
}

.product-page-copy > strong {
  display: block;
  margin-bottom: 28px;
  font-size: 19px;
  font-weight: 500;
}

.product-page-copy ul {
  margin: 28px 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.product-page-copy li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.product-page-copy small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

.collections-grid {
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.collections-grid a {
  text-decoration: none;
}

.collections-grid img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 17px;
}

.collections-grid span,
.collections-grid strong {
  display: block;
}

.collections-grid span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.collections-grid strong {
  margin-top: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.about-page {
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 70px;
}

.about-page img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-page h2,
.legal-copy h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 400;
}

.about-page h2:not(:first-child),
.legal-copy h2:not(:first-child) {
  margin-top: 34px;
}

.about-page p,
.legal-copy p {
  color: #55514e;
}

.articles-list {
  padding-bottom: 100px;
}

.articles-list article {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 52px;
}

.articles-list img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.articles-list time {
  color: var(--muted);
  font-size: 12px;
}

.articles-list h2 {
  margin: 7px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.25;
  font-weight: 400;
}

.articles-list p {
  color: #55514e;
}

.contact-page {
  max-width: 820px;
  margin-bottom: 100px;
  padding: 42px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-page div {
  display: flex;
  flex-direction: column;
}

.contact-page span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-page a,
.contact-page strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.contact-page p {
  grid-column: 1 / -1;
  color: var(--muted);
}

.legal-copy {
  max-width: 820px;
  padding-bottom: 100px;
}

.not-found {
  padding-block: 120px;
  text-align: center;
}

.cookie-notice {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
}

.cookie-notice button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  background: #171717;
  color: #fff;
  cursor: pointer;
}

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

  .hero-categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .story-layout,
  .product-page,
  .about-page {
    grid-template-columns: 1fr;
  }

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

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

  .product-page-copy {
    max-width: 680px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .header-main {
    min-height: 82px;
    grid-template-columns: 1fr auto;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 23px;
  }

  .brand strong {
    font-size: 19px;
  }

  .brand small,
  .header-contact,
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    width: 42px;
    height: 42px;
    display: grid;
    align-content: center;
    gap: 5px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 24px;
    height: 1px;
    margin-inline: auto;
    background: #171717;
  }

  .mobile-menu nav {
    position: absolute;
    top: 50px;
    right: 0;
    width: 210px;
    padding: 10px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  }

  .mobile-menu nav a {
    display: block;
    padding: 10px;
    text-decoration: none;
  }

  .hero {
    min-height: 590px;
  }

  .hero-categories {
    padding-top: 18px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-categories a {
    min-height: 54px;
    padding: 10px 8px;
    display: grid;
    place-items: center;
    font-size: 13px;
    line-height: 1.25;
  }

  .hero-caption {
    bottom: 55px;
  }

  .hero-caption div {
    width: 100%;
    padding: 19px;
  }

  .hero-caption h1 {
    font-size: 27px;
  }

  .product-section,
  .blog-section {
    padding-block: 64px;
  }

  .section-title {
    margin-bottom: 34px;
  }

  .section-title h2,
  .story-text h2,
  .page-hero h1 {
    font-size: 31px;
  }

  .product-grid {
    gap: 34px 12px;
  }

  .product-info h2 {
    min-height: 44px;
    font-size: 16px;
  }

  .story-section {
    padding-block: 60px;
  }

  .story-layout {
    gap: 34px;
  }

  .blog-grid,
  .collections-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    gap: 46px;
  }

  .page-hero {
    padding-block: 64px 40px;
  }

  .collections-grid {
    gap: 42px;
  }

  .collections-grid img {
    aspect-ratio: 4 / 3;
  }

  .product-page {
    padding-block: 34px 70px;
    gap: 34px;
  }

  .product-page-copy h1 {
    font-size: 34px;
  }

  .articles-list article {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .articles-list h2 {
    font-size: 26px;
  }

  .contact-page {
    padding: 26px 20px;
    grid-template-columns: 1fr;
  }

  .contact-page p {
    grid-column: auto;
  }

  .footer-bottom {
    padding-block: 18px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .cookie-notice {
    grid-template-columns: 1fr auto;
  }

  .cookie-notice p {
    grid-column: 1 / -1;
  }
}
