:root {
  --black: #000;
  --white: #fff;
  --grey: #9c9c9c;
  --light: #f2f2f2;
  --font: "Jost", system-ui, sans-serif;
  --max: 1240px;
  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.hidden { display: none; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 48px;
  padding: 26px var(--gutter);
  background: var(--white);
}
.nav-links { display: flex; gap: 32px; font-size: .95rem; letter-spacing: .02em; }
.nav-links a { transition: opacity .2s; }
.nav-links a:hover { opacity: .5; }
.logo { font-family: "Archivo Black", var(--font); font-weight: 400; font-size: 1.6rem; letter-spacing: -.01em; line-height: 1; }

.nav-toggle { display: none; background: none; border: 0; width: 32px; height: 32px; position: relative; cursor: pointer; margin-left: auto; }
.nav-toggle span { position: absolute; left: 4px; right: 4px; height: 1.5px; background: var(--black); transition: .25s; }
.nav-toggle span:first-child { top: 12px; }
.nav-toggle span:last-child { top: 19px; }
.menu-open .nav-toggle span:first-child { top: 16px; transform: rotate(45deg); }
.menu-open .nav-toggle span:last-child { top: 16px; transform: rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 9; background: var(--white);
  flex-direction: column; justify-content: center; align-items: center; gap: 28px;
  font-size: 1.8rem; font-weight: 500;
}
.menu-open .mobile-menu { display: flex; }

/* Blocks */
.block { max-width: var(--max); margin: 0 auto; padding: 90px var(--gutter); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; }
h2 { font-weight: 600; font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -.01em; line-height: 1.1; }
.more { font-size: .95rem; color: var(--grey); transition: color .2s; }
.more:hover { color: var(--black); }

/* Button */
.btn {
  display: inline-block; font-family: var(--font); font-size: .95rem; font-weight: 500; letter-spacing: .04em;
  padding: 14px 34px; background: var(--black); color: var(--white);
  border: 1px solid var(--black); cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: var(--white); color: var(--black); }

/* Intro */
.intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center;
  padding-top: 50px;
}
.intro-text p { font-size: 1.1rem; font-weight: 300; margin-bottom: 20px; max-width: 480px; }
.intro-text .intro-hi { font-size: 1.5rem; font-weight: 500; line-height: 1.4; margin-bottom: 26px; }
.intro-text .btn { margin-top: 14px; }
.intro-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 40%; }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.thumb { aspect-ratio: 4/5; background: var(--light); overflow: hidden; margin-bottom: 16px; transition: opacity .3s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.item:hover .thumb img { transform: scale(1.03); }
.item:hover .thumb { opacity: .85; }
.item h3 { font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.item p { font-size: .9rem; color: var(--grey); font-weight: 300; }

/* Social */
.social-list { list-style: none; border-top: 1px solid var(--black); }
.social-list li { border-bottom: 1px solid var(--black); }
.social-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 500; transition: padding .25s;
}
.social-list a:hover { padding-left: 14px; }
.arrow { font-weight: 300; transition: transform .25s; }
.social-list a:hover .arrow { transform: translateX(-10px); }

/* Contact */
.contact { text-align: center; max-width: 620px; }
.contact-sub { color: var(--grey); font-weight: 300; margin: 12px 0 36px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 300; font-size: 1rem; padding: 12px 0;
  border: 0; border-bottom: 1px solid var(--black); background: transparent; color: var(--black);
  border-radius: 0; resize: vertical;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--grey); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-width: 2px; }
.contact-form .btn { align-self: center; margin-top: 20px; }

/* Footer */
.footer { max-width: var(--max); margin: 60px auto 0; padding: 56px var(--gutter) 40px; border-top: 1px solid var(--black); }
.footer-cols { display: flex; gap: clamp(60px, 10vw, 140px); flex-wrap: wrap; }
.footer-cols div { display: flex; flex-direction: column; gap: 8px; }
.footer h4 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); margin-bottom: 8px; }
.footer-cols a { transition: opacity .2s; }
.footer-cols a:hover { opacity: .5; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 56px; }
.footer-bottom p { font-size: .85rem; color: var(--grey); }

/* Simple pages */
.page { min-height: 50vh; padding-top: 80px; }
.page h1 { font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin-bottom: 16px; }
.page p { font-weight: 300; font-size: 1.1rem; color: var(--grey); margin-bottom: 32px; }

/* Responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 760px) {
  .nav { padding-top: 20px; padding-bottom: 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; z-index: 11; }
  .menu-open .nav { position: fixed; left: 0; right: 0; z-index: 11; background: transparent; }
  .intro { grid-template-columns: 1fr; padding-top: 20px; }
  .intro-media { order: -1; }
  .block { padding-top: 64px; padding-bottom: 64px; }
}

/* List pages (recipes, portfolio) */
.page-list { padding-top: 60px; }
.page-list h1 { font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; }
.page-intro { font-weight: 300; font-size: 1.1rem; color: var(--grey); max-width: 560px; margin: 14px 0 48px; }
.page-list .grid { row-gap: 44px; }

.item h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
