@font-face {
  font-family: "Fraunces OG";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://oddgiraffe.com/cdn/fonts/fraunces/fraunces_n5.13c1a0a22f418d74c2d7163ece3b2c328a4bc72e.woff2")
    format("woff2");
}

@font-face {
  font-family: "Fraunces OG";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("https://oddgiraffe.com/cdn/fonts/fraunces/fraunces_i5.b6c3443a95e953a16d61f14979ce144be46fcc94.woff2")
    format("woff2");
}

@font-face {
  font-family: "Figtree OG";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://oddgiraffe.com/cdn/fonts/figtree/figtree_n4.3c0838aba1701047e60be6a99a1b0a40ce9b8419.woff2")
    format("woff2");
}

:root {
  --ink: #050505;
  --muted: #5b544d;
  --paper: #ffffff;
  --yellow: #ffec39;
  --orange: #ffa15c;
  --cream: #fff8e8;
  --line: #dedbd5;
  --max: 1250px;
  --gutter: clamp(18px, 4vw, 48px);
  --serif: "Fraunces OG", Georgia, serif;
  --sans: "Figtree OG", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.page {
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.utility {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter) 18px;
}

.brand {
  display: block;
  min-width: clamp(136px, 16vw, 184px);
  text-align: center;
}

.brand span,
.footer-logo {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.icon-text,
.cart-button,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-text {
  gap: 12px;
  justify-self: start;
  padding: 8px 0;
  font-weight: 700;
}

.search-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 9px;
  height: 2px;
  background: var(--ink);
  transform: rotate(45deg);
  transform-origin: left center;
}

.account-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  font-weight: 700;
}

.login {
  padding: 6px 10px;
  color: #fff;
  background: #000;
  font-size: 12px;
}

.cart-button {
  gap: 10px;
  padding: 0;
  font-weight: 700;
}

.box-icon {
  position: relative;
  width: 21px;
  height: 21px;
  background: #c28b38;
  transform: rotate(-35deg) skewY(11deg);
}

.box-icon::before {
  content: "";
  position: absolute;
  inset: 3px 5px auto;
  height: 5px;
  background: rgba(255, 255, 255, 0.76);
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #000;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3vw, 44px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 18px;
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 800;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding-bottom: 2px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.announcement {
  max-width: var(--max);
  margin: 0 auto 16px;
  padding: 12px var(--gutter) 16px;
  background: var(--yellow);
  text-align: center;
}

.announcement p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-style: italic;
  line-height: 1.15;
}

.announcement span {
  display: block;
  margin-top: 3px;
  font-size: 14px;
}

.announcement a {
  text-decoration: underline;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.98fr);
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  min-height: 646px;
}

.hero-media,
.collab-media {
  min-height: 420px;
  overflow: hidden;
}

.hero-media img,
.collab-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(46px, 7vw, 86px);
  background: var(--yellow);
  text-align: center;
}

.hero-copy h1,
.collab-copy h2,
.section-heading h2,
.desk-section h2,
.collab-section h2,
.essentials h2,
.community h2 {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 560px;
  font-size: clamp(42px, 5.8vw, 68px);
}

.hero-copy p {
  max-width: 490px;
  margin: 30px 0 26px;
  font-weight: 700;
  line-height: 1.72;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 12px 18px;
  border: 1px solid #000;
  font-weight: 800;
  line-height: 1;
}

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

.button span {
  margin-left: 8px;
  font-size: 22px;
  line-height: 0;
}

.product-section {
  max-width: var(--max);
  margin: 60px auto 70px;
  padding: 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 44px;
}

.section-heading h2 {
  font-size: clamp(30px, 3.5vw, 42px);
}

.section-heading a {
  font-weight: 800;
}

.scroller-wrap {
  position: relative;
}

.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.product-rail::-webkit-scrollbar {
  display: none;
}

.product-card {
  min-width: 0;
  text-align: center;
  scroll-snap-align: start;
}

.product-image {
  display: flex;
  align-items: end;
  justify-content: center;
  aspect-ratio: 1 / 1.14;
  margin-bottom: 18px;
}

.product-section .product-image {
  min-height: 230px;
  margin-bottom: 34px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 180ms ease;
}

.product-section .product-image img {
  width: min(100%, 249px);
  height: 249px;
}

