html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Root */
:root {
  --espresso: #734212;
  --ceramic: #f4f3f0;
  --latte: #b4863f;
  --dark-roast: #512c0a;
  --warm-white: #faf9f6;
  --text-muted: #8a6648;
  --border: rgba(115, 66, 18, 0.14);
  --font-display: "Playfair Display", serif;
  --font-body: "Lato", sans-serif;
  --shadow-card: 0 4px 24px rgba(81, 44, 10, 0.09);
  --transition: 0.25s ease;
  --nav-h: 62px;
  --shadow-hover: 0 10px 36px rgba(81, 44, 10, 0.16);
}

/* Global Styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--dark-roast);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* screen reader */
.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;
}

.accent-strip {
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--dark-roast),
    var(--espresso),
    var(--latte),
    var(--espresso),
    var(--dark-roast)
  );
}

/* NAV mobile */
header nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  background: var(--ceramic);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--dark-roast);
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.nav-links {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-btn {
  font-size: 1.25rem;
  color: var(--dark-roast);
  transition: transform var(--transition);
}

.cart-btn:hover {
  transform: scale(1.12);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-roast);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--ceramic);
  border-bottom: 2px solid var(--latte);
  z-index: 199;
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--dark-roast);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a.active {
  color: var(--espresso);
  font-weight: 700;
}

/* Page Banner */

.page-banner {
  background: var(--ceramic);
  text-align: center;
  padding: 2.8rem 1.2rem 2.5rem;
  position: relative;
  animation: fadeDown 0.7s ease both;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--latte), transparent);
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--dark-roast);
  margin-bottom: 0.9rem;
}

.page-banner p {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.2rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.founder-sidebar {
  background: var(--ceramic);
  border-bottom: 3px solid var(--latte);
  box-shadow: var(--shadow-card);
  padding: 1.8rem 1.6rem;
  text-align: center;
}

.founder-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(145deg, #c4935a, #5c2f08);
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border: 3px solid var(--warm-white);
  box-shadow: 0 0 0 2px var(--latte);
  object-fit: cover;
  object-position: center top;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--dark-roast);
  margin-bottom: 0.2rem;
}

.founder-role {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--latte);
  margin-bottom: 1.1rem;
  display: block;
}

.founder-role {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--latte);
  margin-bottom: 1.1rem;
  display: block;
}

.founder-divider {
  width: 40px;
  height: 2px;
  background: var(--latte);
  margin: 0 auto 1.1rem;
}

.founder-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  text-align: left;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.story-block {
  animation: fadeUp 0.6s ease 0.1s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.block-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--dark-roast);
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.block-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--latte);
}

.story-block p {
  font-size: 0.95rem;
  color: #6a4e35;
  line-height: 1.85;
  font-weight: 300;
  margin-top: 1.2rem;
}

.story-block p + p {
  margin-top: 1rem;
}

.mission-values-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  padding-top: 0.5rem;
  animation: fadeUp 0.6s ease 0.2s both;
}

.mission-block .block-title,
.values-block .block-title {
  font-size: 1.3rem;
}

.mission-list {
  margin-top: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mission-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--dark-roast);
  line-height: 1.6;
}

.mission-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--espresso);
  color: #fff;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.values-list {
  margin-top: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.value-item {
  padding: 1rem 1.2rem;
  background: var(--ceramic);
  border-left: 3px solid var(--latte);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.value-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.value-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--dark-roast);
  margin-bottom: 0.3rem;
}

.value-desc {
  font-size: 0.82rem;
  color: var(--dark-roast);
  line-height: 1.6;
  font-weight: 300;
}

.team-section {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 1.2rem 4rem;
  animation: fadeUp 0.6s ease 0.3s both;
}

.team-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--dark-roast);
  text-align: center;
  margin-bottom: 0.5rem;
}

.team-rule {
  width: 48px;
  height: 3px;
  background: var(--latte);
  margin: 0.6rem auto 2.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.team-card {
  background: var(--ceramic);
  border-bottom: 3px solid transparent;
  box-shadow: var(--shadow-card);
  padding: 2rem 1.5rem;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--latte);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--warm-white);
  display: block;
  box-shadow: 0 0 0 2px rgba(180, 134, 63, 0.4);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--dark-roast);
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--latte);
  margin-bottom: 0.8rem;
  display: block;
}

.team-divider {
  width: 30px;
  height: 2px;
  background: rgba(180, 134, 63, 0.35);
  margin: 0 auto 0.8rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

footer {
  background: #2a1505;
  color: #c4a882;
  padding: 2.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand,
.footer-nav,
.footer-contact,
.footer-newsletter {
  display: flex;
  flex-direction: column;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ceramic);
  margin-bottom: 0.8rem;
}

.footer-tagline {
  font-size: 0.82rem;
  line-height: 1.7;
  color: #9a7a58;
  font-weight: 300;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--latte);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.83rem;
  color: #9a7a58;
  transition: color var(--transition);
}

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

