/* =========================================
   STUDIO NOTES — DESIGNER PORTFOLIO
   Warm, autumn-inspired pastel palette
   ========================================= */

:root {
  --paper: #f7f3ec;
  --cream: #eee6da;
  --ink: #292a25;
  --muted: #77776c;
  --line: #d8d0c4;
  --rust: #a6533d;
  --olive: #74785b;
  --rose: #d9aaa0;
  --white: #fffdf8;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  padding: 0 5%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
}

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

button,
input,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}

/* Header */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 85px;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 24px;
}

.logo span {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
}

.top-note,
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  color: var(--muted);
}

/* Main two-column layout */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 55px;
}

.main-content {
  min-width: 0;
}

.section {
  position: relative;
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: var(--rust);
  margin: 0 0 24px;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(42px, 5vw, 66px);
  margin: 0 0 25px;
}

h1 em {
  color: var(--rust);
  font-weight: 400;
}

h2 {
  font-size: clamp(34px, 4vw, 46px);
  margin: 0 0 12px;
}

h2 span {
  color: var(--rust);
}

p {
  max-width: 650px;
}

.intro > p:not(.eyebrow) {
  max-width: 470px;
}

.muted {
  color: var(--muted);
  font-size: 12px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--rust);
  font-size: 12px;
  font-weight: 700;
}

/* Abstract artwork made entirely with CSS */
.artwork {
  position: relative;
  float: right;
  width: 210px;
  height: 210px;
  margin: -190px 10px 20px 25px;
  background: #e8d8c9;
  border: 1px solid #d8c6b5;
}

.circle {
  position: absolute;
  width: 115px;
  height: 115px;
  top: 40px;
  left: 45px;
  border-radius: 50%;
  background: var(--rust);
}

.square {
  position: absolute;
  width: 55px;
  height: 75px;
  right: 12px;
  bottom: 14px;
  background: var(--olive);
  transform: rotate(13deg);
}

/* Outlined lists: multiple borders and fine rules */
.outlined-list {
  border-top: 1px solid var(--ink);
  margin-top: 24px;
}

.list-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-top: 0;
  transition: background .2s, padding .2s;
}

.list-row:hover {
  background: var(--cream);
  padding-left: 16px;
}

.list-row > span {
  color: var(--rust);
  font-family: var(--serif);
  font-size: 16px;
}

.list-row strong {
  font-size: 12px;
  font-weight: 600;
}

.list-row small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .1em;
}

.list-row b {
  color: var(--rust);
  font-size: 16px;
}

.hint {
  color: var(--muted);
  font-size: 10px;
}

/* Sidebar navigation */
.sidebar {
  border-left: 1px solid var(--line);
  padding: 40px 0 0 25px;
}

.availability {
  color: var(--olive);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
}

.navigation {
  margin-top: 38px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

#menu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

#menu-toggle span {
  font-size: 18px;
}

#nav-menu a {
  display: grid;
  grid-template-columns: 25px 1fr 16px;
  align-items: center;
  gap: 8px;
  min-height: 45px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  transition: color .2s, padding .2s;
}

#nav-menu a:hover {
  color: var(--rust);
  padding-left: 5px;
}

#nav-menu a span {
  color: var(--rust);
  font-family: var(--serif);
}

#nav-menu a b {
  color: var(--rust);
}

.sidebar-note {
  margin-top: 40px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(238, 230, 218, .45);
}

.sidebar-note p:last-child {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
}

.cta {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 20px;
  padding: 15px;
  background: var(--rust);
  color: var(--white);
  transition: background .2s;
}

.cta:hover {
  background: #86412f;
}

.cta > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  font-size: 17px;
}

.cta strong,
.cta small {
  display: block;
}

.cta strong {
  font-size: 11px;
}

.cta small {
  font-size: 9px;
}

/* Contact form */
form {
  margin-top: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

label {
  font-size: 11px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 253, 248, .7);
  color: var(--ink);
  font-size: 12px;
}

input:focus,
textarea:focus {
  border-color: var(--rust);
  outline: none;
  background: var(--white);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #a3332b;
}

.error {
  color: #a3332b;
  font-size: 10px;
}

.button {
  padding: 13px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.button:hover {
  background: var(--rust);
  border-color: var(--rust);
}

#form-status {
  font-size: 11px;
}

#form-status.success {
  color: #4c6745;
}

#form-status.error {
  color: #a3332b;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 25px 0;
  color: var(--muted);
  font-size: 9px;
}

/* Responsive tablet layout */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 28px;
  }

  .artwork {
    width: 160px;
    height: 160px;
    margin-top: -160px;
  }

  .circle {
    width: 90px;
    height: 90px;
    top: 30px;
    left: 34px;
  }

  .list-row {
    grid-template-columns: 25px minmax(0, 1fr) 18px;
  }

  .list-row small {
    display: none;
  }
}

/* Responsive mobile layout */
@media (max-width: 680px) {
  body {
    padding: 0 22px;
  }

  .topbar {
    min-height: 70px;
  }

  .top-note {
    display: none;
  }

  .layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .sidebar {
    order: -1;
    border-left: 0;
    padding: 18px 0 0;
  }

  .navigation {
    margin-top: 12px;
  }

  #nav-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #nav-menu[hidden] {
    display: none;
  }

  .sidebar-note {
    display: none;
  }

  .cta {
    margin-top: 12px;
  }

  .section {
    padding: 32px 0 40px;
  }

  .artwork {
    float: none;
    width: 100%;
    height: 200px;
    margin: 28px 0 0;
  }

  .circle {
    left: calc(50% - 55px);
    top: 40px;
    width: 110px;
    height: 110px;
  }

  .square {
    right: 18%;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .list-row {
    gap: 8px;
    padding: 12px 7px;
  }

  .list-row strong {
    font-size: 11px;
  }

  footer {
    flex-wrap: wrap;
  }
}

/* Respect visitors who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