.product-card:hover .product-image img {
  transform: translateY(-4px);
}

.product-card h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.product-section .product-card h3 {
  font-size: 14.4px;
}

.product-card p {
  margin: 2px 0 4px;
  color: #242424;
  font-family: var(--serif);
  font-size: 11px;
}

.product-section .product-card p {
  margin: 4px 0 7px;
  font-size: 12px;
}

.price {
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  gap: 5px;
  min-height: 18px;
  font-size: 12px;
  font-weight: 800;
}

.product-section .price {
  gap: 9px;
  min-height: 24px;
  font-size: 12px;
}

.price mark {
  padding: 1px 4px;
  background: #ffed24;
  color: #000;
  font-size: 9px;
  text-decoration: line-through;
}

.product-section .price mark {
  padding: 2px 8px;
  font-size: 9.6px;
}

.swatches {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 9px;
}

.product-section .swatches {
  gap: 7px;
  margin-top: 13px;
}

.swatches span {
  width: 13px;
  height: 13px;
  border: 1px solid #bcbcbc;
  border-radius: 50%;
  background: var(--swatch);
}

.product-section .swatches span {
  width: 21px;
  height: 21px;
  border-color: #000;
}

.rail-control {
  display: none;
  position: absolute;
  top: 33%;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid #000;
  background: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.rail-control.prev {
  left: -12px;
}

.rail-control.next {
  right: -12px;
}

.collab-feature {
  background: var(--orange);
}

.collab-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(44px, 7vw, 86px);
  text-align: center;
}

.collab-copy h2 {
  max-width: 410px;
  font-size: clamp(34px, 4.1vw, 52px);
}

.collab-copy p {
  max-width: 455px;
  margin: 22px 0 24px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
}

.desk-section {
  max-width: var(--max);
  margin: 52px auto 38px;
  padding: 0 var(--gutter);
  text-align: center;
}

.desk-section h2 {
  margin-bottom: 24px;
  color: #4b403d;
  font-size: clamp(24px, 2.7vw, 32px);
  font-style: normal;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.chip-row a {
  min-width: 128px;
  padding: 5px 16px;
  border: 1px solid #777;
  font-size: 12px;
  font-weight: 800;
}

.notebook-grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.9fr) minmax(360px, 1.2fr);
  gap: clamp(34px, 6vw, 78px);
  max-width: var(--max);
  margin: 0 auto 76px;
  padding: 0 var(--gutter);
  align-items: start;
  position: relative;
}

.notebook-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 54px 56px;
  padding-top: 22px;
}

.notebook-promo {
  position: sticky;
  top: 154px;
  align-self: start;
  display: block;
  min-height: 600px;
}

.notebook-promo span {
  display: block;
  margin-bottom: 20px;
  text-align: right;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  font-style: italic;
}

.notebook-promo img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
}

.notebook-promo strong {
  position: absolute;
  left: 18px;
  bottom: 22px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 50px);
  font-style: italic;
  font-weight: 500;
}

.collab-section,
.essentials,
.community {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.collab-section {
  margin-bottom: 82px;
}

.collab-section h2,
.essentials h2 {
  margin-bottom: 34px;
  text-align: center;
  color: #3d3735;
  font-size: clamp(29px, 3vw, 36px);
  font-style: normal;
}

.three-up,
.four-up,
.social-grid {
  display: grid;
  gap: 22px;
}

.three-up {
  grid-template-columns: repeat(3, 1fr);
}

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

.image-tile h3,
.category-card h3 {
  margin: 16px 0 2px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}

.image-tile p,
.category-card p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.essentials {
  margin-bottom: 76px;
}

.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.category-card img {
  width: 100%;
  aspect-ratio: 1 / 1.04;
  object-fit: cover;
}

.community {
  margin-bottom: 102px;
}

.community h2 {
  margin-bottom: 28px;
  font-size: clamp(27px, 2.9vw, 34px);
  font-style: normal;
}

.community h2 em {
  font-style: italic;
}

.social-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  padding: 58px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 34px;
  background: var(--yellow);
}

.footer-logo {
  font-size: 22px;
}

.footer-brand p,
.region,
.newsletter,
.footer-links,
.footer-bottom {
  font-size: 11px;
  font-weight: 800;
}