.footer-contact {
  font-style: normal;
}

.footer-contact p {
  font-size: 0.83rem;
  color: #9a7a58;
  line-height: 1.8;
  font-weight: 300;
}

.footer-contact a {
  color: #9a7a58;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--ceramic);
}

.footer-newsletter-sub {
  color: #9a7a58;
  font-weight: 300;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--ceramic);
  font-size: 0.82rem;
  outline: none;
  font-family: var(--font-body);
}

.newsletter-input::placeholder {
  color: #6a5040;
}

.newsletter-btn {
  padding: 0.6rem 1.2rem;
  background: var(--latte);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--transition);
  font-family: var(--font-body);
}

.newsletter-btn:hover {
  background: var(--espresso);
}

.footer-social {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.footer-social li {
  display: flex;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(180, 134, 63, 0.4);
  font-size: 0.85rem;
  color: var(--latte);
  font-weight: 700;
  transition:
    background var(--transition),
    color var(--transition);
}

.footer-social-icon:hover {
  color: #fff;
  background: var(--latte);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: #6a5040;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 {
  transition-delay: 0.1s;
}
.reveal-d2 {
  transition-delay: 0.2s;
}
.reveal-d3 {
  transition-delay: 0.3s;
}

/* Tablet */

@media screen and (min-width: 601px) {
  header nav {
    padding: 0 1.5rem;
  }

  .logo {
    font-size: 1.35rem;
  }

  .page-banner {
    padding: 3.2rem 2rem 2.8rem;
  }

  .about-wrapper {
    padding: 2.5rem 1.5rem 0;
    gap: 2.5rem;
  }

  .founder-sidebar {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto 1fr;
    column-gap: 1.8rem;
    text-align: left;
    padding: 1.8rem 2rem;
    align-items: start;
  }

  .founder-avatar {
    margin: 0;
    grid-row: 1 / 4;
    grid-column: 1;
    width: 80px;
    height: 80px;
    font-size: 2rem;
    align-self: center;
  }

  .founder-name {
    grid-row: 1;
    grid-column: 2;
    align-self: end;
    margin-bottom: 0;
  }

  .founder-role {
    grid-row: 2;
    grid-column: 2;
    margin-bottom: 0;
    align-self: start;
  }

  .founder-divider {
    grid-row: 3;
    grid-column: 2;
    margin: 0.6rem 0;
    align-self: center;
  }

  .founder-bio {
    grid-row: 4;
    grid-column: 1 / 3;
    text-align: left;
    margin-top: 0.5rem;
    font-size: 0.88rem;
  }

  .mission-values-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
  }

  .team-section {
    padding: 0 1.5rem 4.5rem;
  }

  footer {
    padding: 2.5rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .newsletter-form {
    flex-direction: row;
  }
}

/* Desktop */
@media screen and (min-width: 901px) {
  :root {
    --nav-h: 68px;
  }

  header nav {
    padding: 0 3rem;
  }

  .logo {
    font-size: 1.45rem;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 2.4rem;
  }

  .nav-links a {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: var(--dark-roast);
    transition: color var(--transition);
    position: relative;
  }

  .nav-links a.active {
    color: var(--espresso);
  }

  .nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--latte);
  }

  .nav-links a:hover {
    color: var(--espresso);
  }

  .hamburger {
    display: none;
  }

  .about-wrapper {
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    padding: 3.5rem 2rem 0;
  }

  .founder-sidebar {
    display: block;
    text-align: center;
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
    padding: 2rem 1.6rem;
  }

  .founder-avatar {
    width: 90px;
    height: 90px;
    font-size: 2.5rem;
    margin: 0 auto 1.1rem;
  }

  .founder-name {
    margin-bottom: 0.2rem;
  }
  .founder-role {
    margin-bottom: 1.1rem;
  }
  .founder-divider {
    margin: 0 auto 1.1rem;
  }

  .founder-bio {
    text-align: left;
    font-size: 0.85rem;
  }

  .block-title {
    font-size: 1.6rem;
  }

  .mission-values-row {
    gap: 2.5rem;
  }

  .team-section {
    padding: 0 2rem 5rem;
  }

  footer {
    padding: 3rem 4rem;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr 2fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
  }

  /* Accessibility */
  :focus-visible {
    outline: 2px solid var(--latte);
    outline-offset: 3px;
  }

  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-duration: 0.01ms !important;
    }
  }
}
