:root {
  --ink: #1f2924;
  --ink-soft: #4f5b54;
  --forest: #173f32;
  --forest-2: #225744;
  --cork: #b97943;
  --cork-light: #d7aa76;
  --cream: #f6f2ea;
  --paper: #fffdf9;
  --line: #ded8cd;
  --white: #ffffff;
  --shadow: 0 18px 54px rgba(31, 41, 36, 0.09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.announcement {
  padding: 8px 20px;
  color: #f6f1e8;
  background: var(--forest);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(222, 216, 205, 0.78);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.brand-mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: url("./assets/into-cork-logo.png") center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(71, 83, 49, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--forest);
}

.nav-links .nav-cta {
  padding: 11px 18px;
  color: var(--white);
  background: var(--forest);
  border-radius: 999px;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta[aria-current="page"] {
  color: var(--white);
  background: var(--forest-2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  min-height: 710px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(248, 244, 236, 0.98) 0%, rgba(248, 244, 236, 0.9) 37%, rgba(248, 244, 236, 0.1) 62%),
    url("./assets/into-cork-hero-v5.jpg") center / cover no-repeat;
}

.hero-copy {
  max-width: 610px;
  padding: 96px 0 104px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--forest-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 23px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--forest);
}

.button-primary:hover {
  background: var(--forest-2);
}

.button-secondary {
  color: var(--forest);
  background: rgba(255, 253, 249, 0.68);
}

.button-secondary:hover {
  background: var(--white);
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

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

.trust-item {
  min-height: 102px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: #e6eee8;
  font-size: 15px;
  font-weight: 800;
}

.section {
  padding: 108px 0;
}

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

.section-dark {
  color: #f8f5ef;
  background: var(--forest);
}

.section-dark .eyebrow {
  color: #c9d8ce;
}

.section-dark p {
  color: #d5dfd9;
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head p,
.lead {
  color: var(--ink-soft);
  font-size: 17px;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(31, 41, 36, 0.045);
}

.product-visual {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  background-color: #d6ad7d;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28, 27, 23, 0.15));
}

.product-visual.fabric {
  background:
    linear-gradient(130deg, transparent 42%, rgba(55, 32, 17, 0.12) 43% 44%, transparent 45%),
    radial-gradient(circle at 20% 30%, rgba(73, 39, 17, 0.19) 0 2px, transparent 2.5px),
    radial-gradient(circle at 64% 70%, rgba(73, 39, 17, 0.16) 0 1.5px, transparent 2px),
    linear-gradient(145deg, #e2c293, #b97842);
  background-size: auto, 31px 27px, 23px 29px, auto;
}

.product-visual.fabric::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 120%;
  left: 26%;
  top: -20%;
  border-radius: 50% 0 0 50%;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(-16deg);
  box-shadow: -28px 18px 45px rgba(57, 29, 11, 0.16);
}

.product-visual.yoga {
  background:
    linear-gradient(165deg, transparent 0 45%, rgba(42, 54, 45, 0.12) 46% 47%, transparent 48%),
    linear-gradient(145deg, #d9c9ad, #eee7db);
}

.product-visual.yoga::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 92px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 35%, rgba(65, 37, 17, 0.18) 0 2px, transparent 2.5px),
    linear-gradient(145deg, #d7ad78, #a86635);
  box-shadow:
    inset -14px -3px 0 #2f3933,
    0 30px 38px rgba(33, 41, 36, 0.17);
  transform: translate(-50%, -50%) rotate(-10deg);
}

.product-visual.panels {
  background: #d6c5aa;
}

.product-visual.panels::before {
  content: "";
  position: absolute;
  inset: 34px 38px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, rgba(71, 44, 24, 0.25) 0 3px, transparent 3px 13px),
    linear-gradient(145deg, #c98c54, #e2bb83);
  box-shadow: 24px 22px 0 rgba(116, 73, 38, 0.28);
  transform: rotate(2deg);
}

.product-visual.crafts {
  background:
    radial-gradient(circle at 20% 28%, rgba(78, 47, 23, 0.16) 0 2px, transparent 2.5px),
    linear-gradient(145deg, #ece3d4, #d9c8af);
  background-size: 28px 26px, auto;
}

.product-visual.crafts::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  left: 50%;
  top: 50%;
  border: 13px solid #ba7a43;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 32%, rgba(76, 42, 20, 0.2) 0 2px, transparent 2.5px),
    linear-gradient(145deg, #deb986, #bc7b43);
  box-shadow:
    76px 38px 0 -32px #8f5e35,
    -66px 48px 0 -38px #d4a56d,
    0 26px 38px rgba(68, 48, 31, 0.18);
  transform: translate(-50%, -50%) rotate(-7deg);
}

.product-body {
  padding: 28px;
}

.product-body p {
  min-height: 82px;
  margin-bottom: 22px;
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 800;
}

.text-link::after {
  content: "→";
  transition: transform 0.18s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 84px;
}

.material-story {
  min-height: 530px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent),
    radial-gradient(circle at 23% 24%, rgba(63, 33, 14, 0.2) 0 3px, transparent 3.5px),
    radial-gradient(circle at 77% 64%, rgba(63, 33, 14, 0.16) 0 2px, transparent 2.5px),
    radial-gradient(circle at 44% 82%, rgba(63, 33, 14, 0.18) 0 2.5px, transparent 3px),
    linear-gradient(135deg, #b8733f, #e1b679);
  background-size: auto, 45px 40px, 34px 38px, 29px 37px, auto;
  box-shadow: var(--shadow);
  transform: rotate(-1.4deg);
}

.feature-list {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.feature {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
}

.feature-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
}

.feature p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 58px;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 0;
  color: #8fb19d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.step p {
  font-size: 14px;
}

.cta-panel {
  padding: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.cta-panel h2 {
  max-width: 680px;
  margin-bottom: 10px;
}

.cta-panel p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.page-hero {
  padding: 112px 0 88px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 22%, rgba(185, 121, 67, 0.15), transparent 27%),
    var(--cream);
}

.page-hero .container {
  max-width: 960px;
}

.page-hero h1 {
  max-width: 850px;
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.info-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card ul {
  padding-left: 20px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.spec-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.spec-row {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row > div {
  padding: 20px 24px;
}

.spec-label {
  background: var(--cream);
  font-weight: 750;
}

.spec-value {
  color: var(--ink-soft);
  background: var(--white);
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
}

.timeline-marker {
  position: relative;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
}

.timeline-marker::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 48px;
  bottom: -12px;
  width: 1px;
  background: var(--line);
}

.timeline-item:last-child .timeline-marker::after {
  display: none;
}

.timeline-content {
  padding-bottom: 38px;
}

.timeline-content p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.faq-list {
  max-width: 900px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  padding: 25px 42px 25px 0;
  position: relative;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-size: 18px;
  font-weight: 750;
  cursor: pointer;
}

.faq-question::before,
.faq-question::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 50%;
  width: 17px;
  height: 1px;
  background: var(--forest);
  transition: transform 0.2s ease;
}

.faq-question::after {
  transform: rotate(90deg);
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(0);
}

.faq-answer {
  display: none;
  max-width: 780px;
  padding: 0 0 25px;
  color: var(--ink-soft);
}

.faq-answer.open {
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 76px;
}

.contact-note {
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--cream);
}

.contact-note p:last-child {
  margin-bottom: 0;
}

.contact-form {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.field label {
  font-size: 13px;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbc5ba;
  border-radius: 9px;
  color: var(--ink);
  background: #fffefa;
  outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest-2);
  box-shadow: 0 0 0 3px rgba(34, 87, 68, 0.12);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #60451f;
  background: #f6e8cb;
  font-size: 13px;
}

.form-status.show {
  display: block;
}

.site-footer {
  padding: 68px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  background: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.8fr;
  gap: 70px;
}

.footer-brand {
  margin-bottom: 18px;
  color: var(--forest);
}

.footer-copy {
  max-width: 420px;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-title {
  margin-bottom: 18px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--forest);
}

.footer-bottom {
  margin-top: 52px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #6b776f;
  font-size: 12px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    padding: 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 16px 30px rgba(31, 41, 36, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 10px;
  }

  .nav-links .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    min-height: 760px;
    align-items: end;
    background:
      linear-gradient(0deg, rgba(248, 244, 236, 1) 0%, rgba(248, 244, 236, 0.94) 44%, rgba(248, 244, 236, 0.08) 72%),
      url("./assets/into-cork-hero-v5.jpg") 64% center / cover no-repeat;
  }

  .hero-copy {
    max-width: 680px;
    padding: 300px 0 74px;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .split {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .material-story {
    min-height: 400px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

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

  .announcement {
    font-size: 11px;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .nav-links {
    top: 68px;
  }

  .brand {
    font-size: 17px;
  }

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

  .hero {
    min-height: 720px;
  }

  .hero-copy {
    padding-bottom: 56px;
  }

  h1 {
    font-size: 45px;
  }

  .hero-lead,
  .page-hero p {
    font-size: 16px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .trust-grid,
  .product-grid,
  .steps,
  .content-grid,
  .field-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 76px 0;
  }

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

  .product-body p {
    min-height: auto;
  }

  .cta-panel {
    padding: 38px 26px;
    align-items: stretch;
    flex-direction: column;
  }

  .page-hero {
    padding: 78px 0 64px;
  }

  .spec-row {
    grid-template-columns: 1fr;
  }

  .spec-label {
    padding-bottom: 5px !important;
  }

  .spec-value {
    padding-top: 5px !important;
  }

  .timeline-item {
    grid-template-columns: 64px 1fr;
    gap: 14px;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .footer-grid {
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

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