.footer-brand p {
  margin: 4px 0 0;
}

.region {
  justify-self: end;
}

.newsletter {
  max-width: 540px;
}

.newsletter h3,
.footer-links h3 {
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
}

.newsletter p {
  margin: 0 0 18px;
  line-height: 1.65;
}

.newsletter label {
  position: relative;
  display: block;
}

.newsletter label span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
}

.newsletter input {
  width: 100%;
  height: 42px;
  padding: 0 52px 0 110px;
  border: 2px solid #000;
  border-radius: 0;
  background: transparent;
}

.newsletter button {
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.footer-links a {
  display: block;
  margin: 7px 0;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

.footer-bottom p {
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  justify-content: end;
  background: rgba(0, 0, 0, 0.3);
}

.overlay[hidden] {
  display: none;
}

.drawer {
  width: min(440px, 92vw);
  height: 100vh;
  padding: 30px;
  background: #fff;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18);
}

.drawer-close {
  float: right;
  width: 34px;
  height: 34px;
  border: 1px solid #000;
  background: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.drawer h2 {
  margin: 20px 0 30px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
}

.search-drawer form {
  display: grid;
  gap: 12px;
}

.search-drawer input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #000;
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.popular-searches p {
  flex-basis: 100%;
  margin: 0 0 4px;
  font-weight: 800;
}

.popular-searches a {
  padding: 8px 12px;
  border: 1px solid #000;
}

.empty-cart {
  margin: 0 0 24px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 20px;
    overflow-x: auto;
    justify-content: start;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .product-rail {
    grid-template-columns: none;
    grid-auto-columns: minmax(180px, 28vw);
  }

  .rail-control {
    display: block;
  }
}

@media (max-width: 820px) {
  .utility {
    grid-template-columns: auto 1fr auto;
    padding-top: 16px;
  }

  .brand {
    justify-self: center;
    min-width: 140px;
  }

  .icon-text span:last-child,
  .cart-button span:last-child,
  .login {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    z-index: 22;
    display: grid;
    grid-auto-flow: row;
    justify-content: stretch;
    gap: 0;
    max-height: calc(100vh - 73px);
    padding: 0;
    border-top: 1px solid var(--line);
    background: #fff;
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  .nav-open .main-nav {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 18px var(--gutter);
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }

  .announcement {
    margin-bottom: 10px;
  }

  .split-section,
  .notebook-grid,
  .three-up,
  .four-up,
  .social-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .hero-copy {
    min-height: 460px;
    padding: 44px 28px;
  }

  .hero-copy p {
    line-height: 1.55;
  }

  .product-section {
    margin-top: 42px;
    margin-bottom: 56px;
    padding: 0 var(--gutter);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .product-rail {
    grid-auto-columns: minmax(155px, 46vw);
    gap: 24px;
  }

  .product-section .product-image {
    min-height: 190px;
    margin-bottom: 24px;
  }

  .product-section .product-image img {
    width: 190px;
    height: 190px;
  }

  .product-section .product-card h3 {
    font-size: 17px;
  }

  .product-section .product-card p {
    font-size: 14px;
  }

  .product-section .price {
    gap: 6px;
    font-size: 14px;
  }

  .product-section .price mark {
    padding: 2px 6px;
    font-size: 11px;
  }

  .product-section .swatches span {
    width: 18px;
    height: 18px;
  }

  .collab-feature {
    display: flex;
    flex-direction: column-reverse;
  }

  .collab-media {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .desk-section {
    margin-top: 42px;
  }

  .chip-row {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .notebook-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 22px;
    padding-top: 0;
  }

  .notebook-promo {
    position: relative;
    top: auto;
    min-height: 0;
    order: -1;
  }

  .notebook-promo span {
    text-align: left;
  }

  .site-footer {
    gap: 32px;
  }

  .region {
    justify-self: start;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .utility {
    gap: 8px;
  }

  .brand {
    min-width: 124px;
  }

  .brand span {
    font-size: 28px;
  }

  .announcement p {
    font-size: 20px;
  }

  .announcement span {
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy {
    min-height: 430px;
  }

  .collab-copy h2 {
    font-size: 36px;
  }

  .notebook-products {
    grid-template-columns: 1fr 1fr;
  }

  .community {
    margin-bottom: 64px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}
