:root {
  --bg: #f7efe7;
  --text: #1f2327;
  --muted: #5c534b;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  background: rgba(247, 239, 231, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}
.brand-lines {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  padding: 6px 0;
}
.brand-lines::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  left: -55px;
  top: 50%;
  transform: translateY(-50%) rotate(-3deg);
  background: url("../img/circle-brush.png") no-repeat center/contain;
  opacity: 0.78;
  pointer-events: none;
}
.brand-lines strong,
.brand-lines span {
  position: relative;
  display: block;
}
.brand-lines span {
  color: var(--muted);
  font-size: 0.9rem;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  border-radius: 999px;
}
.nav a:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(460px, 60vw, 720px);
  position: relative;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") no-repeat center 70% / cover;
  transform: scale(1.01);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      270deg,
      rgba(242, 227, 214, 0.78) 0%,
      rgba(242, 227, 214, 0.35) 45%,
      rgba(242, 227, 214, 0) 70%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0) 35%);
}
.hero-inner {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-box {
  width: min(520px, 100%);
  text-align: right;
  padding: 40px 0;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.08;
}
p {
  margin: 0 0 18px;
  color: rgba(31, 35, 39, 0.86);
}
.btnrow {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.btn {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.75);
}
.btn.primary {
  background: var(--text);
  color: #fff;
}
